{"action":"opened","issue":{"url":"https://api.github.com/repos/gammapy/gammapy/issues/404","labels_url":"https://api.github.com/repos/gammapy/gammapy/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/gammapy/gammapy/issues/404/comments","events_url":"https://api.github.com/repos/gammapy/gammapy/issues/404/events","html_url":"https://github.com/gammapy/gammapy/issues/404","id":122263542,"number":404,"title":"Use WStat in region based fit using sherpa","user":{"login":"tibaldo","id":3046743,"avatar_url":"https://avatars.githubusercontent.com/u/3046743?v=3","gravatar_id":"","url":"https://api.github.com/users/tibaldo","html_url":"https://github.com/tibaldo","followers_url":"https://api.github.com/users/tibaldo/followers","following_url":"https://api.github.com/users/tibaldo/following{/other_user}","gists_url":"https://api.github.com/users/tibaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/tibaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tibaldo/subscriptions","organizations_url":"https://api.github.com/users/tibaldo/orgs","repos_url":"https://api.github.com/users/tibaldo/repos","events_url":"https://api.github.com/users/tibaldo/events{/privacy}","received_events_url":"https://api.github.com/users/tibaldo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-15T12:37:44Z","updated_at":"2015-12-15T12:37:44Z","closed_at":null,"body":"The method _run_sherpa_fit in the class SpetraclFit from gammapy/spectrum/spectrum_analysis at present uses the default statistics, which is chi^2. This should be modified to use WStat as appropriate for IACT analysis and implemented in the latest sherpa version."}}