I'm in similar situation. since I began the PhD its been half sleep and half wake up nights or staying the whole night up doing work. Before this I never had a problem in going to sleep or sleeping like a log throughout the night. So are these the side effects of PhD's?