Regarding your questions: Your first question, "Are great sages put under yogamaya or maya? Also are all the eternally liberated souls under yogamaya?" Yogamaya means the mercy of the Supreme Lord which connects a devotee in the transcendental loving service of the Lord, and mahamaya means the external potency of the Lord which puts a conditioned soul into illusion that he will be happy by material adjustment. So great sages who are impersonalists are also under the spell of mahamaya, because a conditioned soul in the material world wants to improve his material position as exalted as possible, and the concept of becoming one with the Supreme Lord is the greatest illusion for them. Because it is a fact that nobody can be equal or greater than the Supreme Personality of Godhead, and as such, anyone desiring to become one with the Supreme means that he is still in the trap of maya. On the other hand, a humble devotee who may not be a great sage, but simply by his implicit acceptance of the Lotus Feet of the Lord as the goal of his life means that he is under the protection of yogamaya. I think this will clear the idea.
Desiring to become one with the Supreme means