You should see a doctor. Not about the panic attack - that's probably a normal reaction - but to your heart rate staying so elevated when you should be falling asleep from exhaustion from your longest ride yet.
If I was going to wig out, it would be like this: