/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 69 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 = 7396 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin870 RA = 250.119, Dec = 39.7626 tmin = 464832001, tmax = 465091201 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='835618', job_status='RUN', time_executed='2021-09-15 06:40:12.059212', time_epoch_executed='1631713212.06' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='870' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835618 Creating custom pfile directory: /scratch/kocevski/835618/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=464832001.0 && nMetStart<465091201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=464832001.0 && nMetStart<465091201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835618/ft1_4FGL_J1640.4+3945_daily_bin870.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=464832001.0 && nMetStart<465091201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835618/ft2_4FGL_J1640.4+3945_daily_bin870.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835618/ft1_4FGL_J1640.4+3945_daily_bin870.fits outfile=/scratch/kocevski/835618/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin870.fits ra=250.119 dec=39.7626 rad=12.0 tmin=464832001.0 tmax=465091201.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.18 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835618/ft2_4FGL_J1640.4+3945_daily_bin870.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835618/ft2_4FGL_J1640.4+3945_daily_bin870.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/835618/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin870.fits evtable="EVENTS" outfile="/scratch/kocevski/835618/ft1_filtered_4FGL_J1640.4+3945_daily_bin870.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.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835618/ft1_filtered_4FGL_J1640.4+3945_daily_bin870.fits" evtable="EVENTS" scfile=/scratch/kocevski/835618/ft2_4FGL_J1640.4+3945_daily_bin870.fits sctable="SC_DATA" outfile=/scratch/kocevski/835618/ltcube_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.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/835618/ft2_4FGL_J1640.4+3945_daily_bin870.fits .....................! real 14.54 user 14.17 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835618/ft1_filtered_4FGL_J1640.4+3945_daily_bin870.fits evtable="EVENTS" scfile=/scratch/kocevski/835618/ft2_4FGL_J1640.4+3945_daily_bin870.fits sctable="SC_DATA" expcube=/scratch/kocevski/835618/ltcube_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.fits outfile=/scratch/kocevski/835618/expmap_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.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/835618/ltcube_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.fits .....................! real 192.16 user 186.59 sys 5.06 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/835618/ft1_filtered_4FGL_J1640.4+3945_daily_bin870.fits scfile=/scratch/kocevski/835618/ft2_4FGL_J1640.4+3945_daily_bin870.fits outfile=/scratch/kocevski/835618/cmap_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.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.56 user 0.39 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835618/ft1_filtered_4FGL_J1640.4+3945_daily_bin870.fits scfile=/scratch/kocevski/835618/ft2_4FGL_J1640.4+3945_daily_bin870.fits outfile=/scratch/kocevski/835618/cmap_HighResolution_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.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.57 user 0.39 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835618/ft1_filtered_4FGL_J1640.4+3945_daily_bin870.fits evtable="EVENTS" scfile=/scratch/kocevski/835618/ft2_4FGL_J1640.4+3945_daily_bin870.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835618/Model_4FGL_J1640.4+3945_daily_bin870.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/835618/ft1_filtered_4FGL_J1640.4+3945_daily_bin870.fits.....................! real 52.44 user 50.98 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835618/ft1_filtered_4FGL_J1640.4+3945_daily_bin870.fits', '/scratch/kocevski/835618/ft2_4FGL_J1640.4+3945_daily_bin870.fits', expMap='/scratch/kocevski/835618/expmap_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.fits', expCube='/scratch/kocevski/835618/ltcube_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835618/Model_4FGL_J1640.4+3945_daily_bin870.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/835618/ft1_filtered_4FGL_J1640.4+3945_daily_bin870.fits Spacecraft file(s): /scratch/kocevski/835618/ft2_4FGL_J1640.4+3945_daily_bin870.fits Exposure map: /scratch/kocevski/835618/expmap_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.fits Exposure cube: /scratch/kocevski/835618/ltcube_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835618/Model_4FGL_J1640.4+3945_daily_bin870.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) = 6438.64583865 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6438.58152641 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.5700 1.0000 .10000E-03 10000. 4 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .79928 1.0000 .10000E-03 10000. 7 'norm ' .10887 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 6.8147 1.0000 .10000E-03 10000. 10 'Prefactor ' .10044E-03 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.9306 1.0000 .10000E-03 10000. 13 'Prefactor ' .10037E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 4.1132 1.0000 .10000E-03 10000. 15 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 16 'norm ' 7.3838 1.0000 .10000E-03 10000. 17 'norm ' .10004E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.5891 1.0000 .10000E-03 10000. 19 'norm ' .10001E-03 1.0000 .10000E-03 10000. 20 'norm ' 1.2956 1.0000 .10000E-03 10000. 21 'norm ' 6.7754 1.0000 .10000E-03 10000. 22 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 23 'norm ' 6.1054 1.0000 .10000E-03 10000. 24 'Prefactor ' 11.011 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0166 1.0000 .10000E-01 10.000 26 'Prefactor ' .85165 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= 6438.582 FROM MIGRAD STATUS=CONVERGED 613 CALLS 2652 TOTAL EDM= .21E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 15.168 .46709E-05** at limit ** 2 Prefactor .10000E-03 39.723 .52989E-07** at limit ** 3 Prefactor 2.5692 1.7992 .17116E-06 -.20982E-02 4 Prefactor .10000E-03 4.2085 .22199E-06** at limit ** 5 Prefactor .10000E-03 11.080 -.22271E-05** at limit ** 6 Prefactor .79944 2.3735 .74135E-07 -.21521E-03 7 norm .10858 .12881 .59086E-09 .25017E-03 8 norm .10000E-03 5.4570 .23486E-06** at limit ** 9 Prefactor 6.8157 14.176 .14202E-06 -.27206E-03 10 Prefactor .10000E-03 3.5145 .17462E-06** at limit ** 11 norm .10000E-03 10.580 .29795E-05** at limit ** 12 Prefactor 1.9309 1.1262 .42867E-08 .92557E-03 13 Prefactor .10000E-03 .70973 -.20121E-06** at limit ** 14 Prefactor 4.1125 2.8502 .34223E-07 -.42872E-04 15 Prefactor .10000E-03 1.0601 -.40426E-07** at limit ** 16 norm 7.3840 2.1524 .58551E-08 .19311E-03 17 norm .10000E-03 .24421 .35017E-07** at limit ** 18 Prefactor 2.5892 4.1245 .65158E-07 -.75920E-04 19 norm .10000E-03 .18585 .35981E-07** at limit ** 20 norm 1.2950 4.6125 .88676E-07 -.20768E-03 21 norm 6.7753 2.1107 .54167E-09 -.25465E-04 22 Prefactor .10000E-03 14.113 -.37034E-05** at limit ** 23 norm 6.1055 5.2881 -.15136E-06 -.38122E-04 24 Prefactor 11.012 57.213 .30680E-05 .69952E-05 25 Normalizat 1.0170 .18205 .32051E-06 .22654E-04 26 Prefactor .85142 .14872 -.33197E-06 .50805E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 2.56924 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.799439 norm = 0.108576 norm = 0.0001 Prefactor = 6.81571 Prefactor = 0.0001 norm = 0.0001 Prefactor = 1.93092 Prefactor = 0.0001 Prefactor = 4.11247 Prefactor = 0.0001 norm = 7.38398 norm = 0.0001 Prefactor = 2.58916 norm = 0.0001 norm = 1.295 norm = 6.77529 Prefactor = 0.0001 norm = 6.10554 Prefactor = 11.0123 Normalizat = 1.01696 Prefactor = 0.851422 ********** ** 18 **HESSE ********** FCN= 6438.582 FROM HESSE STATUS=OK 462 CALLS 3114 TOTAL EDM= .20E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 15.245 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 39.741 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.5692 3.0343 .72546E-03 -1.5387 4 Prefactor .10000E-03 4.2484 .16069E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 11.121 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .79944 2.3425 .20344E-03 -1.5529 7 norm .10858 .11778 .26628E-03 -1.5642 8 norm .10000E-03 5.4641 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 6.8157 14.618 .76849E-03 -1.5186 10 Prefactor .10000E-03 3.6167 .29330E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 10.607 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.9309 .99578 .52687E-04 -1.5430 13 Prefactor .10000E-03 1.0022 .11452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 4.1125 2.8482 .10880E-03 -1.5302 15 Prefactor .10000E-03 1.0807 .80616E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 7.3840 2.1490 .61298E-04 -1.5164 17 norm .10000E-03 .25421 .77303E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 2.5892 4.1091 .19775E-03 -1.5386 19 norm .10000E-03 .19225 .67456E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 1.2950 4.6712 .31854E-03 -1.5480 21 norm 6.7753 2.1098 .62243E-04 -1.5187 22 Prefactor .10000E-03 14.159 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 6.1055 5.2694 .15360E-03 -1.5214 24 Prefactor 11.012 56.901 .12074E-03 -1.5044 25 Normalizat 1.0170 .21807 .24972E-03 -.92464 26 Prefactor .85142 .17655 .22591E-03 -.97860 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.00599e-09 Minuit parameter uncertainties: 1 7.31188e-05 2 2.12409e-07 3 3.03449 4 1.22057e-06 5 3.47739e-05 6 2.34275 7 0.117783 8 2.38442e-06 9 14.626 10 1.55141e-06 11 4.39146e-05 12 0.995791 13 1.24584e-05 14 2.84829 15 2.93039e-07 16 2.14902 17 1.35221e-07 18 4.10959 19 6.95224e-08 20 4.67256 21 2.10985 22 6.25659e-05 23 5.2698 24 50.1396 25 0.21826 26 0.176664 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6438.58152174 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.931e+00 9.958e-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: 8.514e-01 1.767e-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.017e+00 2.183e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 8.40 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 7.63e-08 +/- 3.93e-08 Energy Flux (Fixed Index): 2.43e-05 +/- 1.25e-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) = 6438.47598963 delta logL = 0.105532112641 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6438.46058887 delta logL = 0.120932871219 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.3495 1.0000 .10000E-03 10000. 2 'Index ' 2.6760 1.0000 .0000 10.000 3 'Normalizat' 1.0002 1.0000 .10000E-01 10.000 4 'Prefactor ' .86140 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= 6438.461 FROM MIGRAD STATUS=CONVERGED 51 CALLS 230 TOTAL EDM= .45E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.3492 9.1566 .94174E-02 .32849E-03 2 Index 2.6762 2.3684 .10152 .15406E-03 3 Normalizat 1.0002 .63106E-01 .46170E-01 -.82822E-06 4 Prefactor .86146 .48802E-01 .44511E-01 -.36159E-05 ERR DEF= .500 Final values: Prefactor = 1.34921 Index = 2.67621 Normalizat = 1.00021 Prefactor = 0.861464 ********** ** 18 **HESSE ********** FCN= 6438.461 FROM HESSE STATUS=OK 33 CALLS 263 TOTAL EDM= .80E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.3492 1.5467 .42690E-04 -1.5476 2 Index 2.6762 .63530 .39722E-02 -.48336 3 Normalizat 1.0002 .21249 .25147E-03 -.93023 4 Prefactor .86146 .17567 .22474E-03 -.97501 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.0208e-09 Minuit parameter uncertainties: 1 1.54676 2 0.637506 3 0.212666 4 0.175785 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835618': 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) = 6438.46058853 delta logL = 0.12093321193 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.349e+00 1.547e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.676e+00 6.375e-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: 8.615e-01 1.758e-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.000e+00 2.127e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 8.74 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.68 +/- 0.64 Photon Flux (Free Index): 8.80e-08 +/- 4.69e-08 Energy Flux (Free Index): 2.16e-05 +/- 1.19e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/835618/cmap_HighResolution_464832001_465091201_4FGL_J1640.4+3945_daily_bin870.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835618 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.63e-08', energy_flux2='2.16e-05', photon_flux_error='3.93e-08', dlogl='1.21e-01', energy_flux='2.43e-05', photon_flux2='8.80e-08', job_status='DONE', time_completed='2021-09-15 06:51:51.979280', photon_index_error2='0.64', photon_index2='2.68', ts='8.40', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.19e-05', EG='1.02', time_epoch_completed='1631713911.98', return_code='0', job_id='835618', GAL2='0.86', EG2='1.00', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='4.69e-08', ts2='8.74', photon_index='2.42' WHERE bin_id='870' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:51:52 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835618: <4FGL_J1640.4+3945_daily_bin870> in cluster Done Job <4FGL_J1640.4+3945_daily_bin870> was submitted from host by user in cluster at Wed Sep 15 06:35:40 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:38:53 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:38:53 2021 Terminated at Wed Sep 15 06:51:52 2021 Results reported at Wed Sep 15 06:51:52 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin870 250.119 39.7626 464832001 465091201 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 : 698.23 sec. Max Memory : 1256 MB Average Memory : 301.85 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 780 sec. Turnaround time : 972 sec. The output (if any) is above this job summary.