Bayesian seismology of the Sun