unequal likelihoods problem!
gamma implemented, no optimization, partial AA definitions