Apropos of nothing, I don't really post here that much, and I guess you should take a random comment from a stranger for what it's worth, but: I'm absolutely positive you will end up as a professor somewhere if you're determined to make it work. I'm older, so I'm in a different boat, but you have so much time to try to reach your dream. There's no way to say that without sounding patronizing, but I'm just trying to articulate that while the disappointment must sting now, any setbacks you're having are temporary for someone as focused and bright as you seem to be. (And by the by, I'm not sure what the protocol around this is, but I think it would be really instructive for you to get some feedback from admissions committees on your package if possible, because there's a good chance they'd point you to something concrete and fixable.)