I'm usually most productive early in the morning, when I've had enough coffee. I get up at 5:30 am or 6:00 am. Usually 2 to 3 or more cups for me. I'm a big morning bird and love getting things done. I also have my little routine, I get work as well as fun stuff in there. I don't have to follow the routine to a T, as long as I get the important stuff out of the way then get to the fun stuff.
Also, when I'm in a library or a coffee shop, especially a coffee shop. Book stores are a great avenue for productivity and if I have money on me, I usually buy something. I like having a coffee, cappucinio, or frozen beverage along with what I'm doing whether it be for school, a fun creative project, or anything else. I don't really stay up too too late.