Bayesian Estimation Applied to Multiple Species: Towards cosmology with a million supernovae — arXiv2