Numpy Pandas Matplotlib Scipy Minimize Bounds