/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 152 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 = 7428 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin157 RA = 250.119, Dec = 39.7626 tmin = 280022401, tmax = 280281601 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='830269', job_status='RUN', time_executed='2021-09-15 06:18:37.898575', time_epoch_executed='1631711917.9' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='157' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/830269 Creating custom pfile directory: /scratch/kocevski/830269/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=280022401.0 && nMetStart<280281601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=280022401.0 && nMetStart<280281601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/830269/ft1_4FGL_J1640.4+3945_daily_bin157.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=280022401.0 && nMetStart<280281601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/830269/ft2_4FGL_J1640.4+3945_daily_bin157.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/830269/ft1_4FGL_J1640.4+3945_daily_bin157.fits outfile=/scratch/kocevski/830269/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin157.fits ra=250.119 dec=39.7626 rad=12.0 tmin=280022401.0 tmax=280281601.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.58 user 3.34 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/830269/ft2_4FGL_J1640.4+3945_daily_bin157.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/830269/ft2_4FGL_J1640.4+3945_daily_bin157.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/830269/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin157.fits evtable="EVENTS" outfile="/scratch/kocevski/830269/ft1_filtered_4FGL_J1640.4+3945_daily_bin157.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.35 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/830269/ft1_filtered_4FGL_J1640.4+3945_daily_bin157.fits" evtable="EVENTS" scfile=/scratch/kocevski/830269/ft2_4FGL_J1640.4+3945_daily_bin157.fits sctable="SC_DATA" outfile=/scratch/kocevski/830269/ltcube_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.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/830269/ft2_4FGL_J1640.4+3945_daily_bin157.fits .....................! real 15.11 user 14.69 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/830269/ft1_filtered_4FGL_J1640.4+3945_daily_bin157.fits evtable="EVENTS" scfile=/scratch/kocevski/830269/ft2_4FGL_J1640.4+3945_daily_bin157.fits sctable="SC_DATA" expcube=/scratch/kocevski/830269/ltcube_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.fits outfile=/scratch/kocevski/830269/expmap_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.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/830269/ltcube_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.fits .....................! real 192.49 user 186.83 sys 5.08 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/830269/ft1_filtered_4FGL_J1640.4+3945_daily_bin157.fits scfile=/scratch/kocevski/830269/ft2_4FGL_J1640.4+3945_daily_bin157.fits outfile=/scratch/kocevski/830269/cmap_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.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.38 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/830269/ft1_filtered_4FGL_J1640.4+3945_daily_bin157.fits scfile=/scratch/kocevski/830269/ft2_4FGL_J1640.4+3945_daily_bin157.fits outfile=/scratch/kocevski/830269/cmap_HighResolution_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.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.39 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/830269/ft1_filtered_4FGL_J1640.4+3945_daily_bin157.fits evtable="EVENTS" scfile=/scratch/kocevski/830269/ft2_4FGL_J1640.4+3945_daily_bin157.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830269/Model_4FGL_J1640.4+3945_daily_bin157.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/830269/ft1_filtered_4FGL_J1640.4+3945_daily_bin157.fits.....................! real 59.31 user 57.87 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/830269/ft1_filtered_4FGL_J1640.4+3945_daily_bin157.fits', '/scratch/kocevski/830269/ft2_4FGL_J1640.4+3945_daily_bin157.fits', expMap='/scratch/kocevski/830269/expmap_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.fits', expCube='/scratch/kocevski/830269/ltcube_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/830269/Model_4FGL_J1640.4+3945_daily_bin157.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/830269/ft1_filtered_4FGL_J1640.4+3945_daily_bin157.fits Spacecraft file(s): /scratch/kocevski/830269/ft2_4FGL_J1640.4+3945_daily_bin157.fits Exposure map: /scratch/kocevski/830269/expmap_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.fits Exposure cube: /scratch/kocevski/830269/ltcube_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/830269/Model_4FGL_J1640.4+3945_daily_bin157.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) = 7455.55629723 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7455.52478929 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 ' .10009E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10080E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 3.5314 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.0562 1.0000 .10000E-03 10000. 7 'norm ' 1.2910 1.0000 .10000E-03 10000. 8 'norm ' .10001E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .69092 1.0000 .10000E-03 10000. 10 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 11 'norm ' .10007E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.4702 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.4738 1.0000 .10000E-03 10000. 14 'Prefactor ' 3.4652 1.0000 .10000E-03 10000. 15 'Prefactor ' .10080E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.1025 1.0000 .10000E-03 10000. 17 'norm ' .10005E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.9917 1.0000 .10000E-03 10000. 19 'norm ' 1.2910 1.0000 .10000E-03 10000. 20 'norm ' 1.2239 1.0000 .10000E-03 10000. 21 'norm ' .10000E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'norm ' .10001E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 14.427 1.0000 .10000E-03 10000. 25 'Normalizat' 1.3289 1.0000 .10000E-01 10.000 26 'Prefactor ' .62364 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= 7455.525 FROM MIGRAD STATUS=CONVERGED 657 CALLS 2752 TOTAL EDM= .75E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 14.056 .58357E-08** at limit ** 2 Prefactor .10000E-03 250.43 -.52087E-05** at limit ** 3 Prefactor .10000E-03 1.1710 -.42598E-08** at limit ** 4 Prefactor .10000E-03 5.0837 .62411E-06** at limit ** 5 Prefactor 3.5361 33.413 -.17418E-04 -.74311E-04 6 Prefactor 1.0574 3.0366 .16375E-06 -.13016E-03 7 norm 1.2904 .24322 -.73322E-08 .31448E-02 8 norm .10000E-03 4.2776 .16001E-07** at limit ** 9 Prefactor .83878 16.036 -.76880E-06 .43165E-04 10 Prefactor .10000E-03 1.1679 .20998E-07** at limit ** 11 norm .10000E-03 33.580 .32273E-06** at limit ** 12 Prefactor 2.4701 1.6162 -.23594E-07 .27523E-03 13 Prefactor 1.4736 1.5378 -.25341E-07 .11816E-03 14 Prefactor 3.4657 2.6708 -.26896E-07 .20783E-04 15 Prefactor .10000E-03 1.1766 -.65529E-07** at limit ** 16 norm 2.1026 1.5825 -.17218E-07 .33651E-05 17 norm .10000E-03 .22633 -.31216E-07** at limit ** 18 Prefactor 3.9925 3.0529 .60842E-06 -.19664E-02 19 norm 1.2910 .72630 -.86107E-07 -.26453E-04 20 norm 1.2246 4.8832 -.40034E-08 -.24268E-03 21 norm .10000E-03 .42123 -.21101E-07** at limit ** 22 Prefactor .10000E-03 16.307 -.25359E-07** at limit ** 23 norm .10000E-03 2.1663 .15076E-07** at limit ** 24 Prefactor 14.427 31.621 -.25428E-06 .23579E-06 25 Normalizat 1.3287 .18213 .21266E-05 .16373E-04 26 Prefactor .62367 .13658 -.11477E-05 .25962E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 0.0001 Prefactor = 0.000100002 Prefactor = 3.53611 Prefactor = 1.0574 norm = 1.29045 norm = 0.0001 Prefactor = 0.838776 Prefactor = 0.0001 norm = 0.0001 Prefactor = 2.47012 Prefactor = 1.47364 Prefactor = 3.46569 Prefactor = 0.0001 norm = 2.1026 norm = 0.0001 Prefactor = 3.9925 norm = 1.29102 norm = 1.22456 norm = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 14.4274 Normalizat = 1.32873 Prefactor = 0.623665 ********** ** 18 **HESSE ********** FCN= 7455.525 FROM HESSE STATUS=OK 460 CALLS 3212 TOTAL EDM= .45E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 14.112 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 252.78 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 1.1889 .91211E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 5.3184 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 3.5361 34.540 .21511E-03 -1.5332 6 Prefactor 1.0574 3.0405 .23815E-03 -1.5502 7 norm 1.2904 .25507 .14922E-04 -1.5481 8 norm .10000E-03 4.2788 .17441E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .83878 153.25 .57393E-02 -1.5525 10 Prefactor .10000E-03 1.1786 .91100E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 33.846 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.4701 1.6089 .64288E-04 -1.5394 13 Prefactor 1.4736 1.5101 .79588E-04 -1.5465 14 Prefactor 3.4657 2.6657 .11902E-03 -1.5336 15 Prefactor .10000E-03 1.8910 .18024E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.1026 1.5677 .89823E-04 -1.5418 17 norm .10000E-03 .23186 .80026E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 3.9925 5.9187 .10093E-02 -1.5308 19 norm 1.2910 .72371 .52656E-04 -1.5481 20 norm 1.2246 5.0045 .37126E-03 -1.5487 21 norm .10000E-03 .43029 .54705E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 16.325 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 2.2277 .24807E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 14.427 31.620 .10545E-03 -1.4948 25 Normalizat 1.3287 .21954 .23618E-03 -.82713 26 Prefactor .62367 .16425 .26646E-03 -1.0660 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.52418e-09 Minuit parameter uncertainties: 1 6.97317e-06 2 0.000836387 3 2.69738e-06 4 0.000221315 5 22.1196 6 3.0409 7 0.255075 8 6.22937e-09 9 22.7332 10 4.81997e-06 11 4.89186e-06 12 1.60889 13 1.51011 14 2.66578 15 1.3427e-06 16 1.56776 17 4.29191e-07 18 5.91958 19 0.723715 20 4.9516 21 9.58437e-07 22 5.77327e-06 23 1.30477e-06 24 31.6568 25 0.219697 26 0.164381 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7455.52476542 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.470e+00 1.609e+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: 6.237e-01 1.644e-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.329e+00 2.197e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 9.85 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 9.76e-08 +/- 6.35e-08 Energy Flux (Fixed Index): 3.11e-05 +/- 2.03e-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) = 7455.52385395 delta logL = 0.000911469613129 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7455.52166132 delta logL = 0.00310409559552 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.6010 1.0000 .10000E-03 10000. 2 'Index ' 2.3492 1.0000 .0000 10.000 3 'Normalizat' 1.3359 1.0000 .10000E-01 10.000 4 'Prefactor ' .62018 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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 7455.522 FROM MIGRAD STATUS=FAILED 94 CALLS 262 TOTAL EDM= .65E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.6004 2.6817 .68124E-04 -.35829E-03 2 Index 2.3497 1.2132 .76717E-02 .88165E-03 3 Normalizat 1.3358 .23159 .23576E-03 .76103E-03 4 Prefactor .62020 .16858 .26719E-03 .83544E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7455.522 FROM SIMPLEX STATUS=UNCHANGED 76 CALLS 338 TOTAL EDM= .12E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.6004 2.6817 .74812E-04 -1.5385 2 Index 2.3497 1.2132 .10578E-02 -.55868 3 Normalizat 1.3358 .23159 .28645E-03 -.82503 4 Prefactor .62020 .16858 .30411E-03 -1.0674 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7455.522 FROM MIGRAD STATUS=CONVERGED 30 CALLS 368 TOTAL EDM= .25E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.6004 2.1759 .27250E-05 -.23781E-03 2 Index 2.3497 .98517 .15343E-02 .82393E-05 3 Normalizat 1.3358 .22059 .47151E-04 .37035E-04 4 Prefactor .62020 .16502 .53437E-04 .46507E-04 ERR DEF= .500 Final values: Prefactor = 2.6004 Index = 2.34969 Normalizat = 1.33582 Prefactor = 0.620195 ********** ** 18 **HESSE ********** FCN= 7455.522 FROM HESSE STATUS=OK 25 CALLS 393 TOTAL EDM= .21E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.6004 2.1028 .54499E-06 -1.5385 2 Index 2.3497 .95124 .61374E-04 -.55867 3 Normalizat 1.3358 .21908 .94302E-05 -.82503 4 Prefactor .62020 .16453 .10687E-04 -1.0674 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.08974e-11 Minuit parameter uncertainties: 1 2.10281 2 0.959411 3 0.219235 4 0.164662 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/830269': 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) = 7455.52166119 delta logL = 0.00310422878647 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.600e+00 2.103e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.350e+00 9.594e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 6.202e-01 1.647e-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.336e+00 2.192e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 10.23 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.35 +/- 0.96 Photon Flux (Free Index): 8.97e-08 +/- 1.14e-07 Energy Flux (Free Index): 3.15e-05 +/- 1.74e-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/830269/cmap_HighResolution_280022401_280281601_4FGL_J1640.4+3945_daily_bin157.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/830269 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.76e-08', energy_flux2='3.15e-05', photon_flux_error='6.35e-08', dlogl='3.10e-03', energy_flux='3.11e-05', photon_flux2='8.97e-08', job_status='DONE', time_completed='2021-09-15 06:31:50.054029', photon_index_error2='0.96', photon_index2='2.35', ts='9.85', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.33', time_epoch_completed='1631712710.05', return_code='0', job_id='830269', GAL2='0.62', EG2='1.34', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='1.14e-07', ts2='10.23', photon_index='2.42' WHERE bin_id='157' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:31:50 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 830269: <4FGL_J1640.4+3945_daily_bin157> in cluster Done Job <4FGL_J1640.4+3945_daily_bin157> was submitted from host by user in cluster at Wed Sep 15 06:15:15 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:15:57 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:15:57 2021 Terminated at Wed Sep 15 06:31:50 2021 Results reported at Wed Sep 15 06:31:50 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin157 250.119 39.7626 280022401 280281601 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 : 791.14 sec. Max Memory : 1258 MB Average Memory : 311.47 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 953 sec. Turnaround time : 995 sec. The output (if any) is above this job summary.