generate log probabilities and spit out .pkl files for each