BUG: fix warning arguments in GenericLikelihoodModel

fix a warning, wrong argument sequence

with unittest

(not most warnings are not tested)