Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6945.97892357 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 4.824e-08 1.620e-03 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: 1.046e+00 1.356e-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: 8.268e-01 2.040e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 265.023 47.620 Photon Flux Upper Limit: 4.18597634373e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00316240763959 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/27472791/likelihoodResults_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.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) = 6946.01401517 delta logL = -0.0350915957279 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6945.97892399 delta logL = -4.16304828832e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .65188E-05 1.0000 .0000 .10000E+07 2 'Index ' .89588 1.0000 .0000 10.000 3 'Normalizat' .82667 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0456 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= 6945.979 FROM MIGRAD STATUS=CONVERGED 34 CALLS 194 TOTAL EDM= .36E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 13.071 .10609E-06** at limit ** 2 Index 2.1087 5.9198 -.10406E-04 .0000 3 Normalizat .82675 .22388 .27141E-05 .13203E-05 4 Prefactor 1.0455 .15783 -.28699E-05 .29154E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.1087 Normalizat = 0.826755 Prefactor = 1.04551 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 6945.979 FROM HESSE STATUS=FAILED 11 CALLS 205 TOTAL EDM= .36E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 13.289 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .48523 1.9107 -.10406E-04 -.61659 3 Normalizat .82675 1.1648 .27141E-05 -.99084 4 Prefactor 1.0455 1.1964 -.28699E-05 -.91227 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 3.62951e-14 Minuit parameter uncertainties: 1 6.47853e-06 2 1.83373 3 1.2032 4 1.22923 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) = 6945.97892357 delta logL = 1.77715264726e-09 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 0.000e+00 6.479e-06 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.109e+00 1.834e+00 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: 1.046e+00 1.229e+00 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: 8.268e-01 1.203e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 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/27472791/cmap_HighResolution_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2026-05-30 14:30:15.506642', job_id='27472791', GAL2='1.05', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1780176615.51', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.78e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2169' AND source_name='4FGL J1740.0+4737' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat May 30 14:30:15 PDT 2026 /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= 6945.979 FROM HESSE STATUS=OK 552 CALLS 2955 TOTAL EDM= .11E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .76943E-02 1.6830 .72856E-02 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.7566 2.5618 .79134E-03 -1.5681 3 Prefactor .94114 2.4240 .44819E-03 -1.5689 4 Prefactor 55.613 18.150 .13411E-03 -1.5559 5 norm 5.0644 2.0487 .44652E-03 -1.5663 6 norm .0000 .22319 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 3.2659 5.2945 .55722E-03 -1.5672 8 norm .0000 .76108 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.0519 11.570 .71802E-03 -1.5679 10 Prefactor .12657E-07 4.4926 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 1.2387 1.6543 .10090E-02 -1.5686 12 Prefactor .18252E-06 6.0909 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 8.8664 5.6753 .33690E-03 -1.5648 14 Prefactor .13878E-08 54.172 .11548E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .24414E-06 15.323 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .48239E-07 13.599 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .44409E-09 2.6549 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .13323E-08 17.879 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 38.882 60.559 .16034E-03 -1.5583 20 Prefactor .21644E-06 7.5707 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.8262 7.5512 .61347E-03 -1.5674 22 Prefactor 16.496 17.313 .24631E-03 -1.5627 23 norm 5.3331 7.1290 .44009E-03 -1.5662 24 norm .27167E-06 6.5749 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 43.171 17.005 .15215E-03 -1.5577 26 Normalizat .82675 .20386 .70579E-01 -.99084 27 Prefactor 1.0455 .13558 .40163E-01 -.91227 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.08898e-06 Minuit parameter uncertainties: 1 0.227593 2 2.56184 3 2.424 4 18.1497 5 2.04872 6 1.06312e-06 7 5.29446 8 1.45358e-07 9 9.74456 10 0.000477032 11 1.65428 12 0.00210887 13 5.67534 14 0.000547843 15 0.0038684 16 0.00161966 17 7.0382e-05 18 0.000307154 19 60.5604 20 0.00256027 21 7.55125 22 17.3134 23 7.12905 24 0.00267288 25 17.0054 26 0.204048 27 0.135621 number of points = 7437 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.0+4737_daily_bin2169 RA = 265.023, Dec = 47.6198 tmin = 801532801, tmax = 801792001 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='27473260', job_status='RUN', time_executed='2026-05-30 14:30:22.732530', time_epoch_executed='1780176622.73' WHERE source_name='4FGL J1740.0+4737' and cadence='daily' and bin_id='2169' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/27473260 Creating custom pfile directory: /lscratch/kocevski/27473260/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=801532801.0 && nMetStart<801792001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=801532801.0 && nMetStart<801792001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/27473260/ft1_4FGL_J1740.0+4737_daily_bin2169.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=801532801.0 && nMetStart<801792001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/27473260/ft1_4FGL_J1740.0+4737_daily_bin2169.fits outfile=/lscratch/kocevski/27473260/ft1_filteredMKT_4FGL_J1740.0+4737_daily_bin2169.fits ra=265.023 dec=47.6198 rad=12.0 tmin=801532801.0 tmax=801792001.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.72 user 2.11 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.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/27473260/ft1_filteredMKT_4FGL_J1740.0+4737_daily_bin2169.fits evtable="EVENTS" outfile="/lscratch/kocevski/27473260/ft1_filtered_4FGL_J1740.0+4737_daily_bin2169.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.67 user 0.20 sys 0.15 Number of photons that the gtmktime cut: 653 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/27473260/ft1_filtered_4FGL_J1740.0+4737_daily_bin2169.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.fits sctable="SC_DATA" ouDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6945.97892357 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 4.824e-08 1.620e-03 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: 1.046e+00 1.356e-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: 8.268e-01 2.040e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 265.023 47.620 Photon Flux Upper Limit: 4.18597634373e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00316240763959 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/27472955/likelihoodResults_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.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) = 6946.01401517 delta logL = -0.0350915957279 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6945.97892399 delta logL = -4.16304828832e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .65188E-05 1.0000 .0000 .10000E+07 2 'Index ' .89588 1.0000 .0000 10.000 3 'Normalizat' .82667 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0456 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= 6945.979 FROM MIGRAD STATUS=CONVERGED 34 CALLS 194 TOTAL EDM= .36E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 13.071 .10609E-06** at limit ** 2 Index 2.1087 5.9198 -.10406E-04 .0000 3 Normalizat .82675 .22388 .27141E-05 .13203E-05 4 Prefactor 1.0455 .15783 -.28699E-05 .29154E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.1087 Normalizat = 0.826755 Prefactor = 1.04551 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 6945.979 FROM HESSE STATUS=FAILED 11 CALLS 205 TOTAL EDM= .36E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 13.289 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .48523 1.9107 -.10406E-04 -.61659 3 Normalizat .82675 1.1648 .27141E-05 -.99084 4 Prefactor 1.0455 1.1964 -.28699E-05 -.91227 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 3.62951e-14 Minuit parameter uncertainties: 1 6.47853e-06 2 1.83373 3 1.2032 4 1.22923 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) = 6945.97892357 delta logL = 1.77715264726e-09 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 0.000e+00 6.479e-06 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.109e+00 1.834e+00 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: 1.046e+00 1.229e+00 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: 8.268e-01 1.203e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 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/27472955/cmap_HighResolution_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2026-05-30 14:31:18.598626', job_id='27472955', GAL2='1.05', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1780176678.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.78e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2169' AND source_name='4FGL J1740.0+4737' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat May 30 14:31:18 PDT 2026 tfile=/lscratch/kocevski/27473260/ltcube_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.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/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.fits .....................! real 9.10 user 8.48 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/27473260/ft1_filtered_4FGL_J1740.0+4737_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27473260/ltcube_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.fits outfile=/lscratch/kocevski/27473260/expmap_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.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/27473260/ltcube_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.fits .....................! real 73.84 user 67.60 sys 4.35 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/27473260/ft1_filtered_4FGL_J1740.0+4737_daily_bin2169.fits scfile=/lscratch/kocevski/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.fits outfile=/lscratch/kocevski/27473260/cmap_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.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.81 user 0.25 sys 0.09 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/27473260/ft1_filtered_4FGL_J1740.0+4737_daily_bin2169.fits scfile=/lscratch/kocevski/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.fits outfile=/lscratch/kocevski/27473260/cmap_HighResolution_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.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.52 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/27473260/ft1_filtered_4FGL_J1740.0+4737_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27473260/Model_4FGL_J1740.0+4737_daily_bin2169.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/27473260/ft1_filtered_4FGL_J1740.0+4737_daily_bin2169.fits.....................! real 26.71 user 24.99 sys 1.12 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/27473260/ft1_filtered_4FGL_J1740.0+4737_daily_bin2169.fits', '/lscratch/kocevski/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.fits', expMap='/lscratch/kocevski/27473260/expmap_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.fits', expCube='/lscratch/kocevski/27473260/ltcube_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27473260/Model_4FGL_J1740.0+4737_daily_bin2169.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/27473260/ft1_filtered_4FGL_J1740.0+4737_daily_bin2169.fits Spacecraft file(s): /lscratch/kocevski/27473260/ft2_4FGL_J1740.0+4737_daily_bin2169.fits Exposure map: /lscratch/kocevski/27473260/expmap_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.fits Exposure cube: /lscratch/kocevski/27473260/ltcube_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/27473260/Model_4FGL_J1740.0+4737_daily_bin2169.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) = 6946.00235539 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6945.98136782 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .25435E-01 1.0000 .0000 .10000E+07 2 'Prefactor ' 1.7535 1.0000 .0000 .10000E+07 3 'Prefactor ' .91368 1.0000 .0000 .10000E+07 4 'Prefactor ' 55.604 1.0000 .0000 .10000E+07 5 'norm ' 5.0654 1.0000 .0000 .10000E+07 6 'norm ' .13656E-07 1.0000 .0000 .10000E+07 7 'Prefactor ' 3.2983 1.0000 .0000 .10000E+07 8 'norm ' .42744E-07 1.0000 .0000 .10000E+07 9 'norm ' 2.0686 1.0000 .0000 .10000E+07 10 'Prefactor ' .12194E-05 1.0000 .0000 .10000E+07 11 'norm ' 1.2367 1.0000 .0000 .10000E+07 12 'Prefactor ' .49436E-03 1.0000 .0000 .10000E+07 13 'norm ' 8.8388 1.0000 .0000 .10000E+07 14 'Prefactor ' .21305 1.0000 .0000 .10000E+07 15 'norm ' .14168E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .23791E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' .10315E-04 1.0000 .0000 .10000E+07 18 'Prefactor ' .44129E-04 1.0000 .0000 .10000E+07 19 'Prefactor ' 38.904 1.0000 .0000 .10000E+07 20 'Prefactor ' .39883E-04 1.0000 .0000 .10000E+07 21 'norm ' 2.7512 1.0000 .0000 .10000E+07 22 'Prefactor ' 16.499 1.0000 .0000 .10000E+07 23 'norm ' 5.2116 1.0000 .0000 .10000E+07 24 'norm ' .15449E-06 1.0000 .0000 .10000E+07 25 'norm ' 43.203 1.0000 .0000 .10000E+07 26 'Normalizat' .82679 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.0458 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= 6945.979 FROM MIGRAD STATUS=CONVERGED 139 CALLS 2403 TOTAL EDM= .72E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .76943E-02 1.4738 -.10092E-07** at limit ** 2 Prefactor 1.7566 2.5072 .46657E-07 .65979E-03 3 Prefactor .94114 2.4175 .16798E-06 .28781E-02 4 Prefactor 55.613 1.2804 -.14857E-09 -.16856E-01 5 norm 5.0644 2.0484 .73115E-07 .39585E-02 6 norm .0000 .22372 .44939E-07** at limit ** 7 Prefactor 3.2659 5.2496 .10474E-06 .72875E-03 8 norm .0000 .78104 .10560E-06** at limit ** 9 norm 2.0519 2.6453 .96709E-08 .18807E-01 10 Prefactor .12657E-07 4.2750 .11368E-06** at limit ** 11 norm 1.2387 1.6096 .12370E-07 -.31905E-03 12 Prefactor .18252E-06 4.4990 .22683E-06** at limit ** 13 norm 8.8664 5.3172 .26768E-07 -.78917E-02 14 Prefactor .13878E-08 1.4116 -.61542E-07** at limit ** 15 norm .24414E-06 4.5605 -.55601E-07** at limit ** 16 Prefactor .48239E-07 9.5885 -.12781E-06** at limit ** 17 Prefactor .44409E-09 2.6397 -.29570E-09** at limit ** 18 Prefactor .13323E-08 17.703 -.53411E-07** at limit ** 19 Prefactor 38.882 1.8885 -.62643E-08 .97683E-01 20 Prefactor .21644E-06 5.4410 -.17532E-06** at limit ** 21 norm 2.8262 7.3335 .14272E-07 .16071E-01 22 Prefactor 16.496 1.0462 -.33164E-08 -.46834E-02 23 norm 5.3331 7.0960 -.33385E-07 -.14026E-02 24 norm .27167E-06 3.9386 .44380E-07** at limit ** 25 norm 43.171 1.0137 .12123E-10 -.51780E-02 26 Normalizat .82675 .23269 -.62422E-05 -.62907E-04 27 Prefactor 1.0455 .15952 .22186E-05 -.57349E-04 ERR DEF= .500 Final values: Prefactor = 0.00769426 Prefactor = 1.75663 Prefactor = 0.941135 Prefactor = 55.6126 norm = 5.06442 norm = 0 Prefactor = 3.26594 norm = 0 norm = 2.05185 Prefactor = 1.26565e-08 norm = 1.23867 Prefactor = 1.82521e-07 norm = 8.86636 Prefactor = 1.38778e-09 norm = 2.44138e-07 Prefactor = 4.82392e-08 Prefactor = 4.44089e-10 Prefactor = 1.33227e-09 Prefactor = 38.8824 Prefactor = 2.16438e-07 norm = 2.82619 Prefactor = 16.4957 norm = 5.33305 norm = 2.71672e-07 norm = 43.1712 Normalizat = 0.826754 Prefactor = 1.04551 ********** ** 18 **HESSE ********** FCN= 6945.979 FROM HESSE STATUS=OK 552 CALLS 2955 TOTAL EDM= .11E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .76943E-02 1.6830 .72856E-02 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.7566 2.5618 .79134E-03 -1.5681 3 Prefactor .94114 2.4240 .44819E-03 -1.5689 4 Prefactor 55.613 18.150 .13411E-03 -1.5559 5 norm 5.0644 2.0487 .44652E-03 -1.5663 6 norm .0000 .22319 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 3.2659 5.2945 .55722E-03 -1.5672 8 norm .0000 .76108 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.0519 11.570 .71802E-03 -1.5679 10 Prefactor .12657E-07 4.4926 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 1.2387 1.6543 .10090E-02 -1.5686 12 Prefactor .18252E-06 6.0909 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 8.8664 5.6753 .33690E-03 -1.5648 14 Prefactor .13878E-08 54.172 .11548E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .24414E-06 15.323 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .48239E-07 13.599 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .44409E-09 2.6549 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .13323E-08 17.879 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 38.882 60.559 .16034E-03 -1.5583 20 Prefactor .21644E-06 7.5707 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.8262 7.5512 .61347E-03 -1.5674 22 Prefactor 16.496 17.313 .24631E-03 -1.5627 23 norm 5.3331 7.1290 .44009E-03 -1.5662 24 norm .27167E-06 6.5749 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 43.171 17.005 .15215E-03 -1.5577 26 Normalizat .82675 .20386 .70579E-01 -.99084 27 Prefactor 1.0455 .13558 .40163E-01 -.91227 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.08898e-06 Minuit parameter uncertainties: 1 0.227593 2 2.56184 3 2.424 4 18.1497 5 2.04872 6 1.06312e-06 7 5.29446 8 1.45358e-07 9 9.74456 10 0.000477032 11 1.65428 12 0.00210887 13 5.67534 14 0.000547843 15 0.0038684 16 0.00161966 17 7.0382e-05 18 0.000307154 19 60.5604 20 0.00256027 21 7.55125 22 17.3134 23 7.12905 24 0.00267288 25 17.0054 26 0.204048 27 0.135621 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6945.97892357 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 4.824e-08 1.620e-03 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: 1.046e+00 1.356e-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: 8.268e-01 2.040e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 265.023 47.620 Photon Flux Upper Limit: 4.18597634373e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00316240763959 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/27473260/likelihoodResults_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.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) = 6946.01401517 delta logL = -0.0350915957279 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6945.97892399 delta logL = -4.16304828832e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .65188E-05 1.0000 .0000 .10000E+07 2 'Index ' .89588 1.0000 .0000 10.000 3 'Normalizat' .82667 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0456 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= 6945.979 FROM MIGRAD STATUS=CONVERGED 34 CALLS 194 TOTAL EDM= .36E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 13.071 .10609E-06** at limit ** 2 Index 2.1087 5.9198 -.10406E-04 .0000 3 Normalizat .82675 .22388 .27141E-05 .13203E-05 4 Prefactor 1.0455 .15783 -.28699E-05 .29154E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.1087 Normalizat = 0.826755 Prefactor = 1.04551 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 6945.979 FROM HESSE STATUS=FAILED 11 CALLS 205 TOTAL EDM= .36E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 13.289 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .48523 1.9107 -.10406E-04 -.61659 3 Normalizat .82675 1.1648 .27141E-05 -.99084 4 Prefactor 1.0455 1.1964 -.28699E-05 -.91227 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 3.62951e-14 Minuit parameter uncertainties: 1 6.47853e-06 2 1.83373 3 1.2032 4 1.22923 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) = 6945.97892357 delta logL = 1.77715264726e-09 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 0.000e+00 6.479e-06 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.109e+00 1.834e+00 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: 1.046e+00 1.229e+00 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: 8.268e-01 1.203e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 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/27473260/cmap_HighResolution_801532801_801792001_4FGL_J1740.0+4737_daily_bin2169.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2026-05-30 14:36:48.136330', job_id='27473260', GAL2='1.05', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1780177008.14', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.78e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2169' AND source_name='4FGL J1740.0+4737' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat May 30 14:36:48 PDT 2026