If I had to guess, you're exercising too hard. Try 10% of what your routine is and then put in some code. Increase it slowly.
The right exercise regiment is important. There's no need to push yourself hard the first three months if you're starting out. Try a couch to 5k run routine over six months.
I'm not saying exercise is bad, and I do try and keep up with it, but am I the only one that has to think, "I can't exercise now or else I'll be too tired to code later."?