/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 48 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 = 7458 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin725 RA = 250.119, Dec = 39.7626 tmin = 427248001, tmax = 427507201 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='835379', job_status='RUN', time_executed='2021-09-15 06:36:23.816131', time_epoch_executed='1631712983.82' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='725' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835379 Creating custom pfile directory: /scratch/kocevski/835379/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=427248001.0 && nMetStart<427507201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=427248001.0 && nMetStart<427507201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835379/ft1_4FGL_J1640.4+3945_daily_bin725.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=427248001.0 && nMetStart<427507201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835379/ft2_4FGL_J1640.4+3945_daily_bin725.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835379/ft1_4FGL_J1640.4+3945_daily_bin725.fits outfile=/scratch/kocevski/835379/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin725.fits ra=250.119 dec=39.7626 rad=12.0 tmin=427248001.0 tmax=427507201.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 5.57 user 5.27 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835379/ft2_4FGL_J1640.4+3945_daily_bin725.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835379/ft2_4FGL_J1640.4+3945_daily_bin725.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/835379/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin725.fits evtable="EVENTS" outfile="/scratch/kocevski/835379/ft1_filtered_4FGL_J1640.4+3945_daily_bin725.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.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835379/ft1_filtered_4FGL_J1640.4+3945_daily_bin725.fits" evtable="EVENTS" scfile=/scratch/kocevski/835379/ft2_4FGL_J1640.4+3945_daily_bin725.fits sctable="SC_DATA" outfile=/scratch/kocevski/835379/ltcube_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.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/835379/ft2_4FGL_J1640.4+3945_daily_bin725.fits .....................! real 15.16 user 14.74 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835379/ft1_filtered_4FGL_J1640.4+3945_daily_bin725.fits evtable="EVENTS" scfile=/scratch/kocevski/835379/ft2_4FGL_J1640.4+3945_daily_bin725.fits sctable="SC_DATA" expcube=/scratch/kocevski/835379/ltcube_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.fits outfile=/scratch/kocevski/835379/expmap_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.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/835379/ltcube_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.fits .....................! real 194.43 user 187.45 sys 4.59 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/835379/ft1_filtered_4FGL_J1640.4+3945_daily_bin725.fits scfile=/scratch/kocevski/835379/ft2_4FGL_J1640.4+3945_daily_bin725.fits outfile=/scratch/kocevski/835379/cmap_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.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.57 user 0.39 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835379/ft1_filtered_4FGL_J1640.4+3945_daily_bin725.fits scfile=/scratch/kocevski/835379/ft2_4FGL_J1640.4+3945_daily_bin725.fits outfile=/scratch/kocevski/835379/cmap_HighResolution_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.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/835379/ft1_filtered_4FGL_J1640.4+3945_daily_bin725.fits evtable="EVENTS" scfile=/scratch/kocevski/835379/ft2_4FGL_J1640.4+3945_daily_bin725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835379/Model_4FGL_J1640.4+3945_daily_bin725.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/835379/ft1_filtered_4FGL_J1640.4+3945_daily_bin725.fits.....................! real 56.29 user 54.74 sys 1.26 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835379/ft1_filtered_4FGL_J1640.4+3945_daily_bin725.fits', '/scratch/kocevski/835379/ft2_4FGL_J1640.4+3945_daily_bin725.fits', expMap='/scratch/kocevski/835379/expmap_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.fits', expCube='/scratch/kocevski/835379/ltcube_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835379/Model_4FGL_J1640.4+3945_daily_bin725.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/835379/ft1_filtered_4FGL_J1640.4+3945_daily_bin725.fits Spacecraft file(s): /scratch/kocevski/835379/ft2_4FGL_J1640.4+3945_daily_bin725.fits Exposure map: /scratch/kocevski/835379/expmap_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.fits Exposure cube: /scratch/kocevski/835379/ltcube_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835379/Model_4FGL_J1640.4+3945_daily_bin725.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) = 7266.12281471 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7265.98615537 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34214E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 189.07 1.0000 .10000E-03 10000. 3 'Prefactor ' 5.4031 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.3501 1.0000 .10000E-03 10000. 7 'norm ' .33919E-01 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 53.474 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' 19.676 1.0000 .10000E-03 10000. 12 'Prefactor ' .67287 1.0000 .10000E-03 10000. 13 'Prefactor ' .10021E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 3.0639 1.0000 .10000E-03 10000. 15 'Prefactor ' 6.2931 1.0000 .10000E-03 10000. 16 'norm ' 4.0014 1.0000 .10000E-03 10000. 17 'norm ' 3.9071 1.0000 .10000E-03 10000. 18 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 19 'norm ' .21875 1.0000 .10000E-03 10000. 20 'norm ' 29.248 1.0000 .10000E-03 10000. 21 'norm ' .10882E-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 ' .10002E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .68333 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.1608 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. FCN= 7265.986 FROM MIGRAD STATUS=CONVERGED 1116 CALLS 3234 TOTAL EDM= .16E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 251.31 .81234E-02** at limit ** 2 Prefactor 189.06 105.44 .14685E-03 .27437E-04 3 Prefactor 5.4031 3.0812 .10864E-03 -.12097E-03 4 Prefactor .10000E-03 5.6547 .18142E-02** at limit ** 5 Prefactor .10000E-03 29.754 .18142E-02** at limit ** 6 Prefactor 3.3506 2.7319 .12224E-03 -.17707E-03 7 norm .33897E-01 .10569 .37252E-03 .21306E-01 8 norm .10000E-03 5.2657 .18142E-02** at limit ** 9 Prefactor 53.483 20.961 .54850E-04 -.37309E-04 10 Prefactor .10000E-03 1.7896 .11078E-02** at limit ** 11 norm 19.676 33.258 .90293E-04 -.33114E-04 12 Prefactor .67295 .66247 .66052E-04 -.68589E-03 13 Prefactor .10000E-03 .58442 .99877E-03** at limit ** 14 Prefactor 3.0639 3.2479 .15176E-03 -.30834E-03 15 Prefactor 6.2937 3.9383 .12314E-03 -.14468E-03 16 norm 4.0013 1.7449 .71751E-04 -.18158E-03 17 norm 3.9072 1.4600 .59641E-04 -.50133E-03 18 Prefactor .10000E-03 14.963 .36285E-03** at limit ** 19 norm .21919 1.1584 .12778E-02 .97902E-03 20 norm 29.248 11.871 .74082E-04 .13336E-03 21 norm .10000E-03 7.1329 .15357E-02** at limit ** 22 Prefactor .10000E-03 17.429 .18142E-02** at limit ** 23 norm .10000E-03 4.0369 .16543E-02** at limit ** 24 Prefactor .10000E-03 47.760 .18142E-02** at limit ** 25 Normalizat .68310 .23637 .33477E-03 -.11570E-03 26 Prefactor 1.1610 .18529 .21233E-03 -.21068E-03 ERR DEF= .500 Final values: Prefactor = 0.000100003 Prefactor = 189.06 Prefactor = 5.40309 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.35059 norm = 0.0338974 norm = 0.0001 Prefactor = 53.4831 Prefactor = 0.0001 norm = 19.6758 Prefactor = 0.672953 Prefactor = 0.0001 Prefactor = 3.06392 Prefactor = 6.29366 norm = 4.00129 norm = 3.90717 Prefactor = 0.0001 norm = 0.219189 norm = 29.2476 norm = 0.0001 Prefactor = 0.000100001 norm = 0.0001 Prefactor = 0.0001 Normalizat = 0.683103 Prefactor = 1.16104 ********** ** 18 **HESSE ********** FCN= 7265.986 FROM HESSE STATUS=OK 434 CALLS 3668 TOTAL EDM= .50E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 262.81 .32494E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 189.06 105.44 .29369E-04 -1.2949 3 Prefactor 5.4031 3.0809 .43456E-05 -1.5243 4 Prefactor .10000E-03 5.6575 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 29.764 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 3.3506 2.7316 .48898E-05 -1.5342 7 norm .33897E-01 .10511 .74503E-04 -1.5671 8 norm .10000E-03 5.2658 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 53.483 20.885 .21940E-05 -1.4244 10 Prefactor .10000E-03 1.7898 .22156E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 19.676 33.252 .36117E-05 -1.4821 12 Prefactor .67295 .66202 .26421E-05 -1.5544 13 Prefactor .10000E-03 .58487 .19975E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 3.0639 3.2477 .60703E-05 -1.5358 15 Prefactor 6.2937 3.9343 .49254E-05 -1.5206 16 norm 4.0013 1.7448 .28700E-05 -1.5308 17 norm 3.9072 1.4598 .23856E-05 -1.5313 18 Prefactor .10000E-03 14.964 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .21919 1.1482 .51112E-04 -1.5614 20 norm 29.248 11.864 .29633E-05 -1.4626 21 norm .10000E-03 7.2269 .30713E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 17.430 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 4.0397 .33085E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 47.763 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .68310 .23642 .13391E-04 -1.0456 26 Prefactor 1.1610 .18541 .42466E-04 -.87539 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.04921e-10 Minuit parameter uncertainties: 1 0.00169595 2 105.546 3 3.08103 4 1.66503e-05 5 0.00013525 6 2.73173 7 0.105114 8 7.53203e-06 9 20.8881 10 2.40345e-06 11 33.2838 12 0.66203 13 9.44025e-06 14 3.24791 15 3.93444 16 1.74486 17 1.45982 18 2.14036e-05 19 1.00315 20 11.8647 21 6.27949e-05 22 0.000220908 23 7.7077e-06 24 0.000140425 25 0.236777 26 0.185509 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7265.98615316 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 6.730e-01 6.620e-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: 1.161e+00 1.855e-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: 6.831e-01 2.368e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.94 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 2.66e-08 +/- 2.61e-08 Energy Flux (Fixed Index): 8.47e-06 +/- 8.33e-06 TS (Fixed Index): 2.94 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 9.67e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.49e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/835379/likelihoodResults_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.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) = 7265.69142935 delta logL = 0.294723810446 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7265.68332864 delta logL = 0.302824516608 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.0473 1.0000 .10000E-03 10000. 2 'Index ' 1.9081 1.0000 .0000 10.000 3 'Normalizat' .69393 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1553 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= 7265.683 FROM MIGRAD STATUS=CONVERGED 48 CALLS 203 TOTAL EDM= .52E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.0473 25.571 .12136E-01 .51533E-04 2 Index 1.9081 5.8753 .26346 .24649E-04 3 Normalizat .69393 .62520E-01 .75093E-01 .33074E-04 4 Prefactor 1.1553 .44905E-01 .35785E-01 .16177E-05 ERR DEF= .500 Final values: Prefactor = 1.0473 Index = 1.9081 Normalizat = 0.693928 Prefactor = 1.15529 ********** ** 18 **HESSE ********** FCN= 7265.683 FROM HESSE STATUS=OK 33 CALLS 236 TOTAL EDM= .27E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.0473 1.0297 .81087E-04 -1.5503 2 Index 1.9081 .62412 .92488E-02 -.66668 3 Normalizat .69393 .22480 .33242E-03 -1.0413 4 Prefactor 1.1553 .18260 .21280E-03 -.87718 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.67122e-10 Minuit parameter uncertainties: 1 1.02972 2 0.626775 3 0.225099 4 0.182702 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835379': 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) = 7265.68332863 delta logL = 0.302824521515 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.047e+00 1.030e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.908e+00 6.268e-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.155e+00 1.827e-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: 6.939e-01 2.251e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.55 Ra Dec: 250.119 39.763 Photon Index (Free Index): 1.91 +/- 0.63 Photon Flux (Free Index): 1.69e-08 +/- 2.07e-08 Energy Flux (Free Index): 1.48e-05 +/- 2.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/835379/cmap_HighResolution_427248001_427507201_4FGL_J1640.4+3945_daily_bin725.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835379 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.49e-03', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.48e-05', photon_flux_error='2.61e-08', dlogl='3.03e-01', energy_flux='8.47e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2021-09-15 06:51:31.793229', photon_index_error2='0.63', photon_index2='1.91', ts='2.94', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='9.67e-08', energy_flux_error2='2.01e-05', EG='0.68', time_epoch_completed='1631713891.79', return_code='0', job_id='835379', GAL2='1.16', EG2='0.69', return_code2='0', energy_flux_error='8.33e-06', photon_flux_error2='2.07e-08', ts2='3.55', photon_index='2.42' WHERE bin_id='725' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:51:31 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835379: <4FGL_J1640.4+3945_daily_bin725> in cluster Done Job <4FGL_J1640.4+3945_daily_bin725> was submitted from host by user in cluster at Wed Sep 15 06:35:18 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:35:26 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:35:26 2021 Terminated at Wed Sep 15 06:51:32 2021 Results reported at Wed Sep 15 06:51:32 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin725 250.119 39.7626 427248001 427507201 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 : 904.00 sec. Max Memory : 618 MB Average Memory : 299.42 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 966 sec. Turnaround time : 974 sec. The output (if any) is above this job summary.