Welcome to the site.
Well, it is quite evident from your history of recent events in life such as loss of job and break up that you are under extreme duress and it is this stress which has derailed your sleep pattern and brought in insomnia. Now, this stressful situation needs to be tackled well and as soon as possible so that not only your sleep can be revived but panic attacks can be best prevented from occurring which have troubled you in the past.
So, i suggest that you can try two herbal remedies such as St. Johns wort for anxiety and stress And Valerian root extract tea at night time with / without milk or honey as flavor for insomnia.
St. johns wort is widely known as the herb which has good effects over anxiety and stress and you may try it at dose of 220 mg of 0.3 % extract three times a day initially and when stress and anxiety has been managed you may start taking it twice a day.
As far as valerian root extract laden tea is concerned it shall be taken at night, it may be added with milk or honey to suit your taste. This herb is known fr its sedative action plus it may also contribute in lessening your anxiety and stress.
So try out these two herbal remedies which can be availed over the counter for now and continue practicing sleep hygiene.
I hope this helps.
Wish you all the best.
Please kindly leave a POSITIVE RATING if you are satisfied with the answer.
You may add chamomile tea at late evening along with the other herbs for augmenting the overall action for inducing sleep.