/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). utfile=/lscratch/kocevski/27657076/ltcube_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.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/27657076/ft2_4FGL_J1300.4+1416_weekly_bin930.fits .....................! real 17.66 user 17.05 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/27657076/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27657076/ft2_4FGL_J1300.4+1416_weekly_bin930.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27657076/ltcube_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits outfile=/lscratch/kocevski/27657076/expmap_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.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/27657076/ltcube_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits .....................! real 61.76 user 57.50 sys 3.60 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 177 point sources and 0 extended sources Setting source of interest to: 4FGL J1300.4+1416 @ 195.12 14.2701 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/27657076/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits scfile=/lscratch/kocevski/27657076/ft2_4FGL_J1300.4+1416_weekly_bin930.fits outfile=/lscratch/kocevski/27657076/cmap_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.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=195.12 yref=14.2701 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.58 user 0.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/27657076/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits scfile=/lscratch/kocevski/27657076/ft2_4FGL_J1300.4+1416_weekly_bin930.fits outfile=/lscratch/kocevski/27657076/cmap_HighResolution_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.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=195.12 yref=14.2701 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.61 user 0.23 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/27657076/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27657076/ft2_4FGL_J1300.4+1416_weekly_bin930.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27657076/Model_4FGL_J1300.4+1416_weekly_bin930.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 GALnumber of points = 17278 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1300.4+1416_weekly_bin930 RA = 195.12, Dec = 14.2701 tmin = 801446401, tmax = 802051201 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='27657123', job_status='RUN', time_executed='2026-06-02 12:36:53.833377', time_epoch_executed='1780429013.83' WHERE source_name='4FGL J1300.4+1416' and cadence='weekly' and bin_id='930' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/27657123 Creating custom pfile directory: /lscratch/kocevski/27657123/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=801446401.0 && nMetStart<802051201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=801446401.0 && nMetStart<802051201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/27657123/ft1_4FGL_J1300.4+1416_weekly_bin930.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=801446401.0 && nMetStart<802051201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/27657123/ft1_4FGL_J1300.4+1416_weekly_bin930.fits outfile=/lscratch/kocevski/27657123/ft1_filteredMKT_4FGL_J1300.4+1416_weekly_bin930.fits ra=195.12 dec=14.2701 rad=12.0 tmin=801446401.0 tmax=802051201.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 4.70 user 4.15 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.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/27657123/ft1_filteredMKT_4FGL_J1300.4+1416_weekly_bin930.fits evtable="EVENTS" outfile="/lscratch/kocevski/27657123/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.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.60 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 1305 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/27657123/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.fits sctable="SC_DATA" o_V02 Working on... /lscratch/kocevski/27657076/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits.....................! real 39.31 user 36.70 sys 1.75 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/27657076/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits', '/lscratch/kocevski/27657076/ft2_4FGL_J1300.4+1416_weekly_bin930.fits', expMap='/lscratch/kocevski/27657076/expmap_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits', expCube='/lscratch/kocevski/27657076/ltcube_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27657076/Model_4FGL_J1300.4+1416_weekly_bin930.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1300.4+1416' 4FGL J1300.4+1416 Spectrum: PowerLaw 297 Prefactor: 6.920e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 298 Index: 2.738e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 299 Scale: 4.431e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/27657076/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits Spacecraft file(s): /lscratch/kocevski/27657076/ft2_4FGL_J1300.4+1416_weekly_bin930.fits Exposure map: /lscratch/kocevski/27657076/expmap_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits Exposure cube: /lscratch/kocevski/27657076/ltcube_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/27657076/Model_4FGL_J1300.4+1416_weekly_bin930.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) = 14156.5933238 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14156.4620243 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.7692 1.0000 .0000 .10000E+07 2 'Prefactor ' .76147E-02 1.0000 .0000 .10000E+07 3 'norm ' .20254 1.0000 .0000 .10000E+07 4 'Prefactor ' 8.0673 1.0000 .0000 .10000E+07 5 'norm ' .71384 1.0000 .0000 .10000E+07 6 'Prefactor ' .76938E-07 1.0000 .0000 .10000E+07 7 'Prefactor ' 10.494 1.0000 .0000 .10000E+07 8 'Prefactor ' .33774E-03 1.0000 .0000 .10000E+07 9 'norm ' 10.600 1.0000 .0000 .10000E+07 10 'norm ' .35527E-08 1.0000 .0000 .10000E+07 11 'norm ' 9.6628 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.3757 1.0000 .0000 .10000E+07 13 'Prefactor ' 27.166 1.0000 .0000 .10000E+07 14 'norm ' .69361E-06 1.0000 .0000 .10000E+07 15 'Prefactor ' 35.745 1.0000 .0000 .10000E+07 16 'Normalizat' 1.2899 1.0000 .10000E-01 10.000 17 'Prefactor ' .91573 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5710E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14156.46 FROM MIGRAD STATUS=CONVERGED 120 CALLS 994 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.7698 1.9647 .28245E-07 .84241E-02 2 Prefactor .91482E-07 22.995 -.33367E-06** at limit ** 3 norm .20260 .12011 -.52516E-09** at limit ** 4 Prefactor 8.1150 6.1315 -.11568E-07 -.10290E-02 5 norm .71465 1.0721 -.19066E-07 -.21822E-02 6 Prefactor .33862E-08 4.0029 .22249E-07** at limit ** 7 Prefactor 10.562 8.3979 .24745E-08 .23765E-01 8 Prefactor .80491E-08 9.4541 -.16637E-06** at limit ** 9 norm 10.579 3.1091 -.20520E-07 -.49495E-02 10 norm .0000 3.4326 -.82497E-07** at limit ** 11 norm 9.6780 4.0867 -.44488E-07 -.63059E-02 12 Prefactor 1.3366 7.7164 -.43420E-08 .46274E-03 13 Prefactor 27.403 7.7354 .31219E-07 -.20714 14 norm .38858E-08 3.1602 .14441E-06** at limit ** 15 Prefactor 36.392 24.474 -.11877E-07 -.72543E-01 16 Normalizat 1.2897 .15155 .13942E-05 .58513E-03 17 Prefactor .91554 .13144 -.44998E-06 .42638E-03 ERR DEF= .500 Final values: Prefactor = 2.76977 Prefactor = 9.14824e-08 norm = 0.202597 Prefactor = 8.11498 norm = 0.714646 Prefactor = 3.38618e-09 Prefactor = 10.562 Prefactor = 8.04912e-09 norm = 10.5794 norm = 0 norm = 9.67802 Prefactor = 1.33661 Prefactor = 27.4028 norm = 3.88578e-09 Prefactor = 36.3915 Normalizat = 1.28972 Prefactor = 0.915542 ********** ** 18 **HESSE ********** FCN= 14156.46 FROM HESSE STATUS=OK 261 CALLS 1255 TOTAL EDM= .53E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.7698 1.9617 .61133E-03 -1.5675 2 Prefactor .91482E-07 23.183 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm .20260 .12192 .69518E-03 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 8.1150 6.1350 .35276E-03 -1.5651 5 norm .71465 1.0800 .59592E-03 -1.5691 6 Prefactor .33862E-08 3.9660 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 10.562 8.3701 .30905E-03 -1.5643 8 Prefactor .80491E-08 9.4007 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 10.579 3.1085 .30749E-03 -1.5643 10 norm .0000 3.4297 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 9.6780 4.0819 .32213E-03 -1.5646 12 Prefactor 1.3366 7.7023 .92840E-03 -1.5685 13 Prefactor 27.403 16.287 .19190E-03 -1.5603 14 norm .38858E-08 3.1591 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 36.392 27.280 .16728E-03 -1.5587 16 Normalizat 1.2897 .12843 .55962E-01 -.83874 17 Prefactor .91554 .11229 .45205E-01 -.95600 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.32784e-07 Minuit parameter uncertainties: 1 1.96169 2 0.00291253 3 0.121925 4 6.13501 5 1.08002 6 0.000232257 7 8.37011 8 0.000550291 9 3.1085 10 1.14063e-05 11 4.08186 12 6.41715 13 16.2872 14 0.000221428 15 27.2806 16 0.128462 17 0.112319 utfile=/lscratch/kocevski/27657123/ltcube_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.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/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.fits .....................! real 17.29 user 16.70 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/27657123/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27657123/ltcube_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits outfile=/lscratch/kocevski/27657123/expmap_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.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/27657123/ltcube_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits .....................! real 64.32 user 59.82 sys 3.73 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 177 point sources and 0 extended sources Setting source of interest to: 4FGL J1300.4+1416 @ 195.12 14.2701 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/27657123/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits scfile=/lscratch/kocevski/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.fits outfile=/lscratch/kocevski/27657123/cmap_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.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=195.12 yref=14.2701 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.64 user 0.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/27657123/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits scfile=/lscratch/kocevski/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.fits outfile=/lscratch/kocevski/27657123/cmap_HighResolution_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.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=195.12 yref=14.2701 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.62 user 0.22 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/27657123/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27657123/Model_4FGL_J1300.4+1416_weekly_bin930.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 GALDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14156.4613266 Extracting fit parameters... 4FGL J1300.4+1416 Spectrum: PowerLaw 297 Prefactor: 8.049e-09 5.503e-04 0.000e+00 1.000e+06 ( 1.000e-12) 298 Index: 2.738e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 299 Scale: 4.431e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 568 Prefactor: 9.155e-01 1.123e-01 0.000e+00 1.000e+01 ( 1.000e+00) 569 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 570 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 567 Normalization: 1.290e+00 1.285e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 195.120 14.270 Photon Flux Upper Limit: 5.02523892567e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00396458083697 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/27657076/likelihoodResults_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.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): 0 logL (Free Index) = 14156.4616075 delta logL = -0.000280883017695 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 14156.461327 delta logL = -3.65036612493e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .48444E-05 1.0000 .0000 .10000E+07 2 'Index ' 3.8687 1.0000 .0000 10.000 3 'Normalizat' 1.2897 1.0000 .10000E-01 10.000 4 'Prefactor ' .91562 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5710E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 14156.37 FROM MIGRAD STATUS=CONVERGED 98 CALLS 318 TOTAL EDM= .57E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .47076E-01 .68445 .99277E-03** at limit ** 2 Index 6.5279 3.1723 .36364 .95086E-04 3 Normalizat 1.2717 .12783E-01 .56303E-01 .98497E-04 4 Prefactor .92561 .11452E-01 .45204E-01 .12880E-03 ERR DEF= .500 Final values: Prefactor = 0.0470763 Index = 6.52792 Normalizat = 1.27172 Prefactor = 0.925606 ********** ** 18 **HESSE ********** FCN= 14156.37 FROM HESSE STATUS=NOT POSDEF 35 CALLS 353 TOTAL EDM= .33E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .47076E-01 12.271 .48598E-04 -1.5704 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 6.5279 6.6937 .21420E-01 .31055 3 Normalizat 1.2717 .75140E-01 .24898E-03 -.84415 4 Prefactor .92561 .65763E-01 .25545E-03 -.95252 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.3493e-07 Minuit parameter uncertainties: 1 1.52009 2 23.0364 3 0.0751467 4 0.0657686 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 14156.3742377 delta logL = 0.0870889647213 Extracting fit parameters... 4FGL J1300.4+1416 Spectrum: PowerLaw 297 Prefactor: 4.708e-02 1.520e+00 0.000e+00 1.000e+06 ( 1.000e-12) 298 Index: 6.528e+00 2.304e+01 0.000e+00 1.000e+01 (-1.000e+00) 299 Scale: 4.431e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 568 Prefactor: 9.256e-01 6.577e-02 0.000e+00 1.000e+01 ( 1.000e+00) 569 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 570 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 567 Normalization: 1.272e+00 7.515e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 195.120 14.270 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/27657076/cmap_HighResolution_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', job_status='DONE', photon_flux_upper_limit='5.03e-08', time_completed='2026-06-02 12:40:29.888912', job_id='27657076', GAL2='0.93', fit_tolerance='1e-08', EG2='1.27', EG='1.29', time_epoch_completed='1780429229.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='8.71e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='930' AND source_name='4FGL J1300.4+1416' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 2 12:40:29 PDT 2026 _V02 Working on... /lscratch/kocevski/27657123/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits.....................! real 38.57 user 37.03 sys 0.87 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/27657123/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits', '/lscratch/kocevski/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.fits', expMap='/lscratch/kocevski/27657123/expmap_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits', expCube='/lscratch/kocevski/27657123/ltcube_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27657123/Model_4FGL_J1300.4+1416_weekly_bin930.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1300.4+1416' 4FGL J1300.4+1416 Spectrum: PowerLaw 297 Prefactor: 6.920e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 298 Index: 2.738e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 299 Scale: 4.431e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/27657123/ft1_filtered_4FGL_J1300.4+1416_weekly_bin930.fits Spacecraft file(s): /lscratch/kocevski/27657123/ft2_4FGL_J1300.4+1416_weekly_bin930.fits Exposure map: /lscratch/kocevski/27657123/expmap_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits Exposure cube: /lscratch/kocevski/27657123/ltcube_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/27657123/Model_4FGL_J1300.4+1416_weekly_bin930.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) = 14156.5933238 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14156.4620243 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.7692 1.0000 .0000 .10000E+07 2 'Prefactor ' .76147E-02 1.0000 .0000 .10000E+07 3 'norm ' .20254 1.0000 .0000 .10000E+07 4 'Prefactor ' 8.0673 1.0000 .0000 .10000E+07 5 'norm ' .71384 1.0000 .0000 .10000E+07 6 'Prefactor ' .76938E-07 1.0000 .0000 .10000E+07 7 'Prefactor ' 10.494 1.0000 .0000 .10000E+07 8 'Prefactor ' .33774E-03 1.0000 .0000 .10000E+07 9 'norm ' 10.600 1.0000 .0000 .10000E+07 10 'norm ' .35527E-08 1.0000 .0000 .10000E+07 11 'norm ' 9.6628 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.3757 1.0000 .0000 .10000E+07 13 'Prefactor ' 27.166 1.0000 .0000 .10000E+07 14 'norm ' .69361E-06 1.0000 .0000 .10000E+07 15 'Prefactor ' 35.745 1.0000 .0000 .10000E+07 16 'Normalizat' 1.2899 1.0000 .10000E-01 10.000 17 'Prefactor ' .91573 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5710E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14156.46 FROM MIGRAD STATUS=CONVERGED 120 CALLS 994 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.7698 1.9647 .28245E-07 .84241E-02 2 Prefactor .91482E-07 22.995 -.33367E-06** at limit ** 3 norm .20260 .12011 -.52516E-09** at limit ** 4 Prefactor 8.1150 6.1315 -.11568E-07 -.10290E-02 5 norm .71465 1.0721 -.19066E-07 -.21822E-02 6 Prefactor .33862E-08 4.0029 .22249E-07** at limit ** 7 Prefactor 10.562 8.3979 .24745E-08 .23765E-01 8 Prefactor .80491E-08 9.4541 -.16637E-06** at limit ** 9 norm 10.579 3.1091 -.20520E-07 -.49495E-02 10 norm .0000 3.4326 -.82497E-07** at limit ** 11 norm 9.6780 4.0867 -.44488E-07 -.63059E-02 12 Prefactor 1.3366 7.7164 -.43420E-08 .46274E-03 13 Prefactor 27.403 7.7354 .31219E-07 -.20714 14 norm .38858E-08 3.1602 .14441E-06** at limit ** 15 Prefactor 36.392 24.474 -.11877E-07 -.72543E-01 16 Normalizat 1.2897 .15155 .13942E-05 .58513E-03 17 Prefactor .91554 .13144 -.44998E-06 .42638E-03 ERR DEF= .500 Final values: Prefactor = 2.76977 Prefactor = 9.14824e-08 norm = 0.202597 Prefactor = 8.11498 norm = 0.714646 Prefactor = 3.38618e-09 Prefactor = 10.562 Prefactor = 8.04912e-09 norm = 10.5794 norm = 0 norm = 9.67802 Prefactor = 1.33661 Prefactor = 27.4028 norm = 3.88578e-09 Prefactor = 36.3915 Normalizat = 1.28972 Prefactor = 0.915542 ********** ** 18 **HESSE ********** FCN= 14156.46 FROM HESSE STATUS=OK 261 CALLS 1255 TOTAL EDM= .53E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.7698 1.9617 .61133E-03 -1.5675 2 Prefactor .91482E-07 23.183 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm .20260 .12192 .69518E-03 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 8.1150 6.1350 .35276E-03 -1.5651 5 norm .71465 1.0800 .59592E-03 -1.5691 6 Prefactor .33862E-08 3.9660 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 10.562 8.3701 .30905E-03 -1.5643 8 Prefactor .80491E-08 9.4007 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 10.579 3.1085 .30749E-03 -1.5643 10 norm .0000 3.4297 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 9.6780 4.0819 .32213E-03 -1.5646 12 Prefactor 1.3366 7.7023 .92840E-03 -1.5685 13 Prefactor 27.403 16.287 .19190E-03 -1.5603 14 norm .38858E-08 3.1591 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 36.392 27.280 .16728E-03 -1.5587 16 Normalizat 1.2897 .12843 .55962E-01 -.83874 17 Prefactor .91554 .11229 .45205E-01 -.95600 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.32784e-07 Minuit parameter uncertainties: 1 1.96169 2 0.00291253 3 0.121925 4 6.13501 5 1.08002 6 0.000232257 7 8.37011 8 0.000550291 9 3.1085 10 1.14063e-05 11 4.08186 12 6.41715 13 16.2872 14 0.000221428 15 27.2806 16 0.128462 17 0.112319 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14156.4613266 Extracting fit parameters... 4FGL J1300.4+1416 Spectrum: PowerLaw 297 Prefactor: 8.049e-09 5.503e-04 0.000e+00 1.000e+06 ( 1.000e-12) 298 Index: 2.738e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 299 Scale: 4.431e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 568 Prefactor: 9.155e-01 1.123e-01 0.000e+00 1.000e+01 ( 1.000e+00) 569 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 570 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 567 Normalization: 1.290e+00 1.285e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 195.120 14.270 Photon Flux Upper Limit: 5.02523892567e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00396458083697 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/27657123/likelihoodResults_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.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): 0 logL (Free Index) = 14156.4616075 delta logL = -0.000280883017695 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 14156.461327 delta logL = -3.65036612493e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .48444E-05 1.0000 .0000 .10000E+07 2 'Index ' 3.8687 1.0000 .0000 10.000 3 'Normalizat' 1.2897 1.0000 .10000E-01 10.000 4 'Prefactor ' .91562 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5710E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 14156.37 FROM MIGRAD STATUS=CONVERGED 98 CALLS 318 TOTAL EDM= .57E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .47076E-01 .68445 .99277E-03** at limit ** 2 Index 6.5279 3.1723 .36364 .95086E-04 3 Normalizat 1.2717 .12783E-01 .56303E-01 .98497E-04 4 Prefactor .92561 .11452E-01 .45204E-01 .12880E-03 ERR DEF= .500 Final values: Prefactor = 0.0470763 Index = 6.52792 Normalizat = 1.27172 Prefactor = 0.925606 ********** ** 18 **HESSE ********** FCN= 14156.37 FROM HESSE STATUS=NOT POSDEF 35 CALLS 353 TOTAL EDM= .33E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .47076E-01 12.271 .48598E-04 -1.5704 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 6.5279 6.6937 .21420E-01 .31055 3 Normalizat 1.2717 .75140E-01 .24898E-03 -.84415 4 Prefactor .92561 .65763E-01 .25545E-03 -.95252 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.3493e-07 Minuit parameter uncertainties: 1 1.52009 2 23.0364 3 0.0751467 4 0.0657686 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 14156.3742377 delta logL = 0.0870889647213 Extracting fit parameters... 4FGL J1300.4+1416 Spectrum: PowerLaw 297 Prefactor: 4.708e-02 1.520e+00 0.000e+00 1.000e+06 ( 1.000e-12) 298 Index: 6.528e+00 2.304e+01 0.000e+00 1.000e+01 (-1.000e+00) 299 Scale: 4.431e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 568 Prefactor: 9.256e-01 6.577e-02 0.000e+00 1.000e+01 ( 1.000e+00) 569 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 570 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 567 Normalization: 1.272e+00 7.515e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 195.120 14.270 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/27657123/cmap_HighResolution_801446401_802051201_4FGL_J1300.4+1416_weekly_bin930.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', job_status='DONE', photon_flux_upper_limit='5.03e-08', time_completed='2026-06-02 12:42:45.576089', job_id='27657123', GAL2='0.93', fit_tolerance='1e-08', EG2='1.27', EG='1.29', time_epoch_completed='1780429365.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='8.71e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='930' AND source_name='4FGL J1300.4+1416' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 2 12:42:45 PDT 2026