If there is an severe underlying cause, I have no idea.
But you might try getting as much sunlight during the day as possible (during lunch, right after work, etc.). I don't have anything scientific to back me up -- but I think sunlight does encourage diurnal biorhythms at different levels/feedback loops.
I only mention it because you mention you responded favorably to Vitamin D for a while. And that you're a programmer (indoors most of time) like me, and that there was an onset in college (first time spent indoors a lot potentially). At any rate, maybe it would alleviate it a little. Just an idea.