Maximum likelihood estimation of time to first event in the presence of data gaps and multiple events