Pick your head up.
For those that made to the next round of the JPM analyst program, congratulations!
For those that didn't, congratulations!
Life has a funny way of working out, and this position probably wasn't for you.
This might even be the very best thing that ever happened to you.
Think about it. Now you might actually have time to think for the next two years. You can do whatever you want. Read, exercise, have a girlfriend, travel, learn, launch a cool business. It's a whole new world, and it's all yours.
Keep in mind that investment banking is not the only way to be successful and that in fact most successful people aren't investment bankers. You've kicked some ass right here where you are now and will definitely kick more ass in the future.