started code for monitor_ctobssim.py(UNFINISHED)