Did you check yourself for adhd?
The confusing thing is sometimes I have days when I do manage to do work, but I can never see what I do differently on those days to other days.
At least for me this is the pattern I had before I had a good enough dose of meds.
Also, a good idea is to explain what you’re experiencing to the paychiatrist - he may recommend different meds or increasing the dosage.