Derivation of non-thermal particle distributions through MCMC spectral fitting