/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). number of points = 17594 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.0+4737_weekly_bin843 RA = 265.023, Dec = 47.6198 tmin = 748828801, tmax = 749433601 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='56527577', job_status='RUN', time_executed='2024-10-01 04:44:46.594849', time_epoch_executed='1727783086.59' WHERE source_name='4FGL J1740.0+4737' and cadence='weekly' and bin_id='843' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/56527577 Creating custom pfile directory: /lscratch/kocevski/56527577/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/56527577/ft1_4FGL_J1740.0+4737_weekly_bin843.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=748828801.0 && nMetStart<749433601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/56527577/ft1_4FGL_J1740.0+4737_weekly_bin843.fits outfile=/lscratch/kocevski/56527577/ft1_filteredMKT_4FGL_J1740.0+4737_weekly_bin843.fits ra=265.023 dec=47.6198 rad=12.0 tmin=748828801.0 tmax=749433601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 5.82 user 5.43 sys 0.30 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.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/56527577/ft1_filteredMKT_4FGL_J1740.0+4737_weekly_bin843.fits evtable="EVENTS" outfile="/lscratch/kocevski/56527577/ft1_filtered_4FGL_J1740.0+4737_weekly_bin843.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.48 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 1802 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/56527577/ft1_filtered_4FGL_J1740.0+4737_weekly_bin843.fits" evtable="EVENTS" scfile=/lscratch/kocevski/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.fits sctable="SC_DATA" outfile=/lscratch/kocevski/56527577/ltcube_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.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/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.fits .....................! real 25.14 user 24.57 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/56527577/ft1_filtered_4FGL_J1740.0+4737_weekly_bin843.fits evtable="EVENTS" scfile=/lscratch/kocevski/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.fits sctable="SC_DATA" expcube=/lscratch/kocevski/56527577/ltcube_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.fits outfile=/lscratch/kocevski/56527577/expmap_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.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/56527577/ltcube_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.fits .....................! real 66.77 user 62.42 sys 3.93 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/56527577/ft1_filtered_4FGL_J1740.0+4737_weekly_bin843.fits scfile=/lscratch/kocevski/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.fits outfile=/lscratch/kocevski/56527577/cmap_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.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.42 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/56527577/ft1_filtered_4FGL_J1740.0+4737_weekly_bin843.fits scfile=/lscratch/kocevski/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.fits outfile=/lscratch/kocevski/56527577/cmap_HighResolution_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.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.45 user 0.25 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/56527577/ft1_filtered_4FGL_J1740.0+4737_weekly_bin843.fits evtable="EVENTS" scfile=/lscratch/kocevski/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/56527577/Model_4FGL_J1740.0+4737_weekly_bin843.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/56527577/ft1_filtered_4FGL_J1740.0+4737_weekly_bin843.fits.....................! real 56.97 user 55.70 sys 0.89 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/56527577/ft1_filtered_4FGL_J1740.0+4737_weekly_bin843.fits', '/lscratch/kocevski/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.fits', expMap='/lscratch/kocevski/56527577/expmap_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.fits', expCube='/lscratch/kocevski/56527577/ltcube_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/56527577/Model_4FGL_J1740.0+4737_weekly_bin843.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/56527577/ft1_filtered_4FGL_J1740.0+4737_weekly_bin843.fits Spacecraft file(s): /lscratch/kocevski/56527577/ft2_4FGL_J1740.0+4737_weekly_bin843.fits Exposure map: /lscratch/kocevski/56527577/expmap_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.fits Exposure cube: /lscratch/kocevski/56527577/ltcube_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/56527577/Model_4FGL_J1740.0+4737_weekly_bin843.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) = 19404.6249794 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19402.6171924 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .70016 1.0000 .0000 .10000E+07 2 'Prefactor ' 4.2697 1.0000 .0000 .10000E+07 3 'Prefactor ' .79743 1.0000 .0000 .10000E+07 4 'Prefactor ' .80026E-03 1.0000 .0000 .10000E+07 5 'norm ' 1.8495 1.0000 .0000 .10000E+07 6 'norm ' .32713 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.6676 1.0000 .0000 .10000E+07 8 'norm ' .64393E-07 1.0000 .0000 .10000E+07 9 'norm ' .18485E-07 1.0000 .0000 .10000E+07 10 'Prefactor ' .38721E-01 1.0000 .0000 .10000E+07 11 'norm ' 1.3704 1.0000 .0000 .10000E+07 12 'Prefactor ' 2.8050 1.0000 .0000 .10000E+07 13 'norm ' .87153E-07 1.0000 .0000 .10000E+07 14 'Prefactor ' .84970E-02 1.0000 .0000 .10000E+07 15 'norm ' 3.6392 1.0000 .0000 .10000E+07 16 'Prefactor ' .41886E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 17.329 1.0000 .0000 .10000E+07 18 'Prefactor ' 24.287 1.0000 .0000 .10000E+07 19 'Prefactor ' .18175E-02 1.0000 .0000 .10000E+07 20 'Prefactor ' 5.9968 1.0000 .0000 .10000E+07 21 'norm ' .37992E-04 1.0000 .0000 .10000E+07 22 'Prefactor ' .15383E-04 1.0000 .0000 .10000E+07 23 'norm ' 9.4052 1.0000 .0000 .10000E+07 24 'norm ' 3.7900 1.0000 .0000 .10000E+07 25 'norm ' 8.9560 1.0000 .0000 .10000E+07 26 'Normalizat' .86841 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.1645 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= 19402.62 FROM MIGRAD STATUS=CONVERGED 181 CALLS 1487 TOTAL EDM= .30E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .70163 1.4797 -.36960E-07 -.12294E-02 2 Prefactor 4.2709 1.9822 .21956E-07 .96687E-03 3 Prefactor .79868 1.7818 .39226E-08 -.46604E-03 4 Prefactor .0000 3.4637 -.92617E-08** at limit ** 5 norm 1.8503 .99493 -.15085E-07 -.26657E-02 6 norm .32723 .33047 -.13007E-07 -.35199E-02 7 Prefactor 1.6748 4.2098 -.67003E-08 -.49813E-03 8 norm .0000 1.3045 .37272E-07** at limit ** 9 norm .0000 1.8623 -.48661E-08** at limit ** 10 Prefactor .53699E-01 .96890 .15702E-07** at limit ** 11 norm 1.3711 .85511 .12626E-07 .12656E-02 12 Prefactor 2.8055 1.6371 .28124E-07 .22405E-02 13 norm .0000 1.2587 -.67845E-07** at limit ** 14 Prefactor .22204E-08 61.398 .12872E-06** at limit ** 15 norm 3.6409 3.2440 -.29482E-08 -.99195E-04 16 Prefactor .17764E-08 10.040 -.34659E-07** at limit ** 17 Prefactor 17.330 4.0057 .70562E-08 -.28908E-02 18 Prefactor 24.376 1.7472 -.27413E-08 .99351E-01 19 Prefactor .26090E-08 11.006 -.90432E-07** at limit ** 20 Prefactor 5.9510 5.6636 -.32176E-07 -.32106E-02 21 norm .55511E-10 3.5614 .11075E-07** at limit ** 22 Prefactor .0000 4.4005 -.22913E-07** at limit ** 23 norm 9.4127 4.2673 .34963E-07 .11881E-02 24 norm 3.9622 5.7167 -.31595E-07 -.80237E-02 25 norm 8.9967 2.6582 -.14942E-07 .26976E-01 26 Normalizat .86822 .15307 -.78729E-06 -.13198E-03 27 Prefactor 1.1642 .10267 -.12216E-06 -.20606E-03 ERR DEF= .500 Final values: Prefactor = 0.701628 Prefactor = 4.2709 Prefactor = 0.798677 Prefactor = 0 norm = 1.85031 norm = 0.327231 Prefactor = 1.67477 norm = 0 norm = 0 Prefactor = 0.0536992 norm = 1.3711 Prefactor = 2.80545 norm = 0 Prefactor = 2.22045e-09 norm = 3.64089 Prefactor = 1.77636e-09 Prefactor = 17.3299 Prefactor = 24.376 Prefactor = 2.60902e-09 Prefactor = 5.95099 norm = 5.55112e-11 Prefactor = 0 norm = 9.41273 norm = 3.96219 norm = 8.99671 Normalizat = 0.86822 Prefactor = 1.16422 ********** ** 18 **HESSE ********** FCN= 19402.62 FROM HESSE STATUS=OK 562 CALLS 2049 TOTAL EDM= .69E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .70163 1.4993 .60695E-03 -1.5691 2 Prefactor 4.2709 1.9933 .48735E-03 -1.5667 3 Prefactor .79868 1.7917 .53127E-03 -1.5690 4 Prefactor .0000 3.4807 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 1.8503 .99898 .76635E-03 -1.5681 6 norm .32723 .34036 .98466E-03 -1.5697 7 Prefactor 1.6748 4.3631 .81620E-03 -1.5682 8 norm .0000 .14181 .28820E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 1.8638 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .53699E-01 1.7481 .11210E-01 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 1.3711 .87206 .93102E-03 -1.5685 12 Prefactor 2.8055 1.6389 .60714E-03 -1.5674 13 norm .0000 1.2579 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .22204E-08 61.414 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 3.6409 3.2527 .52932E-03 -1.5670 16 Prefactor .17764E-08 10.070 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 17.330 4.0726 .24033E-03 -1.5625 18 Prefactor 24.376 22.471 .20296E-03 -1.5609 19 Prefactor .26090E-08 11.039 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 5.9510 5.6742 .40979E-03 -1.5659 21 norm .55511E-10 3.5831 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .0000 4.4020 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 9.4127 4.2690 .32654E-03 -1.5647 24 norm 3.9622 6.5438 .51828E-03 -1.5668 25 norm 8.9967 7.7311 .33468E-03 -1.5648 26 Normalizat .86822 .13341 .73885E-01 -.97586 27 Prefactor 1.1642 .87939E-01 .35529E-01 -.87440 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.90855e-06 Minuit parameter uncertainties: 1 1.4993 2 1.99332 3 1.79169 4 1.02638e-05 5 0.998977 6 0.340361 7 4.36311 8 1.21446e-06 9 1.17563e-06 10 0.61277 11 0.872065 12 1.63893 13 5.72576e-06 14 0.000735625 15 3.25268 16 0.000266207 17 4.07259 18 22.4715 19 0.000339964 20 5.67421 21 2.63305e-05 22 7.21084e-06 23 4.26904 24 6.54385 25 7.73107 26 0.133458 27 0.0879504 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 19402.6164397 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 1.776e-09 2.662e-04 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.164e+00 8.795e-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: 8.682e-01 1.335e-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: 2.63332174604e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00198941325114 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/56527577/likelihoodResults_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.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) = 19402.6640044 delta logL = -0.0475647352505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 19402.6164398 delta logL = -1.20529875858e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .23148E-07 1.0000 .0000 .10000E+07 2 'Index ' .17450 1.0000 .0000 10.000 3 'Normalizat' .86816 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1642 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19402.62 FROM MIGRAD STATUS=CONVERGED 55 CALLS 219 TOTAL EDM= .34E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.5261 .42118E-03** at limit ** 2 Index 3.6355 1.6441 -.14309E-03 .0000 3 Normalizat .86822 1.2049 -.37915E-05 -.15716E-03 4 Prefactor 1.1642 1.1159 .15900E-05 -.45090E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 3.63548 Normalizat = 0.868219 Prefactor = 1.16422 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 19402.62 FROM HESSE STATUS=FAILED 9 CALLS 228 TOTAL EDM= .34E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.5261 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.4609 2.2568 -.14309E-03 -.27641 3 Normalizat .86822 1.2049 -.37915E-05 -.97586 4 Prefactor 1.1642 1.1159 .15900E-05 -.87440 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 3.4078e-11 Minuit parameter uncertainties: 1 9.22617e-06 2 1.67791 3 1.24558 4 1.13976 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) = 19402.6164397 delta logL = 7.27595761418e-11 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 0.000e+00 9.226e-06 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 3.635e+00 1.678e+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.164e+00 1.140e+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.682e-01 1.246e+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/56527577/cmap_HighResolution_748828801_749433601_4FGL_J1740.0+4737_weekly_bin843.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-03', job_status='DONE', photon_flux_upper_limit='2.63e-08', time_completed='2024-10-01 04:57:44.855571', job_id='56527577', GAL2='1.16', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1727783864.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='7.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='843' AND source_name='4FGL J1740.0+4737' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 1 04:57:44 PDT 2024