Generates and fits binary star light curves