aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189) while getting realm /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 0 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 = 17126 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin34 RA = 250.119, Dec = 39.7626 tmin = 259545601, tmax = 260150401 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='812548', job_status='RUN', time_executed='2021-07-25 08:51:46.941757', time_epoch_executed='1627228306.94' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='34' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/812548 Creating custom pfile directory: /scratch/kocevski/812548/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=259545601.0 && nMetStart<260150401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=259545601.0 && nMetStart<260150401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/812548/ft1_4FGL_J1640.4+3945_weekly_bin34.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=259545601.0 && nMetStart<260150401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/812548/ft1_4FGL_J1640.4+3945_weekly_bin34.fits outfile=/scratch/kocevski/812548/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin34.fits ra=250.119 dec=39.7626 rad=12.0 tmin=259545601.0 tmax=260150401.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.40 user 3.17 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.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/812548/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin34.fits evtable="EVENTS" outfile="/scratch/kocevski/812548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin34.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.48 user 0.32 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/812548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin34.fits" evtable="EVENTS" scfile=/scratch/kocevski/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.fits sctable="SC_DATA" outfile=/scratch/kocevski/812548/ltcube_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.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/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.fits .....................! real 28.58 user 28.23 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/812548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin34.fits evtable="EVENTS" scfile=/scratch/kocevski/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.fits sctable="SC_DATA" expcube=/scratch/kocevski/812548/ltcube_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.fits outfile=/scratch/kocevski/812548/expmap_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.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/812548/ltcube_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.fits .....................! real 157.49 user 151.42 sys 4.76 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/812548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin34.fits scfile=/scratch/kocevski/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.fits outfile=/scratch/kocevski/812548/cmap_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.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 3.02 user 0.38 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/812548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin34.fits scfile=/scratch/kocevski/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.fits outfile=/scratch/kocevski/812548/cmap_HighResolution_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.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 4.55 user 0.35 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/812548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin34.fits evtable="EVENTS" scfile=/scratch/kocevski/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/812548/Model_4FGL_J1640.4+3945_weekly_bin34.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/812548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin34.fits.....................! real 155.59 user 119.88 sys 1.09 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/812548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin34.fits', '/scratch/kocevski/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.fits', expMap='/scratch/kocevski/812548/expmap_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.fits', expCube='/scratch/kocevski/812548/ltcube_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/812548/Model_4FGL_J1640.4+3945_weekly_bin34.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/812548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin34.fits Spacecraft file(s): /scratch/kocevski/812548/ft2_4FGL_J1640.4+3945_weekly_bin34.fits Exposure map: /scratch/kocevski/812548/expmap_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.fits Exposure cube: /scratch/kocevski/812548/ltcube_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/812548/Model_4FGL_J1640.4+3945_weekly_bin34.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) = 22248.789676 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22248.7654269 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 ' 24.845 1.0000 .10000E-03 10000. 3 'Prefactor ' 4.7796 1.0000 .10000E-03 10000. 4 'Prefactor ' .10225E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10011E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .96201 1.0000 .10000E-03 10000. 7 'norm ' .31956 1.0000 .10000E-03 10000. 8 'norm ' 5.7816 1.0000 .10000E-03 10000. 9 'Prefactor ' 27.445 1.0000 .10000E-03 10000. 10 'Prefactor ' 1.6283 1.0000 .10000E-03 10000. 11 'norm ' .10001E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.6612 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.5808 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.2951 1.0000 .10000E-03 10000. 15 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 16 'norm ' 3.1297 1.0000 .10000E-03 10000. 17 'norm ' .10005E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .14083E-03 1.0000 .10000E-03 10000. 19 'norm ' .90320 1.0000 .10000E-03 10000. 20 'norm ' 4.3072 1.0000 .10000E-03 10000. 21 'norm ' .10002E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10344E-03 1.0000 .10000E-03 10000. 23 'norm ' 24.456 1.0000 .10000E-03 10000. 24 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0762 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0165 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= 22248.77 FROM MIGRAD STATUS=CONVERGED 638 CALLS 3192 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 3.9306 .34271E-07** at limit ** 2 Prefactor 24.809 28.509 -.42447E-05 -.52856E-03 3 Prefactor 4.7799 1.8833 .96178E-06 -.16637E-02 4 Prefactor .10000E-03 2.9056 -.16633E-06** at limit ** 5 Prefactor .10000E-03 15.542 .12146E-06** at limit ** 6 Prefactor .96210 1.8022 .12839E-05 -.44844E-03 7 norm .31955 .11005 -.42265E-08 -.25814E-02 8 norm 5.7814 5.4453 -.82443E-07 -.31061E-04 9 Prefactor 27.448 13.737 -.12927E-06 -.90278E-04 10 Prefactor 1.6282 1.5420 .45032E-07 -.11561E-03 11 norm .10000E-03 10.168 -.82489E-07** at limit ** 12 Prefactor 2.6612 1.4031 -.52001E-07 -.94575E-03 13 Prefactor 2.5808 1.3960 .26006E-07 -.86958E-03 14 Prefactor 1.2952 1.4142 .29320E-06 -.16521E-03 15 Prefactor .10000E-03 1.0176 .43675E-08** at limit ** 16 norm 3.1298 1.0528 .90211E-08 -.12272E-03 17 norm .10000E-03 .16012 -.14169E-07** at limit ** 18 Prefactor .10000E-03 1.5020 .10552E-06** at limit ** 19 norm .90319 .46511 .44724E-07 -.55738E-03 20 norm 4.3073 5.4539 .34700E-06 -.10102E-03 21 norm .10000E-03 .40311 .97653E-07** at limit ** 22 Prefactor .10000E-03 42.314 .95234E-06** at limit ** 23 norm 24.458 4.7078 .56385E-07 .14058E-03 24 Prefactor .10000E-03 19.432 -.45437E-06** at limit ** 25 Normalizat 1.0761 .11878 -.42612E-06 -.33492E-03 26 Prefactor 1.0166 .92096E-01 -.40393E-06 -.31159E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 24.8095 Prefactor = 4.77992 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.962102 norm = 0.319551 norm = 5.78142 Prefactor = 27.448 Prefactor = 1.62822 norm = 0.0001 Prefactor = 2.6612 Prefactor = 2.5808 Prefactor = 1.29519 Prefactor = 0.0001 norm = 3.12975 norm = 0.0001 Prefactor = 0.0001 norm = 0.903192 norm = 4.30732 norm = 0.0001 Prefactor = 0.0001 norm = 24.458 Prefactor = 0.0001 Normalizat = 1.07607 Prefactor = 1.01658 ********** ** 18 **HESSE ********** FCN= 22248.77 FROM HESSE STATUS=OK 468 CALLS 3660 TOTAL EDM= .25E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 3.9356 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 24.809 30.394 .80366E-04 -1.4711 3 Prefactor 4.7799 1.9104 .62379E-03 -1.5271 4 Prefactor .10000E-03 3.0295 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 15.938 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .96210 1.8037 .25722E-03 -1.5512 7 norm .31955 .10739 .23426E-04 -1.5595 8 norm 5.7814 5.4435 .16703E-03 -1.5227 9 Prefactor 27.448 13.731 .76471E-04 -1.4660 10 Prefactor 1.6282 1.5382 .17348E-03 -1.5453 11 norm .10000E-03 10.180 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.6612 1.4472 .72979E-04 -1.5382 13 Prefactor 2.5808 1.4423 .75151E-04 -1.5387 14 Prefactor 1.2952 1.3903 .17723E-03 -1.5480 15 Prefactor .10000E-03 1.0593 .29297E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.1298 1.0520 .22917E-04 -1.5354 17 norm .10000E-03 .45032 .11434E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 4.6520 .34157E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .90319 .43902 .68334E-03 -1.5518 20 norm 4.3073 5.4325 .19411E-03 -1.5293 21 norm .10000E-03 .89639 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 43.197 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 24.458 4.6986 .81001E-04 -1.4718 24 Prefactor .10000E-03 19.491 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0761 .14265 .28804E-03 -.90524 26 Prefactor 1.0166 .11164 .24018E-03 -.92179 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.52789e-09 Minuit parameter uncertainties: 1 2.15175e-06 2 30.413 3 1.91039 4 1.64265e-05 5 9.42145e-05 6 1.80378 7 0.10739 8 5.44393 9 13.7329 10 1.53828 11 1.10897e-05 12 1.44726 13 1.44228 14 1.39029 15 4.11617e-07 16 1.05203 17 2.45893e-06 18 2.34397e-05 19 0.439017 20 5.43314 21 2.50251e-06 22 0.000199884 23 4.69866 24 0.000101131 25 0.1427 26 0.111663 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22248.7654204 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.661e+00 1.447e+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.017e+00 1.117e-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.076e+00 1.427e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 13.69 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.05e-07 +/- 5.71e-08 Energy Flux (Fixed Index): 3.35e-05 +/- 1.82e-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) = 22248.2762552 delta logL = 0.489165108564 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 22248.273854 delta logL = 0.491566390385 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.8901 1.0000 .10000E-03 10000. 2 'Index ' 2.6844 1.0000 .0000 10.000 3 'Normalizat' 1.0531 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0296 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= 22248.27 FROM MIGRAD STATUS=CONVERGED 53 CALLS 210 TOTAL EDM= .50E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.8903 5.8077 .75668E-02 .21012E-02 2 Index 2.6843 1.3100 .11152 .53175E-03 3 Normalizat 1.0531 .36695E-01 .65683E-01 .48642E-04 4 Prefactor 1.0296 .28135E-01 .41289E-01 .26545E-04 ERR DEF= .500 Final values: Prefactor = 1.89034 Index = 2.68432 Normalizat = 1.05311 Prefactor = 1.02962 ********** ** 18 **HESSE ********** FCN= 22248.27 FROM HESSE STATUS=OK 33 CALLS 243 TOTAL EDM= .24E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.8903 1.1523 .58098E-04 -1.5433 2 Index 2.6843 .32257 .41181E-02 -.48153 3 Normalizat 1.0531 .13937 .29056E-03 -.91272 4 Prefactor 1.0296 .11180 .23881E-03 -.91749 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.38521e-08 Minuit parameter uncertainties: 1 1.1523 2 0.322855 3 0.139422 4 0.111825 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/812548': 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) = 22248.2738539 delta logL = 0.491566438697 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.890e+00 1.152e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.684e+00 3.229e-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.030e+00 1.118e-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.053e+00 1.394e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 15.84 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.68 +/- 0.32 Photon Flux (Free Index): 1.25e-07 +/- 4.05e-08 Energy Flux (Free Index): 3.06e-05 +/- 1.01e-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/812548/cmap_HighResolution_259545601_260150401_4FGL_J1640.4+3945_weekly_bin34.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/812548 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.05e-07', energy_flux2='3.06e-05', photon_flux_error='5.71e-08', dlogl='4.92e-01', energy_flux='3.35e-05', photon_flux2='1.25e-07', job_status='DONE', time_completed='2021-07-25 09:17:40.069324', photon_index_error2='0.32', photon_index2='2.68', ts='13.69', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.01e-05', EG='1.08', time_epoch_completed='1627229860.07', return_code='0', job_id='812548', GAL2='1.03', EG2='1.05', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='4.05e-08', ts2='15.84', photon_index='2.42' WHERE bin_id='34' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Sun Jul 25 09:17:40 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 812548: <4FGL_J1640.4+3945_weekly_bin34> in cluster Done Job <4FGL_J1640.4+3945_weekly_bin34> was submitted from host by user in cluster at Sun Jul 25 08:35:52 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Jul 25 08:51:38 2021 was used as the home directory. was used as the working directory. Started at Sun Jul 25 08:51:38 2021 Terminated at Sun Jul 25 09:17:40 2021 Results reported at Sun Jul 25 09:17:40 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_weekly_bin34 250.119 39.7626 259545601 260150401 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 : 1470.50 sec. Max Memory : 1261 MB Average Memory : 369.74 MB Total Requested Memory : - Delta Memory : - Max Swap : 3409 MB Max Processes : 6 Max Threads : 21 Run time : 1562 sec. Turnaround time : 2508 sec. The output (if any) is above this job summary.