/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 93 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 = 7472 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin361 RA = 250.119, Dec = 39.7626 tmin = 332899201, tmax = 333158401 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='831771', job_status='RUN', time_executed='2021-09-15 06:25:39.717462', time_epoch_executed='1631712339.72' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='361' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/831771 Creating custom pfile directory: /scratch/kocevski/831771/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=332899201.0 && nMetStart<333158401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=332899201.0 && nMetStart<333158401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/831771/ft1_4FGL_J1640.4+3945_daily_bin361.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=332899201.0 && nMetStart<333158401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/831771/ft2_4FGL_J1640.4+3945_daily_bin361.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/831771/ft1_4FGL_J1640.4+3945_daily_bin361.fits outfile=/scratch/kocevski/831771/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin361.fits ra=250.119 dec=39.7626 rad=12.0 tmin=332899201.0 tmax=333158401.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.46 user 3.23 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831771/ft2_4FGL_J1640.4+3945_daily_bin361.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/831771/ft2_4FGL_J1640.4+3945_daily_bin361.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/831771/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin361.fits evtable="EVENTS" outfile="/scratch/kocevski/831771/ft1_filtered_4FGL_J1640.4+3945_daily_bin361.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.46 user 0.29 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/831771/ft1_filtered_4FGL_J1640.4+3945_daily_bin361.fits" evtable="EVENTS" scfile=/scratch/kocevski/831771/ft2_4FGL_J1640.4+3945_daily_bin361.fits sctable="SC_DATA" outfile=/scratch/kocevski/831771/ltcube_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.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/831771/ft2_4FGL_J1640.4+3945_daily_bin361.fits .....................! real 11.47 user 11.13 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/831771/ft1_filtered_4FGL_J1640.4+3945_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/831771/ft2_4FGL_J1640.4+3945_daily_bin361.fits sctable="SC_DATA" expcube=/scratch/kocevski/831771/ltcube_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.fits outfile=/scratch/kocevski/831771/expmap_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.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/831771/ltcube_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.fits .....................! real 157.79 user 152.72 sys 4.55 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/831771/ft1_filtered_4FGL_J1640.4+3945_daily_bin361.fits scfile=/scratch/kocevski/831771/ft2_4FGL_J1640.4+3945_daily_bin361.fits outfile=/scratch/kocevski/831771/cmap_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.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.48 user 0.33 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/831771/ft1_filtered_4FGL_J1640.4+3945_daily_bin361.fits scfile=/scratch/kocevski/831771/ft2_4FGL_J1640.4+3945_daily_bin361.fits outfile=/scratch/kocevski/831771/cmap_HighResolution_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.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.49 user 0.33 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/831771/ft1_filtered_4FGL_J1640.4+3945_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/831771/ft2_4FGL_J1640.4+3945_daily_bin361.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831771/Model_4FGL_J1640.4+3945_daily_bin361.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/831771/ft1_filtered_4FGL_J1640.4+3945_daily_bin361.fits.....................! real 49.17 user 48.03 sys 0.98 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/831771/ft1_filtered_4FGL_J1640.4+3945_daily_bin361.fits', '/scratch/kocevski/831771/ft2_4FGL_J1640.4+3945_daily_bin361.fits', expMap='/scratch/kocevski/831771/expmap_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.fits', expCube='/scratch/kocevski/831771/ltcube_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/831771/Model_4FGL_J1640.4+3945_daily_bin361.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/831771/ft1_filtered_4FGL_J1640.4+3945_daily_bin361.fits Spacecraft file(s): /scratch/kocevski/831771/ft2_4FGL_J1640.4+3945_daily_bin361.fits Exposure map: /scratch/kocevski/831771/expmap_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.fits Exposure cube: /scratch/kocevski/831771/ltcube_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/831771/Model_4FGL_J1640.4+3945_daily_bin361.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) = 7735.83787189 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7735.76828518 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.3995 1.0000 .10000E-03 10000. 2 'Prefactor ' .11713E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .29267 1.0000 .10000E-03 10000. 4 'Prefactor ' .10044E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 6.4122 1.0000 .10000E-03 10000. 7 'norm ' 2.0542 1.0000 .10000E-03 10000. 8 'norm ' .10248E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 5.5461 1.0000 .10000E-03 10000. 10 'Prefactor ' 3.5276 1.0000 .10000E-03 10000. 11 'norm ' .61151E-01 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.3154 1.0000 .10000E-03 10000. 13 'Prefactor ' .10172E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.3114 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' 4.2699 1.0000 .10000E-03 10000. 17 'norm ' .94518 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.4141 1.0000 .10000E-03 10000. 19 'norm ' .10017E-03 1.0000 .10000E-03 10000. 20 'norm ' 6.0021 1.0000 .10000E-03 10000. 21 'norm ' .87811 1.0000 .10000E-03 10000. 22 'Prefactor ' .14086E-03 1.0000 .10000E-03 10000. 23 'norm ' 3.5664 1.0000 .10000E-03 10000. 24 'Prefactor ' .10567E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .87216 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0513 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= 7735.768 FROM MIGRAD STATUS=CONVERGED 680 CALLS 2772 TOTAL EDM= .55E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3850 20.895 -.38707E-05 -.14795E-03 2 Prefactor .10000E-03 18.128 -.19888E-07** at limit ** 3 Prefactor .30355 1.7866 .63032E-06 -.34968E-03 4 Prefactor .10000E-03 2.4132 -.15866E-06** at limit ** 5 Prefactor .10000E-03 5.8595 .16912E-07** at limit ** 6 Prefactor 6.4162 3.8557 .99863E-07 -.71426E-04 7 norm 2.0541 .31031 -.20380E-07 .45536E-02 8 norm .10000E-03 6.3153 -.13847E-06** at limit ** 9 Prefactor 5.5593 31.833 .95467E-05 .15110E-03 10 Prefactor 3.5301 4.2746 .76346E-07 -.92867E-04 11 norm .10858E-03 19.960 -.19749E-05** at limit ** 12 Prefactor 3.3159 1.5678 -.14478E-06 -.90281E-03 13 Prefactor .10000E-03 .56892 -.47999E-07** at limit ** 14 Prefactor 1.3114 2.0440 .58237E-07 -.62850E-04 15 Prefactor .10000E-03 1.6248 .32570E-07** at limit ** 16 norm 4.2699 2.0146 .25717E-08 -.18118E-03 17 norm .94471 .83752 -.87117E-07 .28034E-03 18 Prefactor 2.4192 6.1623 .64829E-05 -.31074E-03 19 norm .10000E-03 .25004 .23052E-07** at limit ** 20 norm 6.0177 10.406 -.51525E-06 -.17412E-03 21 norm .87806 1.2398 -.92465E-07 -.26603E-03 22 Prefactor .10000E-03 37.041 -.23067E-06** at limit ** 23 norm 3.5639 4.4507 .21681E-06 .77880E-05 24 Prefactor .10000E-03 60.550 .11610E-05** at limit ** 25 Normalizat .87208 .20062 -.21517E-05 -.17254E-03 26 Prefactor 1.0513 .15532 -.29763E-07 -.32659E-03 ERR DEF= .500 Final values: Prefactor = 6.385 Prefactor = 0.0001 Prefactor = 0.303549 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 6.41617 norm = 2.05409 norm = 0.0001 Prefactor = 5.55926 Prefactor = 3.53015 norm = 0.000108583 Prefactor = 3.31589 Prefactor = 0.0001 Prefactor = 1.31136 Prefactor = 0.0001 norm = 4.26986 norm = 0.944713 Prefactor = 2.41919 norm = 0.0001 norm = 6.01767 norm = 0.87806 Prefactor = 0.0001 norm = 3.5639 Prefactor = 0.0001 Normalizat = 0.872075 Prefactor = 1.05133 ********** ** 18 **HESSE ********** FCN= 7735.768 FROM HESSE STATUS=OK 478 CALLS 3250 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.3850 20.937 .15866E-03 -1.5203 2 Prefactor .10000E-03 18.130 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .30355 8.4020 .21746E-02 -1.5598 4 Prefactor .10000E-03 6.2635 .26500E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 5.8640 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 6.4162 3.8579 .12621E-03 -1.5201 7 norm 2.0541 .31206 .15565E-04 -1.5421 8 norm .10000E-03 6.3214 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 5.5593 32.237 .17060E-03 -1.5236 10 Prefactor 3.5301 4.2647 .18602E-03 -1.5332 11 norm .10858E-03 20.173 .14140 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 3.3159 1.4791 .63988E-04 -1.5344 13 Prefactor .10000E-03 .79828 .11670E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.3114 1.9991 .14998E-03 -1.5479 15 Prefactor .10000E-03 1.6712 .21869E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 4.2699 2.0047 .82064E-04 -1.5295 17 norm .94471 .79995 .70812E-03 -1.5514 18 Prefactor 2.4192 6.2119 .13173E-02 -1.5397 19 norm .10000E-03 .31384 .85267E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 6.0177 10.364 .16389E-03 -1.5217 21 norm .87806 1.2376 .25456E-03 -1.5521 22 Prefactor .10000E-03 37.091 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 3.5639 4.4299 .19564E-03 -1.5330 24 Prefactor .10000E-03 60.686 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .87208 .23556 .31091E-03 -.97448 26 Prefactor 1.0513 .18427 .23724E-03 -.91038 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.18661e-09 Minuit parameter uncertainties: 1 20.9608 2 9.17532e-07 3 3.19397 4 4.00401e-05 5 4.3312e-06 6 3.85806 7 0.312056 8 5.70346e-06 9 26.7959 10 4.26511 11 0.0263262 12 1.47912 13 3.89094e-06 14 1.99917 15 2.53019e-06 16 2.00477 17 0.799955 18 6.2136 19 2.93007e-06 20 10.3667 21 1.23762 22 7.66457e-06 23 4.43029 24 0.000256446 25 0.23584 26 0.184382 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7735.76824303 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.316e+00 1.479e+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.051e+00 1.844e-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.721e-01 2.358e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 15.32 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.31e-07 +/- 5.84e-08 Energy Flux (Fixed Index): 4.17e-05 +/- 1.86e-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) = 7735.27906813 delta logL = 0.489174897678 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7735.2779777 delta logL = 0.490265323682 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.4982 1.0000 .10000E-03 10000. 2 'Index ' 2.0635 1.0000 .0000 10.000 3 'Normalizat' .90038 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0370 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= 7735.278 FROM MIGRAD STATUS=CONVERGED 54 CALLS 273 TOTAL EDM= .34E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.4988 34.438 .47459E-02 .10359E-03 2 Index 2.0637 2.8732 .15834 .89811E-04 3 Normalizat .90066 .10725 .69382E-01 .22838E-04 4 Prefactor 1.0369 .64213E-01 .40736E-01 .77777E-05 ERR DEF= .500 Final values: Prefactor = 4.49877 Index = 2.06369 Normalizat = 0.900658 Prefactor = 1.0369 ********** ** 18 **HESSE ********** FCN= 7735.278 FROM HESSE STATUS=OK 33 CALLS 306 TOTAL EDM= .17E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.4988 2.1777 .81180E-04 -1.5284 2 Index 2.0637 .36427 .54193E-02 -.62767 3 Normalizat .90066 .21905 .30697E-03 -.96437 4 Prefactor 1.0369 .18114 .23884E-03 -.91509 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.65379e-12 Minuit parameter uncertainties: 1 2.17769 2 0.36476 3 0.219268 4 0.181246 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/831771': 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) = 7735.27797599 delta logL = 0.490267039881 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 4.499e+00 2.178e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.064e+00 3.648e-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.037e+00 1.812e-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: 9.007e-01 2.193e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 16.85 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.06 +/- 0.36 Photon Flux (Free Index): 9.31e-08 +/- 5.81e-08 Energy Flux (Free Index): 5.54e-05 +/- 3.31e-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/831771/cmap_HighResolution_332899201_333158401_4FGL_J1640.4+3945_daily_bin361.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/831771 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.31e-07', energy_flux2='5.54e-05', photon_flux_error='5.84e-08', dlogl='4.90e-01', energy_flux='4.17e-05', photon_flux2='9.31e-08', job_status='DONE', time_completed='2021-09-15 06:36:34.323750', photon_index_error2='0.36', photon_index2='2.06', ts='15.32', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='3.31e-05', EG='0.87', time_epoch_completed='1631712994.32', return_code='0', job_id='831771', GAL2='1.04', EG2='0.90', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='5.81e-08', ts2='16.85', photon_index='2.42' WHERE bin_id='361' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:36:34 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 831771: <4FGL_J1640.4+3945_daily_bin361> in cluster Done Job <4FGL_J1640.4+3945_daily_bin361> was submitted from host by user in cluster at Wed Sep 15 06:20:36 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:23:59 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:23:59 2021 Terminated at Wed Sep 15 06:36:34 2021 Results reported at Wed Sep 15 06:36:34 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin361 250.119 39.7626 332899201 333158401 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 : 651.00 sec. Max Memory : 1095 MB Average Memory : 299.79 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 755 sec. Turnaround time : 958 sec. The output (if any) is above this job summary.