/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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) Waiting 65 seconds before starting... Proceeding. 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 make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 72152 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_monthly_bin130 RA = 250.119, Dec = 39.7626 tmin = 573955201, tmax = 576547201 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='986122', job_status='RUN', time_executed='2021-10-29 10:11:28.903959', time_epoch_executed='1635527488.9' WHERE source_name='4FGL J1640.4+3945' and cadence='monthly' and bin_id='130' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/986122 Creating custom pfile directory: /scratch/kocevski/986122/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=573955201.0 && nMetStart<576547201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=573955201.0 && nMetStart<576547201.0' /Data/Flight/Level1/LPA Retrieving 451 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/986122/ft1_4FGL_J1640.4+3945_monthly_bin130.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=573955201.0 && nMetStart<576547201.0' /Data/Flight/Level1/LPA Retrieving 451 files... Done. Merging files... Merged file saved to: /scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/986122/ft1_4FGL_J1640.4+3945_monthly_bin130.fits outfile=/scratch/kocevski/986122/ft1_filteredMKT_4FGL_J1640.4+3945_monthly_bin130.fits ra=250.119 dec=39.7626 rad=12.0 tmin=573955201.0 tmax=576547201.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 38.78 user 37.92 sys 0.73 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/986122/ft1_filteredMKT_4FGL_J1640.4+3945_monthly_bin130.fits evtable="EVENTS" outfile="/scratch/kocevski/986122/ft1_filtered_4FGL_J1640.4+3945_monthly_bin130.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.83 user 0.65 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/986122/ft1_filtered_4FGL_J1640.4+3945_monthly_bin130.fits" evtable="EVENTS" scfile=/scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits sctable="SC_DATA" outfile=/scratch/kocevski/986122/ltcube_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.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 /scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits .....................! real 110.94 user 109.56 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/986122/ft1_filtered_4FGL_J1640.4+3945_monthly_bin130.fits evtable="EVENTS" scfile=/scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits sctable="SC_DATA" expcube=/scratch/kocevski/986122/ltcube_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.fits outfile=/scratch/kocevski/986122/expmap_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.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 /scratch/kocevski/986122/ltcube_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.fits .....................! real 191.93 user 186.36 sys 4.94 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=/scratch/kocevski/986122/ft1_filtered_4FGL_J1640.4+3945_monthly_bin130.fits scfile=/scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits outfile=/scratch/kocevski/986122/cmap_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.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.79 user 0.61 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/986122/ft1_filtered_4FGL_J1640.4+3945_monthly_bin130.fits scfile=/scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits outfile=/scratch/kocevski/986122/cmap_HighResolution_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.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.78 user 0.59 sys 0.18 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/986122/ft1_filtered_4FGL_J1640.4+3945_monthly_bin130.fits evtable="EVENTS" scfile=/scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/986122/Model_4FGL_J1640.4+3945_monthly_bin130.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... /scratch/kocevski/986122/ft1_filtered_4FGL_J1640.4+3945_monthly_bin130.fits.....................! real 456.27 user 453.78 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/986122/ft1_filtered_4FGL_J1640.4+3945_monthly_bin130.fits', '/scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits', expMap='/scratch/kocevski/986122/expmap_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.fits', expCube='/scratch/kocevski/986122/ltcube_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/986122/Model_4FGL_J1640.4+3945_monthly_bin130.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 1.000e-04 1.000e+04 ( 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): /scratch/kocevski/986122/ft1_filtered_4FGL_J1640.4+3945_monthly_bin130.fits Spacecraft file(s): /scratch/kocevski/986122/ft2_4FGL_J1640.4+3945_monthly_bin130.fits Exposure map: /scratch/kocevski/986122/expmap_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.fits Exposure cube: /scratch/kocevski/986122/ltcube_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/986122/Model_4FGL_J1640.4+3945_monthly_bin130.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) = 74793.0514714 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 74792.8979322 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.2772 1.0000 .10000E-03 10000. 2 'Prefactor ' .16679E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.4162 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.5663 1.0000 .10000E-03 10000. 5 'Prefactor ' .26279E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .41988 1.0000 .10000E-03 10000. 8 'norm ' 2.8700 1.0000 .10000E-03 10000. 9 'Prefactor ' 15.591 1.0000 .10000E-03 10000. 10 'Prefactor ' 2.2600 1.0000 .10000E-03 10000. 11 'norm ' .10452E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .31916 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.7187 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.9808 1.0000 .10000E-03 10000. 15 'Prefactor ' 5.1654 1.0000 .10000E-03 10000. 16 'norm ' 4.2733 1.0000 .10000E-03 10000. 17 'norm ' 1.5911 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.9246 1.0000 .10000E-03 10000. 19 'norm ' .16733 1.0000 .10000E-03 10000. 20 'norm ' 2.7348 1.0000 .10000E-03 10000. 21 'norm ' 3.5791 1.0000 .10000E-03 10000. 22 'Prefactor ' .38567E-03 1.0000 .10000E-03 10000. 23 'norm ' 18.480 1.0000 .10000E-03 10000. 24 'Prefactor ' .10109E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.1364 1.0000 .10000E-01 10.000 26 'Prefactor ' .84295 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 74792.90 FROM MIGRAD STATUS=CONVERGED 633 CALLS 2754 TOTAL EDM= .42E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.2821 4.7343 .0000 .65570E-02 2 Prefactor .10000E-03 22.348 .0000 ** at limit ** 3 Prefactor 1.4164 .80773 .0000 .89007E-02 4 Prefactor 1.5664 1.5319 .0000 .10587E-01 5 Prefactor .10000E-03 3.3841 .0000 ** at limit ** 6 Prefactor .10000E-03 .14976 .0000 ** at limit ** 7 norm .41989 .50610E-01 .0000 .94199E-02 8 norm 2.8674 2.4580 .0000 .21777E-01 9 Prefactor 15.592 5.8061 .0000 -.23492E-03 10 Prefactor 2.2606 1.1765 .0000 .67095E-02 11 norm .10000E-03 7.8909 .0000 ** at limit ** 12 Prefactor .31934 .39462 .0000 .19284E-01 13 Prefactor 1.7188 .49413 .0000 .70703E-02 14 Prefactor 1.9809 .90519 .0000 .48222E-02 15 Prefactor 5.1655 .96995 .0000 .21207E-02 16 norm 4.2733 .57342 .0000 .57205E-03 17 norm 1.5910 .30460 .0000 .34346E-02 18 Prefactor 2.9279 2.0319 .0000 .50849E-02 19 norm .16727 .14868 .0000 .18252E-01 20 norm 2.7365 1.8243 .0000 .73378E-01 21 norm 3.5791 .57424 .0000 .22492E-02 22 Prefactor .10051E-03 2.4973 .0000 ** at limit ** 23 norm 18.481 2.2211 .0000 .12489E-01 24 Prefactor .10000E-03 6.8012 .0000 ** at limit ** 25 Normalizat 1.1363 .60369E-01 .0000 -.21974E-03 26 Prefactor .84298 .46737E-01 .0000 -.15294E-03 ERR DEF= .500 Final values: Prefactor = 5.28213 Prefactor = 0.000100002 Prefactor = 1.41638 Prefactor = 1.56644 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.419889 norm = 2.86736 Prefactor = 15.5923 Prefactor = 2.26056 norm = 0.000100002 Prefactor = 0.319337 Prefactor = 1.71878 Prefactor = 1.98085 Prefactor = 5.16555 norm = 4.27334 norm = 1.59101 Prefactor = 2.92793 norm = 0.167274 norm = 2.73647 norm = 3.57905 Prefactor = 0.000100511 norm = 18.4807 Prefactor = 0.0001 Normalizat = 1.13632 Prefactor = 0.842982 ********** ** 18 **HESSE ********** FCN= 74792.90 FROM HESSE STATUS=OK 476 CALLS 3230 TOTAL EDM= .12E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.2821 4.7310 .17497E-03 -1.5248 2 Prefactor .10000E-03 22.763 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.4164 .79818 .17748E-03 -1.5470 4 Prefactor 1.5664 1.5122 .31782E-03 -1.5458 5 Prefactor .10000E-03 3.4200 .42889E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 .36042 .20363E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .41989 .50011E-01 .18470E-04 -1.5578 8 norm 2.8674 2.4524 .11997E-02 -1.5369 9 Prefactor 15.592 5.8406 .10143E-03 -1.4918 10 Prefactor 2.2606 1.1672 .20087E-03 -1.5407 11 norm .10000E-03 8.0142 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .31934 .32752 .12451E-03 -1.5595 13 Prefactor 1.7188 .43336 .68053E-04 -1.5446 14 Prefactor 1.9809 .89831 .16396E-03 -1.5426 15 Prefactor 5.1655 .96534 .10953E-03 -1.5253 16 norm 4.2733 .57270 .72625E-04 -1.5294 17 norm 1.5910 .29981 .60712E-04 -1.5456 18 Prefactor 2.9279 1.9823 .23754E-03 -1.5366 19 norm .16727 .13877 .92145E-03 -1.5626 20 norm 2.7365 1.8159 .12311E-02 -1.5377 21 norm 3.5791 .57151 .78799E-04 -1.5330 22 Prefactor .10051E-03 14.357 .82565E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 18.481 2.1883 .93169E-04 -1.4848 24 Prefactor .10000E-03 6.8217 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.1363 .72239E-01 .26344E-03 -.88594 26 Prefactor .84298 .56073E-01 .24657E-03 -.98163 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.2111e-07 Minuit parameter uncertainties: 1 4.73132 2 0.000437218 3 0.798189 4 1.51228 5 5.00339e-05 6 3.18754e-06 7 0.0500107 8 2.45244 9 5.84079 10 1.16724 11 0.000226744 12 0.32752 13 0.433358 14 0.89832 15 0.965345 16 0.572703 17 0.299806 18 1.98233 19 0.13877 20 1.81592 21 0.571512 22 0.00541687 23 2.18835 24 7.35379e-05 25 0.072245 26 0.0560767 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 74792.8978936 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.193e-01 3.275e-01 1.000e-04 1.000e+04 ( 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: 8.430e-01 5.608e-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.136e+00 7.224e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.18 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.26e-08 +/- 1.29e-08 Energy Flux (Fixed Index): 4.02e-06 +/- 4.12e-06 TS (Fixed Index): 2.18 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 3.34e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.58e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/986122/likelihoodResults_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.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) = 74792.8973951 delta logL = 0.00049855816178 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 74792.8971982 delta logL = 0.000695466223988 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .31385 1.0000 .10000E-03 10000. 2 'Index ' 2.4578 1.0000 .0000 10.000 3 'Normalizat' 1.1356 1.0000 .10000E-01 10.000 4 'Prefactor ' .84334 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 74792.90 FROM MIGRAD STATUS=CONVERGED 96 CALLS 261 TOTAL EDM= .24E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .31386 .31238 .12161E-03 .49658E-03 2 Index 2.4576 1.0131 .30922E-02 -.11706E-04 3 Normalizat 1.1356 .70492E-01 .26350E-03 -.42800E-04 4 Prefactor .84334 .56208E-01 .24652E-03 .24349E-04 ERR DEF= .500 Final values: Prefactor = 0.313861 Index = 2.45763 Normalizat = 1.13561 Prefactor = 0.843337 ********** ** 18 **HESSE ********** FCN= 74792.90 FROM HESSE STATUS=OK 23 CALLS 284 TOTAL EDM= .23E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .31386 .30056 .48645E-05 -1.5596 2 Index 2.4576 .97399 .12369E-03 -.53341 3 Normalizat 1.1356 .70378E-01 .10540E-04 -.88617 4 Prefactor .84334 .56199E-01 .98610E-05 -.98150 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.32477e-11 Minuit parameter uncertainties: 1 0.300558 2 0.982497 3 0.0703841 4 0.0562029 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/986122': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 74792.8971981 delta logL = 0.000695492082741 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.139e-01 3.006e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.458e+00 9.825e-01 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: 8.433e-01 5.620e-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.136e+00 7.038e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.21 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.46 +/- 0.98 Photon Flux (Free Index): 1.33e-08 +/- 2.12e-08 Energy Flux (Free Index): 4.05e-06 +/- 3.38e-06 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 /scratch/kocevski/986122/cmap_HighResolution_573955201_576547201_4FGL_J1640.4+3945_monthly_bin130.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/986122 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.58e-03', comment='SUCCESS', photon_flux='1.26e-08', energy_flux2='4.05e-06', photon_flux_error='1.29e-08', dlogl='6.95e-04', energy_flux='4.02e-06', photon_flux2='1.33e-08', job_status='DONE', time_completed='2021-10-29 11:58:06.216747', photon_index_error2='0.98', photon_index2='2.46', ts='2.18', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='3.34e-08', energy_flux_error2='3.38e-06', EG='1.14', time_epoch_completed='1635533886.22', return_code='0', job_id='986122', GAL2='0.84', EG2='1.14', return_code2='0', energy_flux_error='4.12e-06', photon_flux_error2='2.12e-08', ts2='2.21', photon_index='2.42' WHERE bin_id='130' AND source_name='4FGL J1640.4+3945' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 29 11:58:06 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 986122: <4FGL_J1640.4+3945_monthly_bin130> in cluster Done Job <4FGL_J1640.4+3945_monthly_bin130> was submitted from host by user in cluster at Fri Oct 29 10:10:12 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 10:10:14 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 10:10:14 2021 Terminated at Fri Oct 29 11:58:07 2021 Results reported at Fri Oct 29 11:58:07 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_monthly_bin130 250.119 39.7626 573955201 576547201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 6276.00 sec. Max Memory : 629 MB Average Memory : 400.22 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 6472 sec. Turnaround time : 6475 sec. The output (if any) is above this job summary.