Effect of uncertain ancillary parameters on maximum likelihood estimates in dynamic models