Set Measure/Beat At Now (Shift+M) will calculate and insert a tempo to make the specified measure/beat hit the Now time. MIDI event times and durations are re-calculated so that the absolute playback timing is not affected; the timeline shifts
around existing MIDI and audio.
If the first MIDI event starts at 1:01:000, all you have to do is set the Now time on the downbeat event corresponding to 5:01 or 9:01 using tab to MIDI, hit Shift+M and enter that measure and beat to get started. Then you can set additional points as necessary to keep it locked in.
I use this feature often to time-align MIDI improvisations recorded without a click. My favorite SONAR feature.