It sounds like you're suffering from PAWS - Post Acute Withdrawal Syndrome.
(Google the topic - the forum won't let me post a link).
In my case I suffered from disturbed sleep, anxiety, and other tribulations for several weeks after detoxing. I detoxed under medical supervision in an in-patient facility for 10 days and then immediately transitioned into a five day a week intensive outpatient program. Knowing that my symptoms were typical - indeed, comparatively mild - reassured me that I was OK in spite of my physical and emotional symptoms.
I'd recommend that you look into joining an out-patient program. I found daily group therapy sessions invaluable and continue to benefit from tools and techniques the counselors shared with us.
I was fortunate that my insurance includes unusually generous coverage for substance abuse, but nearly all health coverage does include at least a few weeks of coverage for daily therapy.