Morgen |
Detect Magic could potentially detect a lingering aura of necromancy given the type of location where the undead were created and the length of time since Animate Dead had been cast but not much more then that. Usually rounds or minutes.
Animate Dead has an instantaneous duration. It causes things to happen but once it's cast the undead operate without the spell affecting them. Otherwise they'd be subject to things like Dispel Magic.