Skip to content

can't get cigale to work with host data in repo #144

@caseyjlaw

Description

@caseyjlaw

I'm playing with the cigale modeling of FRB hosts. My goal is to integrate future DSA-110 info with the repo. I was happy to see that you have already worked on integrating cigale with the FRBs repo!
I have cigale installed and can import pcigale to a python session. However, it seems that many of the bands are not recognized. For example:

> f0 = frb.FRB.by_name("FRB20190714A")
> h0 = f0.grab_host()
> h0.run_cigale()
No AGN module found. Options are: fritz2006, skirtor2016.
No radio module found. Options are: radio.
Initialising the analysis module... 
The out/ directory was renamed to 2022-09-16_12:37:41_out/
Warning: Pan-STARRS_g in the input file but not to be taken into account in the fit.
Warning: Pan-STARRS_r in the input file but not to be taken into account in the fit.
Warning: Pan-STARRS_i in the input file but not to be taken into account in the fit.
Warning: Pan-STARRS_z in the input file but not to be taken into account in the fit.
Warning: Pan-STARRS_y in the input file but not to be taken into account in the fit.
Warning: VLT_FORS2_g in the input file but not to be taken into account in the fit.
Warning: VLT_FORS2_I in the input file but not to be taken into account in the fit.
Warning: WFC3_F300X in the input file but not to be taken into account in the fit.
Warning: Pan-STARRS_g_err in the input file but not to be taken into account in the fit.
Warning: Pan-STARRS_r_err in the input file but not to be taken into account in the fit.
Warning: Pan-STARRS_i_err in the input file but not to be taken into account in the fit.
Warning: Pan-STARRS_z_err in the input file but not to be taken into account in the fit.
Warning: Pan-STARRS_y_err in the input file but not to be taken into account in the fit.
Warning: VLT_FORS2_g_err in the input file but not to be taken into account in the fit.
Warning: VLT_FORS2_I_err in the input file but not to be taken into account in the fit.
Warning: WFC3_F300X_err in the input file but not to be taken into account in the fit.

Processing block 1/1...

Computing models ...
16800/16800 in 00:00:21.8 (769.7/s)

Estimating the physical properties ...
1/1 in 00:00:08.2 (0.1/s)

Block processed.

Estimating physical properties on all blocks

Computing the best fit spectra
1/1 in 00:00:01.0 (1.0/s)

Sanity check of the analysis results...
0.0% of the objects have χ²_red~0 and 0.0% χ²_red<0.5

Saving the analysis results...
Run completed!
1/1 in 00:00:01.3 (0.8/s)
No SED found for HG20190714A. No plot created.

And ultimately, an output directory and files made, but no plot is generated. I see that the pcigale-plots sed script exists, but it doesn't properly parse the output of the run_cigale method.
I guess I was wondering if there was anything obviously wrong I'm doing here? I could work on adding new bands by following the cigale instructions, but the lack of an output make me wonder if something else isn't right. Any tips would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions