Transition to Python 3

script compartmentalized and wrote in Python 3
(suggestion: Anaconda3; order of initialization: HEASOFT, SAS, Anaconda)