Daeschler Daniel, Neuropsychiatre à Lons-le-saunier