title: fbprophet: Error evaluating model log probability: Non-finite gradient
body: <p>I am getting the following error:
  <a href="https://i.stack.imgur.com/wwRVa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wwRVa.png" alt="enter image description here" /></a></p>
  <p>All I am doing is running this piece of code. I have used this dataset <a href="https://www.kaggle.com/camnugent/sandp500" rel="nofollow noreferrer">https://www.kaggle.com/camnugent/sandp500</a> but tried a few different ones, and all of them returned this message.</p>
  <pre><code>pandas_df = pd.read_csv(file_path)
  data_to_use = pandas_df.filter(['datetime', 'close'])
  data_to_use.columns = ['ds', 'y']
  data_to_use['ds'] = to_datetime(data_to_use['ds'])
  
  model = Prophet()
  model.fit(data_to_use)
  
  future_dates = model.make_future_dataframe(periods=365)
  prediction = model.predict(future_dates)
  </code></pre>
  <p>I have installed pystan and fbprophet in a new conda environment, python 3.7.10, pystan 2.19.1.1, fbprophet 0.7.1.</p>
  <p>I am not sure how to proceed, so any advice would be appreciated.</p>