horrible hack to make potential and therefore StreamModel picklable
notebooks for testing new likelihood function