Hi, I'd like to help you with your question.
From the list of symptoms you described, in my experience the diagnosis of Depression with a psychotic break or Psychotic depression fits. So to answer your question, I think the diagnosis fits. Common symptoms of this disorder include agitation, anxiety, psychosis, constipation, insomnia, and intellectual impairments.
However, that is not to say that you cannot work towards recovery. There are numerous medications you can try. You are not stuck on one type of medicine. Some of the medications you can try are risperadone, olanzapine, and quatiapine.
Speak with your doctor about changing medicine and let them know about your concerns.
I hope this has helped,