Euclid: Validation of the MontePython forecasting tools
Authors: Casas S. , Lesgourgues J. , Schöneberg N. , Sabarish V. M. , Rathmann L. , Doerenkamp M. , Archidiacono M. , Bellini E. , Clesse S. , Frusciante N. , Martinelli M. , Pace F. , Sapone D. , Sakr Z. , Blanchard A. , Brinckmann T. , Camera S. , Carbone C. , Ilić S. , Markovic K. , Pettorino V. , Tutusaus I. , Aghanim N. , Amara A. , Amendola L. , Auricchio N. , Baldi M. , Bonino D. , Branchini E. , Brescia M. , Brinchmann J. , Capobianco V. , Cardone V. F. , Carretero J. , Castellano M. , Cavuoti S. , Cimatti A. , Cledassou R. , Congedo G. , Conversi L. , Copin Y. , Corcione L. , Courbin F. , Cropper M. , Degaudenzi H. , Dinis J. , Douspis M. , Dubath F. , Dupac X. , Dusini S. , Farrens S. , Frailis M. , Franceschi E. , Fumana M. , Galeotta S. , Garilli B. , Gillis B. , Giocoli C. , Grazian A. , Grupp F. , Guzzo L. , Haugan S. V. H. , Hormuth F. , Hornstrup A. , Jahnke K. , Kümmel M. , Kiessling A. , Kilbinger M. , Kitching T. , Kunz M. , Kurki-Suonio H. , Ligori S. , Lilje P. B. , Lloro I. , Mansutti O. , Marggraf O. , Marulli F. , Massey R. , Medinaceli E. , Mei S. , Meneghetti M. , Merlin E. , Meylan G. , Moresco M. , Moscardini L. , Munari E. , Niemi S.-M. , Padilla C. , Paltani S. , Pasian F. , Pedersen K. , Percival W. J. , Pires S. , Polenta G. , Poncet M. , Popa L. A. , Raison F. , Renzi A. , Rhodes J. , Riccio G. , Romelli E. , Roncarelli M. , Rossetti E. , Saglia R. , Sartoris B. , Schneider P. , Secroun A. , Seidel G. , Serrano S. , Sirignano C. , Sirri G. , Stanco L. , Starck J.-L. , Surace C. , Tallada-Crespí P. , Taylor A. N. , Tereno I. , Toledo-Moreo R. , Torradeflot F. , Valentijn E. A. , Valenziano L. , Vassallo T. , Wang Y. , Weller J. , Zamorani G. , Zoubian J. , Scottez V. , Veropalumbo A. 
Published: November 2023

Context. The Euclid mission of the European Space Agency will perform a survey of weak lensing cosmic shear and galaxy clustering in order to constrain cosmological models and fundamental physics.
Aims. We expand and adjust the mock Euclid likelihoods of the MontePython software in order to match the exact recipes used in previous Euclid Fisher matrix forecasts for several probes: weak lensing cosmic shear, photometric galaxy clustering, the cross-correlation between the latter observables, and spectroscopic galaxy clustering. We also establish which precision settings are required when running the Einstein–Boltzmann solvers CLASS and CAMB in the context of Euclid.
Methods. For the minimal cosmological model, extended to include dynamical dark energy, we perform Fisher matrix forecasts based directly on a numerical evaluation of second derivatives of the likelihood with respect to model parameters. We compare our results with those of previously validated Fisher codes using an independent method based on first derivatives of the Euclid observables.
Results. We show that such MontePython forecasts agree very well with previous Fisher forecasts published by the Euclid Collab oration, and also, with new forecasts produced by the CosmicFish code, now interfaced directly with the two Einstein–Boltzmann solvers CAMB and CLASS. Moreover, to establish the validity of the Gaussian approximation, we show that the Fisher matrix marginal error contours coincide with the credible regions obtained when running Monte Carlo Markov chains with MontePython while using the exact same mock likelihoods.
Conclusions. The new Euclid forecast pipelines presented here are ready for use with additional cosmological parameters, in order to explore extended cosmological models.