Don't forget that alot of people on medications tend to become dehydrated...it's important to always drink water. #1 you don't want your liver/kidneys to become overloaded....the fine print on those drugs say "liver damage"
Do you usually have a hard time between 1-3 am?
Another note, are you getting any exercise during the day? Depressed or not, we MUST get exercise ( oxygen ) tru the body/cells. This helps with the blood to our brain....the memories, issues will not all be rsolved but at least building mental stamnia.
If the sleeping enviroment has drove you nutz too, change the room set up etc...