fixing transitModel script to work with emcee