On the two Rotax 912S engines I owned, I set the ground max runup to about 5400 rpm. That would enable me to run at 5800-5900 (which I rarely did) in flight.
If I remember correctly we were at something like 13-15 degrees on the prop.
I think your maximum inflight rpm is a little low.
Others probably have more experience, it's been a while....