I have tracked for five years a number of behaviors on a day to day basis. These range from what I am grateful for to what I worked on, how many hours I worked, how productive I was, how happy I was, what exercise I did, how happy I was, and other factors. I recently looked back upon this data to see what I could learn.
When I was running several miles a day, I had my highest work productivity and output levels. This correlates with a lot of recent research that shows that high intensity training and cardio does wonders for your brain.
Another big part of my successful periods was when I reduced my alcohol consumption or eliminated it entirely. This generally allowed for more high intensity workouts and more clear and focused work time.