ain density
values for each data point. The densities are logged manually to simulate the
behavior of a <code>log</code> parameter.</p></li>
<li><p><strong>Parameter Validation</strong>: During optimization, the function checks that the
constraints <code>min &lt;= mode &lt;= max</code> are met, and returns an infinite loss if not.</p></li>
<li><p><strong>Optimization</strong>: The optimization process utilizes the "SANN"
(Simulated Annealing) method to minimize the negative log-likelihood and find
optimal p