It must be very upsetting not being able to get to sleep when you want. I have similar problems sometimes.
On a positive note, it sounds like you're getting at least 6 hours a night, even if if it takes a long time to get to sleep. Like the previous poster said, it's a matter of trying to regulate your hours back to normal, and I hope your doctor can help with this.