/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 14 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 = 7630 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1134 RA = 250.119, Dec = 39.7626 tmin = 533260801, tmax = 533520001 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='838390', job_status='RUN', time_executed='2021-09-15 06:47:10.391909', time_epoch_executed='1631713630.39' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1134' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/838390 Creating custom pfile directory: /scratch/kocevski/838390/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=533260801.0 && nMetStart<533520001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=533260801.0 && nMetStart<533520001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/838390/ft1_4FGL_J1640.4+3945_daily_bin1134.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=533260801.0 && nMetStart<533520001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/838390/ft1_4FGL_J1640.4+3945_daily_bin1134.fits outfile=/scratch/kocevski/838390/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1134.fits ra=250.119 dec=39.7626 rad=12.0 tmin=533260801.0 tmax=533520001.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.37 user 4.12 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.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/838390/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1134.fits evtable="EVENTS" outfile="/scratch/kocevski/838390/ft1_filtered_4FGL_J1640.4+3945_daily_bin1134.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.50 user 0.33 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/838390/ft1_filtered_4FGL_J1640.4+3945_daily_bin1134.fits" evtable="EVENTS" scfile=/scratch/kocevski/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.fits sctable="SC_DATA" outfile=/scratch/kocevski/838390/ltcube_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.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/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.fits .....................! real 14.40 user 14.04 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/838390/ft1_filtered_4FGL_J1640.4+3945_daily_bin1134.fits evtable="EVENTS" scfile=/scratch/kocevski/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.fits sctable="SC_DATA" expcube=/scratch/kocevski/838390/ltcube_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.fits outfile=/scratch/kocevski/838390/expmap_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.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/838390/ltcube_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.fits .....................! real 193.05 user 187.20 sys 5.45 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/838390/ft1_filtered_4FGL_J1640.4+3945_daily_bin1134.fits scfile=/scratch/kocevski/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.fits outfile=/scratch/kocevski/838390/cmap_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.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/838390/ft1_filtered_4FGL_J1640.4+3945_daily_bin1134.fits scfile=/scratch/kocevski/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.fits outfile=/scratch/kocevski/838390/cmap_HighResolution_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.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.56 user 0.38 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/838390/ft1_filtered_4FGL_J1640.4+3945_daily_bin1134.fits evtable="EVENTS" scfile=/scratch/kocevski/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/838390/Model_4FGL_J1640.4+3945_daily_bin1134.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/838390/ft1_filtered_4FGL_J1640.4+3945_daily_bin1134.fits.....................! real 53.51 user 52.05 sys 1.28 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/838390/ft1_filtered_4FGL_J1640.4+3945_daily_bin1134.fits', '/scratch/kocevski/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.fits', expMap='/scratch/kocevski/838390/expmap_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.fits', expCube='/scratch/kocevski/838390/ltcube_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/838390/Model_4FGL_J1640.4+3945_daily_bin1134.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/838390/ft1_filtered_4FGL_J1640.4+3945_daily_bin1134.fits Spacecraft file(s): /scratch/kocevski/838390/ft2_4FGL_J1640.4+3945_daily_bin1134.fits Exposure map: /scratch/kocevski/838390/expmap_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.fits Exposure cube: /scratch/kocevski/838390/ltcube_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/838390/Model_4FGL_J1640.4+3945_daily_bin1134.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) = 6707.56066884 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6707.49244588 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.1578 1.0000 .10000E-03 10000. 2 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .17034 1.0000 .10000E-03 10000. 4 'Prefactor ' .12131E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.9550 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.6450 1.0000 .10000E-03 10000. 7 'norm ' .54134 1.0000 .10000E-03 10000. 8 'norm ' .10001E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 3.3754 1.0000 .10000E-03 10000. 11 'norm ' .10003E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .11127E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 3.5802 1.0000 .10000E-03 10000. 14 'Prefactor ' .87717 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.0006 1.0000 .10000E-03 10000. 16 'norm ' 3.2842 1.0000 .10000E-03 10000. 17 'norm ' .58514 1.0000 .10000E-03 10000. 18 'Prefactor ' 5.5618 1.0000 .10000E-03 10000. 19 'norm ' .10002E-03 1.0000 .10000E-03 10000. 20 'norm ' 2.2034 1.0000 .10000E-03 10000. 21 'norm ' .57684E-02 1.0000 .10000E-03 10000. 22 'Prefactor ' .10922E-03 1.0000 .10000E-03 10000. 23 'norm ' 9.3725 1.0000 .10000E-03 10000. 24 'Prefactor ' .16067E-02 1.0000 .10000E-03 10000. 25 'Normalizat' 1.3183 1.0000 .10000E-01 10.000 26 'Prefactor ' .66843 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= 6707.492 FROM MIGRAD STATUS=CONVERGED 641 CALLS 2747 TOTAL EDM= .38E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.1576 17.381 .39141E-06 -.73819E-06 2 Prefactor .10000E-03 19.992 -.20286E-06** at limit ** 3 Prefactor .16675 1.3902 .31107E-06 -.30298E-03 4 Prefactor .10000E-03 4.2897 -.18092E-05** at limit ** 5 Prefactor 1.8810 65.040 .18781E-05 .10363E-04 6 Prefactor 1.6436 3.1119 .44015E-06 .30495E-04 7 norm .54130 .15936 .88219E-09 -.41665E-03 8 norm .10000E-03 5.8025 -.35187E-08** at limit ** 9 Prefactor .10000E-03 5.1174 .64443E-07** at limit ** 10 Prefactor 3.3743 3.9760 -.18060E-06 -.13299E-03 11 norm .10000E-03 17.082 .59313E-07** at limit ** 12 Prefactor .10000E-03 .85053 .16920E-08** at limit ** 13 Prefactor 3.5789 1.6535 .94740E-08 -.83897E-04 14 Prefactor .87816 3.2245 .16281E-05 .79179E-04 15 Prefactor 2.0002 2.5529 .15621E-06 .11822E-04 16 norm 3.2843 1.7781 .38690E-07 -.16962E-04 17 norm .58422 .87236 -.47269E-07 -.48253E-03 18 Prefactor 5.5588 6.5985 .15953E-07 .70081E-04 19 norm .10000E-03 .24018 .57885E-07** at limit ** 20 norm 2.2014 4.3210 .37127E-06 .47147E-04 21 norm .83593E-02 .64524 -.27642E-06 .14434E-02 22 Prefactor .10000E-03 67.520 .12507E-05** at limit ** 23 norm 9.3585 5.2643 -.33687E-06 -.37033E-04 24 Prefactor .10000E-03 169.68 -.34247E-05** at limit ** 25 Normalizat 1.3189 .19832 .32451E-06 -.14611E-03 26 Prefactor .66790 .15183 -.20421E-05 -.47462E-04 ERR DEF= .500 Final values: Prefactor = 6.15764 Prefactor = 0.0001 Prefactor = 0.166753 Prefactor = 0.0001 Prefactor = 1.88103 Prefactor = 1.64356 norm = 0.541304 norm = 0.0001 Prefactor = 0.0001 Prefactor = 3.37434 norm = 0.0001 Prefactor = 0.0001 Prefactor = 3.57886 Prefactor = 0.878158 Prefactor = 2.00017 norm = 3.28434 norm = 0.584224 Prefactor = 5.55875 norm = 0.0001 norm = 2.20139 norm = 0.00835933 Prefactor = 0.000100001 norm = 9.35847 Prefactor = 0.000100004 Normalizat = 1.3189 Prefactor = 0.667904 ********** ** 18 **HESSE ********** FCN= 6707.492 FROM HESSE STATUS=OK 476 CALLS 3223 TOTAL EDM= .32E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.1576 17.386 .16178E-03 -1.5212 2 Prefactor .10000E-03 19.997 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .16675 7.6423 .18364E-02 -1.5626 4 Prefactor .10000E-03 4.2834 .16441E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.8810 67.504 .29674E-03 -1.5434 6 Prefactor 1.6436 3.0912 .18725E-03 -1.5452 7 norm .54130 .15814 .16296E-04 -1.5561 8 norm .10000E-03 5.8121 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 5.1268 .18093E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 3.3743 3.9452 .16660E-03 -1.5341 11 norm .10000E-03 17.100 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 3.2005 .11340E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 3.5789 1.3633 .53279E-04 -1.5330 14 Prefactor .87816 3.1985 .25524E-03 -1.5521 15 Prefactor 2.0002 2.5352 .14000E-03 -1.5425 16 norm 3.2843 1.7765 .77029E-04 -1.5345 17 norm .58422 .76945 .83147E-03 -1.5555 18 Prefactor 5.5588 6.5612 .17035E-03 -1.5236 19 norm .10000E-03 .25072 .78276E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 2.2014 4.2935 .23070E-03 -1.5411 21 norm .83593E-02 1.7231 .22550E-01 -1.5690 22 Prefactor .10000E-03 68.469 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 9.3585 5.2449 .13091E-03 -1.5096 24 Prefactor .10000E-03 171.77 .20416E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.3189 .24080 .23611E-03 -.83004 26 Prefactor .66790 .17925 .25796E-03 -1.0480 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.16663e-09 Minuit parameter uncertainties: 1 17.4004 2 4.4593e-05 3 2.25739 4 1.8333e-05 5 22.5638 6 3.09148 7 0.15814 8 1.40847e-06 9 4.76568e-06 10 3.94547 11 2.47386e-05 12 7.60329e-06 13 1.36336 14 3.19908 15 2.53529 16 1.77649 17 0.769467 18 6.56203 19 1.09047e-06 20 4.29409 21 0.238597 22 0.00049719 23 5.24511 24 0.00175494 25 0.241007 26 0.179409 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6707.492419 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 7.603e-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: 6.679e-01 1.794e-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.319e+00 2.410e-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.13e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/838390/likelihoodResults_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.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): 102 logL (Free Index) = 6707.49393374 delta logL = -0.00151473692404 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6707.49241604 delta logL = 2.96701819025e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .18298E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.5298 1.0000 .0000 10.000 3 'Normalizat' 1.3186 1.0000 .10000E-01 10.000 4 'Prefactor ' .66812 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= 6707.444 FROM MIGRAD STATUS=CONVERGED 118 CALLS 291 TOTAL EDM= .11E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .57818E-01 1.6760 .90712E-02 .43721E-02 2 Index 3.4668 2.9385 .15230 .11960E-03 3 Normalizat 1.3006 .19287E-01 .53662E-01 .76124E-04 4 Prefactor .67685 .15620E-01 .41975E-01 .99770E-04 ERR DEF= .500 Final values: Prefactor = 0.0578179 Index = 3.46682 Normalizat = 1.30061 Prefactor = 0.676848 ********** ** 18 **HESSE ********** FCN= 6707.444 FROM HESSE STATUS=NOT POSDEF 35 CALLS 326 TOTAL EDM= .15E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .57818E-01 27.127 .48631E-03 -1.5660 2 Index 3.4668 7.7049 .12499E-01 -.31166 3 Normalizat 1.3006 .11600 .23727E-03 -.83548 4 Prefactor .67685 .92517E-01 .25630E-03 -1.0444 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.53033e-10 Minuit parameter uncertainties: 1 2.50373 2 17.6906 3 0.116019 4 0.0925376 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/838390': 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) = 6707.44391106 delta logL = 0.0485079403588 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.782e-02 2.504e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 3.467e+00 1.769e+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: 6.768e-01 9.254e-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.301e+00 1.160e-01 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/838390/cmap_HighResolution_533260801_533520001_4FGL_J1640.4+3945_daily_bin1134.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/838390 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.13e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-15 07:01:17.826819', job_id='838390', GAL2='0.68', fit_tolerance='1e-08', EG2='1.30', EG='1.32', time_epoch_completed='1631714477.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='4.85e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1134' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 07:01:17 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 838390: <4FGL_J1640.4+3945_daily_bin1134> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1134> was submitted from host by user in cluster at Wed Sep 15 06:45:18 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:46:47 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:46:47 2021 Terminated at Wed Sep 15 07:01:18 2021 Results reported at Wed Sep 15 07:01:18 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1134 250.119 39.7626 533260801 533520001 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 : 843.26 sec. Max Memory : 1095 MB Average Memory : 325.39 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 871 sec. Turnaround time : 960 sec. The output (if any) is above this job summary.