Bayesian Models for Astrophysical Data