Both my wife and I have found that max heart rate needs these components to occur - fresh legs and heart, very high motivation, adrenaline, and high cadence. We log our highest heart rates at the start of races where there is an easy to moderate climb and everyone is killing it. Steep hills alone do not do seem to produce max heart rates.