hmmm 1019?
At the height of the Byzantine empire, during the Macedonian Dynasty, under Constantine the VIII?
I'd say chances of survival would be pretty good.
I could teach people arithmetic or geometry for a living. Or could introduce physics classes for them!