When you gain a level in a prestige class that raises your caster level and your spell level from another spellcasting class, the other spellcasting class MUST have it's own spell list.

i.e. You may gain a level in Arcane Trickster to raise the spellcasting levels of Wizard or Assasin because both have their own spell list, but not to raise the spellcasting levels of Mystic Theurge, Archmage, or any class with it's own spell list.