CompEvol/beast2

java.lang.Error: randomChoiceUnnormalized falls through -- negative components in input distribution?

Sikandar37 opened this issue · 2 comments

Dear All,
I am running discrete Phylo-geographic analysis for 2600 influenza sequences using fix tree topology following this tutorial https://github.com/rbouckaert/FixedTreeAnalysis. After running the xml file in the beast V.2.7.4/V 2.7.5. i am receiving this error java.lang.Error: randomChoiceUnnormalized falls through -- negative components in input distribution?
Please report error to Marc

What could be the possible reason as previously this tutorial was working well for my data.
expert opinion is needed to solve this error
Screenshot 2023-12-02 170423

Thank you

Normally, this happens when a random value is requested from a discrete set of values based on the probabilities of these values. However, when the probabilities are not properly defined (all zero, or all NaN=not a number), the Randomizer cannot pick a value and displays an error.

At first sight, it looks like this happens only once in the whole chain, perhaps due to some numerical instability that makes the probabilities all NaN. Does it ever happen again? Does it seem to make a difference on the posterior? If not, it is probably safe to ignore the message.