I, too, suffer from extreme panic attacks at night. I recently lost my job, and have been being treated for anxiety/depression for five years now.
Immediately after losing my job, I dealt with strictly insomnia. No matter how hard I tried to get myself on a normal sleep routine, I would be up normally from 2am-6am, and would be so tired I would sleep until 11am. I began to force myself to get up at a decent hour, which helped with the insomnia.
Shortly after I got the insomnia under control, the night sweats started. I would wake up drenched, and my clothes would stink of sweat. I started to sleep in lighter pajamas, which didn't help either. The night sweats eventually went away, but then the panic attacks started. It's been about 3 weeks now that I have been dealing with it. I feel physical anxiety when it starts to get late because I know a panic attack will come. I saw my doctor, who recommended that I start to take my anxiety/depression medicine later in the day to see if it helps. I also tried to take melatonin to help me sleep, but it made me so tired that I immediately went into panic mode. I have a prescription for Adivan to ease the anxiety, but don't want to take it on a regular basis and become addicted, so I use deep breathing techniques that I've been shown.
Good luck! I know how frightening and irritating it can be. I really recommend that you see your doctor ASAP.