I guess the obvious thing is to minimize a function where you know the
answer and see what you getin the par file. Easier than looking at the
source.
Say
f=square(x(1)-1.0)+square(x(1)+1.0);
If answer if f=2 you have -LL and if you get f=-2 you have the LL.