/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 75 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 = 7417 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin89 RA = 250.119, Dec = 39.7626 tmin = 262396801, tmax = 262656001 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='829062', job_status='RUN', time_executed='2021-09-15 06:13:11.913414', time_epoch_executed='1631711591.91' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='89' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/829062 Creating custom pfile directory: /scratch/kocevski/829062/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=262396801.0 && nMetStart<262656001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=262396801.0 && nMetStart<262656001.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/829062/ft1_4FGL_J1640.4+3945_daily_bin89.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=262396801.0 && nMetStart<262656001.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/829062/ft2_4FGL_J1640.4+3945_daily_bin89.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/829062/ft1_4FGL_J1640.4+3945_daily_bin89.fits outfile=/scratch/kocevski/829062/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin89.fits ra=250.119 dec=39.7626 rad=12.0 tmin=262396801.0 tmax=262656001.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 1.43 user 1.23 sys 0.18 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/829062/ft2_4FGL_J1640.4+3945_daily_bin89.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/829062/ft2_4FGL_J1640.4+3945_daily_bin89.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/829062/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin89.fits evtable="EVENTS" outfile="/scratch/kocevski/829062/ft1_filtered_4FGL_J1640.4+3945_daily_bin89.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.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/829062/ft1_filtered_4FGL_J1640.4+3945_daily_bin89.fits" evtable="EVENTS" scfile=/scratch/kocevski/829062/ft2_4FGL_J1640.4+3945_daily_bin89.fits sctable="SC_DATA" outfile=/scratch/kocevski/829062/ltcube_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.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/829062/ft2_4FGL_J1640.4+3945_daily_bin89.fits .....................! real 15.54 user 15.15 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/829062/ft1_filtered_4FGL_J1640.4+3945_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/829062/ft2_4FGL_J1640.4+3945_daily_bin89.fits sctable="SC_DATA" expcube=/scratch/kocevski/829062/ltcube_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.fits outfile=/scratch/kocevski/829062/expmap_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.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/829062/ltcube_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.fits .....................! real 191.84 user 186.66 sys 4.77 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/829062/ft1_filtered_4FGL_J1640.4+3945_daily_bin89.fits scfile=/scratch/kocevski/829062/ft2_4FGL_J1640.4+3945_daily_bin89.fits outfile=/scratch/kocevski/829062/cmap_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.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.54 user 0.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/829062/ft1_filtered_4FGL_J1640.4+3945_daily_bin89.fits scfile=/scratch/kocevski/829062/ft2_4FGL_J1640.4+3945_daily_bin89.fits outfile=/scratch/kocevski/829062/cmap_HighResolution_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.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.57 user 0.40 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/829062/ft1_filtered_4FGL_J1640.4+3945_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/829062/ft2_4FGL_J1640.4+3945_daily_bin89.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/829062/Model_4FGL_J1640.4+3945_daily_bin89.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/829062/ft1_filtered_4FGL_J1640.4+3945_daily_bin89.fits.....................! real 51.46 user 50.06 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/829062/ft1_filtered_4FGL_J1640.4+3945_daily_bin89.fits', '/scratch/kocevski/829062/ft2_4FGL_J1640.4+3945_daily_bin89.fits', expMap='/scratch/kocevski/829062/expmap_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.fits', expCube='/scratch/kocevski/829062/ltcube_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/829062/Model_4FGL_J1640.4+3945_daily_bin89.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/829062/ft1_filtered_4FGL_J1640.4+3945_daily_bin89.fits Spacecraft file(s): /scratch/kocevski/829062/ft2_4FGL_J1640.4+3945_daily_bin89.fits Exposure map: /scratch/kocevski/829062/expmap_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.fits Exposure cube: /scratch/kocevski/829062/ltcube_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/829062/Model_4FGL_J1640.4+3945_daily_bin89.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) = 6251.98746765 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6251.97245922 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 41.885 1.0000 .10000E-03 10000. 2 'Prefactor ' 16.234 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.1522 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.2022 1.0000 .10000E-03 10000. 7 'norm ' .77710 1.0000 .10000E-03 10000. 8 'norm ' .10054E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .52257 1.0000 .10000E-03 10000. 11 'norm ' .10007E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 6.3831 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.9441 1.0000 .10000E-03 10000. 15 'Prefactor ' 4.0928 1.0000 .10000E-03 10000. 16 'norm ' 4.8301 1.0000 .10000E-03 10000. 17 'norm ' .53369 1.0000 .10000E-03 10000. 18 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' 11.607 1.0000 .10000E-03 10000. 21 'norm ' 6.3586 1.0000 .10000E-03 10000. 22 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 23 'norm ' 29.979 1.0000 .10000E-03 10000. 24 'Prefactor ' .10184E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0879 1.0000 .10000E-01 10.000 26 'Prefactor ' .89246 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= 6251.972 FROM MIGRAD STATUS=CONVERGED 647 CALLS 3135 TOTAL EDM= .32E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 41.883 34.256 -.10878E-06 -.12279E-04 2 Prefactor 16.236 72.007 .94023E-06 .90806E-05 3 Prefactor 1.1518 4.1048 .89198E-06 -.31939E-03 4 Prefactor .10000E-03 2.7256 -.11694E-06** at limit ** 5 Prefactor .10000E-03 11.072 -.21668E-06** at limit ** 6 Prefactor 3.2022 4.5233 -.65635E-07 -.26584E-03 7 norm .77705 .20792 -.14367E-07 -.82222E-03 8 norm .10000E-03 20.559 .23927E-06** at limit ** 9 Prefactor .10000E-03 5.3904 -.32698E-06** at limit ** 10 Prefactor .52297 4.5466 .18285E-05 -.43592E-03 11 norm .10000E-03 35.241 -.79151E-06** at limit ** 12 Prefactor .10000E-03 1.4194 .16803E-07** at limit ** 13 Prefactor 6.3818 2.2564 .32871E-07 -.16921E-03 14 Prefactor 2.9442 2.7584 -.36797E-07 -.58474E-04 15 Prefactor 4.0934 3.5952 -.15762E-07 -.12251E-03 16 norm 4.8302 2.4747 .15528E-07 -.35218E-04 17 norm .53441 .89017 .72360E-07 -.33609E-03 18 Prefactor .10000E-03 7.4399 -.40136E-06** at limit ** 19 norm .10000E-03 .22116 -.13733E-07** at limit ** 20 norm 11.606 9.1677 -.67777E-06 -.37625E-03 21 norm 6.3590 2.4616 .56010E-07 .10043E-03 22 Prefactor .10000E-03 48.358 .19724E-05** at limit ** 23 norm 29.970 8.5274 -.68612E-06 -.86177E-03 24 Prefactor .10000E-03 112.40 -.29510E-05** at limit ** 25 Normalizat 1.0880 .22121 .13754E-06 -.48932E-04 26 Prefactor .89243 .16859 -.44223E-06 -.24426E-04 ERR DEF= .500 Final values: Prefactor = 41.8835 Prefactor = 16.2356 Prefactor = 1.15184 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.20218 norm = 0.777053 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.522972 norm = 0.0001 Prefactor = 0.0001 Prefactor = 6.38182 Prefactor = 2.94423 Prefactor = 4.0934 norm = 4.83016 norm = 0.53441 Prefactor = 0.0001 norm = 0.0001 norm = 11.6056 norm = 6.35898 Prefactor = 0.000100001 norm = 29.97 Prefactor = 0.0001 Normalizat = 1.088 Prefactor = 0.892435 ********** ** 18 **HESSE ********** FCN= 6251.972 FROM HESSE STATUS=OK 464 CALLS 3599 TOTAL EDM= .41E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 41.883 34.342 .61940E-04 -1.4413 2 Prefactor 16.236 72.030 .99403E-04 -1.4902 3 Prefactor 1.1518 4.3633 .29390E-03 -1.5493 4 Prefactor .10000E-03 2.7415 .12752E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 11.096 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 3.2022 4.5771 .18752E-03 -1.5350 7 norm .77705 .20742 .17205E-04 -1.5532 8 norm .10000E-03 20.721 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 5.4030 .17943E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .52297 5.5565 .35085E-03 -1.5563 11 norm .10000E-03 35.318 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 1.9683 .15390E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 6.3818 1.9907 .54579E-04 -1.5203 14 Prefactor 2.9442 2.7408 .12197E-03 -1.5365 15 Prefactor 4.0934 3.5879 .13144E-03 -1.5303 16 norm 4.8302 2.4741 .84351E-04 -1.5268 17 norm .53441 .79928 .91039E-03 -1.5562 18 Prefactor .10000E-03 7.6090 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 .22892 .72555E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 11.606 9.3350 .11759E-03 -1.5026 21 norm 6.3590 2.4607 .73917E-04 -1.5204 22 Prefactor .10000E-03 49.198 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 29.970 8.8907 .73175E-04 -1.4613 24 Prefactor .10000E-03 112.17 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0880 .26533 .29062E-03 -.90138 26 Prefactor .89243 .20047 .25578E-03 -.96406 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.13508e-09 Minuit parameter uncertainties: 1 34.3582 2 68.5329 3 4.36451 4 7.30598e-06 5 2.52434e-05 6 4.57764 7 0.207417 8 3.56596e-05 9 2.15648e-05 10 3.40942 11 0.000131746 12 2.63964e-06 13 1.99068 14 2.74095 15 3.58805 16 2.47411 17 0.799295 18 3.56128e-05 19 4.09215e-08 20 9.33617 21 2.46073 22 0.000496415 23 8.89107 24 0.000385755 25 0.265656 26 0.200631 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6251.97245776 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 2.640e-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: 8.924e-01 2.006e-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.088e+00 2.657e-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: 1.31e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/829062/likelihoodResults_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.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) = 6251.97488854 delta logL = -0.00243077994401 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6251.97245856 delta logL = -7.99534973339e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10081E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4301 1.0000 .0000 10.000 3 'Normalizat' 1.0879 1.0000 .10000E-01 10.000 4 'Prefactor ' .89263 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= 6251.972 FROM MIGRAD STATUS=CONVERGED 60 CALLS 228 TOTAL EDM= .55E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .33611 .25698E-01** at limit ** 2 Index 2.4390 2.3684 .50000 -.42859E-04 3 Normalizat 1.0880 .30441E-02 .65695E-01 -.23295E-04 4 Prefactor .89243 .24647E-02 .44911E-01 -.26539E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.43903 Normalizat = 1.088 Prefactor = 0.892435 ********** ** 18 **HESSE ********** FCN= 6251.972 FROM HESSE STATUS=NOT POSDEF 35 CALLS 263 TOTAL EDM= .28E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 362.76 .15330E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4390 6.2177 .50000 -.53774 3 Normalizat 1.0880 .10478 .29062E-03 -.90138 4 Prefactor .89243 .84766E-01 .25578E-03 -.96406 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.80459e-07 Minuit parameter uncertainties: 1 0.00021868 2 58.565 3 0.104802 4 0.0847783 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/829062': 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) = 6251.97245758 delta logL = 1.74960405275e-07 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 2.187e-04 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.439e+00 5.856e+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.924e-01 8.478e-02 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.088e+00 1.048e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 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/829062/cmap_HighResolution_262396801_262656001_4FGL_J1640.4+3945_daily_bin89.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/829062 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2021-09-15 06:26:56.133602', job_id='829062', GAL2='0.89', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1631712416.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.75e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='89' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:26:56 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 829062: <4FGL_J1640.4+3945_daily_bin89> in cluster Done Job <4FGL_J1640.4+3945_daily_bin89> was submitted from host by user in cluster at Wed Sep 15 06:10:22 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:11:48 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:11:48 2021 Terminated at Wed Sep 15 06:26:56 2021 Results reported at Wed Sep 15 06:26:56 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin89 250.119 39.7626 262396801 262656001 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 : 823.25 sec. Max Memory : 1095 MB Average Memory : 309.53 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 908 sec. Turnaround time : 994 sec. The output (if any) is above this job summary.