Significant prognostic factors included sex , age at treatment failure , time on randomized treatment at treatment failure , neurologic insult , total number of tonic-clonic seizures at treatment failure , reason for treatment failure , seizure type , and CT/MRI scan result .