/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 = 7317 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin410 RA = 250.119, Dec = 39.7626 tmin = 345600001, tmax = 345859201 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='832932', job_status='RUN', time_executed='2021-09-15 06:27:51.642816', time_epoch_executed='1631712471.64' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='410' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/832932 Creating custom pfile directory: /scratch/kocevski/832932/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=345600001.0 && nMetStart<345859201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=345600001.0 && nMetStart<345859201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/832932/ft1_4FGL_J1640.4+3945_daily_bin410.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=345600001.0 && nMetStart<345859201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/832932/ft2_4FGL_J1640.4+3945_daily_bin410.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/832932/ft1_4FGL_J1640.4+3945_daily_bin410.fits outfile=/scratch/kocevski/832932/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin410.fits ra=250.119 dec=39.7626 rad=12.0 tmin=345600001.0 tmax=345859201.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.32 user 3.07 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/832932/ft2_4FGL_J1640.4+3945_daily_bin410.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/832932/ft2_4FGL_J1640.4+3945_daily_bin410.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/832932/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin410.fits evtable="EVENTS" outfile="/scratch/kocevski/832932/ft1_filtered_4FGL_J1640.4+3945_daily_bin410.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.49 user 0.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/832932/ft1_filtered_4FGL_J1640.4+3945_daily_bin410.fits" evtable="EVENTS" scfile=/scratch/kocevski/832932/ft2_4FGL_J1640.4+3945_daily_bin410.fits sctable="SC_DATA" outfile=/scratch/kocevski/832932/ltcube_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.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/832932/ft2_4FGL_J1640.4+3945_daily_bin410.fits .....................! real 11.89 user 11.49 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/832932/ft1_filtered_4FGL_J1640.4+3945_daily_bin410.fits evtable="EVENTS" scfile=/scratch/kocevski/832932/ft2_4FGL_J1640.4+3945_daily_bin410.fits sctable="SC_DATA" expcube=/scratch/kocevski/832932/ltcube_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.fits outfile=/scratch/kocevski/832932/expmap_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.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/832932/ltcube_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.fits .....................! real 190.27 user 185.56 sys 4.29 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/832932/ft1_filtered_4FGL_J1640.4+3945_daily_bin410.fits scfile=/scratch/kocevski/832932/ft2_4FGL_J1640.4+3945_daily_bin410.fits outfile=/scratch/kocevski/832932/cmap_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.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.54 user 0.38 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/832932/ft1_filtered_4FGL_J1640.4+3945_daily_bin410.fits scfile=/scratch/kocevski/832932/ft2_4FGL_J1640.4+3945_daily_bin410.fits outfile=/scratch/kocevski/832932/cmap_HighResolution_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.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.54 user 0.38 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/832932/ft1_filtered_4FGL_J1640.4+3945_daily_bin410.fits evtable="EVENTS" scfile=/scratch/kocevski/832932/ft2_4FGL_J1640.4+3945_daily_bin410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832932/Model_4FGL_J1640.4+3945_daily_bin410.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/832932/ft1_filtered_4FGL_J1640.4+3945_daily_bin410.fits....................! real 51.61 user 50.16 sys 1.28 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/832932/ft1_filtered_4FGL_J1640.4+3945_daily_bin410.fits', '/scratch/kocevski/832932/ft2_4FGL_J1640.4+3945_daily_bin410.fits', expMap='/scratch/kocevski/832932/expmap_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.fits', expCube='/scratch/kocevski/832932/ltcube_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/832932/Model_4FGL_J1640.4+3945_daily_bin410.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/832932/ft1_filtered_4FGL_J1640.4+3945_daily_bin410.fits Spacecraft file(s): /scratch/kocevski/832932/ft2_4FGL_J1640.4+3945_daily_bin410.fits Exposure map: /scratch/kocevski/832932/expmap_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.fits Exposure cube: /scratch/kocevski/832932/ltcube_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/832932/Model_4FGL_J1640.4+3945_daily_bin410.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) = 6621.58734065 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6621.58298399 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 16.550 1.0000 .10000E-03 10000. 3 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10718E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 16.197 1.0000 .10000E-03 10000. 6 'Prefactor ' 2.4391 1.0000 .10000E-03 10000. 7 'norm ' .26469 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10580E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 12.103 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .72117 1.0000 .10000E-03 10000. 13 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .56456E-03 1.0000 .10000E-03 10000. 16 'norm ' 4.4033 1.0000 .10000E-03 10000. 17 'norm ' .82210 1.0000 .10000E-03 10000. 18 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 19 'norm ' 1.3039 1.0000 .10000E-03 10000. 20 'norm ' 15.160 1.0000 .10000E-03 10000. 21 'norm ' 3.9169 1.0000 .10000E-03 10000. 22 'Prefactor ' 21.929 1.0000 .10000E-03 10000. 23 'norm ' .10032E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 46.505 1.0000 .10000E-03 10000. 25 'Normalizat' .85768 1.0000 .10000E-01 10.000 26 'Prefactor ' .99381 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= 6621.583 FROM MIGRAD STATUS=CONVERGED 627 CALLS 3124 TOTAL EDM= .26E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 11.967 .39171E-06** at limit ** 2 Prefactor 16.548 59.232 .88248E-06 .75494E-05 3 Prefactor .10000E-03 1.4211 -.40262E-08** at limit ** 4 Prefactor .10000E-03 7.0642 .10914E-06** at limit ** 5 Prefactor 16.200 20.388 -.56760E-06 .12601E-04 6 Prefactor 2.4397 2.8145 .18902E-07 .27299E-03 7 norm .26434 .14402 .14990E-07 -.19210E-02 8 norm .10000E-03 4.5220 .43906E-06** at limit ** 9 Prefactor .10000E-03 35.729 .19220E-06** at limit ** 10 Prefactor 12.104 5.0334 -.26675E-07 .38899E-04 11 norm .10000E-03 17.280 -.45457E-06** at limit ** 12 Prefactor .72178 .90192 -.50479E-06 -.81725E-03 13 Prefactor .10000E-03 .38284 .41208E-06** at limit ** 14 Prefactor .10000E-03 .90277 .10365E-07** at limit ** 15 Prefactor .10000E-03 5.8562 .33595E-05** at limit ** 16 norm 4.4036 1.7078 .81968E-08 -.51297E-03 17 norm .82207 .81226 .35300E-07 .97391E-03 18 Prefactor .10000E-03 2.8461 .22986E-07** at limit ** 19 norm 1.3040 .76789 .33772E-07 .32073E-03 20 norm 15.162 8.0000 .83164E-07 -.81553E-06 21 norm 3.9169 1.7717 .17189E-07 .18413E-03 22 Prefactor 21.931 25.924 -.40829E-06 -.13948E-04 23 norm .10000E-03 1.4773 .99257E-07** at limit ** 24 Prefactor 46.514 49.630 -.26301E-05 -.48198E-04 25 Normalizat .85760 .18918 .29632E-06 -.13671E-03 26 Prefactor .99382 .15058 .12475E-06 -.54470E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 16.5484 Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 16.1999 Prefactor = 2.43973 norm = 0.264345 norm = 0.0001 Prefactor = 0.0001 Prefactor = 12.1038 norm = 0.0001 Prefactor = 0.721785 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 4.40358 norm = 0.82207 Prefactor = 0.0001 norm = 1.30402 norm = 15.1616 norm = 3.91688 Prefactor = 21.9311 norm = 0.0001 Prefactor = 46.5139 Normalizat = 0.857599 Prefactor = 0.993824 ********** ** 18 **HESSE ********** FCN= 6621.583 FROM HESSE STATUS=OK 464 CALLS 3588 TOTAL EDM= .57E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 11.983 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 16.548 59.259 .98451E-04 -1.4894 3 Prefactor .10000E-03 1.4363 .94665E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 7.1232 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 16.200 20.198 .99518E-04 -1.4903 6 Prefactor 2.4397 2.7747 .13666E-03 -1.5396 7 norm .26434 .13822 .19834E-04 -1.5605 8 norm .10000E-03 4.5273 .16907E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 36.436 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 12.104 5.0242 .11099E-03 -1.5012 11 norm .10000E-03 17.301 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .72178 .93117 .84551E-03 -1.5538 13 Prefactor .10000E-03 .56995 .95636E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 .90744 .75465E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 5.7899 .19016E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 4.4036 1.6995 .63702E-04 -1.5288 17 norm .82207 .77998 .69551E-03 -1.5527 18 Prefactor .10000E-03 2.8653 .13395E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 1.3040 .75687 .52326E-04 -1.5480 20 norm 15.162 7.9993 .10287E-03 -1.4929 21 norm 3.9169 1.7688 .69981E-04 -1.5312 22 Prefactor 21.931 25.929 .85534E-04 -1.4771 23 norm .10000E-03 1.4893 .96741E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 46.514 49.952 .58796E-04 -1.4343 25 Normalizat .85760 .22021 .27742E-03 -.97966 26 Prefactor .99382 .17741 .21878E-03 -.92936 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.72821e-10 Minuit parameter uncertainties: 1 2.3275e-06 2 59.4714 3 4.66087e-06 4 0.000167944 5 20.2068 6 2.77486 7 0.138221 8 7.92409e-06 9 0.000129327 10 5.02436 11 1.61784e-05 12 0.931187 13 9.43383e-06 14 9.24334e-07 15 5.98351e-05 16 1.69951 17 0.779994 18 8.17234e-06 19 0.756877 20 7.99985 21 1.76878 22 25.9423 23 2.05376e-05 24 49.9972 25 0.220442 26 0.177514 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6621.58294013 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 7.218e-01 9.312e-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: 9.938e-01 1.775e-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: 8.576e-01 2.204e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.91 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1 Energy Flux Upper Limit: 8.20e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/832932/likelihoodResults_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.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) = 6621.53151485 delta logL = 0.0514252791208 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6621.49333075 delta logL = 0.0896093833708 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .46316 1.0000 .10000E-03 10000. 2 'Index ' 2.8213 1.0000 .0000 10.000 3 'Normalizat' .84235 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0018 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= 6621.493 FROM MIGRAD STATUS=CONVERGED 60 CALLS 228 TOTAL EDM= .29E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .46300 7.8607 .11119E-01 .15593E-02 2 Index 2.8218 2.8780 .13620 .13089E-03 3 Normalizat .84261 .36457E-01 .63247E-01 .20712E-04 4 Prefactor 1.0016 .30464E-01 .45058E-01 .69343E-05 ERR DEF= .500 Final values: Prefactor = 0.462999 Index = 2.82183 Normalizat = 0.842614 Prefactor = 1.00161 ********** ** 18 **HESSE ********** FCN= 6621.493 FROM HESSE STATUS=OK 35 CALLS 263 TOTAL EDM= .18E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .46300 2.4550 .57944E-03 -1.5572 2 Index 2.8218 2.3466 .71652E-02 -.45074 3 Normalizat .84261 .21515 .27975E-03 -.98507 4 Prefactor 1.0016 .17797 .21799E-03 -.92676 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.82893e-11 Minuit parameter uncertainties: 1 2.13221 2 2.4685 3 0.215369 4 0.178075 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/832932': 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) = 6621.49332912 delta logL = 0.0896110072636 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 4.630e-01 2.132e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.822e+00 2.469e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.002e+00 1.781e-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: 8.426e-01 2.154e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.12 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.82 +/- 2.47 Photon Flux (Free Index): 4.07e-08 +/- 5.04e-08 Energy Flux (Free Index): 8.98e-06 +/- 1.30e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /scratch/kocevski/832932/cmap_HighResolution_345600001_345859201_4FGL_J1640.4+3945_daily_bin410.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/832932 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.20e-03', comment='SUCCESS', energy_flux2='8.98e-06', dlogl='8.96e-02', photon_flux2='4.07e-08', job_status='DONE', time_completed='2021-09-15 06:41:59.379370', photon_index_error2='2.47', photon_index2='2.82', ts='0.91', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.30e-05', EG='0.86', time_epoch_completed='1631713319.38', return_code='0', job_id='832932', GAL2='1.00', EG2='0.84', return_code2='0', photon_flux_error2='5.04e-08', ts2='1.12', photon_index='2.42' WHERE bin_id='410' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:41:59 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 832932: <4FGL_J1640.4+3945_daily_bin410> in cluster Done Job <4FGL_J1640.4+3945_daily_bin410> was submitted from host by user in cluster at Wed Sep 15 06:25:21 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:26:37 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:26:37 2021 Terminated at Wed Sep 15 06:42:00 2021 Results reported at Wed Sep 15 06:42:00 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin410 250.119 39.7626 345600001 345859201 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 : 844.33 sec. Max Memory : 1257 MB Average Memory : 344.87 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 922 sec. Turnaround time : 999 sec. The output (if any) is above this job summary.