The study , published in the Archives of General Psychiatry , found that compared with the controls , patients with depression showed increased activation in certain areas of their brain during the anticipation of painful stimuli .