While it's good that you are trying to view your situation analytically, remember that the same mind that you are using to fix the problem is the same mind that created the problem (the depression). That's why it's impossible to "think your way out of depression". I would encourage you instead to focus your energy on taking care of yourself today, just at this moment. That means eating well, taking a walk, taking a shower... I'm sure you've heard it all before. I know it sounds pointless and not a real solution to your difficulties, but I promise you will feel better, and that is a step in the right direction.