Raith Rovers' promotion hopes ended as Steve Degnan's stoppage-time strike gave Queen of the South a win at Stark's Park.
Degnan scored three minutes into added time, scoring from a tight angle.
In a disappointing opening half, Rovers' best effort came after 19 minutes, John Baird's effort from inside the box hitting the crossbar.
McMenamin then fired over from 18 yards four minutes before half-time.
Baird and Craig Wilson both fired wide from the edge of the area in the second period for the Kirkcaldy side.
Robert Harris' 25-yard free-kick wide was the best Queen of the South could muster after the break until Degnan snatched all three points.
Even a win would not have kept Rovers' title hopes alive as Dunfermline's victory at Morton ensured they are crowned champions with one game remaining.