/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 109 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 = 7443 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin49 RA = 250.119, Dec = 39.7626 tmin = 252028801, tmax = 252288001 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='827632', job_status='RUN', time_executed='2021-09-15 06:10:49.891900', time_epoch_executed='1631711449.89' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='49' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/827632 Creating custom pfile directory: /scratch/kocevski/827632/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=252028801.0 && nMetStart<252288001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=252028801.0 && nMetStart<252288001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/827632/ft1_4FGL_J1640.4+3945_daily_bin49.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=252028801.0 && nMetStart<252288001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/827632/ft2_4FGL_J1640.4+3945_daily_bin49.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/827632/ft1_4FGL_J1640.4+3945_daily_bin49.fits outfile=/scratch/kocevski/827632/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin49.fits ra=250.119 dec=39.7626 rad=12.0 tmin=252028801.0 tmax=252288001.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.44 user 1.26 sys 0.17 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/827632/ft2_4FGL_J1640.4+3945_daily_bin49.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/827632/ft2_4FGL_J1640.4+3945_daily_bin49.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/827632/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin49.fits evtable="EVENTS" outfile="/scratch/kocevski/827632/ft1_filtered_4FGL_J1640.4+3945_daily_bin49.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/827632/ft1_filtered_4FGL_J1640.4+3945_daily_bin49.fits" evtable="EVENTS" scfile=/scratch/kocevski/827632/ft2_4FGL_J1640.4+3945_daily_bin49.fits sctable="SC_DATA" outfile=/scratch/kocevski/827632/ltcube_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.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/827632/ft2_4FGL_J1640.4+3945_daily_bin49.fits .....................! real 15.02 user 14.65 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/827632/ft1_filtered_4FGL_J1640.4+3945_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/827632/ft2_4FGL_J1640.4+3945_daily_bin49.fits sctable="SC_DATA" expcube=/scratch/kocevski/827632/ltcube_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.fits outfile=/scratch/kocevski/827632/expmap_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.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/827632/ltcube_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.fits .....................! real 190.99 user 186.16 sys 4.44 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/827632/ft1_filtered_4FGL_J1640.4+3945_daily_bin49.fits scfile=/scratch/kocevski/827632/ft2_4FGL_J1640.4+3945_daily_bin49.fits outfile=/scratch/kocevski/827632/cmap_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.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.40 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/827632/ft1_filtered_4FGL_J1640.4+3945_daily_bin49.fits scfile=/scratch/kocevski/827632/ft2_4FGL_J1640.4+3945_daily_bin49.fits outfile=/scratch/kocevski/827632/cmap_HighResolution_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.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.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/827632/ft1_filtered_4FGL_J1640.4+3945_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/827632/ft2_4FGL_J1640.4+3945_daily_bin49.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/827632/Model_4FGL_J1640.4+3945_daily_bin49.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/827632/ft1_filtered_4FGL_J1640.4+3945_daily_bin49.fits.....................! real 57.05 user 55.66 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/827632/ft1_filtered_4FGL_J1640.4+3945_daily_bin49.fits', '/scratch/kocevski/827632/ft2_4FGL_J1640.4+3945_daily_bin49.fits', expMap='/scratch/kocevski/827632/expmap_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.fits', expCube='/scratch/kocevski/827632/ltcube_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/827632/Model_4FGL_J1640.4+3945_daily_bin49.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/827632/ft1_filtered_4FGL_J1640.4+3945_daily_bin49.fits Spacecraft file(s): /scratch/kocevski/827632/ft2_4FGL_J1640.4+3945_daily_bin49.fits Exposure map: /scratch/kocevski/827632/expmap_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.fits Exposure cube: /scratch/kocevski/827632/ltcube_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/827632/Model_4FGL_J1640.4+3945_daily_bin49.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) = 7230.14603629 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7230.10564273 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 41.846 1.0000 .10000E-03 10000. 3 'Prefactor ' 4.1193 1.0000 .10000E-03 10000. 4 'Prefactor ' .12979E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.6108 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .43388 1.0000 .10000E-03 10000. 8 'norm ' 17.272 1.0000 .10000E-03 10000. 9 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' .10004E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .56354 1.0000 .10000E-03 10000. 14 'Prefactor ' .61663E-01 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.7267 1.0000 .10000E-03 10000. 16 'norm ' 4.7136 1.0000 .10000E-03 10000. 17 'norm ' .10042E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 19 'norm ' .71461 1.0000 .10000E-03 10000. 20 'norm ' 47.914 1.0000 .10000E-03 10000. 21 'norm ' 1.7637 1.0000 .10000E-03 10000. 22 'Prefactor ' 67.185 1.0000 .10000E-03 10000. 23 'norm ' 2.6958 1.0000 .10000E-03 10000. 24 'Prefactor ' .11055E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .92513 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0037 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= 7230.106 FROM MIGRAD STATUS=CONVERGED 640 CALLS 2820 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 9.1183 -.27150E-07** at limit ** 2 Prefactor 41.849 45.580 -.24990E-06 -.40035E-04 3 Prefactor 4.1189 3.4436 .61350E-07 .50589E-05 4 Prefactor .10157E-03 4.3279 .17200E-05** at limit ** 5 Prefactor 1.6120 38.546 .38078E-06 -.12023E-03 6 Prefactor .10000E-03 1.7694 .27797E-07** at limit ** 7 norm .43387 .14264 .17124E-07 -.32306E-03 8 norm 17.269 15.666 .58766E-08 -.28139E-05 9 Prefactor .10000E-03 22.459 .54848E-07** at limit ** 10 Prefactor .10000E-03 1.0749 .93944E-07** at limit ** 11 norm .10000E-03 15.039 -.13248E-06** at limit ** 12 Prefactor .10000E-03 .38163 .10734E-06** at limit ** 13 Prefactor .56250 .89747 -.21447E-06 -.10148E-02 14 Prefactor .59896E-01 1.4954 .18518E-06 -.21718E-03 15 Prefactor 1.7271 2.2832 .12802E-06 .12423E-04 16 norm 4.7138 1.8172 .31062E-07 -.20939E-04 17 norm .10000E-03 .53351 -.55712E-07** at limit ** 18 Prefactor .10000E-03 1.7390 -.40685E-07** at limit ** 19 norm .71441 .74792 -.39517E-07 -.19111E-03 20 norm 47.914 13.637 -.36031E-06 -.41941E-03 21 norm 1.7639 1.7923 -.13070E-07 -.97051E-04 22 Prefactor 67.178 44.349 .67622E-07 -.36790E-04 23 norm 2.6981 4.5213 -.11737E-05 -.53769E-03 24 Prefactor .10010E-03 764.45 .40050E-04** at limit ** 25 Normalizat .92541 .19169 -.13039E-05 -.28758E-03 26 Prefactor 1.0035 .15266 .86897E-06 -.37449E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 41.8488 Prefactor = 4.11888 Prefactor = 0.000101574 Prefactor = 1.61201 Prefactor = 0.0001 norm = 0.433866 norm = 17.2695 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.562502 Prefactor = 0.0598965 Prefactor = 1.72711 norm = 4.71385 norm = 0.0001 Prefactor = 0.0001 norm = 0.714407 norm = 47.9137 norm = 1.76391 Prefactor = 67.1784 norm = 2.69811 Prefactor = 0.000100098 Normalizat = 0.92541 Prefactor = 1.00351 ********** ** 18 **HESSE ********** FCN= 7230.106 FROM HESSE STATUS=OK 476 CALLS 3296 TOTAL EDM= .31E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 9.1287 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 41.849 45.588 .61969E-04 -1.4413 3 Prefactor 4.1189 3.4410 .13665E-03 -1.5302 4 Prefactor .10157E-03 3.6247 .51483E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.6120 42.052 .16687E-02 -1.5454 6 Prefactor .10000E-03 1.8443 .22062E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .43387 .13996 .17042E-04 -1.5576 8 norm 17.269 15.666 .96372E-04 -1.4877 9 Prefactor .10000E-03 22.863 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 1.0811 .86064E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 15.042 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 .45574 .95656E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .56250 .75815 .89664E-03 -1.5558 14 Prefactor .59896E-01 33.059 .19058E-02 -1.5659 15 Prefactor 1.7271 2.2469 .13958E-03 -1.5445 16 norm 4.7138 1.8099 .68284E-04 -1.5274 17 norm .10000E-03 1.1633 .11548E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 1.7449 .10945E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .71441 .71124 .71144E-03 -1.5539 20 norm 47.914 13.601 .57929E-04 -1.4322 21 norm 1.7639 1.7742 .10886E-03 -1.5442 22 Prefactor 67.178 44.342 .24483E-03 -1.4067 23 norm 2.6981 4.5424 .22452E-03 -1.5379 24 Prefactor .10010E-03 770.93 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .92541 .22249 .27662E-03 -.95573 26 Prefactor 1.0035 .17858 .22520E-03 -.92613 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.12569e-09 Minuit parameter uncertainties: 1 4.22941e-07 2 45.6261 3 3.44115 4 0.00477705 5 16.479 6 1.86818e-06 7 0.13996 8 15.6694 9 4.30805e-06 10 8.85256e-07 11 3.35909e-06 12 5.05797e-06 13 0.758164 14 2.81353 15 2.24701 16 1.80988 17 4.3003e-06 18 4.22919e-07 19 0.711248 20 13.6016 21 1.77424 22 44.3639 23 4.543 24 0.0176371 25 0.222714 26 0.17869 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7230.10564023 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 5.058e-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: 1.004e+00 1.787e-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: 9.254e-01 2.227e-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: 6.70e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.18e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/827632/likelihoodResults_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.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) = 7230.11602107 delta logL = -0.010380841185 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7230.10564188 delta logL = -1.65797882801e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10070E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4140 1.0000 .0000 10.000 3 'Normalizat' .92547 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0036 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= 7230.106 FROM MIGRAD STATUS=CONVERGED 67 CALLS 221 TOTAL EDM= .81E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 3.2879 .90712E-02** at limit ** 2 Index 2.0458 6.7698 .50000 -.33763E-06 3 Normalizat .92541 .11344E-01 .45226E-01 .22157E-04 4 Prefactor 1.0035 .96294E-02 .44516E-01 .94503E-06 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.04581 Normalizat = 0.925412 Prefactor = 1.00351 ********** ** 18 **HESSE ********** FCN= 7230.106 FROM HESSE STATUS=OK 33 CALLS 254 TOTAL EDM= .99E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .55016 .57329E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.0458 6.0029 .50000 -.63210 3 Normalizat .92541 .20591 .27662E-03 -.95573 4 Prefactor 1.0035 .17487 .22520E-03 -.92613 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.94215e-13 Minuit parameter uncertainties: 1 7.77925e-07 2 4.29769 3 0.206086 4 0.174974 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/827632': 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) = 7230.10563366 delta logL = 6.56699012325e-06 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 7.779e-07 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.046e+00 4.298e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.004e+00 1.750e-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: 9.254e-01 2.061e-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 -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/827632/cmap_HighResolution_252028801_252288001_4FGL_J1640.4+3945_daily_bin49.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/827632 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.18e-03', job_status='DONE', photon_flux_upper_limit='6.70e-08', time_completed='2021-09-15 06:25:14.916447', job_id='827632', GAL2='1.00', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1631712314.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.57e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='49' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:25:14 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 827632: <4FGL_J1640.4+3945_daily_bin49> in cluster Done Job <4FGL_J1640.4+3945_daily_bin49> was submitted from host by user in cluster at Wed Sep 15 06:05:27 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:08:52 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:08:52 2021 Terminated at Wed Sep 15 06:25:15 2021 Results reported at Wed Sep 15 06:25:15 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin49 250.119 39.7626 252028801 252288001 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 : 864.14 sec. Max Memory : 618 MB Average Memory : 283.06 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 983 sec. Turnaround time : 1188 sec. The output (if any) is above this job summary.