/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 116 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 = 7456 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin993 RA = 250.119, Dec = 39.7626 tmin = 496713601, tmax = 496972801 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='837002', job_status='RUN', time_executed='2021-09-15 06:45:04.441461', time_epoch_executed='1631713504.44' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='993' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/837002 Creating custom pfile directory: /scratch/kocevski/837002/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=496713601.0 && nMetStart<496972801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=496713601.0 && nMetStart<496972801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/837002/ft1_4FGL_J1640.4+3945_daily_bin993.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=496713601.0 && nMetStart<496972801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/837002/ft2_4FGL_J1640.4+3945_daily_bin993.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/837002/ft1_4FGL_J1640.4+3945_daily_bin993.fits outfile=/scratch/kocevski/837002/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin993.fits ra=250.119 dec=39.7626 rad=12.0 tmin=496713601.0 tmax=496972801.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 4.99 user 4.75 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/837002/ft2_4FGL_J1640.4+3945_daily_bin993.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/837002/ft2_4FGL_J1640.4+3945_daily_bin993.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/837002/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin993.fits evtable="EVENTS" outfile="/scratch/kocevski/837002/ft1_filtered_4FGL_J1640.4+3945_daily_bin993.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.50 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/837002/ft1_filtered_4FGL_J1640.4+3945_daily_bin993.fits" evtable="EVENTS" scfile=/scratch/kocevski/837002/ft2_4FGL_J1640.4+3945_daily_bin993.fits sctable="SC_DATA" outfile=/scratch/kocevski/837002/ltcube_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.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/837002/ft2_4FGL_J1640.4+3945_daily_bin993.fits .....................! real 14.57 user 14.20 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/837002/ft1_filtered_4FGL_J1640.4+3945_daily_bin993.fits evtable="EVENTS" scfile=/scratch/kocevski/837002/ft2_4FGL_J1640.4+3945_daily_bin993.fits sctable="SC_DATA" expcube=/scratch/kocevski/837002/ltcube_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.fits outfile=/scratch/kocevski/837002/expmap_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.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/837002/ltcube_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.fits .....................! real 192.81 user 188.03 sys 4.34 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/837002/ft1_filtered_4FGL_J1640.4+3945_daily_bin993.fits scfile=/scratch/kocevski/837002/ft2_4FGL_J1640.4+3945_daily_bin993.fits outfile=/scratch/kocevski/837002/cmap_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.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/837002/ft1_filtered_4FGL_J1640.4+3945_daily_bin993.fits scfile=/scratch/kocevski/837002/ft2_4FGL_J1640.4+3945_daily_bin993.fits outfile=/scratch/kocevski/837002/cmap_HighResolution_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.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.58 user 0.39 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/837002/ft1_filtered_4FGL_J1640.4+3945_daily_bin993.fits evtable="EVENTS" scfile=/scratch/kocevski/837002/ft2_4FGL_J1640.4+3945_daily_bin993.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837002/Model_4FGL_J1640.4+3945_daily_bin993.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/837002/ft1_filtered_4FGL_J1640.4+3945_daily_bin993.fits.....................! real 31.96 user 30.66 sys 1.17 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/837002/ft1_filtered_4FGL_J1640.4+3945_daily_bin993.fits', '/scratch/kocevski/837002/ft2_4FGL_J1640.4+3945_daily_bin993.fits', expMap='/scratch/kocevski/837002/expmap_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.fits', expCube='/scratch/kocevski/837002/ltcube_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/837002/Model_4FGL_J1640.4+3945_daily_bin993.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/837002/ft1_filtered_4FGL_J1640.4+3945_daily_bin993.fits Spacecraft file(s): /scratch/kocevski/837002/ft2_4FGL_J1640.4+3945_daily_bin993.fits Exposure map: /scratch/kocevski/837002/expmap_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.fits Exposure cube: /scratch/kocevski/837002/ltcube_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/837002/Model_4FGL_J1640.4+3945_daily_bin993.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) = 2864.90395314 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2864.87165083 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .15459E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 8.9998 1.0000 .10000E-03 10000. 4 'Prefactor ' .10075E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10273E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10530E-03 1.0000 .10000E-03 10000. 7 'norm ' .20709 1.0000 .10000E-03 10000. 8 'norm ' .10003E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 27.420 1.0000 .10000E-03 10000. 10 'Prefactor ' .10192E-03 1.0000 .10000E-03 10000. 11 'norm ' .10061E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 4.9159 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.2647 1.0000 .10000E-03 10000. 14 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 16 'norm ' .10000E-03 1.0000 .10000E-03 10000. 17 'norm ' 2.3176 1.0000 .10000E-03 10000. 18 'Prefactor ' 41.625 1.0000 .10000E-03 10000. 19 'norm ' .11119E-03 1.0000 .10000E-03 10000. 20 'norm ' .10028E-03 1.0000 .10000E-03 10000. 21 'norm ' 2.6710 1.0000 .10000E-03 10000. 22 'Prefactor ' 17.916 1.0000 .10000E-03 10000. 23 'norm ' 7.4987 1.0000 .10000E-03 10000. 24 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .28874 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.2908 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= 2864.872 FROM MIGRAD STATUS=CONVERGED 637 CALLS 3134 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 12.310 -.11231E-06** at limit ** 2 Prefactor .10000E-03 155.96 -.80793E-06** at limit ** 3 Prefactor 9.0021 6.2370 -.99458E-06 -.18518E-03 4 Prefactor .10000E-03 6.7275 -.21770E-06** at limit ** 5 Prefactor .10000E-03 69.926 -.55532E-06** at limit ** 6 Prefactor .10011E-03 6.3528 -.29529E-05** at limit ** 7 norm .20734 .23549 .63697E-09 .33629E-03 8 norm .10000E-03 17.699 .68094E-08** at limit ** 9 Prefactor 27.429 36.853 -.20745E-05 -.26479E-05 10 Prefactor .10000E-03 29.381 -.13087E-05** at limit ** 11 norm .10000E-03 56.979 -.92796E-07** at limit ** 12 Prefactor 4.9068 6.3347 -.11406E-06 .63266E-03 13 Prefactor 2.2719 5.5496 -.23646E-07 .19086E-03 14 Prefactor .10000E-03 4.1142 -.14175E-06** at limit ** 15 Prefactor .10000E-03 2.8315 -.69911E-07** at limit ** 16 norm .10000E-03 1.8041 -.69990E-08** at limit ** 17 norm 2.3189 2.8357 -.13131E-06 -.24830E-03 18 Prefactor 41.599 27.854 -.10065E-05 .17683E-04 19 norm .10000E-03 1.8051 -.47112E-06** at limit ** 20 norm .10000E-03 12.164 .65531E-07** at limit ** 21 norm 2.6708 4.3005 -.24242E-06 -.14740E-03 22 Prefactor 18.146 216.66 -.89972E-05 .48111E-04 23 norm 7.4903 12.783 .68954E-06 -.18630E-03 24 Prefactor .10000E-03 52.446 -.58657E-06** at limit ** 25 Normalizat .28882 .34101 .33957E-04 .12293E-03 26 Prefactor 1.2906 .26280 -.10279E-04 .21607E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 9.00214 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100112 norm = 0.207338 norm = 0.0001 Prefactor = 27.4291 Prefactor = 0.0001 norm = 0.0001 Prefactor = 4.9068 Prefactor = 2.27189 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 2.31892 Prefactor = 41.599 norm = 0.0001 norm = 0.0001 norm = 2.67078 Prefactor = 18.1461 norm = 7.49033 Prefactor = 0.0001 Normalizat = 0.288817 Prefactor = 1.29062 ********** ** 18 **HESSE ********** FCN= 2864.872 FROM HESSE STATUS=OK 456 CALLS 3590 TOTAL EDM= .42E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 12.311 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 156.01 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 9.0021 6.2642 .10153E-03 -1.5108 4 Prefactor .10000E-03 6.7445 .13563E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 70.279 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10011E-03 31.979 .24034E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .20734 .22909 .23013E-04 -1.5617 8 norm .10000E-03 17.704 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 27.429 36.495 .76506E-04 -1.4660 10 Prefactor .10000E-03 30.631 .36285E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 56.987 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 4.9068 6.7961 .65505E-04 -1.5265 13 Prefactor 2.2719 5.9699 .89167E-04 -1.5407 14 Prefactor .10000E-03 4.1224 .10600E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 2.8419 .87931E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .10000E-03 1.8595 .14024E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 2.3189 2.8057 .89911E-04 -1.5403 18 Prefactor 41.599 26.561 .62133E-04 -1.4417 19 norm .10000E-03 2.6919 .13271E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 12.223 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.6708 4.2723 .12683E-03 -1.5381 22 Prefactor 18.146 210.55 .94623E-04 -1.4856 23 norm 7.4903 12.694 .14646E-03 -1.5161 24 Prefactor .10000E-03 52.416 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .28882 .34403 .47882E-03 -1.2351 26 Prefactor 1.2906 .26259 .18881E-03 -.83586 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.17881e-09 Minuit parameter uncertainties: 1 1.32324e-05 2 0.000506776 3 6.26463 4 1.72684e-05 5 0.000176212 6 0.00377891 7 0.229091 8 1.33406e-05 9 36.5242 10 0.000157861 11 1.7435e-05 12 6.79718 13 5.97142 14 8.14898e-06 15 1.87146e-06 16 5.28121e-06 17 2.80587 18 26.5689 19 2.7121e-05 20 2.16182e-05 21 4.27278 22 124.177 23 12.6982 24 0.000177896 25 0.346585 26 0.262864 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2864.87164448 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 4.907e+00 6.797e+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.291e+00 2.629e-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: 2.888e-01 3.466e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.96 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.94e-07 +/- 2.68e-07 Energy Flux (Fixed Index): 6.18e-05 +/- 8.56e-05 TS (Fixed Index): 3.96 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 4.16e-07 ph cm-2 s-1 Energy Flux Upper Limit: 3.22e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/837002/likelihoodResults_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 2864.69642484 delta logL = 0.175219642198 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 2864.64488205 delta logL = 0.226762427719 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.8919 1.0000 .10000E-03 10000. 2 'Index ' 3.0341 1.0000 .0000 10.000 3 'Normalizat' .22305 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.3314 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= 2864.645 FROM MIGRAD STATUS=CONVERGED 55 CALLS 243 TOTAL EDM= .15E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.8825 18.397 .75625E-02 .21281E-03 2 Index 3.0361 2.7441 .68925E-01 .90038E-04 3 Normalizat .22315 .11272 .12297 .38460E-04 4 Prefactor 1.3314 .83190E-01 .32084E-01 -.29553E-05 ERR DEF= .500 Final values: Prefactor = 1.88255 Index = 3.03613 Normalizat = 0.223152 Prefactor = 1.33144 ********** ** 18 **HESSE ********** FCN= 2864.645 FROM HESSE STATUS=NOT POSDEF 33 CALLS 276 TOTAL EDM= .16E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.8825 26.528 .38561E-04 -1.5434 2 Index 3.0361 3.4136 .28631E-02 -.40365 3 Normalizat .22315 .40238 .54254E-03 -1.2776 4 Prefactor 1.3314 .31684 .18642E-03 -.82377 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.59507e-10 Minuit parameter uncertainties: 1 14.141 2 3.84693 3 0.407786 4 0.317298 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/837002': 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): 102 logL (Free Index) = 2864.64487844 delta logL = 0.226766045242 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.883e+00 1.414e+01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 3.036e+00 3.847e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.331e+00 3.173e-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: 2.232e-01 4.078e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.92 Ra Dec: 250.119 39.763 Photon Index (Free Index): 3.04 +/- 3.85 Photon Flux (Free Index): 2.59e-07 +/- 2.27e-07 Energy Flux (Free Index): 5.08e-05 +/- 6.39e-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/837002/cmap_HighResolution_496713601_496972801_4FGL_J1640.4+3945_daily_bin993.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/837002 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-02', comment='SUCCESS', photon_flux='1.94e-07', energy_flux2='5.08e-05', photon_flux_error='2.68e-07', dlogl='2.27e-01', energy_flux='6.18e-05', photon_flux2='2.59e-07', job_status='DONE', time_completed='2021-09-15 06:54:22.163928', photon_index_error2='3.85', photon_index2='3.04', ts='3.96', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='4.16e-07', energy_flux_error2='6.39e-05', EG='0.29', time_epoch_completed='1631714062.16', return_code='0', job_id='837002', GAL2='1.33', EG2='0.22', return_code2='102', energy_flux_error='8.56e-05', photon_flux_error2='2.27e-07', ts2='4.92', photon_index='2.42' WHERE bin_id='993' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:54:22 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 837002: <4FGL_J1640.4+3945_daily_bin993> in cluster Done Job <4FGL_J1640.4+3945_daily_bin993> was submitted from host by user in cluster at Wed Sep 15 06:40:21 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:42:58 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:42:58 2021 Terminated at Wed Sep 15 06:54:22 2021 Results reported at Wed Sep 15 06:54:22 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin993 250.119 39.7626 496713601 496972801 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 : 553.46 sec. Max Memory : 618 MB Average Memory : 249.77 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 684 sec. Turnaround time : 841 sec. The output (if any) is above this job summary.