MCMC-Bayesian fitting of galaxy structure