Dundee United manager Jackie McNamara admitted his side were not seen at their best during the Scottish Cup final defeat to St Johnstone.