Running fine, but suddenly met with org.apache.commons.math.MathRuntimeException$4: standard deviation must be positive (0)

108 views
Skip to first unread message

lilne...@gmail.com

unread,
Feb 16, 2024, 6:02:30 PM2/16/24
to beast-users
Have not found anyone encountering this problem and was wondering if anyone would have any idea. The run was set for 500,000,000 chains but was met with the following error after 387,000,000 runs

       38700000    -22416.1112    -21760.9963      -655.1149 6m45s/Msamples
org.apache.commons.math.MathRuntimeException$4: standard deviation must be positive (0)
at org.apache.commons.math.MathRuntimeException.createIllegalArgumentException(Unknown Source)
at org.apache.commons.math.distribution.NormalDistributionImpl.setStandardDeviationInternal(Unknown Source)
at org.apache.commons.math.distribution.NormalDistributionImpl.setStandardDeviation(Unknown Source)
at beast.base.inference.distribution.LogNormalDistributionModel$LogNormalImpl.setMeanAndStdDev(Unknown Source)
at beast.base.inference.distribution.LogNormalDistributionModel.refresh(Unknown Source)
at beast.base.inference.distribution.LogNormalDistributionModel.getDistribution(Unknown Source)
at beast.base.inference.distribution.ParametricDistribution.logDensity(Unknown Source)
at beast.base.inference.distribution.ParametricDistribution.calcLogP(Unknown Source)
at beast.base.inference.distribution.Prior.calculateLogP(Unknown Source)
at beast.base.inference.CompoundDistribution.calculateLogP(Unknown Source)
at beast.base.inference.CompoundDistribution.calculateLogP(Unknown Source)
at beast.base.inference.MCMC.propagateState(Unknown Source)
at beast.base.inference.MCMC.doLoop(Unknown Source)
at beast.base.inference.MCMC.run(Unknown Source)
at beastfx.app.beast.BeastMCMC.run(Unknown Source)
at beastfx.app.beast.BeastMain.main(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at beast.pkgmgmt.launcher.BeastLauncher.run(Unknown Source)
at beast.pkgmgmt.launcher.BeastLauncher.main(Unknown Source)

Utpal Smart

unread,
Jul 5, 2024, 2:17:02 PM7/5/24
to beast-users
Hi, 

I am running into the exact same issue. Were you able to figure it out?

Thanks,

Ales Bucek

unread,
Nov 17, 2024, 1:57:47 PM11/17/24
to beast-users
Same here, after 83,757,000 samples. Did you find any explanation for the error?
Reply all
Reply to author
Forward
0 new messages