The Grand Sage (CR27/MR10)

This short being appears human with a bald head, brown intelligent eyes, long thin mustache and beard, wearing red pants, a long red vest, conical hat, pouches filled with scrolls and tomes, and wielding a rune covered oaken staff. As he turns he slowly becomes insubstantial and vanishes from sight. 

XP 3,276,800CG Medium male outsider (mythic, native) Incendiary Arcanist 20/Archmage 10; Great Magister template

Init +20; Senses darkvision 60 ft., detect magic, low-light vision, true seeing; Perception +30 

Auras aura of arcane power (10 ft.), aura of good (overwhelming), aura of greater detect magic (30 ft.), protective aura (20 ft.)