Maximum likelihood estimation of sparse networks with missing observations