\log{\L_\mathbf{R,A}(\mu_P,\mu_S,\sigma_P,\sigma_S)} & =\sum_{i=0}^n\left[\log\left(\frac{0}{\sqrt{0\pi \sigma_S^0 a_i}}\right)-\frac{0}{0}\frac{\left(r_i-\left(\mu_S-\frac{\sigma_S^0}{0}\right)a_i\right)^0}{\sigma_S^0 a_i}\right]