/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 = 17345 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin800 RA = 250.119, Dec = 39.7626 tmin = 722822401, tmax = 723427201 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='35010908', job_status='RUN', time_executed='2023-12-05 01:01:18.824277', time_epoch_executed='1701766878.82' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='800' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/35010908 Creating custom pfile directory: /lscratch/kocevski/35010908/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=722822401.0 && nMetStart<723427201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=722822401.0 && nMetStart<723427201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/35010908/ft1_4FGL_J1640.4+3945_weekly_bin800.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=722822401.0 && nMetStart<723427201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/35010908/ft1_4FGL_J1640.4+3945_weekly_bin800.fits outfile=/lscratch/kocevski/35010908/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin800.fits ra=250.119 dec=39.7626 rad=12.0 tmin=722822401.0 tmax=723427201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.50 user 3.17 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.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/35010908/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin800.fits evtable="EVENTS" outfile="/lscratch/kocevski/35010908/ft1_filtered_4FGL_J1640.4+3945_weekly_bin800.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.23 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 2854 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/35010908/ft1_filtered_4FGL_J1640.4+3945_weekly_bin800.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35010908/ltcube_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.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/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.fits .....................! real 20.86 user 19.70 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/35010908/ft1_filtered_4FGL_J1640.4+3945_weekly_bin800.fits evtable="EVENTS" scfile=/lscratch/kocevski/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35010908/ltcube_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.fits outfile=/lscratch/kocevski/35010908/expmap_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.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/35010908/ltcube_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.fits .....................! real 74.00 user 68.12 sys 4.33 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 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/35010908/ft1_filtered_4FGL_J1640.4+3945_weekly_bin800.fits scfile=/lscratch/kocevski/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.fits outfile=/lscratch/kocevski/35010908/cmap_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.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=250.119 yref=39.7626 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.01 user 0.26 sys 0.10 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/35010908/ft1_filtered_4FGL_J1640.4+3945_weekly_bin800.fits scfile=/lscratch/kocevski/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.fits outfile=/lscratch/kocevski/35010908/cmap_HighResolution_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.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=250.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.64 user 0.25 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/35010908/ft1_filtered_4FGL_J1640.4+3945_weekly_bin800.fits evtable="EVENTS" scfile=/lscratch/kocevski/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35010908/Model_4FGL_J1640.4+3945_weekly_bin800.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/35010908/ft1_filtered_4FGL_J1640.4+3945_weekly_bin800.fits.....................! real 84.28 user 81.02 sys 1.11 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/35010908/ft1_filtered_4FGL_J1640.4+3945_weekly_bin800.fits', '/lscratch/kocevski/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.fits', expMap='/lscratch/kocevski/35010908/expmap_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.fits', expCube='/lscratch/kocevski/35010908/ltcube_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35010908/Model_4FGL_J1640.4+3945_weekly_bin800.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/35010908/ft1_filtered_4FGL_J1640.4+3945_weekly_bin800.fits Spacecraft file(s): /lscratch/kocevski/35010908/ft2_4FGL_J1640.4+3945_weekly_bin800.fits Exposure map: /lscratch/kocevski/35010908/expmap_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.fits Exposure cube: /lscratch/kocevski/35010908/ltcube_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/35010908/Model_4FGL_J1640.4+3945_weekly_bin800.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) = 30488.6583022 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 30488.5656654 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .13373E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .39683E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' 3.4939 1.0000 .0000 .10000E+07 4 'Prefactor ' .20657E-03 1.0000 .0000 .10000E+07 5 'Prefactor ' 4.9524 1.0000 .0000 .10000E+07 6 'Prefactor ' .80127E-04 1.0000 .0000 .10000E+07 7 'norm ' .52580 1.0000 .0000 .10000E+07 8 'norm ' .53319E-04 1.0000 .0000 .10000E+07 9 'Prefactor ' .11162E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' 1.5206 1.0000 .0000 .10000E+07 11 'norm ' .25394E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' .62905E-06 1.0000 .0000 .10000E+07 13 'Prefactor ' 2.8299 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.6217 1.0000 .0000 .10000E+07 15 'Prefactor ' .60956E-05 1.0000 .0000 .10000E+07 16 'norm ' 5.2011 1.0000 .0000 .10000E+07 17 'norm ' .56748E-01 1.0000 .0000 .10000E+07 18 'Prefactor ' .56304 1.0000 .0000 .10000E+07 19 'norm ' .67168E-08 1.0000 .0000 .10000E+07 20 'norm ' 19.883 1.0000 .0000 .10000E+07 21 'norm ' 5.6231 1.0000 .0000 .10000E+07 22 'norm ' .93371 1.0000 .0000 .10000E+07 23 'Prefactor ' 1.3040 1.0000 .0000 .10000E+07 24 'Normalizat' 1.1936 1.0000 .10000E-01 10.000 25 'Prefactor ' .90741 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 30488.57 FROM MIGRAD STATUS=CONVERGED 157 CALLS 1747 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .88818E-09 21.838 .45766E-07** at limit ** 2 Prefactor .18985E-07 8.5864 -.99842E-07** at limit ** 3 Prefactor 3.4971 1.8662 .23320E-07 .99360E-02 4 Prefactor .55511E-10 1.1037 -.15299E-07** at limit ** 5 Prefactor 4.9822 6.8858 -.83093E-07 .27556E-03 6 Prefactor .0000 1.0827 .25801E-07** at limit ** 7 norm .52588 .78620E-01 -.27239E-08 -.55827E-01 8 norm .16653E-09 3.6432 -.33807E-07** at limit ** 9 Prefactor .0000 1.3462 -.25175E-08** at limit ** 10 Prefactor 1.5215 1.5718 -.40062E-07 -.72511E-02 11 norm .10436E-07 8.2967 -.12495E-06** at limit ** 12 Prefactor .16653E-09 1.1313 .80080E-08** at limit ** 13 Prefactor 2.8296 .66338 -.32598E-08 -.30049E-02 14 Prefactor 7.6241 1.7953 -.96682E-08 -.62707E-02 15 Prefactor .11102E-09 .72953 -.60286E-07** at limit ** 16 norm 5.2013 1.0300 .30759E-08 .55116E-02 17 norm .56686E-01 .22597 .73506E-08** at limit ** 18 Prefactor .55795 .61306 -.77229E-08 -.26901E-02 19 norm .0000 .88489E-01 .15855E-07** at limit ** 20 norm 19.890 4.5988 .17687E-08 .50776E-02 21 norm 5.6248 .95398 .97278E-08 .22141E-01 22 norm .93235 1.0967 .60590E-08 .34303E-02 23 Prefactor 1.3616 2.1540 .48369E-07 -.39736E-01 24 Normalizat 1.1937 .11471 .12715E-05 .56906E-03 25 Prefactor .90731 .90371E-01 -.66309E-06 .39587E-03 ERR DEF= .500 Final values: Prefactor = 8.88178e-10 Prefactor = 1.89848e-08 Prefactor = 3.49711 Prefactor = 5.55112e-11 Prefactor = 4.98222 Prefactor = 0 norm = 0.52588 norm = 1.66533e-10 Prefactor = 0 Prefactor = 1.52153 norm = 1.04361e-08 Prefactor = 1.66533e-10 Prefactor = 2.82959 Prefactor = 7.62413 Prefactor = 1.11022e-10 norm = 5.20134 norm = 0.0566857 Prefactor = 0.557945 norm = 0 norm = 19.8904 norm = 5.62478 norm = 0.932351 Prefactor = 1.36159 Normalizat = 1.19374 Prefactor = 0.907314 ********** ** 18 **HESSE ********** FCN= 30488.57 FROM HESSE STATUS=OK 489 CALLS 2236 TOTAL EDM= .33E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .88818E-09 21.741 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .18985E-07 8.7781 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.4971 1.8729 .54067E-03 -1.5671 4 Prefactor .55511E-10 1.1050 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 4.9822 6.9258 .45169E-03 -1.5663 6 Prefactor .0000 1.0569 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .52588 .79363E-01 .39716E-03 -1.5693 8 norm .16653E-09 3.6527 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .0000 1.3606 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 1.5215 1.5905 .86611E-03 -1.5683 11 norm .10436E-07 8.4086 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .16653E-09 .35439 .24897E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.8296 .81901 .60428E-03 -1.5674 14 Prefactor 7.6241 1.7899 .36301E-03 -1.5653 15 Prefactor .11102E-09 .72250 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.2013 1.0312 .44054E-04 -1.5662 17 norm .56686E-01 .15179 .21521E-02 -1.5713 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .55795 4.0436 .72606E-03 -1.5693 19 norm .0000 .86401E-01 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 19.890 4.6089 .22434E-03 -1.5619 21 norm 5.6248 .96439 .42340E-03 -1.5661 22 norm .93235 1.1030 .43457E-03 -1.5689 23 Prefactor 1.3616 15.569 .96652E-03 -1.5685 24 Normalizat 1.1937 .96744E-01 .60963E-01 -.86796 25 Prefactor .90731 .75594E-01 .45099E-01 -.95886 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.33758e-06 Minuit parameter uncertainties: 1 0.000278462 2 0.000816893 3 1.87288 4 1.72988e-05 5 6.92578 6 7.50944e-06 7 0.0793629 8 4.71287e-05 9 1.18494e-05 10 1.59055 11 0.000591832 12 1.5433e-05 13 0.819008 14 1.78987 15 1.70453e-05 16 1.03123 17 0.151789 18 3.00408 19 1.34329e-06 20 4.60888 21 0.964391 22 1.10303 23 9.20841 24 0.0967587 25 0.0756024 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 30488.5653857 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.665e-10 1.543e-05 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.073e-01 7.560e-02 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.194e+00 9.676e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 4.42786366816e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00342637684704 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/35010908/likelihoodResults_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.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) = 30488.6223972 delta logL = -0.0570115121227 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 30488.5653857 delta logL = -2.8740032576e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .55511E-10 1.0000 .0000 .10000E+07 2 'Index ' 2.3479 1.0000 .0000 10.000 3 'Normalizat' 1.1937 1.0000 .10000E-01 10.000 4 'Prefactor ' .90732 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 30488.57 FROM MIGRAD STATUS=CONVERGED 55 CALLS 241 TOTAL EDM= .12E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .67237E-01 .33434E-02** at limit ** 2 Index 2.7249 1.0631 .28404E-04 .0000 3 Normalizat 1.1937 1.1085 -.96549E-06 .27037E-03 4 Prefactor .90731 1.2519 .86604E-06 .26176E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.72487 Normalizat = 1.19374 Prefactor = 0.907315 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 30488.57 FROM HESSE STATUS=FAILED 9 CALLS 250 TOTAL EDM= .12E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .67237E-01 .33434E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .84084 1.9498 .28404E-04 -.47240 3 Normalizat 1.1937 1.1085 -.96549E-06 -.86797 4 Prefactor .90731 1.2519 .86604E-06 -.95886 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.21575e-11 Minuit parameter uncertainties: 1 2.50678e-07 2 1.07345 3 1.13154 4 1.29534 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) = 30488.5653857 delta logL = 1.16415321827e-10 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 2.507e-07 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.725e+00 1.073e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.073e-01 1.295e+00 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.194e+00 1.132e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 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/35010908/cmap_HighResolution_722822401_723427201_4FGL_J1640.4+3945_weekly_bin800.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-03', job_status='DONE', photon_flux_upper_limit='4.43e-08', time_completed='2023-12-05 01:18:47.718036', job_id='35010908', GAL2='0.91', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1701767927.72', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.16e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='800' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Dec 5 01:18:47 PST 2023