This will get bumped to pre-allo. Most likely a bad choice of specialty though. As a fellow epileptic, I can tell you the risk would be too great. A grand mal can leave you pretty incapable of doing much of anything for 24-48 hours if you are anything like me. As a neurosurgeon, you might be the only operating surgeon in a given area, or may be one of only two on call for a given hospital. If you have a seizure an someone comes in with a stroke and requires a crani STAT and you are either out due to a seizure, or you have a seizure, not only will that person probably die, but your career will very likely be over. That is if you even survived residency.
The other thing you need to keep in mind is that you may be a photosensetive epileptic, but as an epileptic, you have a lower seizure threshold than most. It might usually take some pretty powerful strobing to get you to drop, but if you're sleep deprived, your threshold will likely drop, and the hospital screen saver could end up sending you into a grand mal for all you know. Neurosurgery is the most grueling residency out there, very unforgiving of faults and failures, and unlikely to keep you on board if you had a seizure (or possibly even take you if you have epilepsy, as they might claim it is impossible to make reasonable accommodations for your condition). Be careful in choosing your specialty, for other lives can and will depend on you. You should pick a specialty in which a seizure and the resulting haze will not likely impact patient care, such as one with more physician coverage, less overnight/late call, etc. Good luck, and I feel your pain.