00 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14532.90 FROM MIGRAD STATUS=CONVERGED 191 CALLS 2493 TOTAL EDM= .11E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .47539 3.4767 -.59151E-07 -.99835E-05 2 Prefactor 1.4116 2.0021 -.25556E-07 .10333E-03 3 Prefactor .11102E-09 33.255 .29019E-06** at limit ** 4 Prefactor 25.250 8.8054 .27725E-07 -.62610E-04 5 norm 4.2425 1.4669 -.13707E-07 .21979E-03 6 norm .35588 .54387 .79274E-08 .11994E-03 7 Prefactor .0000 1.5175 .27965E-07** at limit ** 8 norm .0000 .53682 -.32652E-07** at limit ** 9 norm 1.1372 4.6231 .11881E-06 -.48727E-04 10 Prefactor .62024 3.0965 .21085E-07 -.64338E-05 11 norm .62073 .69945 .20114E-07 -.30540E-03 12 Prefactor 3.9350 2.3897 .73723E-08 -.10854E-04 13 norm 6.4790 4.7947 .53256E-07 -.17985E-03 14 Prefactor 18.498 60.812 -.14580E-06 -.76495E-03 15 norm .0000 1.0264 .39514E-07** at limit ** 16 Prefactor 26.464 3.2782 .13881E-07 -.22606E-01 17 Prefactor .0000 10.866 .20389E-07** at limit ** 18 Prefactor 19.719 2.6028 -.90628E-08 .38826E-02 19 Prefactor .70499E-08 53.914 .33002E-06** at limit ** 20 Prefactor .0000 6.9994 -.74897E-07** at limit ** 21 norm .0000 2.5025 -.41324E-08** at limit ** 22 Prefactor .0000 6.9538 -.49717E-07** at limit ** 23 norm 10.545 4.7003 .27740E-07 -.14875E-04 24 norm .0000 2.5118 -.56767E-07** at limit ** 25 norm 11.086 6.7948 .12039E-07 .24406E-06 26 Normalizat 1.2418 .17303 -.77488E-06 -.39126E-05 27 Prefactor .94612 .11564 .52336E-06 -.23778E-05 ERR DEF= .500 Final values: Prefactor = 0.47539 Prefactor = 1.41162 Prefactor = 1.11022e-10 Prefactor = 25.2501 norm = 4.24247 norm = 0.355882 Prefactor = 0 norm = 0 norm = 1.13722 Prefactor = 0.620242 norm = 0.62073 Prefactor = 3.93505 norm = 6.47896 Prefactor = 18.4976 norm = 0 Prefactor = 26.4638 Prefactor = 0 Prefactor = 19.7193 Prefactor = 7.04992e-09 Prefactor = 0 norm = 0 Prefactor = 0 norm = 10.5448 norm = 0 norm = 11.0859 Normalizat = 1.2418 Prefactor = 0.946121 /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). ********** ** 18 **HESSE ********** FCN= 14532.90 FROM HESSE STATUS=OK 562 CALLS 3055 TOTAL EDM= .12E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .47539 3.4370 .81456E-03 -1.5694 2 Prefactor 1.4116 2.0592 .91234E-03 -1.5684 3 Prefactor .11102E-09 1.1215 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 25.250 8.8220 .19872E-03 -1.5607 5 norm 4.2425 1.4707 .48895E-03 -1.5667 6 norm .35588 .57118 .94793E-03 -1.5696 7 Prefactor .0000 1.5181 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 .15421 .16868E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.1372 4.7573 .10880E-02 -1.5687 10 Prefactor .62024 3.1381 .67290E-03 -1.5692 11 norm .62073 .70959 .67419E-03 -1.5692 12 Prefactor 3.9350 2.3962 .50839E-03 -1.5668 13 norm 6.4790 4.8330 .39373E-03 -1.5657 14 Prefactor 18.498 61.240 .23535E-03 -1.5622 15 norm .0000 1.0274 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 26.464 34.596 .19324E-03 -1.5605 17 Prefactor .0000 1.0403 .64348E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 19.719 34.896 .22548E-03 -1.5619 19 Prefactor .70499E-08 54.298 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .0000 6.9658 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .0000 2.5013 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .0000 6.9366 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 10.545 4.7047 .30839E-03 -1.5643 24 norm .0000 2.5117 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 11.086 6.7970 .30160E-03 -1.5641 26 Normalizat 1.2418 .14663 .63695E-01 -.85321 27 Prefactor .94612 .96073E-01 .45592E-01 -.94548 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.15413e-05 Minuit parameter uncertainties: 1 2.5565 2 2.05917 3 2.12461e-05 4 8.82201 5 1.47074 6 0.571177 7 6.32746e-08 8 6.70947e-08 9 4.65194 10 2.79026 11 0.709594 12 2.39622 13 4.833 14 61.2418 15 3.55789e-08 16 34.5964 17 4.48439e-06 18 34.8962 19 0.00123594 20 2.71342e-07 21 4.22317e-07 22 1.56644e-06 23 4.70471 24 6.04756e-07 25 6.79697 26 0.146677 27 0.0960899 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14532.8988322 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 2.646e+01 3.460e+01 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 9.461e-01 9.609e-02 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.242e+00 1.467e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.72 Ra Dec: 265.023 47.620 Photon Flux Upper Limit: 5.89065829668e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00445025515434 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31595911/likelihoodResults_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.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) = 14532.8160027 delta logL = 0.0828295269876 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14532.810922 delta logL = 0.0879102580438 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 16.774 1.0000 .0000 .10000E+07 2 'Index ' 2.4322 1.0000 .0000 10.000 3 'Normalizat' 1.2343 1.0000 .10000E-01 10.000 4 'Prefactor ' .94910 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 14532.81 FROM MIGRAD STATUS=CONVERGED 94 CALLS 319 TOTAL EDM= .68E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.764 48.362 .97710E-05 -.33207E-02 2 Index 2.4338 1.2445 .96151E-02 -.13691E-03 3 Normalizat 1.2342 .16957 .28251E-03 .68714E-03 4 Prefactor .94911 .11526 .21628E-03 .80655E-03 ERR DEF= .500 Final values: Prefactor = 16.7636 Index = 2.43384 Normalizat = 1.23417 Prefactor = 0.94911 ********** ** 18 **HESSE ********** FCN= 14532.81 FROM HESSE STATUS=OK 25 CALLS 344 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 16.764 33.010 .39084E-06 -1.5626 2 Index 2.4338 .85577 .38460E-03 -.53895 3 Normalizat 1.2342 .16902 .56502E-04 -.85553 4 Prefactor .94911 .11492 .43256E-04 -.94446 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03586e-10 Minuit parameter uncertainties: 1 33.0104 2 0.861545 3 0.169099 4 0.114947 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14532.8109167 delta logL = 0.0879155283164 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 1.676e+01 3.301e+01 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.434e+00 8.615e-01 0.000e+00 1.000e+01 (-1.000e+00) 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 9.491e-01 1.149e-01 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.234e+00 1.691e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.72 Ra Dec: 265.023 47.620 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/31595911/cmap_HighResolution_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-07-13 20:46:10.108549', job_id='31595911', GAL2='0.95', fit_tolerance='1e-08', EG2='1.23', EG='1.24', time_epoch_completed='1784000770.11', return_code2='0', ts='0.72', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.79e-02', ts2='0.90', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2178' AND source_name='4FGL J1740.0+4737' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 13 20:46:10 PDT 2026 number of points = 7456 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.0+4737_daily_bin2178 RA = 265.023, Dec = 47.6198 tmin = 803865601, tmax = 804124801 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='31597423', job_status='RUN', time_executed='2026-07-13 20:44:09.332309', time_epoch_executed='1784000649.33' WHERE source_name='4FGL J1740.0+4737' and cadence='daily' and bin_id='2178' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31597423 Creating custom pfile directory: /lscratch/kocevski/31597423/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=803865601.0 && nMetStart<804124801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803865601.0 && nMetStart<804124801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31597423/ft1_4FGL_J1740.0+4737_daily_bin2178.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=803865601.0 && nMetStart<804124801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31597423/ft1_4FGL_J1740.0+4737_daily_bin2178.fits outfile=/lscratch/kocevski/31597423/ft1_filteredMKT_4FGL_J1740.0+4737_daily_bin2178.fits ra=265.023 dec=47.6198 rad=12.0 tmin=803865601.0 tmax=804124801.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 2.05 user 1.41 sys 0.14 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.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/31597423/ft1_filteredMKT_4FGL_J1740.0+4737_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31597423/ft1_filtered_4FGL_J1740.0+4737_daily_bin2178.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.88 user 0.19 sys 0.14 Number of photons that the gtmktime cut: 1362 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31597423/ft1_filtered_4FGL_J1740.0+4737_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31597423/ltcube_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.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/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.fits .....................! real 9.69 user 8.73 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31597423/ft1_filtered_4FGL_J1740.0+4737_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31597423/ltcube_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.fits outfile=/lscratch/kocevski/31597423/expmap_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.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/31597423/ltcube_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.fits .....................! real 67.69 user 63.04 sys 3.68 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 214 point sources and 0 extended sources Setting source of interest to: 4FGL J1740.0+4737 @ 265.023 47.6198 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31597423/ft1_filtered_4FGL_J1740.0+4737_daily_bin2178.fits scfile=/lscratch/kocevski/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.fits outfile=/lscratch/kocevski/31597423/cmap_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.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=265.023 yref=47.6198 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.82 user 0.21 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31597423/ft1_filtered_4FGL_J1740.0+4737_daily_bin2178.fits scfile=/lscratch/kocevski/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.fits outfile=/lscratch/kocevski/31597423/cmap_HighResolution_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.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=265.023 yref=47.6198 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.76 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31597423/ft1_filtered_4FGL_J1740.0+4737_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31597423/Model_4FGL_J1740.0+4737_daily_bin2178.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/31597423/ft1_filtered_4FGL_J1740.0+4737_daily_bin2178.fits.....................! real 45.26 user 43.63 sys 0.97 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31597423/ft1_filtered_4FGL_J1740.0+4737_daily_bin2178.fits', '/lscratch/kocevski/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.fits', expMap='/lscratch/kocevski/31597423/expmap_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.fits', expCube='/lscratch/kocevski/31597423/ltcube_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31597423/Model_4FGL_J1740.0+4737_daily_bin2178.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1740.0+4737' 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 7.827e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31597423/ft1_filtered_4FGL_J1740.0+4737_daily_bin2178.fits Spacecraft file(s): /lscratch/kocevski/31597423/ft2_4FGL_J1740.0+4737_daily_bin2178.fits Exposure map: /lscratch/kocevski/31597423/expmap_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.fits Exposure cube: /lscratch/kocevski/31597423/ltcube_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31597423/Model_4FGL_J1740.0+4737_daily_bin2178.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) = 14533.03823 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14532.8990581 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .47317 1.0000 .0000 .10000E+07 2 'Prefactor ' 1.4095 1.0000 .0000 .10000E+07 3 'Prefactor ' .21609E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' 25.334 1.0000 .0000 .10000E+07 5 'norm ' 4.2426 1.0000 .0000 .10000E+07 6 'norm ' .35583 1.0000 .0000 .10000E+07 7 'Prefactor ' .71609E-07 1.0000 .0000 .10000E+07 8 'norm ' .18041E-07 1.0000 .0000 .10000E+07 9 'norm ' 1.1407 1.0000 .0000 .10000E+07 10 'Prefactor ' .62188 1.0000 .0000 .10000E+07 11 'norm ' .62041 1.0000 .0000 .10000E+07 12 'Prefactor ' 3.9337 1.0000 .0000 .10000E+07 13 'norm ' 6.4893 1.0000 .0000 .10000E+07 14 'Prefactor ' 18.068 1.0000 .0000 .10000E+07 15 'norm ' .12534E-06 1.0000 .0000 .10000E+07 16 'Prefactor ' 26.790 1.0000 .0000 .10000E+07 17 'Prefactor ' .24343E-03 1.0000 .0000 .10000E+07 18 'Prefactor ' 19.683 1.0000 .0000 .10000E+07 19 'Prefactor ' .11927E-02 1.0000 .0000 .10000E+07 20 'Prefactor ' .36249E-07 1.0000 .0000 .10000E+07 21 'norm ' .14794E-05 1.0000 .0000 .10000E+07 22 'Prefactor ' .87486E-06 1.0000 .0000 .10000E+07 23 'norm ' 10.539 1.0000 .0000 .10000E+07 24 'norm ' .11142E-05 1.0000 .0000 .10000E+07 25 'norm ' 11.016 1.0000 .0000 .10000E+07 26 'Normalizat' 1.2416 1.0000 .10000E-01 10.000 27 'Prefactor ' .94625 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14532.90 FROM MIGRAD STATUS=CONVERGED 191 CALLS 2493 TOTAL EDM= .11E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .47539 3.4767 -.59151E-07 -.99835E-05 2 Prefactor 1.4116 2.0021 -.25556E-07 .10333E-03 3 Prefactor .11102E-09 33.255 .29019E-06** at limit ** 4 Prefactor 25.250 8.8054 .27725E-07 -.62610E-04 5 norm 4.2425 1.4669 -.13707E-07 .21979E-03 6 norm .35588 .54387 .79274E-08 .11994E-03 7 Prefactor .0000 1.5175 .27965E-07** at limit ** 8 norm .0000 .53682 -.32652E-07** at limit ** 9 norm 1.1372 4.6231 .11881E-06 -.48727E-04 10 Prefactor .62024 3.0965 .21085E-07 -.64338E-05 11 norm .62073 .69945 .20114E-07 -.30540E-03 12 Prefactor 3.9350 2.3897 .73723E-08 -.10854E-04 13 norm 6.4790 4.7947 .53256E-07 -.17985E-03 14 Prefactor 18.498 60.812 -.14580E-06 -.76495E-03 15 norm .0000 1.0264 .39514E-07** at limit ** 16 Prefactor 26.464 3.2782 .13881E-07 -.22606E-01 17 Prefactor .0000 10.866 .20389E-07** at limit ** 18 Prefactor 19.719 2.6028 -.90628E-08 .38826E-02 19 Prefactor .70499E-08 53.914 .33002E-06** at limit ** 20 Prefactor .0000 6.9994 -.74897E-07** at limit ** 21 norm .0000 2.5025 -.41324E-08** at limit ** 22 Prefactor .0000 6.9538 -.49717E-07** at limit ** 23 norm 10.545 4.7003 .27740E-07 -.14875E-04 24 norm .0000 2.5118 -.56767E-07** at limit ** 25 norm 11.086 6.7948 .12039E-07 .24406E-06 26 Normalizat 1.2418 .17303 -.77488E-06 -.39126E-05 27 Prefactor .94612 .11564 .52336E-06 -.23778E-05 ERR DEF= .500 Final values: Prefactor = 0.47539 Prefactor = 1.41162 Prefactor = 1.11022e-10 Prefactor = 25.2501 norm = 4.24247 norm = 0.355882 Prefactor = 0 norm = 0 norm = 1.13722 Prefactor = 0.620242 norm = 0.62073 Prefactor = 3.93505 norm = 6.47896 Prefactor = 18.4976 norm = 0 Prefactor = 26.4638 Prefactor = 0 Prefactor = 19.7193 Prefactor = 7.04992e-09 Prefactor = 0 norm = 0 Prefactor = 0 norm = 10.5448 norm = 0 norm = 11.0859 Normalizat = 1.2418 Prefactor = 0.946121 ********** ** 18 **HESSE ********** FCN= 14532.90 FROM HESSE STATUS=OK 562 CALLS 3055 TOTAL EDM= .12E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .47539 3.4370 .81456E-03 -1.5694 2 Prefactor 1.4116 2.0592 .91234E-03 -1.5684 3 Prefactor .11102E-09 1.1215 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 25.250 8.8220 .19872E-03 -1.5607 5 norm 4.2425 1.4707 .48895E-03 -1.5667 6 norm .35588 .57118 .94793E-03 -1.5696 7 Prefactor .0000 1.5181 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 .15421 .16868E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.1372 4.7573 .10880E-02 -1.5687 10 Prefactor .62024 3.1381 .67290E-03 -1.5692 11 norm .62073 .70959 .67419E-03 -1.5692 12 Prefactor 3.9350 2.3962 .50839E-03 -1.5668 13 norm 6.4790 4.8330 .39373E-03 -1.5657 14 Prefactor 18.498 61.240 .23535E-03 -1.5622 15 norm .0000 1.0274 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 26.464 34.596 .19324E-03 -1.5605 17 Prefactor .0000 1.0403 .64348E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 19.719 34.896 .22548E-03 -1.5619 19 Prefactor .70499E-08 54.298 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .0000 6.9658 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .0000 2.5013 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .0000 6.9366 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 10.545 4.7047 .30839E-03 -1.5643 24 norm .0000 2.5117 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 11.086 6.7970 .30160E-03 -1.5641 26 Normalizat 1.2418 .14663 .63695E-01 -.85321 27 Prefactor .94612 .96073E-01 .45592E-01 -.94548 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.15413e-05 Minuit parameter uncertainties: 1 2.5565 2 2.05917 3 2.12461e-05 4 8.82201 5 1.47074 6 0.571177 7 6.32746e-08 8 6.70947e-08 9 4.65194 10 2.79026 11 0.709594 12 2.39622 13 4.833 14 61.2418 15 3.55789e-08 16 34.5964 17 4.48439e-06 18 34.8962 19 0.00123594 20 2.71342e-07 21 4.22317e-07 22 1.56644e-06 23 4.70471 24 6.04756e-07 25 6.79697 26 0.146677 27 0.0960899 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14532.8988322 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 2.646e+01 3.460e+01 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 9.461e-01 9.609e-02 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.242e+00 1.467e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.72 Ra Dec: 265.023 47.620 Photon Flux Upper Limit: 5.89065829668e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00445025515434 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31597423/likelihoodResults_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.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) = 14532.8160027 delta logL = 0.0828295269876 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14532.810922 delta logL = 0.0879102580438 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 16.774 1.0000 .0000 .10000E+07 2 'Index ' 2.4322 1.0000 .0000 10.000 3 'Normalizat' 1.2343 1.0000 .10000E-01 10.000 4 'Prefactor ' .94910 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 14532.81 FROM MIGRAD STATUS=CONVERGED 94 CALLS 319 TOTAL EDM= .68E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.764 48.362 .97710E-05 -.33207E-02 2 Index 2.4338 1.2445 .96151E-02 -.13691E-03 3 Normalizat 1.2342 .16957 .28251E-03 .68714E-03 4 Prefactor .94911 .11526 .21628E-03 .80655E-03 ERR DEF= .500 Final values: Prefactor = 16.7636 Index = 2.43384 Normalizat = 1.23417 Prefactor = 0.94911 ********** ** 18 **HESSE ********** FCN= 14532.81 FROM HESSE STATUS=OK 25 CALLS 344 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 16.764 33.010 .39084E-06 -1.5626 2 Index 2.4338 .85577 .38460E-03 -.53895 3 Normalizat 1.2342 .16902 .56502E-04 -.85553 4 Prefactor .94911 .11492 .43256E-04 -.94446 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03586e-10 Minuit parameter uncertainties: 1 33.0104 2 0.861545 3 0.169099 4 0.114947 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14532.8109167 delta logL = 0.0879155283164 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 1.676e+01 3.301e+01 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.434e+00 8.615e-01 0.000e+00 1.000e+01 (-1.000e+00) 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 9.491e-01 1.149e-01 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.234e+00 1.691e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.72 Ra Dec: 265.023 47.620 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/31597423/cmap_HighResolution_803865601_804124801_4FGL_J1740.0+4737_daily_bin2178.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-07-13 20:55:47.205702', job_id='31597423', GAL2='0.95', fit_tolerance='1e-08', EG2='1.23', EG='1.24', time_epoch_completed='1784001347.21', return_code2='0', ts='0.72', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.79e-02', ts2='0.90', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2178' AND source_name='4FGL J1740.0+4737' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 13 20:55:47 PDT 2026