This function fits a reversible jump Bayesian piecewise exponential model that also includes the intensity of each event considered along with the rate of events.