Merged graphSubjAnalysis.py with newer version