A cross between "pathetic" and "epic". Usually referring to a bittersweet moment, or something that was unintentional while still being amazing.
I can't believe Joan, my best friend, won the race! Too bad I got fell at the starting line and had to be taken out. What a pathepic moment.