Skip to content

Couple questions on custom energy injection and more #10

@ferromatteo

Description

@ferromatteo

Hello, I'm currently working on the modeling of a very rich Long GRB lightcurve and I came across this wonderful software :D

Since I'm not really an expert regarding AG modeling nor related codes I would like to understand if this can be feasible or not:
Basically I would like to:

  1. Fit multiple episodes of energy injection (not just single magnetar spin-down, but maybe N gaussian-like generic episodes)
    2 (and 3). Fit host galaxy extinction as a free parameter (rather than fixing it), or at least understand if there is an easy way to sum this term in the likelihood (as well as possible N fixed fluxes related to a possible underlying host, since my lightcurve reaches late times where I see a chromatic softening of the powerlaws)

While I discovered the Ejecta class allows custom E_dot profiles, integrating this with the Fitter class for MCMC parameter estimation seems non-trivial to me, while for the magnetar I just add it to the Setup and define the three parameter priors.

For the other two: let's say a possible AV/E(B-V) parameter of the host given an extinction law and the N-magnitudes of the possible host I would like just to know if I can easily access the log-likelihood before running the fitter, after the rest of the configuration is set, in order to just sum the two related terms.

As a side note, I found that when I run with more complex configuration selected (like specifically enabling klein-nishina corrections, ssc cooling) the kernel of the notebook where I'm currently running my fit dies very quickly, dunno If this could be related to my dataset or I'm missing something else.

Thank you very much in advance and for the great effort of this amazing package (and sorry if my requests are silly or unfeasible, I just started playing with the code, which btw is extremely user friendly =D).

Matteo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions