Analysis of stellar occultation data: Effects of photon noise and initial conditions