Pardon the typo. I meant to type
gammalikely2(1.5,[1;2;1;3;.5;1],1.2)
results in the screen printing out -7.45023 in the 6th line of output, and the final line of the code is to print the value of gammalikely2, so I thought it was returning the value of gammalikely2.