/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16013.2688472 Extracting fit parameters... 4FGL J1543.1+4209 Spectrum: PowerLaw 296 Prefactor: 9.816e+00 1.425e+01 0.000e+00 1.000e+06 ( 1.000e-14) 297 Index: 1.981e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 298 Scale: 3.267e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 642 Prefactor: 8.641e-01 1.088e-01 0.000e+00 1.000e+01 ( 1.000e+00) 643 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 644 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 641 Normalization: 1.167e+00 1.121e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.58 Ra Dec: 235.799 42.155 Photon Flux Upper Limit: 4.27557667297e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00320161879697 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31167802/likelihoodResults_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16012.4294757 delta logL = 0.839371455651 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 16012.2605425 delta logL = 1.0083047125 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .47518E-07 1.0000 .0000 .10000E+07 2 'Index ' 8.4893 1.0000 .0000 10.000 3 'Normalizat' 1.1063 1.0000 .10000E-01 10.000 4 'Prefactor ' .91280 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6450E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 16013.56 FROM MIGRAD STATUS=CONVERGED 103 CALLS 881 TOTAL EDM= .66E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 2.8447 .42118E-03** at limit ** 2 Index .66145 .72705 -.15323E-06 .0000 3 Normalizat 1.1676 1.1786 .28867E-05 .95881E-04 4 Prefactor .87161 1.2312 -.96318E-06 .73667E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.661455 Normalizat = 1.16759 Prefactor = 0.871609 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 16013.56 FROM HESSE STATUS=FAILED 9 CALLS 890 TOTAL EDM= .66E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 2.8447 .42118E-03 -47044. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .26120E-03 .85098 -.15323E-06 -.27279E+09 3 Normalizat 1.1676 1.1786 .28867E-05 35.434 4 Prefactor .87161 1.2312 -.96318E-06 -969.78 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 6.61892e-12 Minuit parameter uncertainties: 1 1.45036e-05 2 0.737838 3 1.20711 4 1.27406 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 16013.5586462 delta logL = -0.289799052511 Extracting fit parameters... 4FGL J1543.1+4209 Spectrum: PowerLaw 296 Prefactor: 0.000e+00 1.450e-05 0.000e+00 1.000e+06 ( 1.000e-14) 297 Index: 6.615e-01 7.378e-01 0.000e+00 1.000e+01 (-1.000e+00) 298 Scale: 3.267e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 642 Prefactor: 8.716e-01 1.274e+00 0.000e+00 1.000e+01 ( 1.000e+00) 643 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 644 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 641 Normalization: 1.168e+00 1.207e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.58 Ra Dec: 235.799 42.155 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31167802/cmap_HighResolution_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-03', job_status='DONE', photon_flux_upper_limit='4.28e-08', time_completed='2026-07-09 19:19:39.919410', job_id='31167802', GAL2='0.87', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1783649979.92', return_code2='101', ts='0.58', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='-2.90e-01', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='935' AND source_name='4FGL J1543.1+4209' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 9 19:19:40 PDT 2026 number of points = 17462 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1543.1+4209_weekly_bin935 RA = 235.799, Dec = 42.1549 tmin = 804470401, tmax = 805075201 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='31168447', job_status='RUN', time_executed='2026-07-09 19:18:58.152883', time_epoch_executed='1783649938.15' WHERE source_name='4FGL J1543.1+4209' and cadence='weekly' and bin_id='935' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31168447 Creating custom pfile directory: /lscratch/kocevski/31168447/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31168447/ft1_4FGL_J1543.1+4209_weekly_bin935.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31168447/ft1_4FGL_J1543.1+4209_weekly_bin935.fits outfile=/lscratch/kocevski/31168447/ft1_filteredMKT_4FGL_J1543.1+4209_weekly_bin935.fits ra=235.799 dec=42.1549 rad=12.0 tmin=804470401.0 tmax=805075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 5.91 user 5.38 sys 0.26 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/31168447/ft1_filteredMKT_4FGL_J1543.1+4209_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31168447/ft1_filtered_4FGL_J1543.1+4209_weekly_bin935.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.69 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 1458 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31168447/ft1_filtered_4FGL_J1543.1+4209_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits sctable="SC_DATA"Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16013.2688472 Extracting fit parameters... 4FGL J1543.1+4209 Spectrum: PowerLaw 296 Prefactor: 9.816e+00 1.425e+01 0.000e+00 1.000e+06 ( 1.000e-14) 297 Index: 1.981e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 298 Scale: 3.267e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 642 Prefactor: 8.641e-01 1.088e-01 0.000e+00 1.000e+01 ( 1.000e+00) 643 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 644 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 641 Normalization: 1.167e+00 1.121e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.58 Ra Dec: 235.799 42.155 Photon Flux Upper Limit: 4.27557667297e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00320161879697 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31167896/likelihoodResults_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16012.4294757 delta logL = 0.839371455651 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 16012.2605425 delta logL = 1.0083047125 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .47518E-07 1.0000 .0000 .10000E+07 2 'Index ' 8.4893 1.0000 .0000 10.000 3 'Normalizat' 1.1063 1.0000 .10000E-01 10.000 4 'Prefactor ' .91280 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6450E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 16013.56 FROM MIGRAD STATUS=CONVERGED 103 CALLS 881 TOTAL EDM= .66E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 2.8447 .42118E-03** at limit ** 2 Index .66145 .72705 -.15323E-06 .0000 3 Normalizat 1.1676 1.1786 .28867E-05 .95881E-04 4 Prefactor .87161 1.2312 -.96318E-06 .73667E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.661455 Normalizat = 1.16759 Prefactor = 0.871609 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 16013.56 FROM HESSE STATUS=FAILED 9 CALLS 890 TOTAL EDM= .66E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 2.8447 .42118E-03 -47044. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .26120E-03 .85098 -.15323E-06 -.27279E+09 3 Normalizat 1.1676 1.1786 .28867E-05 35.434 4 Prefactor .87161 1.2312 -.96318E-06 -969.78 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 6.61892e-12 Minuit parameter uncertainties: 1 1.45036e-05 2 0.737838 3 1.20711 4 1.27406 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 16013.5586462 delta logL = -0.289799052511 Extracting fit parameters... 4FGL J1543.1+4209 Spectrum: PowerLaw 296 Prefactor: 0.000e+00 1.450e-05 0.000e+00 1.000e+06 ( 1.000e-14) 297 Index: 6.615e-01 7.378e-01 0.000e+00 1.000e+01 (-1.000e+00) 298 Scale: 3.267e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 642 Prefactor: 8.716e-01 1.274e+00 0.000e+00 1.000e+01 ( 1.000e+00) 643 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 644 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 641 Normalization: 1.168e+00 1.207e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.58 Ra Dec: 235.799 42.155 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31167896/cmap_HighResolution_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-03', job_status='DONE', photon_flux_upper_limit='4.28e-08', time_completed='2026-07-09 19:21:11.084326', job_id='31167896', GAL2='0.87', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1783650071.08', return_code2='101', ts='0.58', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='-2.90e-01', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='935' AND source_name='4FGL J1543.1+4209' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 9 19:21:11 PDT 2026 outfile=/lscratch/kocevski/31168447/ltcube_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits .....................! real 19.45 user 18.81 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31168447/ft1_filtered_4FGL_J1543.1+4209_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31168447/ltcube_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.fits outfile=/lscratch/kocevski/31168447/expmap_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/31168447/ltcube_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.fits .....................! real 75.22 user 69.64 sys 4.54 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 200 point sources and 0 extended sources Setting source of interest to: 4FGL J1543.1+4209 @ 235.799 42.1549 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31168447/ft1_filtered_4FGL_J1543.1+4209_weekly_bin935.fits scfile=/lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits outfile=/lscratch/kocevski/31168447/cmap_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=235.799 yref=42.1549 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.63 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31168447/ft1_filtered_4FGL_J1543.1+4209_weekly_bin935.fits scfile=/lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits outfile=/lscratch/kocevski/31168447/cmap_HighResolution_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=235.799 yref=42.1549 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.68 user 0.27 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31168447/ft1_filtered_4FGL_J1543.1+4209_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31168447/Model_4FGL_J1543.1+4209_weekly_bin935.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31168447/ft1_filtered_4FGL_J1543.1+4209_weekly_bin935.fits.....................! real 47.28 user 45.29 sys 1.16 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31168447/ft1_filtered_4FGL_J1543.1+4209_weekly_bin935.fits', '/lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits', expMap='/lscratch/kocevski/31168447/expmap_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.fits', expCube='/lscratch/kocevski/31168447/ltcube_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31168447/Model_4FGL_J1543.1+4209_weekly_bin935.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1543.1+4209' 4FGL J1543.1+4209 Spectrum: PowerLaw 296 Prefactor: 1.013e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 297 Index: 1.981e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 298 Scale: 3.267e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31168447/ft1_filtered_4FGL_J1543.1+4209_weekly_bin935.fits Spacecraft file(s): /lscratch/kocevski/31168447/ft2_4FGL_J1543.1+4209_weekly_bin935.fits Exposure map: /lscratch/kocevski/31168447/expmap_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.fits Exposure cube: /lscratch/kocevski/31168447/ltcube_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31168447/Model_4FGL_J1543.1+4209_weekly_bin935.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16013.2848201 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16013.2710594 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14453E-01 1.0000 .0000 .10000E+07 2 'Prefactor ' .10040E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' 3.0993 1.0000 .0000 .10000E+07 4 'norm ' .97135 1.0000 .0000 .10000E+07 5 'norm ' .30531E-08 1.0000 .0000 .10000E+07 6 'Prefactor ' .29523E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' 18.444 1.0000 .0000 .10000E+07 8 'Prefactor ' 9.9982 1.0000 .0000 .10000E+07 9 'Prefactor ' 12.644 1.0000 .0000 .10000E+07 10 'norm ' 5.6178 1.0000 .0000 .10000E+07 11 'Prefactor ' .13972E-05 1.0000 .0000 .10000E+07 12 'norm ' 6.9461 1.0000 .0000 .10000E+07 13 'Prefactor ' 9.8402 1.0000 .0000 .10000E+07 14 'Prefactor ' .12183E-01 1.0000 .0000 .10000E+07 15 'Prefactor ' .0000 1.0000 .0000 .10000E+07 16 'Prefactor ' .44461E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' .26207E-01 1.0000 .0000 .10000E+07 18 'Prefactor ' .83267E-08 1.0000 .0000 .10000E+07 19 'Prefactor ' 1.3356 1.0000 .0000 .10000E+07 20 'norm ' .24980E-08 1.0000 .0000 .10000E+07 21 'norm ' .16889E-01 1.0000 .0000 .10000E+07 22 'Prefactor ' .46035 1.0000 .0000 .10000E+07 23 'Prefactor ' .24387E-04 1.0000 .0000 .10000E+07 24 'norm ' .85185 1.0000 .0000 .10000E+07 25 'Prefactor ' 1.3833 1.0000 .0000 .10000E+07 26 'Prefactor ' 1.9020 1.0000 .0000 .10000E+07 27 'Normalizat' 1.1666 1.0000 .10000E-01 10.000 28 'Prefactor ' .86402 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6450E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16013.27 FROM MIGRAD STATUS=CONVERGED 160 CALLS 2658 TOTAL EDM= .81E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 8.0948 .39264E-06** at limit ** 2 Prefactor .14988E-08 2.0124 -.18647E-06** at limit ** 3 Prefactor 3.1028 3.0600 -.19977E-06 -.15014E-02 4 norm .97105 .78330 .10205E-06 .41609E-02 5 norm .0000 .46345 -.16775E-06** at limit ** 6 Prefactor .16653E-09 1.3218 -.39889E-07** at limit ** 7 Prefactor 18.650 20.695 -.15886E-06 .57488E-01 8 Prefactor 9.9826 3.1914 -.46096E-07 .11547E-01 9 Prefactor 12.639 7.0159 -.71249E-07 -.22767E-01 10 norm 5.6168 1.1071 -.46727E-08 -.11148E-02 11 Prefactor .49960E-09 1.2086 .60494E-07** at limit ** 12 norm 6.9013 5.5494 .12019E-06 .11331E-01 13 Prefactor 9.8158 3.1318 -.63136E-07 .65266E-01 14 Prefactor .49960E-09 15.257 .28005E-06** at limit ** 15 Prefactor .0000 .34480 -.10832E-06** at limit ** 16 Prefactor .66613E-08 3.7453 -.13712E-06** at limit ** 17 Prefactor .0000 19.020 -.14593E-06** at limit ** 18 Prefactor .0000 1.1866 -.69352E-07** at limit ** 19 Prefactor 1.3361 1.8756 .82940E-07 .10460E-02 20 norm .0000 .34276E-01 .20369E-07** at limit ** 21 norm .87095E-04 327.22 .10019E-05** at limit ** 22 Prefactor .44278 1.2911 -.16901E-06 .20340E-01 23 Prefactor .96034E-08 4.0248 .96097E-07** at limit ** 24 norm .88369 6.7827 -.10789E-06 -.34337E-01 25 Prefactor 1.3836 .74092 -.25275E-07 -.13331E-02 26 Prefactor 1.9015 .87407 .79916E-08 .48961E-03 27 Normalizat 1.1667 .13302 .90708E-06 .21968E-04 28 Prefactor .86408 .12874 -.34231E-06 -.11509E-04 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 1.4988e-09 Prefactor = 3.10283 norm = 0.971052 norm = 0 Prefactor = 1.66533e-10 Prefactor = 18.6499 Prefactor = 9.98262 Prefactor = 12.6386 norm = 5.61682 Prefactor = 4.996e-10 norm = 6.90128 Prefactor = 9.81581 Prefactor = 4.996e-10 Prefactor = 0 Prefactor = 6.66134e-09 Prefactor = 0 Prefactor = 0 Prefactor = 1.33606 norm = 0 norm = 8.70951e-05 Prefactor = 0.442785 Prefactor = 9.60343e-09 norm = 0.883686 Prefactor = 1.38359 Prefactor = 1.90151 Normalizat = 1.16667 Prefactor = 0.864081 ********** ** 18 **HESSE ********** FCN= 16013.27 FROM HESSE STATUS=OK 597 CALLS 3255 TOTAL EDM= .11E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 8.1017 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .14988E-08 2.0202 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.1028 3.0772 .57578E-03 -1.5673 4 norm .97105 .78886 .42749E-03 -1.5688 5 norm .0000 .46373 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .16653E-09 1.9246 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 18.650 27.817 .23294E-03 -1.5622 8 Prefactor 9.9826 16.018 .31665E-03 -1.5645 9 Prefactor 12.639 9.5204 .28144E-03 -1.5637 10 norm 5.6168 1.1084 .42360E-03 -1.5661 11 Prefactor .49960E-09 1.9372 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 6.9013 6.5750 .38042E-03 -1.5655 13 Prefactor 9.8158 14.251 .31920E-03 -1.5645 14 Prefactor .49960E-09 15.268 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .0000 .34487 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .66613E-08 3.7235 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .0000 5.8453 .99714E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 1.1892 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 1.3361 1.9139 .94897E-03 -1.5685 20 norm .0000 .17647E-01 .89539E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .87095E-04 5.9646 .96956E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .44278 3.6105 .12780E-01 -1.5695 23 Prefactor .96034E-08 3.9620 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .88369 152.11 .49148E-03 -1.5689 25 Prefactor 1.3836 .72760 .92470E-03 -1.5684 26 Prefactor 1.9015 .85439 .75378E-03 -1.5680 27 Normalizat 1.1667 .11204 .52250E-01 -.87639 28 Prefactor .86408 .10878 .44545E-01 -.97408 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.08741e-06 Minuit parameter uncertainties: 1 6.87939e-06 2 0.000110448 3 3.07718 4 0.788865 5 2.69243e-06 6 3.47758e-05 7 27.8175 8 16.018 9 9.52037 10 1.10841 11 6.17726e-05 12 6.57504 13 14.2515 14 0.00017334 15 1.19778e-06 16 0.000315594 17 1.37008e-05 18 1.55394e-06 19 1.91394 20 4.28737e-08 21 0.0455846 22 2.52878 23 0.000389864 24 23.1882 25 0.727596 26 0.85439 27 0.112066 28 0.108806 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16013.2688472 Extracting fit parameters... 4FGL J1543.1+4209 Spectrum: PowerLaw 296 Prefactor: 9.816e+00 1.425e+01 0.000e+00 1.000e+06 ( 1.000e-14) 297 Index: 1.981e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 298 Scale: 3.267e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 642 Prefactor: 8.641e-01 1.088e-01 0.000e+00 1.000e+01 ( 1.000e+00) 643 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 644 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 641 Normalization: 1.167e+00 1.121e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.58 Ra Dec: 235.799 42.155 Photon Flux Upper Limit: 4.27557667297e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00320161879697 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31168447/likelihoodResults_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16012.4294757 delta logL = 0.839371455651 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 16012.2605425 delta logL = 1.0083047125 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .47518E-07 1.0000 .0000 .10000E+07 2 'Index ' 8.4893 1.0000 .0000 10.000 3 'Normalizat' 1.1063 1.0000 .10000E-01 10.000 4 'Prefactor ' .91280 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6450E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 16013.56 FROM MIGRAD STATUS=CONVERGED 103 CALLS 881 TOTAL EDM= .66E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 2.8447 .42118E-03** at limit ** 2 Index .66145 .72705 -.15323E-06 .0000 3 Normalizat 1.1676 1.1786 .28867E-05 .95881E-04 4 Prefactor .87161 1.2312 -.96318E-06 .73667E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.661455 Normalizat = 1.16759 Prefactor = 0.871609 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 16013.56 FROM HESSE STATUS=FAILED 9 CALLS 890 TOTAL EDM= .66E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 2.8447 .42118E-03 -47044. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .26120E-03 .85098 -.15323E-06 -.27279E+09 3 Normalizat 1.1676 1.1786 .28867E-05 35.434 4 Prefactor .87161 1.2312 -.96318E-06 -969.78 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 6.61892e-12 Minuit parameter uncertainties: 1 1.45036e-05 2 0.737838 3 1.20711 4 1.27406 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 16013.5586462 delta logL = -0.289799052511 Extracting fit parameters... 4FGL J1543.1+4209 Spectrum: PowerLaw 296 Prefactor: 0.000e+00 1.450e-05 0.000e+00 1.000e+06 ( 1.000e-14) 297 Index: 6.615e-01 7.378e-01 0.000e+00 1.000e+01 (-1.000e+00) 298 Scale: 3.267e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 642 Prefactor: 8.716e-01 1.274e+00 0.000e+00 1.000e+01 ( 1.000e+00) 643 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 644 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 641 Normalization: 1.168e+00 1.207e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.58 Ra Dec: 235.799 42.155 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31168447/cmap_HighResolution_804470401_805075201_4FGL_J1543.1+4209_weekly_bin935.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-03', job_status='DONE', photon_flux_upper_limit='4.28e-08', time_completed='2026-07-09 19:31:50.180422', job_id='31168447', GAL2='0.87', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1783650710.18', return_code2='101', ts='0.58', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='-2.90e-01', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='935' AND source_name='4FGL J1543.1+4209' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 9 19:31:50 PDT 2026