update and add dual likelihood

please add a null check and print the name of the m_likelihood instance