mage armor as sorcerer spell - 1 hour
fireball as wizard spell - 5d6
CRB page 208 wrote:
A spell’s power often depends on its caster level, which for most spellcasting characters is equal to her class level in the class she’s using to cast the spell.