/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 29 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 = 7361 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1613 RA = 250.119, Dec = 39.7626 tmin = 657417601, tmax = 657676801 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='396148', job_status='RUN', time_executed='2021-12-08 02:55:49.522471', time_epoch_executed='1638960949.52' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1613' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/396148 Creating custom pfile directory: /scratch/kocevski/396148/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=657417601.0 && nMetStart<657676801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=657417601.0 && nMetStart<657676801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/396148/ft1_4FGL_J1640.4+3945_daily_bin1613.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=657417601.0 && nMetStart<657676801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/396148/ft1_4FGL_J1640.4+3945_daily_bin1613.fits outfile=/scratch/kocevski/396148/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1613.fits ra=250.119 dec=39.7626 rad=12.0 tmin=657417601.0 tmax=657676801.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.54 user 3.26 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.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/396148/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1613.fits evtable="EVENTS" outfile="/scratch/kocevski/396148/ft1_filtered_4FGL_J1640.4+3945_daily_bin1613.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.49 user 0.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/396148/ft1_filtered_4FGL_J1640.4+3945_daily_bin1613.fits" evtable="EVENTS" scfile=/scratch/kocevski/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.fits sctable="SC_DATA" outfile=/scratch/kocevski/396148/ltcube_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.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/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.fits .....................! real 13.38 user 12.97 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/396148/ft1_filtered_4FGL_J1640.4+3945_daily_bin1613.fits evtable="EVENTS" scfile=/scratch/kocevski/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.fits sctable="SC_DATA" expcube=/scratch/kocevski/396148/ltcube_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.fits outfile=/scratch/kocevski/396148/expmap_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.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/396148/ltcube_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.fits .....................! real 190.67 user 185.33 sys 4.48 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/396148/ft1_filtered_4FGL_J1640.4+3945_daily_bin1613.fits scfile=/scratch/kocevski/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.fits outfile=/scratch/kocevski/396148/cmap_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.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.40 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/396148/ft1_filtered_4FGL_J1640.4+3945_daily_bin1613.fits scfile=/scratch/kocevski/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.fits outfile=/scratch/kocevski/396148/cmap_HighResolution_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.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.54 user 0.37 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/396148/ft1_filtered_4FGL_J1640.4+3945_daily_bin1613.fits evtable="EVENTS" scfile=/scratch/kocevski/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/396148/Model_4FGL_J1640.4+3945_daily_bin1613.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/396148/ft1_filtered_4FGL_J1640.4+3945_daily_bin1613.fits.....................! real 55.79 user 54.39 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/396148/ft1_filtered_4FGL_J1640.4+3945_daily_bin1613.fits', '/scratch/kocevski/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.fits', expMap='/scratch/kocevski/396148/expmap_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.fits', expCube='/scratch/kocevski/396148/ltcube_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/396148/Model_4FGL_J1640.4+3945_daily_bin1613.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/396148/ft1_filtered_4FGL_J1640.4+3945_daily_bin1613.fits Spacecraft file(s): /scratch/kocevski/396148/ft2_4FGL_J1640.4+3945_daily_bin1613.fits Exposure map: /scratch/kocevski/396148/expmap_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.fits Exposure cube: /scratch/kocevski/396148/ltcube_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/396148/Model_4FGL_J1640.4+3945_daily_bin1613.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) = 6808.90298444 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6808.80754316 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 28.871 1.0000 .10000E-03 10000. 2 'Prefactor ' 2.4703 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .71190 1.0000 .10000E-03 10000. 5 'Prefactor ' .10140E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 7 'norm ' .17252 1.0000 .10000E-03 10000. 8 'norm ' .10008E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10303E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' .10244E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 4.0652 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.3011 1.0000 .10000E-03 10000. 15 'Prefactor ' .87694 1.0000 .10000E-03 10000. 16 'norm ' 3.8562 1.0000 .10000E-03 10000. 17 'norm ' .24866 1.0000 .10000E-03 10000. 18 'Prefactor ' .10381E-03 1.0000 .10000E-03 10000. 19 'norm ' .81909 1.0000 .10000E-03 10000. 20 'norm ' 5.8602 1.0000 .10000E-03 10000. 21 'norm ' 3.8222 1.0000 .10000E-03 10000. 22 'Prefactor ' .10683E-03 1.0000 .10000E-03 10000. 23 'norm ' .17142 1.0000 .10000E-03 10000. 24 'Prefactor ' 5.2086 1.0000 .10000E-03 10000. 25 'Normalizat' 1.3856 1.0000 .10000E-01 10.000 26 'Prefactor ' .49358 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= 6808.807 FROM MIGRAD STATUS=CONVERGED 666 CALLS 3154 TOTAL EDM= .13E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 28.854 20.060 .28184E-07 -.11932E-04 2 Prefactor 2.5704 345.51 -.10478E-04 -.40397E-04 3 Prefactor .10000E-03 .85846 .97349E-07** at limit ** 4 Prefactor .71209 3.3435 .14234E-05 .18534E-03 5 Prefactor .10000E-03 13.288 -.48393E-06** at limit ** 6 Prefactor .10000E-03 1.6360 .87100E-07** at limit ** 7 norm .17253 .89366E-01 .53104E-09 -.14175E-02 8 norm .10000E-03 8.5266 .50102E-08** at limit ** 9 Prefactor .10000E-03 3.5405 .63629E-07** at limit ** 10 Prefactor .10000E-03 1.2038 -.73164E-07** at limit ** 11 norm .10000E-03 12.973 -.50511E-07** at limit ** 12 Prefactor .10000E-03 1.0616 .19650E-06** at limit ** 13 Prefactor 4.0652 1.5085 -.18845E-06 -.19001E-02 14 Prefactor 2.3006 2.8616 -.12306E-06 -.18924E-03 15 Prefactor .87608 2.8838 .16453E-05 .19669E-03 16 norm 3.8563 1.8160 -.13453E-07 -.34581E-03 17 norm .24873 .68098 .55579E-06 .41112E-03 18 Prefactor .10000E-03 4.6543 -.41560E-07** at limit ** 19 norm .81904 .71787 -.20887E-07 -.30582E-03 20 norm 5.8663 10.149 .14482E-06 .13962E-03 21 norm 3.8218 1.6747 .32711E-08 -.69091E-04 22 Prefactor .10000E-03 30.927 .10162E-06** at limit ** 23 norm .12612 3.5563 -.13111E-05 .12923E-02 24 Prefactor 5.7454 214.42 -.35243E-05 .35222E-04 25 Normalizat 1.3855 .17727 .90172E-06 -.36198E-03 26 Prefactor .49365 .13730 -.26335E-05 -.16836E-03 ERR DEF= .500 Final values: Prefactor = 28.8537 Prefactor = 2.57037 Prefactor = 0.0001 Prefactor = 0.712086 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.172529 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 4.06524 Prefactor = 2.30058 Prefactor = 0.876078 norm = 3.85633 norm = 0.248729 Prefactor = 0.0001 norm = 0.819041 norm = 5.86631 norm = 3.82182 Prefactor = 0.0001 norm = 0.126123 Prefactor = 5.74538 Normalizat = 1.38551 Prefactor = 0.493653 ********** ** 18 **HESSE ********** FCN= 6808.807 FROM HESSE STATUS=OK 466 CALLS 3620 TOTAL EDM= .37E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 28.854 20.074 .74563E-04 -1.4633 2 Prefactor 2.5704 359.29 .26016E-03 -1.5387 3 Prefactor .10000E-03 .86454 .74662E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .71209 3.2555 .29246E-03 -1.5539 5 Prefactor .10000E-03 13.340 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 1.6771 .20584E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .17253 .89874E-01 .16851E-04 -1.5625 8 norm .10000E-03 8.5468 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 3.5434 .15163E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 1.2103 .88382E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 12.976 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 1.5973 .13795E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 4.0652 1.3265 .48635E-04 -1.5305 14 Prefactor 2.3006 2.8101 .14384E-03 -1.5405 15 Prefactor .87608 2.8625 .22989E-03 -1.5521 16 norm 3.8563 1.8131 .72720E-04 -1.5315 17 norm .24873 .67089 .10367E-03 -1.5608 18 Prefactor .10000E-03 4.7371 .17354E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .81904 .68175 .61833E-03 -1.5527 20 norm 5.8663 9.9690 .16589E-03 -1.5224 21 norm 3.8218 1.6712 .67782E-04 -1.5317 22 Prefactor .10000E-03 31.165 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .12612 54.431 .24036E-02 -1.5637 24 Prefactor 5.7454 357.33 .17613E-03 -1.5229 25 Normalizat 1.3855 .20629 .21425E-03 -.81049 26 Prefactor .49365 .15606 .27377E-03 -1.1227 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.68004e-08 Minuit parameter uncertainties: 1 20.0785 2 61.155 3 2.06522e-06 4 3.04517 5 4.65056e-05 6 2.52813e-07 7 0.0898739 8 2.51639e-06 9 3.16511e-06 10 2.83921e-06 11 1.3136e-05 12 1.10718e-05 13 1.32656 14 2.81024 15 2.86294 16 1.81308 17 0.670915 18 1.45134e-05 19 0.681752 20 9.97179 21 1.67122 22 6.94204e-05 23 5.24296 24 91.1941 25 0.20641 26 0.156195 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6808.8074911 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 1.107e-05 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: 4.937e-01 1.562e-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.386e+00 2.064e-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: 9.36e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.25e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/396148/likelihoodResults_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.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) = 6808.81049599 delta logL = -0.00300488940138 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6808.80748085 delta logL = 1.02464973679e-05 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14314E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.5266 1.0000 .0000 10.000 3 'Normalizat' 1.3851 1.0000 .10000E-01 10.000 4 'Prefactor ' .49394 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 6806.207 FROM MIGRAD STATUS=FAILED 215 CALLS 385 TOTAL EDM= .28E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .19109E-01 .10063E-03** at limit ** 2 Index 6.9399 2.5994 .30923E-02 .88844E-03 3 Normalizat 1.2459 .12373 .22264E-03 -.55046E-04 4 Prefactor .56861 .98566E-01 .25621E-03 .26535E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 6806.207 FROM SIMPLEX STATUS=UNCHANGED 185 CALLS 570 TOTAL EDM= .80E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .19109E-01 .68435E-05** at limit ** 2 Index 6.9399 2.5994 .15329E-04 .88844E-03 3 Normalizat 1.2459 .12373 .30724E-05 -.55046E-04 4 Prefactor .56861 .98566E-01 .12646E-05 .26535E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6806.207 FROM MIGRAD STATUS=CONVERGED 39 CALLS 609 TOTAL EDM= .93E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .71102E-02 .16813E-03** at limit ** 2 Index 6.9399 2.5094 .61846E-03 -.11305E-04 3 Normalizat 1.2459 .94418E-01 .89056E-05 -.54893E-04 4 Prefactor .56861 .75604E-01 .10248E-04 .26624E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 6.93987 Normalizat = 1.2459 Prefactor = 0.568611 ********** ** 18 **HESSE ********** FCN= 6806.207 FROM HESSE STATUS=NOT POSDEF 33 CALLS 642 TOTAL EDM= .14E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .12455E-01 .12644E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 6.9399 2.5793 .24738E-04 .39843 3 Normalizat 1.2459 .11398 .17811E-05 -.85196 4 Prefactor .56861 .91050E-01 .20496E-05 -1.0892 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.374e-10 Minuit parameter uncertainties: 1 1.79474e-08 2 2.73742 3 0.114006 4 0.0910737 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/396148': 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) = 6806.20660857 delta logL = 2.60088252968 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 1.795e-08 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 6.940e+00 2.737e+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: 5.686e-01 9.107e-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.246e+00 1.140e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.55 Ra Dec: 250.119 39.763 Photon Index (Free Index): 6.94 +/- 2.74 Photon Flux (Free Index): 1.29e-07 +/- 8.53e-07 Energy Flux (Free Index): 1.55e-05 +/- 1.01e-04 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/396148/cmap_HighResolution_657417601_657676801_4FGL_J1640.4+3945_daily_bin1613.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/396148 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.25e-03', comment='SUCCESS', energy_flux2='1.55e-05', dlogl='2.60e+00', photon_flux2='1.29e-07', job_status='DONE', time_completed='2021-12-08 03:11:00.883051', photon_index_error2='2.74', photon_index2='6.94', ts='-0.00', fit_tolerance='1e-08', GAL='0.49', photon_index_error='0.00', photon_flux_upper_limit='9.36e-08', energy_flux_error2='1.01e-04', EG='1.39', time_epoch_completed='1638961860.88', return_code='0', job_id='396148', GAL2='0.57', EG2='1.25', return_code2='102', photon_flux_error2='8.53e-07', ts2='5.55', photon_index='2.42' WHERE bin_id='1613' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Dec 8 03:11:00 PST 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 396148: <4FGL_J1640.4+3945_daily_bin1613> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1613> was submitted from host by user in cluster at Wed Dec 8 02:55:12 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Dec 8 02:55:15 2021 was used as the home directory. was used as the working directory. Started at Wed Dec 8 02:55:15 2021 Terminated at Wed Dec 8 03:11:01 2021 Results reported at Wed Dec 8 03:11:01 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1613 250.119 39.7626 657417601 657676801 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 : 908.33 sec. Max Memory : 1095 MB Average Memory : 304.78 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 948 sec. Turnaround time : 949 sec. The output (if any) is above this job summary.