/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 19 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 = 7416 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin234 RA = 250.119, Dec = 39.7626 tmin = 299980801, tmax = 300240001 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='831588', job_status='RUN', time_executed='2021-09-15 06:21:28.060589', time_epoch_executed='1631712088.06' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='234' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/831588 Creating custom pfile directory: /scratch/kocevski/831588/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=299980801.0 && nMetStart<300240001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=299980801.0 && nMetStart<300240001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/831588/ft1_4FGL_J1640.4+3945_daily_bin234.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=299980801.0 && nMetStart<300240001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/831588/ft2_4FGL_J1640.4+3945_daily_bin234.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/831588/ft1_4FGL_J1640.4+3945_daily_bin234.fits outfile=/scratch/kocevski/831588/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin234.fits ra=250.119 dec=39.7626 rad=12.0 tmin=299980801.0 tmax=300240001.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.42 user 3.16 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831588/ft2_4FGL_J1640.4+3945_daily_bin234.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/831588/ft2_4FGL_J1640.4+3945_daily_bin234.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/831588/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin234.fits evtable="EVENTS" outfile="/scratch/kocevski/831588/ft1_filtered_4FGL_J1640.4+3945_daily_bin234.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.34 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/831588/ft1_filtered_4FGL_J1640.4+3945_daily_bin234.fits" evtable="EVENTS" scfile=/scratch/kocevski/831588/ft2_4FGL_J1640.4+3945_daily_bin234.fits sctable="SC_DATA" outfile=/scratch/kocevski/831588/ltcube_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.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/831588/ft2_4FGL_J1640.4+3945_daily_bin234.fits .....................! real 14.34 user 13.97 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/831588/ft1_filtered_4FGL_J1640.4+3945_daily_bin234.fits evtable="EVENTS" scfile=/scratch/kocevski/831588/ft2_4FGL_J1640.4+3945_daily_bin234.fits sctable="SC_DATA" expcube=/scratch/kocevski/831588/ltcube_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.fits outfile=/scratch/kocevski/831588/expmap_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.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/831588/ltcube_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.fits .....................! real 192.53 user 186.57 sys 5.26 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/831588/ft1_filtered_4FGL_J1640.4+3945_daily_bin234.fits scfile=/scratch/kocevski/831588/ft2_4FGL_J1640.4+3945_daily_bin234.fits outfile=/scratch/kocevski/831588/cmap_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.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.57 user 0.39 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/831588/ft1_filtered_4FGL_J1640.4+3945_daily_bin234.fits scfile=/scratch/kocevski/831588/ft2_4FGL_J1640.4+3945_daily_bin234.fits outfile=/scratch/kocevski/831588/cmap_HighResolution_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.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/831588/ft1_filtered_4FGL_J1640.4+3945_daily_bin234.fits evtable="EVENTS" scfile=/scratch/kocevski/831588/ft2_4FGL_J1640.4+3945_daily_bin234.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831588/Model_4FGL_J1640.4+3945_daily_bin234.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/831588/ft1_filtered_4FGL_J1640.4+3945_daily_bin234.fits.....................! real 64.10 user 62.60 sys 1.26 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/831588/ft1_filtered_4FGL_J1640.4+3945_daily_bin234.fits', '/scratch/kocevski/831588/ft2_4FGL_J1640.4+3945_daily_bin234.fits', expMap='/scratch/kocevski/831588/expmap_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.fits', expCube='/scratch/kocevski/831588/ltcube_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/831588/Model_4FGL_J1640.4+3945_daily_bin234.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/831588/ft1_filtered_4FGL_J1640.4+3945_daily_bin234.fits Spacecraft file(s): /scratch/kocevski/831588/ft2_4FGL_J1640.4+3945_daily_bin234.fits Exposure map: /scratch/kocevski/831588/expmap_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.fits Exposure cube: /scratch/kocevski/831588/ltcube_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/831588/Model_4FGL_J1640.4+3945_daily_bin234.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) = 8340.11845623 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8340.03046822 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .31604E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .24259E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .79878 1.0000 .10000E-03 10000. 5 'Prefactor ' .39112E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10059E-03 1.0000 .10000E-03 10000. 7 'norm ' .57467 1.0000 .10000E-03 10000. 8 'norm ' 1.0269 1.0000 .10000E-03 10000. 9 'Prefactor ' 12.321 1.0000 .10000E-03 10000. 10 'Prefactor ' 26.795 1.0000 .10000E-03 10000. 11 'norm ' 18.010 1.0000 .10000E-03 10000. 12 'Prefactor ' 6.6468 1.0000 .10000E-03 10000. 13 'Prefactor ' .10817E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.7906 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.5123 1.0000 .10000E-03 10000. 16 'norm ' 3.1193 1.0000 .10000E-03 10000. 17 'norm ' 1.2376 1.0000 .10000E-03 10000. 18 'Prefactor ' .39854E-03 1.0000 .10000E-03 10000. 19 'norm ' 1.3765 1.0000 .10000E-03 10000. 20 'norm ' 11.372 1.0000 .10000E-03 10000. 21 'norm ' 3.5787 1.0000 .10000E-03 10000. 22 'Prefactor ' .11777E-03 1.0000 .10000E-03 10000. 23 'norm ' .10011E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .28521E-02 1.0000 .10000E-03 10000. 25 'Normalizat' .75680 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.2412 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= 8340.030 FROM MIGRAD STATUS=CONVERGED 646 CALLS 2289 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 6.9752 -.60395E-07** at limit ** 2 Prefactor .10000E-03 20.591 .27206E-06** at limit ** 3 Prefactor .10000E-03 1.8592 .56078E-07** at limit ** 4 Prefactor .79757 4.0104 .35814E-06 -.24344E-03 5 Prefactor .10000E-03 10.056 .41127E-06** at limit ** 6 Prefactor .10000E-03 1.3237 .16174E-06** at limit ** 7 norm .57451 .18538 -.19944E-07 -.60701E-02 8 norm 1.0450 29.969 .16667E-04 -.13303E-03 9 Prefactor 12.405 17.664 -.76722E-07 -.33172E-04 10 Prefactor 26.781 5.9243 .39420E-07 .39379E-04 11 norm 17.959 53.362 -.47785E-06 .24253E-04 12 Prefactor 6.6479 1.7234 -.86503E-06 -.78236E-03 13 Prefactor .10000E-03 .66603 .14072E-05** at limit ** 14 Prefactor 1.7871 2.2666 .50826E-07 -.40060E-04 15 Prefactor 1.5142 2.4753 -.15488E-06 -.17783E-02 16 norm 3.1200 1.8369 -.19536E-06 -.26773E-03 17 norm 1.2376 .71036 .28375E-07 .15364E-03 18 Prefactor .10000E-03 4.3107 .44080E-05** at limit ** 19 norm 1.3767 .80092 .37547E-07 .85630E-03 20 norm 11.374 8.2381 .53219E-07 .70143E-04 21 norm 3.5791 1.6755 .47114E-07 .13081E-03 22 Prefactor .10000E-03 17.090 .19296E-07** at limit ** 23 norm .10000E-03 1.8202 .19409E-07** at limit ** 24 Prefactor .10000E-03 29.073 -.82532E-06** at limit ** 25 Normalizat .75707 .19219 -.20197E-06 -.14267E-03 26 Prefactor 1.2413 .15631 -.44476E-06 .13069E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.797565 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.57451 norm = 1.04501 Prefactor = 12.4051 Prefactor = 26.7806 norm = 17.9593 Prefactor = 6.64794 Prefactor = 0.0001 Prefactor = 1.78706 Prefactor = 1.51423 norm = 3.12004 norm = 1.23756 Prefactor = 0.000100004 norm = 1.37666 norm = 11.3742 norm = 3.5791 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Normalizat = 0.757071 Prefactor = 1.24133 ********** ** 18 **HESSE ********** FCN= 8340.030 FROM HESSE STATUS=OK 466 CALLS 2755 TOTAL EDM= .25E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 6.9817 .21368E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 20.595 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 1.9232 .24303E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .79757 3.9967 .35230E-03 -1.5529 5 Prefactor .10000E-03 10.084 .21274E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 1.3508 .10271E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .57451 .18658 .19225E-04 -1.5556 8 norm 1.0450 34.951 .25198E-02 -1.5504 9 Prefactor 12.405 17.759 .11412E-03 -1.5003 10 Prefactor 26.781 5.9189 .77392E-04 -1.4673 11 norm 17.959 53.719 .94377E-04 -1.4860 12 Prefactor 6.6479 1.7579 .52152E-04 -1.5192 13 Prefactor .10000E-03 3.3768 .12587E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.7871 2.2453 .14810E-03 -1.5441 15 Prefactor 1.5142 2.4632 .16904E-03 -1.5462 16 norm 3.1200 1.8315 .90884E-04 -1.5355 17 norm 1.2376 .69693 .55699E-04 -1.5485 18 Prefactor .10000E-03 11.410 .28518E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 1.3767 .77608 .58345E-04 -1.5473 20 norm 11.374 8.2351 .11880E-03 -1.5033 21 norm 3.5791 1.6667 .77518E-04 -1.5330 22 Prefactor .10000E-03 17.110 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 1.8337 .12029E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 29.092 .19883E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .75707 .22844 .33641E-03 -1.0168 26 Prefactor 1.2413 .18834 .22878E-03 -.85069 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.50128e-09 Minuit parameter uncertainties: 1 3.34718e-06 2 2.224e-05 3 1.35072e-05 4 3.57093 5 2.83114e-05 6 3.44774e-05 7 0.186578 8 12.0942 9 17.7664 10 5.91908 11 53.8646 12 1.75791 13 4.70417e-06 14 2.24538 15 2.46338 16 1.83157 17 0.69693 18 0.000430724 19 0.776088 20 8.23591 21 1.66675 22 1.76242e-05 23 5.5729e-06 24 2.69418e-05 25 0.228734 26 0.188441 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8340.03034227 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 6.648e+00 1.758e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.241e+00 1.884e-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: 7.571e-01 2.287e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 41.99 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 2.63e-07 +/- 6.94e-08 Energy Flux (Fixed Index): 8.37e-05 +/- 2.21e-05 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) = 8339.92682646 delta logL = 0.10351580821 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8339.90675208 delta logL = 0.123590193702 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.6552 1.0000 .10000E-03 10000. 2 'Index ' 2.5436 1.0000 .0000 10.000 3 'Normalizat' .73263 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2554 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8339.907 FROM MIGRAD STATUS=CONVERGED 88 CALLS 272 TOTAL EDM= .25E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.6551 2.5632 .46769E-04 .56735E-03 2 Index 2.5437 .26954 .25006E-02 .13507E-03 3 Normalizat .73259 .22692 .34116E-03 -.23260E-04 4 Prefactor 1.2554 .18898 .22762E-03 -.75258E-04 ERR DEF= .500 Final values: Prefactor = 5.65511 Index = 2.54371 Normalizat = 0.732586 Prefactor = 1.2554 ********** ** 18 **HESSE ********** FCN= 8339.907 FROM HESSE STATUS=OK 25 CALLS 297 TOTAL EDM= .17E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.6551 2.3851 .18708E-05 -1.5232 2 Index 2.5437 .25065 .10003E-03 -.51353 3 Normalizat .73259 .22659 .13646E-04 -1.0262 4 Prefactor 1.2554 .18888 .45525E-04 -.84643 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.66752e-11 Minuit parameter uncertainties: 1 2.38519 2 0.250789 3 0.226882 4 0.188985 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/831588': 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) = 8339.90675191 delta logL = 0.123590360276 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.655e+00 2.385e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.544e+00 2.508e-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.255e+00 1.890e-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: 7.326e-01 2.269e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 43.76 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.54 +/- 0.25 Photon Flux (Free Index): 2.83e-07 +/- 7.57e-08 Energy Flux (Free Index): 7.85e-05 +/- 2.02e-05 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/831588/cmap_HighResolution_299980801_300240001_4FGL_J1640.4+3945_daily_bin234.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/831588 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.63e-07', energy_flux2='7.85e-05', photon_flux_error='6.94e-08', dlogl='1.24e-01', energy_flux='8.37e-05', photon_flux2='2.83e-07', job_status='DONE', time_completed='2021-09-15 06:34:31.938114', photon_index_error2='0.25', photon_index2='2.54', ts='41.99', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='2.02e-05', EG='0.76', time_epoch_completed='1631712871.94', return_code='0', job_id='831588', GAL2='1.26', EG2='0.73', return_code2='0', energy_flux_error='2.21e-05', photon_flux_error2='7.57e-08', ts2='43.76', photon_index='2.42' WHERE bin_id='234' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:34:31 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 831588: <4FGL_J1640.4+3945_daily_bin234> in cluster Done Job <4FGL_J1640.4+3945_daily_bin234> was submitted from host by user in cluster at Wed Sep 15 06:20:22 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:21:00 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:21:00 2021 Terminated at Wed Sep 15 06:34:32 2021 Results reported at Wed Sep 15 06:34:32 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin234 250.119 39.7626 299980801 300240001 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 : 780.49 sec. Max Memory : 1095 MB Average Memory : 336.69 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 812 sec. Turnaround time : 850 sec. The output (if any) is above this job summary.