Lommel-Seeliger ellipsoid enables statistical asteroid lightcurve inversion.
Efficient Markov-chain Monte Carlo methods are introduced for lightcurves.
Methods are successfully applied to dense ground-based data.
Sparse simulated Gaia data are successfully assessed with the methods.