/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 = 17610 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin837 RA = 250.119, Dec = 39.7626 tmin = 745200001, tmax = 745804801 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='54173052', job_status='RUN', time_executed='2024-08-20 02:06:20.579979', time_epoch_executed='1724144780.58' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='837' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/54173052 Creating custom pfile directory: /lscratch/kocevski/54173052/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=745200001.0 && nMetStart<745804801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=745200001.0 && nMetStart<745804801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/54173052/ft1_4FGL_J1640.4+3945_weekly_bin837.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=745200001.0 && nMetStart<745804801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/54173052/ft1_4FGL_J1640.4+3945_weekly_bin837.fits outfile=/lscratch/kocevski/54173052/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin837.fits ra=250.119 dec=39.7626 rad=12.0 tmin=745200001.0 tmax=745804801.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.09 user 4.77 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.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/54173052/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin837.fits evtable="EVENTS" outfile="/lscratch/kocevski/54173052/ft1_filtered_4FGL_J1640.4+3945_weekly_bin837.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.42 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 1544 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/54173052/ft1_filtered_4FGL_J1640.4+3945_weekly_bin837.fits" evtable="EVENTS" scfile=/lscratch/kocevski/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.fits sctable="SC_DATA" outfile=/lscratch/kocevski/54173052/ltcube_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.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/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.fits .....................! real 20.25 user 19.78 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/54173052/ft1_filtered_4FGL_J1640.4+3945_weekly_bin837.fits evtable="EVENTS" scfile=/lscratch/kocevski/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.fits sctable="SC_DATA" expcube=/lscratch/kocevski/54173052/ltcube_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.fits outfile=/lscratch/kocevski/54173052/expmap_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.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/54173052/ltcube_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.fits .....................! real 64.59 user 60.52 sys 3.59 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/54173052/ft1_filtered_4FGL_J1640.4+3945_weekly_bin837.fits scfile=/lscratch/kocevski/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.fits outfile=/lscratch/kocevski/54173052/cmap_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.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 0.41 user 0.23 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/54173052/ft1_filtered_4FGL_J1640.4+3945_weekly_bin837.fits scfile=/lscratch/kocevski/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.fits outfile=/lscratch/kocevski/54173052/cmap_HighResolution_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.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.47 user 0.25 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/54173052/ft1_filtered_4FGL_J1640.4+3945_weekly_bin837.fits evtable="EVENTS" scfile=/lscratch/kocevski/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/54173052/Model_4FGL_J1640.4+3945_weekly_bin837.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/54173052/ft1_filtered_4FGL_J1640.4+3945_weekly_bin837.fits.....................! real 43.18 user 42.18 sys 0.59 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/54173052/ft1_filtered_4FGL_J1640.4+3945_weekly_bin837.fits', '/lscratch/kocevski/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.fits', expMap='/lscratch/kocevski/54173052/expmap_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.fits', expCube='/lscratch/kocevski/54173052/ltcube_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/54173052/Model_4FGL_J1640.4+3945_weekly_bin837.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/54173052/ft1_filtered_4FGL_J1640.4+3945_weekly_bin837.fits Spacecraft file(s): /lscratch/kocevski/54173052/ft2_4FGL_J1640.4+3945_weekly_bin837.fits Exposure map: /lscratch/kocevski/54173052/expmap_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.fits Exposure cube: /lscratch/kocevski/54173052/ltcube_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/54173052/Model_4FGL_J1640.4+3945_weekly_bin837.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) = 17139.6861311 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17139.652168 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .25382E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' 43.996 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.8462 1.0000 .0000 .10000E+07 4 'Prefactor ' .78332E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' 19.540 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.9221 1.0000 .0000 .10000E+07 7 'norm ' .81460E-01 1.0000 .0000 .10000E+07 8 'norm ' .24945E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' 4.5713 1.0000 .0000 .10000E+07 10 'Prefactor ' 1.6672 1.0000 .0000 .10000E+07 11 'norm ' .74723E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .18017E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' 4.9461 1.0000 .0000 .10000E+07 14 'Prefactor ' 4.4961 1.0000 .0000 .10000E+07 15 'Prefactor ' .22112E-05 1.0000 .0000 .10000E+07 16 'norm ' 2.2039 1.0000 .0000 .10000E+07 17 'norm ' .20429 1.0000 .0000 .10000E+07 18 'Prefactor ' .11036E-06 1.0000 .0000 .10000E+07 19 'norm ' .42512 1.0000 .0000 .10000E+07 20 'norm ' 3.1210 1.0000 .0000 .10000E+07 21 'norm ' 1.7258 1.0000 .0000 .10000E+07 22 'norm ' 10.556 1.0000 .0000 .10000E+07 23 'Prefactor ' 47.452 1.0000 .0000 .10000E+07 24 'Normalizat' .97865 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0478 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= 17139.65 FROM MIGRAD STATUS=CONVERGED 155 CALLS 2161 TOTAL EDM= .18E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .13434E-07 13.015 .20309E-06** at limit ** 2 Prefactor 44.928 9.4455 .59080E-07 .49274E-01 3 Prefactor 2.8469 2.0862 .40755E-07 .39368E-03 4 Prefactor .36082E-08 4.7664 .14974E-05** at limit ** 5 Prefactor 19.641 15.466 -.28429E-06 -.39924E-02 6 Prefactor 2.9251 2.6058 .48902E-07 -.18620E-03 7 norm .81306E-01 .84408E-01 -.58993E-07** at limit ** 8 norm .60507E-08 9.4112 -.10870E-05** at limit ** 9 Prefactor 4.6108 10.289 -.43052E-06 .41287E-03 10 Prefactor 1.6683 1.7537 -.23826E-07 .32392E-03 11 norm .18180E-06 62.728 .14940E-06** at limit ** 12 Prefactor .65706E-05 1.4999 .44813E-06** at limit ** 13 Prefactor 4.9472 1.0540 -.17050E-07 -.82435E-03 14 Prefactor 4.4966 1.9311 .30240E-08 .34155E-03 15 Prefactor .77716E-09 1.4360 .59837E-06** at limit ** 16 norm 2.2034 .98401 .13790E-07 .66320E-03 17 norm .20406 .33338 .90338E-08** at limit ** 18 Prefactor .66613E-09 1.3491 -.12241E-07** at limit ** 19 norm .42534 .36498 .25407E-07 .41421E-04 20 norm 3.1221 5.6980 -.86265E-07 -.52967E-05 21 norm 1.7263 1.0531 .45451E-07 .24291E-03 22 norm 10.576 4.4628 -.24388E-07 -.23844E-03 23 Prefactor 46.796 49.192 -.57677E-06 .16010E-01 24 Normalizat .97802 .15886 .26668E-05 .56910E-04 25 Prefactor 1.0481 .12193 .19795E-06 .49297E-04 ERR DEF= .500 Final values: Prefactor = 1.34337e-08 Prefactor = 44.928 Prefactor = 2.84687 Prefactor = 3.60822e-09 Prefactor = 19.6411 Prefactor = 2.92511 norm = 0.0813058 norm = 6.05072e-09 Prefactor = 4.61081 Prefactor = 1.66829 norm = 1.81799e-07 Prefactor = 6.57058e-06 Prefactor = 4.94722 Prefactor = 4.49659 Prefactor = 7.77156e-10 norm = 2.20338 norm = 0.20406 Prefactor = 6.66134e-10 norm = 0.425337 norm = 3.12213 norm = 1.72634 norm = 10.5757 Prefactor = 46.7958 Normalizat = 0.978015 Prefactor = 1.04808 ********** ** 18 **HESSE ********** FCN= 17139.65 FROM HESSE STATUS=OK 491 CALLS 2652 TOTAL EDM= .33E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .13434E-07 13.010 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 44.928 38.570 .15078E-03 -1.5574 3 Prefactor 2.8469 2.0903 .60243E-03 -1.5674 4 Prefactor .36082E-08 4.7580 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 19.641 15.483 .22630E-03 -1.5619 6 Prefactor 2.9251 2.6289 .59403E-03 -1.5674 7 norm .81306E-01 .99068E-01 .77614E-03 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .60507E-08 9.3968 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 4.6108 10.566 .47057E-03 -1.5665 10 Prefactor 1.6683 1.7629 .81633E-03 -1.5682 11 norm .18180E-06 64.773 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .65706E-05 .91832 .28073E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 4.9472 1.3732 .45199E-03 -1.5663 14 Prefactor 4.4966 1.9510 .47459E-03 -1.5666 15 Prefactor .77716E-09 1.4227 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.2034 .98762 .69272E-03 -1.5678 17 norm .20406 .35366 .23120E-02 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .66613E-09 1.3528 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .42534 .37396 .86632E-03 -1.5695 20 norm 3.1221 5.7339 .57366E-03 -1.5673 21 norm 1.7263 1.0578 .79905E-04 -1.5682 22 norm 10.576 4.4791 .30813E-03 -1.5643 23 Prefactor 46.796 50.635 .14518E-03 -1.5571 24 Normalizat .97802 .13327 .65825E-01 -.93771 25 Prefactor 1.0481 .10151 .40042E-01 -.91143 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.33633e-07 Minuit parameter uncertainties: 1 0.000835795 2 38.5698 3 2.09033 4 0.000262394 5 15.4831 6 2.62895 7 0.0990677 8 0.00047739 9 10.5659 10 1.76294 11 0.00686332 12 0.00491279 13 1.37324 14 1.95097 15 6.76046e-05 16 0.987624 17 0.353657 18 5.88152e-05 19 0.373962 20 5.73392 21 1.05778 22 4.47906 23 50.6354 24 0.133319 25 0.101526 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17139.6514995 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 6.571e-06 4.913e-03 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: 1.048e+00 1.015e-01 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: 9.780e-01 1.333e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.38219758172e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00571250444231 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/54173052/likelihoodResults_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.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) = 17139.2936822 delta logL = 0.357817312026 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17139.2933741 delta logL = 0.358125430033 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .94436E-01 1.0000 .0000 .10000E+07 2 'Index ' 3.5806 1.0000 .0000 10.000 3 'Normalizat' .93705 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0677 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. FCN= 17139.29 FROM MIGRAD STATUS=CONVERGED 60 CALLS 343 TOTAL EDM= .82E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .94092E-01 .63190 .10046E-02** at limit ** 2 Index 3.5834 1.6136 .13326 .35467E-03 3 Normalizat .93703 .15804E-01 .66989E-01 .29243E-04 4 Prefactor 1.0676 .12940E-01 .38971E-01 -.26922E-04 ERR DEF= .500 Final values: Prefactor = 0.0940918 Index = 3.58341 Normalizat = 0.937032 Prefactor = 1.06764 ********** ** 18 **HESSE ********** FCN= 17139.29 FROM HESSE STATUS=NOT POSDEF 35 CALLS 378 TOTAL EDM= .40E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .94092E-01 5.8278 .39753E-04 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 3.5834 6.7689 .85822E-02 -.28725 3 Normalizat .93703 .90040E-01 .29633E-03 -.95171 4 Prefactor 1.0676 .72973E-01 .22769E-03 -.90508 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.96156e-11 Minuit parameter uncertainties: 1 1.48102 2 6.80293 3 0.0900543 4 0.07298 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) = 17139.2933697 delta logL = 0.358129791835 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 9.409e-02 1.481e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 3.583e+00 6.803e+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: 1.068e+00 7.298e-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: 9.370e-01 9.005e-02 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/54173052/cmap_HighResolution_745200001_745804801_4FGL_J1640.4+3945_weekly_bin837.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-03', job_status='DONE', photon_flux_upper_limit='7.38e-08', time_completed='2024-08-20 02:17:28.313401', job_id='54173052', GAL2='1.07', fit_tolerance='1e-08', EG2='0.94', EG='0.98', time_epoch_completed='1724145448.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.58e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='837' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Aug 20 02:17:28 PDT 2024