Llr optimizer initial

Hi Sebastian,

This is my latest pull request, which includes the initial code for the LLR Optimizer analysis. I have also updated Steve's template.py code, by taking the approach you suggested-grab his template.py from his repo and incorporate all the suggestions that I commented on myself. I also have tried to upload all data and input files, so if there are any missing, please let me know! The only thing really missing from the optimizer analysis code right now is the implementation of a few additional systematics, as well as adding the priors on the parameters that we do not wish to constrain.
Thank you, I changed this. I was experimenting with this, because when i was running lots of trials on the cluster at PSU, they were complaining about some file not being closed and it was hurting their system. I eventually found that the problem was elsewhere, but left this in anyway. I'll remove this now.