The judge sentencing Ashley Gill-Webb said although his behaviour was "serious" enough to demand punishment, he thought Gill-Webb was unlikely to offend again.
Gill-Webb was found guilty of intending to cause the men's Olympic 100m finalists harassment, alarm or distress by using threatening, abusive or disorderly behaviour.
Prosecutor Helen Shaw said the high-profile nature of the incident and the fact that the world was watching were aggravating factors.
[It was a] once-in-a-four-year event watched by millions of people around the world.
Some of the people who were in that area missed the event and had paid up to £4,000 a ticket.
More top news
Temperatures recovering over the next few days.
An ambulance crew member told ITV News waiting outside hospitals to offload patients has become 'completely soul-destroying'.
Patrick Gunar was caught on CCTV attacking the girl on Cambridge Street in Pear Tree last month as she was returning from the local shop.