read input parameters find angles of the SIAM corresponding to current instrument STATT: calculate pointing of the star-tracker for ref attitude SRCinFOV: calculate FOV positions of 5 test sources intended FOV positions: add offsets (ry,rz) to FOV positions of 5 test sources minimize distance of "intended FOV positions" from SRCinFOV positions by of iteration SIAM angles and re-calculating STATT and SRCinFOV. print resulting angles