ChandraCXC / iris-dev

repository for tracking Iris development tasks
0 stars 0 forks source link

monte carlo fit results not showing up in Iris #132

Open jbudynk opened 7 years ago

jbudynk commented 7 years ago

To reproduce:

  1. Load this SED
  2. Fit two linearly combined modified-blackbodies, each multiplied by a const1d model, using MonteCarlo and Chi2. Here's the model template index file and templates.

The fit results from sherpa are not being sent to the SAMP hub. If you disconnect Sherpa from the SAMP hub, then start sherpa-samp on the side and run the fit, you can see the results show up on the console running sherpa-samp. You'll have to wait maybe 30 seconds to see the result.

Looking at the SAMP messages in the SAMP hub, you can see that multiple sherpa.fit.fit messages are left pending. It looks like when the sherpa timeout is reached, Iris tries to refit. I have to click the "Stop" button multiple times to end the fit; the number of times I have to click the "Stop" button seems proportional to the time I wait to press it.

jbudynk commented 7 years ago

Note that this issue doesn't occur on simpler models. For example, remove one of the added terms from the model expression. The fit results should be displayed as expected.