Check in spatial analyst extension whether script completes successfully or not.