How to average multiple chains?

The are nan in the log-weights, could your logp be returning nan at some point? Why so?