/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 = 17450 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.6+5346_weekly_bin830 RA = 265.159, Dec = 53.7701 tmin = 740966401, tmax = 741571201 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='51622629', job_status='RUN', time_executed='2024-07-02 02:19:58.630941', time_epoch_executed='1719911998.63' WHERE source_name='4FGL J1740.6+5346' and cadence='weekly' and bin_id='830' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/51622629 Creating custom pfile directory: /lscratch/kocevski/51622629/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/51622629/ft1_4FGL_J1740.6+5346_weekly_bin830.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/51622629/ft1_4FGL_J1740.6+5346_weekly_bin830.fits outfile=/lscratch/kocevski/51622629/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin830.fits ra=265.159 dec=53.7701 rad=12.0 tmin=740966401.0 tmax=741571201.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 3.71 user 2.48 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.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/51622629/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin830.fits evtable="EVENTS" outfile="/lscratch/kocevski/51622629/ft1_filtered_4FGL_J1740.6+5346_weekly_bin830.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 1.47 user 0.18 sys 0.15 Number of photons that the gtmktime cut: 3703 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/51622629/ft1_filtered_4FGL_J1740.6+5346_weekly_bin830.fits" evtable="EVENTS" scfile=/lscratch/kocevski/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.fits sctable="SC_DATA" outfile=/lscratch/kocevski/51622629/ltcube_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.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/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.fits .....................! real 17.14 user 15.65 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/51622629/ft1_filtered_4FGL_J1740.6+5346_weekly_bin830.fits evtable="EVENTS" scfile=/lscratch/kocevski/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.fits sctable="SC_DATA" expcube=/lscratch/kocevski/51622629/ltcube_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.fits outfile=/lscratch/kocevski/51622629/expmap_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.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/51622629/ltcube_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.fits .....................! real 60.60 user 55.63 sys 3.44 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 206 point sources and 0 extended sources Setting source of interest to: 4FGL J1740.6+5346 @ 265.159 53.7701 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/51622629/ft1_filtered_4FGL_J1740.6+5346_weekly_bin830.fits scfile=/lscratch/kocevski/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.fits outfile=/lscratch/kocevski/51622629/cmap_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.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.159 yref=53.7701 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 1.80 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/51622629/ft1_filtered_4FGL_J1740.6+5346_weekly_bin830.fits scfile=/lscratch/kocevski/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.fits outfile=/lscratch/kocevski/51622629/cmap_HighResolution_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.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.159 yref=53.7701 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 2.34 user 0.22 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/51622629/ft1_filtered_4FGL_J1740.6+5346_weekly_bin830.fits evtable="EVENTS" scfile=/lscratch/kocevski/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/51622629/Model_4FGL_J1740.6+5346_weekly_bin830.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/51622629/ft1_filtered_4FGL_J1740.6+5346_weekly_bin830.fits.....................! real 98.81 user 95.67 sys 0.94 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/51622629/ft1_filtered_4FGL_J1740.6+5346_weekly_bin830.fits', '/lscratch/kocevski/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.fits', expMap='/lscratch/kocevski/51622629/expmap_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.fits', expCube='/lscratch/kocevski/51622629/ltcube_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/51622629/Model_4FGL_J1740.6+5346_weekly_bin830.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1740.6+5346' 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 8.657e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.165e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 1.972e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/51622629/ft1_filtered_4FGL_J1740.6+5346_weekly_bin830.fits Spacecraft file(s): /lscratch/kocevski/51622629/ft2_4FGL_J1740.6+5346_weekly_bin830.fits Exposure map: /lscratch/kocevski/51622629/expmap_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.fits Exposure cube: /lscratch/kocevski/51622629/ltcube_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/51622629/Model_4FGL_J1740.6+5346_weekly_bin830.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) = 38121.9800787 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38121.9665308 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 21.951 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.4863 1.0000 .0000 .10000E+07 3 'Prefactor ' 6.0574 1.0000 .0000 .10000E+07 4 'Prefactor ' 3.0745 1.0000 .0000 .10000E+07 5 'Prefactor ' 2.7079 1.0000 .0000 .10000E+07 6 'Prefactor ' .10559E-02 1.0000 .0000 .10000E+07 7 'norm ' .90388E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' 2.9271 1.0000 .0000 .10000E+07 9 'norm ' .10671 1.0000 .0000 .10000E+07 10 'Prefactor ' .22891E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .25062E-01 1.0000 .0000 .10000E+07 12 'norm ' 2.9065 1.0000 .0000 .10000E+07 13 'Prefactor ' 1.7402 1.0000 .0000 .10000E+07 14 'Prefactor ' 20.191 1.0000 .0000 .10000E+07 15 'norm ' .31242 1.0000 .0000 .10000E+07 16 'Prefactor ' 6.7771 1.0000 .0000 .10000E+07 17 'Prefactor ' 6.8694 1.0000 .0000 .10000E+07 18 'Prefactor ' .38574 1.0000 .0000 .10000E+07 19 'Prefactor ' .16298E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' .87761E-05 1.0000 .0000 .10000E+07 21 'norm ' 7.1479 1.0000 .0000 .10000E+07 22 'Prefactor ' .81116E-04 1.0000 .0000 .10000E+07 23 'Prefactor ' .79015E-04 1.0000 .0000 .10000E+07 24 'norm ' 2.1360 1.0000 .0000 .10000E+07 25 'norm ' 6.4835 1.0000 .0000 .10000E+07 26 'norm ' .32855 1.0000 .0000 .10000E+07 27 'Prefactor ' .83730E-03 1.0000 .0000 .10000E+07 28 'Normalizat' 1.1039 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0024 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 38121.97 FROM MIGRAD STATUS=CONVERGED 880 CALLS 4813 TOTAL EDM= .50E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 21.949 9.0623 .30246E-07 .11563E-03 2 Prefactor 2.4867 2.1519 -.50382E-08 -.14366E-02 3 Prefactor 6.0594 2.0601 .42425E-08 -.16778E-01 4 Prefactor 3.0759 1.5782 -.74134E-08 -.21294E-02 5 Prefactor 2.6760 4.2365 -.42109E-07 -.85748E-03 6 Prefactor .0000 5.2610 -.17939E-07** at limit ** 7 norm .90659E-01 .20114 .34749E-08** at limit ** 8 Prefactor 2.9140 2.7690 -.71925E-08 -.16425E-02 9 norm .10703 .21788 .55824E-09** at limit ** 10 Prefactor .0000 3.6745 -.83708E-08** at limit ** 11 Prefactor .19786E-01 .84522 -.14256E-08** at limit ** 12 norm 2.9073 .82569 .20084E-08 -.52338E-03 13 Prefactor 1.7406 1.1913 .33864E-08 -.97287E-03 14 Prefactor 20.233 22.188 -.37182E-07 .98641E-04 15 norm .30684 1.0425 .97259E-08 -.24411E-02 16 Prefactor 6.8313 15.448 -.59948E-06 -.21859E-03 17 Prefactor 6.8836 2.3956 .16712E-07 .49958E-03 18 Prefactor .36446E-04 7.5414 -.30652E-07** at limit ** 19 Prefactor .0000 22.801 .19333E-08** at limit ** 20 Prefactor .0000 2.4019 -.44950E-08** at limit ** 21 norm 7.1299 3.3106 .67391E-08 -.82938E-02 22 Prefactor .0000 2.2568 .48510E-08** at limit ** 23 Prefactor .0000 61.853 -.16147E-07** at limit ** 24 norm 2.1618 2.7970 -.20380E-07 -.20918E-02 25 norm 6.4948 4.5287 -.19811E-07 -.18338E-03 26 norm .34346 1.5559 -.27312E-08 -.11179E-02 27 Prefactor .0000 4.3065 -.50790E-07** at limit ** 28 Normalizat 1.1039 .93853E-01 .68320E-07 .10806E-03 29 Prefactor 1.0024 .66909E-01 .29722E-06 .64366E-04 ERR DEF= .500 Final values: norm = 21.9489 Prefactor = 2.48668 Prefactor = 6.05937 Prefactor = 3.07594 Prefactor = 2.67595 Prefactor = 0 norm = 0.0906592 Prefactor = 2.91404 norm = 0.107029 Prefactor = 0 Prefactor = 0.0197863 norm = 2.90726 Prefactor = 1.74061 Prefactor = 20.2325 norm = 0.306841 Prefactor = 6.83126 Prefactor = 6.88365 Prefactor = 3.64456e-05 Prefactor = 0 Prefactor = 0 norm = 7.12993 Prefactor = 0 Prefactor = 0 norm = 2.1618 norm = 6.49484 norm = 0.343461 Prefactor = 0 Normalizat = 1.10393 Prefactor = 1.00243 ********** ** 18 **HESSE ********** FCN= 38121.97 FROM HESSE STATUS=OK 591 CALLS 5404 TOTAL EDM= .98E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 21.949 9.0597 .85398E-05 -1.5614 2 Prefactor 2.4867 2.1455 .25552E-04 -1.5676 3 Prefactor 6.0594 3.5362 .81542E-04 -1.5659 4 Prefactor 3.0759 1.5575 .16141E-04 -1.5673 5 Prefactor 2.6760 4.2307 .24749E-04 -1.5675 6 Prefactor .0000 5.2792 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .90659E-01 .29597 .12208E-03 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 2.9140 2.7090 .23740E-04 -1.5674 9 norm .10703 .28185 .12479E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 3.7352 .16847E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .19786E-01 1.2998 .65360E-02 -1.5711 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 2.9073 .82226 .89851E-05 -1.5674 13 Prefactor 1.7406 1.1811 .16932E-04 -1.5682 14 Prefactor 20.233 22.094 .89048E-05 -1.5618 15 norm .30684 3.5774 .34274E-03 -1.5697 16 Prefactor 6.8313 15.424 .15408E-04 -1.5656 17 Prefactor 6.8836 2.3832 .15302E-04 -1.5655 18 Prefactor .36446E-04 7.3756 .17760E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .0000 22.810 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .0000 2.4171 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 7.1299 3.6215 .74991E-04 -1.5655 22 Prefactor .0000 2.2601 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .0000 63.963 .16847E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 2.1618 2.8374 .28202E-04 -1.5679 25 norm 6.4948 4.4984 .15757E-04 -1.5657 26 norm .34346 10.313 .46351E-03 -1.5696 27 Prefactor .0000 4.3216 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat 1.1039 .11654 .30983E-03 -.89626 29 Prefactor 1.0024 .80707E-01 .23422E-03 -.92649 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.84189e-07 Minuit parameter uncertainties: 1 9.05967 2 2.1455 3 3.53617 4 1.5575 5 4.23067 6 2.69123e-06 7 0.295974 8 2.709 9 0.281847 10 1.02338e-06 11 0.320742 12 0.822263 13 1.18106 14 22.0946 15 2.09542 16 15.4238 17 2.38317 18 0.0327908 19 5.18025e-06 20 7.44644e-07 21 3.62153 22 9.0632e-07 23 7.01868e-05 24 2.83741 25 4.49836 26 3.76405 27 1.90488e-06 28 0.116565 29 0.0807167 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38121.9657661 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 3.645e-05 3.279e-02 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.165e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 1.972e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 674 Prefactor: 1.002e+00 8.072e-02 0.000e+00 1.000e+01 ( 1.000e+00) 675 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 676 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 673 Normalization: 1.104e+00 1.166e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 265.159 53.770 Photon Flux Upper Limit: 2.33858766525e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00177713842837 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/51622629/likelihoodResults_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.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) = 38121.968269 delta logL = -0.00250290773693 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 38121.9655065 delta logL = 0.000259561209532 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .23946 1.0000 .0000 .10000E+07 2 'Index ' 2.3685 1.0000 .0000 10.000 3 'Normalizat' 1.1035 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0023 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 38121.97 FROM MIGRAD STATUS=CONVERGED 74 CALLS 265 TOTAL EDM= .40E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .26893 2.0829 .15664E-01 .77260E-02 2 Index 2.3886 .42263 .50000 .23059E-04 3 Normalizat 1.1038 .14625E-02 .70026E-01 .82140E-03 4 Prefactor 1.0024 .10644E-02 .44870E-01 .15209E-02 ERR DEF= .500 Final values: Prefactor = 0.268926 Index = 2.38857 Normalizat = 1.10381 Prefactor = 1.00239 ********** ** 18 **HESSE ********** FCN= 38121.97 FROM HESSE STATUS=NOT POSDEF 39 CALLS 304 TOTAL EDM= .24E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .26893 72.300 .14490E-01 -1.5698 2 Index 2.3886 6.8432 .29332E-01 -.54953 3 Normalizat 1.1038 .83789E-02 .30984E-03 -.89630 4 Prefactor 1.0024 .60997E-02 .23422E-03 -.92650 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.43188e-09 Minuit parameter uncertainties: 1 8.81903 2 23.5235 3 0.00837892 4 0.00609972 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) = 38121.9654703 delta logL = 0.000295808938972 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 2.689e-01 8.819e+00 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.389e+00 2.352e+01 0.000e+00 1.000e+01 (-1.000e+00) 374 Scale: 1.972e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 674 Prefactor: 1.002e+00 6.100e-03 0.000e+00 1.000e+01 ( 1.000e+00) 675 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 676 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 673 Normalization: 1.104e+00 8.379e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 265.159 53.770 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/51622629/cmap_HighResolution_740966401_741571201_4FGL_J1740.6+5346_weekly_bin830.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.78e-03', job_status='DONE', photon_flux_upper_limit='2.34e-08', time_completed='2024-07-02 03:07:41.418882', job_id='51622629', GAL2='1.00', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1719914861.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.96e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='830' AND source_name='4FGL J1740.6+5346' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 2 03:07:43 PDT 2024