Couldn't agree more. Tend to find i'm most productive when i'm miserable. Just as enthusiasm for a project can lead to great things, the motivation to get yourself out of a bad mood can work equally well - but I wouldn't recommend secluding yourself in the hope that you'll suddenly become a talented writer/philosopher/scientist!