Pirlot Gérard, Psychiatre à Toulouse