/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 71 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 = 7461 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin761 RA = 250.119, Dec = 39.7626 tmin = 436579201, tmax = 436838401 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='835439', job_status='RUN', time_executed='2021-09-15 06:37:47.637243', time_epoch_executed='1631713067.64' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='761' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835439 Creating custom pfile directory: /scratch/kocevski/835439/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=436579201.0 && nMetStart<436838401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=436579201.0 && nMetStart<436838401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835439/ft1_4FGL_J1640.4+3945_daily_bin761.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=436579201.0 && nMetStart<436838401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835439/ft2_4FGL_J1640.4+3945_daily_bin761.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835439/ft1_4FGL_J1640.4+3945_daily_bin761.fits outfile=/scratch/kocevski/835439/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin761.fits ra=250.119 dec=39.7626 rad=12.0 tmin=436579201.0 tmax=436838401.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.58 user 5.25 sys 0.26 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835439/ft2_4FGL_J1640.4+3945_daily_bin761.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835439/ft2_4FGL_J1640.4+3945_daily_bin761.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/835439/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin761.fits evtable="EVENTS" outfile="/scratch/kocevski/835439/ft1_filtered_4FGL_J1640.4+3945_daily_bin761.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.35 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835439/ft1_filtered_4FGL_J1640.4+3945_daily_bin761.fits" evtable="EVENTS" scfile=/scratch/kocevski/835439/ft2_4FGL_J1640.4+3945_daily_bin761.fits sctable="SC_DATA" outfile=/scratch/kocevski/835439/ltcube_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.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/835439/ft2_4FGL_J1640.4+3945_daily_bin761.fits .....................! real 13.53 user 13.14 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835439/ft1_filtered_4FGL_J1640.4+3945_daily_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/835439/ft2_4FGL_J1640.4+3945_daily_bin761.fits sctable="SC_DATA" expcube=/scratch/kocevski/835439/ltcube_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.fits outfile=/scratch/kocevski/835439/expmap_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.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/835439/ltcube_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.fits .....................! real 190.97 user 186.61 sys 3.96 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/835439/ft1_filtered_4FGL_J1640.4+3945_daily_bin761.fits scfile=/scratch/kocevski/835439/ft2_4FGL_J1640.4+3945_daily_bin761.fits outfile=/scratch/kocevski/835439/cmap_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.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 2.39 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835439/ft1_filtered_4FGL_J1640.4+3945_daily_bin761.fits scfile=/scratch/kocevski/835439/ft2_4FGL_J1640.4+3945_daily_bin761.fits outfile=/scratch/kocevski/835439/cmap_HighResolution_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.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.55 user 0.40 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835439/ft1_filtered_4FGL_J1640.4+3945_daily_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/835439/ft2_4FGL_J1640.4+3945_daily_bin761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835439/Model_4FGL_J1640.4+3945_daily_bin761.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/835439/ft1_filtered_4FGL_J1640.4+3945_daily_bin761.fits.....................! real 52.21 user 50.83 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835439/ft1_filtered_4FGL_J1640.4+3945_daily_bin761.fits', '/scratch/kocevski/835439/ft2_4FGL_J1640.4+3945_daily_bin761.fits', expMap='/scratch/kocevski/835439/expmap_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.fits', expCube='/scratch/kocevski/835439/ltcube_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835439/Model_4FGL_J1640.4+3945_daily_bin761.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/835439/ft1_filtered_4FGL_J1640.4+3945_daily_bin761.fits Spacecraft file(s): /scratch/kocevski/835439/ft2_4FGL_J1640.4+3945_daily_bin761.fits Exposure map: /scratch/kocevski/835439/expmap_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.fits Exposure cube: /scratch/kocevski/835439/ltcube_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835439/Model_4FGL_J1640.4+3945_daily_bin761.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) = 6313.93454225 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6313.934303 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 16.802 1.0000 .10000E-03 10000. 2 'Prefactor ' .25003E-02 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 4.4138 1.0000 .10000E-03 10000. 5 'Prefactor ' .44436E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .12638E-03 1.0000 .10000E-03 10000. 7 'norm ' .30462 1.0000 .10000E-03 10000. 8 'norm ' .11046E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 2.6585 1.0000 .10000E-03 10000. 10 'Prefactor ' .11637E-03 1.0000 .10000E-03 10000. 11 'norm ' 6.5373 1.0000 .10000E-03 10000. 12 'Prefactor ' .93336 1.0000 .10000E-03 10000. 13 'Prefactor ' .12134E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10342E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 4.9639 1.0000 .10000E-03 10000. 16 'norm ' 2.3738 1.0000 .10000E-03 10000. 17 'norm ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 5.2151 1.0000 .10000E-03 10000. 19 'norm ' .10022E-03 1.0000 .10000E-03 10000. 20 'norm ' .10584E-03 1.0000 .10000E-03 10000. 21 'norm ' 2.2916 1.0000 .10000E-03 10000. 22 'Prefactor ' 20.967 1.0000 .10000E-03 10000. 23 'norm ' .10017E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .32458E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.2220 1.0000 .10000E-01 10.000 26 'Prefactor ' .82158 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= 6313.934 FROM MIGRAD STATUS=CONVERGED 629 CALLS 3081 TOTAL EDM= .13E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.819 29.263 .10930E-06 -.70518E-05 2 Prefactor .10000E-03 60.109 .12729E-06** at limit ** 3 Prefactor .10000E-03 1.2432 .25835E-06** at limit ** 4 Prefactor 4.4153 4.4885 .18205E-07 -.75351E-05 5 Prefactor .10000E-03 9.2224 .20753E-06** at limit ** 6 Prefactor .10000E-03 2.1146 .57527E-07** at limit ** 7 norm .30515 .19032 .75065E-07 .88754E-03 8 norm .10000E-03 5.8487 .20749E-07** at limit ** 9 Prefactor 2.5146 67.538 -.19181E-05 -.11250E-04 10 Prefactor .10000E-03 1.3845 .65585E-07** at limit ** 11 norm 6.5748 39.009 -.39214E-06 -.21835E-05 12 Prefactor .93331 1.0338 .11753E-06 .13035E-03 13 Prefactor .10000E-03 .89563 .48805E-07** at limit ** 14 Prefactor .10000E-03 1.2117 .52625E-07** at limit ** 15 Prefactor 4.9642 4.2155 .10063E-06 .26768E-04 16 norm 2.3712 1.4703 -.45177E-07 -.57289E-04 17 norm .10000E-03 .22836 .10065E-07** at limit ** 18 Prefactor 5.2141 8.3968 .42574E-06 .91586E-04 19 norm .10000E-03 .35672 -.15735E-06** at limit ** 20 norm .10000E-03 6.4365 -.13261E-05** at limit ** 21 norm 2.2914 1.8071 -.93234E-08 .82714E-04 22 Prefactor 20.833 46.357 -.73577E-06 -.15958E-04 23 norm .10000E-03 2.6696 -.14913E-05** at limit ** 24 Prefactor .10000E-03 20.798 -.50776E-06** at limit ** 25 Normalizat 1.2221 .21934 -.27561E-05 .18041E-03 26 Prefactor .82160 .16490 .27197E-05 -.14542E-05 ERR DEF= .500 Final values: Prefactor = 16.8189 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.41535 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.305154 norm = 0.0001 Prefactor = 2.51461 Prefactor = 0.0001 norm = 6.57477 Prefactor = 0.933308 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.96418 norm = 2.37121 norm = 0.0001 Prefactor = 5.21407 norm = 0.0001 norm = 0.0001 norm = 2.29136 Prefactor = 20.8328 norm = 0.0001 Prefactor = 0.0001 Normalizat = 1.22211 Prefactor = 0.821598 ********** ** 18 **HESSE ********** FCN= 6313.934 FROM HESSE STATUS=OK 458 CALLS 3539 TOTAL EDM= .31E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 16.819 29.287 .97711E-04 -1.4888 2 Prefactor .10000E-03 60.196 .20018E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 1.2576 .86577E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 4.4153 4.4919 .16516E-03 -1.5288 5 Prefactor .10000E-03 9.2424 .21215E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 2.1386 .11268E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .30515 .18359 .21177E-04 -1.5597 8 norm .10000E-03 5.8495 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.5146 65.462 .25000E-03 -1.5391 10 Prefactor .10000E-03 1.3967 .91300E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 6.5748 38.805 .15696E-03 -1.5195 12 Prefactor .93331 .96132 .73045E-04 -1.5515 13 Prefactor .10000E-03 1.4784 .13218E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 1.2233 .85410E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 4.9642 4.1631 .13685E-03 -1.5262 16 norm 2.3712 1.4700 .73132E-04 -1.5400 17 norm .10000E-03 .22984 .37058E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 5.2141 8.3000 .17602E-03 -1.5251 19 norm .10000E-03 .45261 .90646E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 6.5389 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.2914 1.7997 .91334E-04 -1.5405 22 Prefactor 20.833 46.364 .87473E-04 -1.4795 23 norm .10000E-03 2.7631 .12834E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 20.813 .21356E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.2221 .23628 .25085E-03 -.85922 26 Prefactor .82160 .17821 .23483E-03 -.98937 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.12134e-10 Minuit parameter uncertainties: 1 29.3118 2 3.48412e-06 3 4.41358e-06 4 4.49227 5 1.27833e-05 6 4.32953e-07 7 0.18359 8 1.00508e-07 9 25.6911 10 1.04735e-06 11 31.9768 12 0.961333 13 2.44957e-05 14 8.12473e-07 15 4.16337 16 1.47007 17 8.82863e-08 18 8.30181 19 4.92939e-07 20 4.01481e-05 21 1.79977 22 46.4444 23 3.01768e-05 24 2.52303e-05 25 0.236486 26 0.178331 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6313.93421437 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 9.333e-01 9.613e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 8.216e-01 1.783e-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.222e+00 2.365e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.54 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 3.69e-08 +/- 3.79e-08 Energy Flux (Fixed Index): 1.18e-05 +/- 1.21e-05 TS (Fixed Index): 2.54 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.98e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/835439/likelihoodResults_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.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) = 6313.84768527 delta logL = 0.0865291058426 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6313.84228942 delta logL = 0.0919249477383 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .95132 1.0000 .10000E-03 10000. 2 'Index ' 1.8284 1.0000 .0000 10.000 3 'Normalizat' 1.2485 1.0000 .10000E-01 10.000 4 'Prefactor ' .81008 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= 6313.842 FROM MIGRAD STATUS=CONVERGED 49 CALLS 200 TOTAL EDM= .56E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .95087 1.0546 .12993E-01 -.19594E-03 2 Index 1.8289 1.0699 .26881E-01 -.24026E-04 3 Normalizat 1.2486 .18829 .56254E-01 .62283E-05 4 Prefactor .81005 .14722 .43848E-01 .14123E-04 ERR DEF= .500 Final values: Prefactor = 0.950868 Index = 1.82885 Normalizat = 1.24857 Prefactor = 0.810053 ********** ** 18 **HESSE ********** FCN= 6313.842 FROM HESSE STATUS=OK 31 CALLS 231 TOTAL EDM= .30E-14 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .95087 1.1044 .82023E-04 -1.5513 2 Index 1.8289 1.1187 .10752E-02 -.68701 3 Normalizat 1.2486 .22503 .24876E-03 -.85115 4 Prefactor .81005 .17596 .23641E-03 -.99359 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.00573e-15 Minuit parameter uncertainties: 1 1.10447 2 1.13495 3 0.225205 4 0.176078 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835439': 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) = 6313.84228914 delta logL = 0.0919252283893 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 9.509e-01 1.104e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.829e+00 1.135e+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: 8.101e-01 1.761e-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.249e+00 2.252e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.74 Ra Dec: 250.119 39.763 Photon Index (Free Index): 1.83 +/- 1.13 Photon Flux (Free Index): 1.36e-08 +/- 3.13e-08 Energy Flux (Free Index): 1.50e-05 +/- 2.55e-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/835439/cmap_HighResolution_436579201_436838401_4FGL_J1640.4+3945_daily_bin761.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835439 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.98e-03', comment='SUCCESS', photon_flux='3.69e-08', energy_flux2='1.50e-05', photon_flux_error='3.79e-08', dlogl='9.19e-02', energy_flux='1.18e-05', photon_flux2='1.36e-08', job_status='DONE', time_completed='2021-09-15 06:51:23.504194', photon_index_error2='1.13', photon_index2='1.83', ts='2.54', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='2.55e-05', EG='1.22', time_epoch_completed='1631713883.5', return_code='0', job_id='835439', GAL2='0.81', EG2='1.25', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='3.13e-08', ts2='2.74', photon_index='2.42' WHERE bin_id='761' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:51:23 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835439: <4FGL_J1640.4+3945_daily_bin761> in cluster Done Job <4FGL_J1640.4+3945_daily_bin761> was submitted from host by user in cluster at Wed Sep 15 06:35:24 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:36:26 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:36:26 2021 Terminated at Wed Sep 15 06:51:24 2021 Results reported at Wed Sep 15 06:51:24 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin761 250.119 39.7626 436579201 436838401 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 : 811.23 sec. Max Memory : 1257 MB Average Memory : 309.23 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 899 sec. Turnaround time : 960 sec. The output (if any) is above this job summary.