A lot of writers comment that the easiest way to get in the habit of writing papers is just to get into the habit of writing. Pick one hour a day to do some quality writing, whether it's poetry, essays, fiction, scripts, or so on. It doesn't have to be every day, but do it frequently at the same hour every time. The result is, when that hour comes along, you're already in the mindset of writing!
However, do yourself a favor and try to make it earlier in the day than 1 AM. Our editor-in-chief made that her quality writing time, and look where she ended up.