A self-portrait a day helped a painter keep a tab on his mental health. Did the routine tame his inner demons?