Piecewise Models with Multiple Change Points

Have a look here. It’s the generic guidance on how to combine likelihoods between change points. Also, have a look at this post for a nice continuous version which may player better with the sampler.