/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 13 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 = 7571 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1040 RA = 250.119, Dec = 39.7626 tmin = 508896001, tmax = 509155201 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='837071', job_status='RUN', time_executed='2021-09-15 06:45:01.324285', time_epoch_executed='1631713501.32' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1040' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/837071 Creating custom pfile directory: /scratch/kocevski/837071/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=508896001.0 && nMetStart<509155201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=508896001.0 && nMetStart<509155201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/837071/ft1_4FGL_J1640.4+3945_daily_bin1040.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=508896001.0 && nMetStart<509155201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/837071/ft1_4FGL_J1640.4+3945_daily_bin1040.fits outfile=/scratch/kocevski/837071/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1040.fits ra=250.119 dec=39.7626 rad=12.0 tmin=508896001.0 tmax=509155201.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 3.45 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.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/837071/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1040.fits evtable="EVENTS" outfile="/scratch/kocevski/837071/ft1_filtered_4FGL_J1640.4+3945_daily_bin1040.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.51 user 0.32 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/837071/ft1_filtered_4FGL_J1640.4+3945_daily_bin1040.fits" evtable="EVENTS" scfile=/scratch/kocevski/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.fits sctable="SC_DATA" outfile=/scratch/kocevski/837071/ltcube_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.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/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.fits .....................! real 14.27 user 13.83 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/837071/ft1_filtered_4FGL_J1640.4+3945_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.fits sctable="SC_DATA" expcube=/scratch/kocevski/837071/ltcube_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.fits outfile=/scratch/kocevski/837071/expmap_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.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/837071/ltcube_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.fits .....................! real 192.20 user 187.21 sys 4.53 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/837071/ft1_filtered_4FGL_J1640.4+3945_daily_bin1040.fits scfile=/scratch/kocevski/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.fits outfile=/scratch/kocevski/837071/cmap_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.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.55 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/837071/ft1_filtered_4FGL_J1640.4+3945_daily_bin1040.fits scfile=/scratch/kocevski/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.fits outfile=/scratch/kocevski/837071/cmap_HighResolution_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.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.55 user 0.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/837071/ft1_filtered_4FGL_J1640.4+3945_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837071/Model_4FGL_J1640.4+3945_daily_bin1040.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/837071/ft1_filtered_4FGL_J1640.4+3945_daily_bin1040.fits.....................! real 62.20 user 60.74 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/837071/ft1_filtered_4FGL_J1640.4+3945_daily_bin1040.fits', '/scratch/kocevski/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.fits', expMap='/scratch/kocevski/837071/expmap_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.fits', expCube='/scratch/kocevski/837071/ltcube_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/837071/Model_4FGL_J1640.4+3945_daily_bin1040.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/837071/ft1_filtered_4FGL_J1640.4+3945_daily_bin1040.fits Spacecraft file(s): /scratch/kocevski/837071/ft2_4FGL_J1640.4+3945_daily_bin1040.fits Exposure map: /scratch/kocevski/837071/expmap_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.fits Exposure cube: /scratch/kocevski/837071/ltcube_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/837071/Model_4FGL_J1640.4+3945_daily_bin1040.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) = 7716.59339539 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7716.58918869 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10136E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10599E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 4.1989 1.0000 .10000E-03 10000. 4 'Prefactor ' 2.7826 1.0000 .10000E-03 10000. 5 'Prefactor ' 4.2404 1.0000 .10000E-03 10000. 6 'Prefactor ' .12524 1.0000 .10000E-03 10000. 7 'norm ' .73806 1.0000 .10000E-03 10000. 8 'norm ' .10044E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .48928 1.0000 .10000E-03 10000. 10 'Prefactor ' .10560 1.0000 .10000E-03 10000. 11 'norm ' .11409E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10049E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.5934 1.0000 .10000E-03 10000. 14 'Prefactor ' 7.5533 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.9023 1.0000 .10000E-03 10000. 16 'norm ' 2.5929 1.0000 .10000E-03 10000. 17 'norm ' .45421 1.0000 .10000E-03 10000. 18 'Prefactor ' 12.329 1.0000 .10000E-03 10000. 19 'norm ' .10001E-03 1.0000 .10000E-03 10000. 20 'norm ' 4.8818 1.0000 .10000E-03 10000. 21 'norm ' 2.9206 1.0000 .10000E-03 10000. 22 'Prefactor ' .25876E-02 1.0000 .10000E-03 10000. 23 'norm ' .10791E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 66.575 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0021 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0727 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. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7716.589 FROM MIGRAD STATUS=CONVERGED 691 CALLS 3258 TOTAL EDM= .23E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 8.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 7.0004 -.15019E-07** at limit ** 2 Prefactor .10000E-03 44.506 -.25604E-07** at limit ** 3 Prefactor 4.1997 3.4540 .56533E-07 .20659E-04 4 Prefactor 2.7841 5.1698 .31274E-06 .82590E-07 5 Prefactor 4.2462 48.098 .31642E-07 .90641E-05 6 Prefactor .14211 1.6024 -.82527E-08 .32291E-05 7 norm .73880 .19850 -.43774E-08 .66613E-03 8 norm .10000E-03 5.2254 -.15235E-07** at limit ** 9 Prefactor .30300 116.27 .85825E-05 -.36489E-04 10 Prefactor .11592 22.787 -.37773E-05 -.74061E-04 11 norm .10000E-03 47.098 .26598E-06** at limit ** 12 Prefactor .10000E-03 .89431 -.11746E-06** at limit ** 13 Prefactor 2.5937 1.2455 .83985E-07 .19635E-03 14 Prefactor 7.5509 3.9701 -.36236E-07 -.11487E-03 15 Prefactor 1.9021 2.3573 .31118E-07 -.31770E-04 16 norm 2.5932 1.6651 .61594E-08 -.32369E-04 17 norm .45473 .82424 .20237E-06 .62944E-03 18 Prefactor 12.326 7.6869 -.13559E-06 -.19346E-03 19 norm .10000E-03 .28002 .58735E-07** at limit ** 20 norm 4.8771 8.6658 -.37350E-06 -.19315E-03 21 norm 2.9209 1.8359 .11446E-07 -.16407E-03 22 Prefactor .10001E-03 555.00 .17774E-04** at limit ** 23 norm .10000E-03 8.5972 .38451E-05** at limit ** 24 Prefactor 66.513 61.073 -.85010E-06 -.35915E-04 25 Normalizat 1.0019 .21327 .15001E-06 -.30717E-03 26 Prefactor 1.0729 .16128 -.15650E-06 -.38185E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.19969 Prefactor = 2.78406 Prefactor = 4.24622 Prefactor = 0.142109 norm = 0.738803 norm = 0.0001 Prefactor = 0.302997 Prefactor = 0.115918 norm = 0.0001 Prefactor = 0.0001 Prefactor = 2.59366 Prefactor = 7.55088 Prefactor = 1.90214 norm = 2.59318 norm = 0.454733 Prefactor = 12.3263 norm = 0.0001 norm = 4.8771 norm = 2.92094 Prefactor = 0.000100013 norm = 0.0001 Prefactor = 66.5128 Normalizat = 1.0019 Prefactor = 1.07286 ********** ** 18 **HESSE ********** FCN= 7716.589 FROM HESSE STATUS=OK 486 CALLS 3744 TOTAL EDM= .22E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 7.0052 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 44.550 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.1997 3.4414 .70641E-03 -1.5298 4 Prefactor 2.7841 5.1645 .11462E-02 -1.5374 5 Prefactor 4.2462 48.449 .19568E-03 -1.5296 6 Prefactor .14211 17.239 .20583E-02 -1.5633 7 norm .73880 .20256 .17400E-04 -1.5536 8 norm .10000E-03 5.2292 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30300 21.983 .88380E-01 -1.5598 10 Prefactor .11592 38.716 .23671E-02 -1.5640 11 norm .10000E-03 47.318 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 1.7030 .15183E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.5937 1.2837 .63646E-04 -1.5386 14 Prefactor 7.5509 3.9075 .11489E-03 -1.5158 15 Prefactor 1.9021 2.3301 .14245E-03 -1.5432 16 norm 2.5932 1.6641 .87033E-04 -1.5386 17 norm .45473 .73030 .97489E-03 -1.5573 18 Prefactor 12.326 7.5864 .11409E-03 -1.5006 19 norm .10000E-03 .42540 .89372E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 4.8771 8.6388 .18205E-03 -1.5266 21 norm 2.9209 1.8303 .89219E-04 -1.5366 22 Prefactor .10001E-03 545.96 .39967E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 8.5113 .30097E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 66.513 60.870 .24595E-03 -1.4075 25 Normalizat 1.0019 .26119 .29754E-03 -.92967 26 Prefactor 1.0729 .19400 .23842E-03 -.90339 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.23461e-08 Minuit parameter uncertainties: 1 1.16444e-07 2 2.34131e-05 3 3.44152 4 5.16531 5 28.7152 6 3.13024 7 0.202562 8 4.26015e-08 9 5.16279 10 4.23788 11 2.67502e-05 12 6.7496e-06 13 1.28374 14 3.90767 15 2.33024 16 1.66409 17 0.730312 18 7.58697 19 6.39805e-07 20 8.64105 21 1.83037 22 0.00545039 23 1.99714e-05 24 60.9265 25 0.261528 26 0.194127 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7716.58911063 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 6.750e-06 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: 1.073e+00 1.941e-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: 1.002e+00 2.615e-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: 1.05e-07 ph cm-2 s-1 Energy Flux Upper Limit: 8.10e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/837071/likelihoodResults_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.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) = 7716.59192804 delta logL = -0.00281741588333 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7716.58911129 delta logL = -6.63285391056e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4352 1.0000 .0000 10.000 3 'Normalizat' 1.0020 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0729 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= 7716.589 FROM MIGRAD STATUS=CONVERGED 61 CALLS 229 TOTAL EDM= .86E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .15440E-01 .34165E-01** at limit ** 2 Index 2.4481 6.0302 .50000 -.65069E-04 3 Normalizat 1.0019 .79556E-03 .67265E-01 .18059E-04 4 Prefactor 1.0729 .66037E-03 .38722E-01 .54684E-05 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.44814 Normalizat = 1.0019 Prefactor = 1.07286 ********** ** 18 **HESSE ********** FCN= 7716.589 FROM HESSE STATUS=NOT POSDEF 35 CALLS 264 TOTAL EDM= .17E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 10.101 .12409E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4481 6.1227 .50000 -.53562 3 Normalizat 1.0019 .11257E-01 .29753E-03 -.92967 4 Prefactor 1.0729 .93553E-02 .23842E-03 -.90339 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.70679e-06 Minuit parameter uncertainties: 1 2.09131e-05 2 86.7283 3 0.0112572 4 0.00935528 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/837071': 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): 102 logL (Free Index) = 7716.58911018 delta logL = 4.46317244496e-07 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 2.091e-05 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.448e+00 8.673e+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: 1.073e+00 9.355e-03 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.002e+00 1.126e-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 /scratch/kocevski/837071/cmap_HighResolution_508896001_509155201_4FGL_J1640.4+3945_daily_bin1040.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/837071 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.10e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-15 07:01:09.488665', job_id='837071', GAL2='1.07', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1631714469.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='4.46e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1040' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 07:01:09 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 837071: <4FGL_J1640.4+3945_daily_bin1040> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1040> was submitted from host by user in cluster at Wed Sep 15 06:40:26 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:44:39 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:44:39 2021 Terminated at Wed Sep 15 07:01:10 2021 Results reported at Wed Sep 15 07:01:10 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1040 250.119 39.7626 508896001 509155201 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 : 964.00 sec. Max Memory : 1256 MB Average Memory : 351.74 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 990 sec. Turnaround time : 1244 sec. The output (if any) is above this job summary.