Sensing the local magnetic environment through optically active defects in a layered magnetic semiconductor — arXiv2