I'm the guru of staying up late.
Stay natural, go with the energy drinkss with finals or something really important. However, if it's just to stay up every now and then, take a cold shower or do some push-ups, that'll get the adrenaline kicking in, you'll be good for a good 30mins-an hour.
If it deals with trouble in class, sleep more. You're still in high school, you shouldn't have too many difficulties/reasons to stay up that late. If for some reason you are having difficulties finishing work up on time, reevaluate your studying practices. If you're watching TV while studying or listening to music, etc. you could be lossing valuable sleep time. If you're having problems sleeping, that's just another matter, go see a sleep therapist.
Also, new holistic discovery on my part...eat almonds when you're studying pretty difficult stuff. Apparently, it supposedly helps cognition. Some chemical in almonds, apparently does this. It's been well-known in Vedic-medicine, however Eastern holistic practices are starting to discover this.