/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 181 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 = 7322 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin699 RA = 250.119, Dec = 39.7626 tmin = 420508801, tmax = 420768001 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='834216', job_status='RUN', time_executed='2021-09-15 06:36:54.438502', time_epoch_executed='1631713014.44' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='699' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/834216 Creating custom pfile directory: /scratch/kocevski/834216/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=420508801.0 && nMetStart<420768001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=420508801.0 && nMetStart<420768001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/834216/ft1_4FGL_J1640.4+3945_daily_bin699.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=420508801.0 && nMetStart<420768001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/834216/ft2_4FGL_J1640.4+3945_daily_bin699.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/834216/ft1_4FGL_J1640.4+3945_daily_bin699.fits outfile=/scratch/kocevski/834216/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin699.fits ra=250.119 dec=39.7626 rad=12.0 tmin=420508801.0 tmax=420768001.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.44 user 3.16 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/834216/ft2_4FGL_J1640.4+3945_daily_bin699.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/834216/ft2_4FGL_J1640.4+3945_daily_bin699.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/834216/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin699.fits evtable="EVENTS" outfile="/scratch/kocevski/834216/ft1_filtered_4FGL_J1640.4+3945_daily_bin699.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.51 user 0.33 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/834216/ft1_filtered_4FGL_J1640.4+3945_daily_bin699.fits" evtable="EVENTS" scfile=/scratch/kocevski/834216/ft2_4FGL_J1640.4+3945_daily_bin699.fits sctable="SC_DATA" outfile=/scratch/kocevski/834216/ltcube_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.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/834216/ft2_4FGL_J1640.4+3945_daily_bin699.fits .....................! real 13.72 user 13.21 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/834216/ft1_filtered_4FGL_J1640.4+3945_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/834216/ft2_4FGL_J1640.4+3945_daily_bin699.fits sctable="SC_DATA" expcube=/scratch/kocevski/834216/ltcube_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.fits outfile=/scratch/kocevski/834216/expmap_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.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/834216/ltcube_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.fits .....................! real 193.76 user 185.27 sys 5.45 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/834216/ft1_filtered_4FGL_J1640.4+3945_daily_bin699.fits scfile=/scratch/kocevski/834216/ft2_4FGL_J1640.4+3945_daily_bin699.fits outfile=/scratch/kocevski/834216/cmap_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.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.55 user 0.39 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/834216/ft1_filtered_4FGL_J1640.4+3945_daily_bin699.fits scfile=/scratch/kocevski/834216/ft2_4FGL_J1640.4+3945_daily_bin699.fits outfile=/scratch/kocevski/834216/cmap_HighResolution_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.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.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/834216/ft1_filtered_4FGL_J1640.4+3945_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/834216/ft2_4FGL_J1640.4+3945_daily_bin699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834216/Model_4FGL_J1640.4+3945_daily_bin699.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/834216/ft1_filtered_4FGL_J1640.4+3945_daily_bin699.fits.....................! real 58.47 user 56.40 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/834216/ft1_filtered_4FGL_J1640.4+3945_daily_bin699.fits', '/scratch/kocevski/834216/ft2_4FGL_J1640.4+3945_daily_bin699.fits', expMap='/scratch/kocevski/834216/expmap_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.fits', expCube='/scratch/kocevski/834216/ltcube_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/834216/Model_4FGL_J1640.4+3945_daily_bin699.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/834216/ft1_filtered_4FGL_J1640.4+3945_daily_bin699.fits Spacecraft file(s): /scratch/kocevski/834216/ft2_4FGL_J1640.4+3945_daily_bin699.fits Exposure map: /scratch/kocevski/834216/expmap_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.fits Exposure cube: /scratch/kocevski/834216/ltcube_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/834216/Model_4FGL_J1640.4+3945_daily_bin699.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) = 7297.50488264 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7297.47073948 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .98691E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 8.6176 1.0000 .10000E-03 10000. 3 'Prefactor ' .91269E-02 1.0000 .10000E-03 10000. 4 'Prefactor ' 7.4986 1.0000 .10000E-03 10000. 5 'Prefactor ' .10522E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 5.4507 1.0000 .10000E-03 10000. 7 'norm ' .25506 1.0000 .10000E-03 10000. 8 'norm ' 9.6702 1.0000 .10000E-03 10000. 9 'Prefactor ' 29.996 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' 75.223 1.0000 .10000E-03 10000. 12 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 7.9477 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' 6.3012 1.0000 .10000E-03 10000. 17 'norm ' .84510 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.1926 1.0000 .10000E-03 10000. 19 'norm ' .70734 1.0000 .10000E-03 10000. 20 'norm ' .10005E-03 1.0000 .10000E-03 10000. 21 'norm ' .25169 1.0000 .10000E-03 10000. 22 'Prefactor ' .10482E-03 1.0000 .10000E-03 10000. 23 'norm ' .10183E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 24.451 1.0000 .10000E-03 10000. 25 'Normalizat' 1.1962 1.0000 .10000E-01 10.000 26 'Prefactor ' .78549 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= 7297.471 FROM MIGRAD STATUS=CONVERGED 678 CALLS 3339 TOTAL EDM= .31E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 233.14 .74866E-05** at limit ** 2 Prefactor 8.8642 235.57 -.21249E-05 .25963E-05 3 Prefactor .10001E-03 1.5833 -.79849E-07** at limit ** 4 Prefactor 7.4920 7.5289 .12044E-05 .44822E-03 5 Prefactor .10000E-03 17.322 .54218E-06** at limit ** 6 Prefactor 5.4525 3.8505 -.67717E-07 -.26535E-03 7 norm .25508 .13194 -.33073E-07 -.19346E-02 8 norm 9.6707 10.295 -.15804E-07 -.13119E-04 9 Prefactor 29.986 22.096 .34951E-06 .14899E-05 10 Prefactor .10000E-03 1.2409 .30910E-07** at limit ** 11 norm 75.212 44.532 -.10150E-05 -.13447E-03 12 Prefactor .10000E-03 .59592 .16268E-06** at limit ** 13 Prefactor .10000E-03 .46059 .99206E-07** at limit ** 14 Prefactor 7.9470 3.7723 .42899E-08 -.16232E-04 15 Prefactor .10000E-03 .82232 -.10927E-06** at limit ** 16 norm 6.3014 1.9543 -.70931E-07 -.41408E-03 17 norm .84507 .78348 .83822E-07 .37061E-03 18 Prefactor 1.1937 7.7409 -.60224E-06 .69249E-04 19 norm .70729 .71770 .76393E-07 .70599E-03 20 norm .10000E-03 2.6473 -.18524E-06** at limit ** 21 norm .25190 1.2889 -.96901E-06 .64364E-03 22 Prefactor .10000E-03 17.157 -.71609E-06** at limit ** 23 norm .10000E-03 3.1161 -.30567E-06** at limit ** 24 Prefactor 24.448 65.335 -.46846E-06 .61150E-05 25 Normalizat 1.1961 .20723 -.23589E-05 .15419E-03 26 Prefactor .78551 .15189 .18838E-05 .67217E-04 ERR DEF= .500 Final values: Prefactor = 0.000100001 Prefactor = 8.86416 Prefactor = 0.00010001 Prefactor = 7.49203 Prefactor = 0.0001 Prefactor = 5.45245 norm = 0.255083 norm = 9.67068 Prefactor = 29.9857 Prefactor = 0.0001 norm = 75.2122 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 7.94699 Prefactor = 0.0001 norm = 6.30137 norm = 0.845072 Prefactor = 1.19369 norm = 0.707294 norm = 0.0001 norm = 0.251895 Prefactor = 0.0001 norm = 0.0001 Prefactor = 24.4478 Normalizat = 1.19612 Prefactor = 0.785508 ********** ** 18 **HESSE ********** FCN= 7297.471 FROM HESSE STATUS=OK 484 CALLS 3823 TOTAL EDM= .89E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 223.58 .76173E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 8.8642 235.92 .13655E-03 -1.5112 3 Prefactor .10001E-03 3.1922 .36080E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 7.4920 7.7151 .14646E-03 -1.5160 5 Prefactor .10000E-03 17.336 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 5.4525 3.8599 .13069E-03 -1.5241 7 norm .25508 .12994 .20017E-04 -1.5607 8 norm 9.6707 10.296 .12887E-03 -1.5086 9 Prefactor 29.986 22.029 .73154E-04 -1.4612 10 Prefactor .10000E-03 1.2489 .92946E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 75.212 44.592 .46295E-04 -1.3971 12 Prefactor .10000E-03 1.0068 .11925E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 6.3812 .10332E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 7.9470 3.7624 .10781E-03 -1.5144 15 Prefactor .10000E-03 .82869 .75722E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 6.3014 1.9516 .64300E-04 -1.5206 17 norm .84507 .76678 .68133E-04 -1.5524 18 Prefactor 1.1937 7.8424 .20840E-02 -1.5489 19 norm .70729 .68969 .68671E-03 -1.5540 20 norm .10000E-03 2.6602 .13584E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .25190 1.6696 .15685E-02 -1.5608 22 Prefactor .10000E-03 17.227 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 3.1398 .14691E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 24.448 65.065 .81010E-04 -1.4719 25 Normalizat 1.1961 .23336 .25481E-03 -.86723 26 Prefactor .78551 .17014 .24454E-03 -1.0026 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.91079e-10 Minuit parameter uncertainties: 1 0.000983237 2 91.864 3 0.000357124 4 7.7161 5 1.47747e-06 6 3.86006 7 0.129939 8 10.2976 9 22.0351 10 5.26432e-07 11 44.6113 12 7.25873e-06 13 6.63824e-06 14 3.76252 15 3.28779e-06 16 1.9516 17 0.766785 18 6.12022 19 0.689701 20 1.01863e-05 21 1.2968 22 0.000107662 23 1.79962e-05 24 65.2544 25 0.233563 26 0.170255 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7297.47063703 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 7.259e-06 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: 7.855e-01 1.703e-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.196e+00 2.336e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.96e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.16e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/834216/likelihoodResults_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.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): 102 logL (Free Index) = 7297.47539059 delta logL = -0.00475355384788 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7297.47063643 delta logL = 6.02908585279e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10040E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4494 1.0000 .0000 10.000 3 'Normalizat' 1.1962 1.0000 .10000E-01 10.000 4 'Prefactor ' .78556 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= 7296.451 FROM MIGRAD STATUS=CONVERGED 197 CALLS 364 TOTAL EDM= .32E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .19201E-02 .34481E-03** at limit ** 2 Index 6.7557 1.9116 .12157 .20357E-03 3 Normalizat 1.1069 .39634E-01 .59395E-01 -.16818E-03 4 Prefactor .83376 .31352E-01 .43529E-01 -.26334E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 6.7557 Normalizat = 1.10689 Prefactor = 0.833763 ********** ** 18 **HESSE ********** FCN= 7296.451 FROM HESSE STATUS=OK 33 CALLS 397 TOTAL EDM= .65E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .13231E-02 .89444E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 6.7557 .32625 .42912E-02 .35879 3 Normalizat 1.1069 .21711 .26270E-03 -.89531 4 Prefactor .83376 .17071 .23798E-03 -.98496 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.48058e-10 Minuit parameter uncertainties: 1 6.40518e-08 2 0.326513 3 0.217284 4 0.170815 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/834216': 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) = 7296.45138518 delta logL = 1.01925184672 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 6.405e-08 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 6.756e+00 3.265e-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: 8.338e-01 1.708e-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.107e+00 2.173e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.18 Ra Dec: 250.119 39.763 Photon Index (Free Index): 6.76 +/- 0.33 Photon Flux (Free Index): 8.23e-08 +/- 6.47e-08 Energy Flux (Free Index): 9.92e-06 +/- 7.71e-06 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/834216/cmap_HighResolution_420508801_420768001_4FGL_J1640.4+3945_daily_bin699.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/834216 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.16e-03', comment='SUCCESS', energy_flux2='9.92e-06', dlogl='1.02e+00', photon_flux2='8.23e-08', job_status='DONE', time_completed='2021-09-15 06:52:36.714748', photon_index_error2='0.33', photon_index2='6.76', ts='-0.00', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='7.96e-08', energy_flux_error2='7.71e-06', EG='1.20', time_epoch_completed='1631713956.71', return_code='0', job_id='834216', GAL2='0.83', EG2='1.11', return_code2='0', photon_flux_error2='6.47e-08', ts2='2.18', photon_index='2.42' WHERE bin_id='699' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:52:36 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 834216: <4FGL_J1640.4+3945_daily_bin699> in cluster Done Job <4FGL_J1640.4+3945_daily_bin699> was submitted from host by user in cluster at Wed Sep 15 06:30:31 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:33:40 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:33:40 2021 Terminated at Wed Sep 15 06:52:37 2021 Results reported at Wed Sep 15 06:52:37 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin699 250.119 39.7626 420508801 420768001 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 : 934.65 sec. Max Memory : 1112 MB Average Memory : 299.28 MB Total Requested Memory : - Delta Memory : - Max Swap : 3407 MB Max Processes : 6 Max Threads : 21 Run time : 1137 sec. Turnaround time : 1326 sec. The output (if any) is above this job summary.