aklog: Couldn't determine realm of user:aklog: No credentials cache found while getting realm /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 208 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 make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. 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 = 17353 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.3+6850_weekly_bin747 RA = 250.082, Dec = 68.8483 tmin = 690768001, tmax = 691372801 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='473538', job_status='RUN', time_executed='2022-11-29 02:01:41.744653', time_epoch_executed='1669716101.74' WHERE source_name='4FGL J1640.3+6850' and cadence='weekly' and bin_id='747' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/473538 Creating custom pfile directory: /scratch/kocevski/473538/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=690768001.0 && nMetStart<691372801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=690768001.0 && nMetStart<691372801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/473538/ft1_4FGL_J1640.3+6850_weekly_bin747.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=690768001.0 && nMetStart<691372801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/473538/ft1_4FGL_J1640.3+6850_weekly_bin747.fits outfile=/scratch/kocevski/473538/ft1_filteredMKT_4FGL_J1640.3+6850_weekly_bin747.fits ra=250.082 dec=68.8483 rad=12.0 tmin=690768001.0 tmax=691372801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 5.94 user 5.64 sys 0.25 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.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/473538/ft1_filteredMKT_4FGL_J1640.3+6850_weekly_bin747.fits evtable="EVENTS" outfile="/scratch/kocevski/473538/ft1_filtered_4FGL_J1640.3+6850_weekly_bin747.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.57 user 0.38 sys 0.17 Number of photons that the gtmktime cut: 3162 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/473538/ft1_filtered_4FGL_J1640.3+6850_weekly_bin747.fits" evtable="EVENTS" scfile=/scratch/kocevski/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.fits sctable="SC_DATA" outfile=/scratch/kocevski/473538/ltcube_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.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/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.fits .....................! real 28.46 user 28.07 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/473538/ft1_filtered_4FGL_J1640.3+6850_weekly_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.fits sctable="SC_DATA" expcube=/scratch/kocevski/473538/ltcube_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.fits outfile=/scratch/kocevski/473538/expmap_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.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/473538/ltcube_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.fits .....................! real 191.82 user 185.78 sys 5.62 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 209 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.3+6850 @ 250.082 68.8483 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/473538/ft1_filtered_4FGL_J1640.3+6850_weekly_bin747.fits scfile=/scratch/kocevski/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.fits outfile=/scratch/kocevski/473538/cmap_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.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.082 yref=68.8483 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.59 user 0.41 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/473538/ft1_filtered_4FGL_J1640.3+6850_weekly_bin747.fits scfile=/scratch/kocevski/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.fits outfile=/scratch/kocevski/473538/cmap_HighResolution_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.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.082 yref=68.8483 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.60 user 0.42 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/473538/ft1_filtered_4FGL_J1640.3+6850_weekly_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/473538/Model_4FGL_J1640.3+6850_weekly_bin747.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/473538/ft1_filtered_4FGL_J1640.3+6850_weekly_bin747.fits.....................! real 287.03 user 285.22 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/473538/ft1_filtered_4FGL_J1640.3+6850_weekly_bin747.fits', '/scratch/kocevski/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.fits', expMap='/scratch/kocevski/473538/expmap_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.fits', expCube='/scratch/kocevski/473538/ltcube_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/473538/Model_4FGL_J1640.3+6850_weekly_bin747.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.3+6850' 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 3.992e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 351 Index: 2.132e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/473538/ft1_filtered_4FGL_J1640.3+6850_weekly_bin747.fits Spacecraft file(s): /scratch/kocevski/473538/ft2_4FGL_J1640.3+6850_weekly_bin747.fits Exposure map: /scratch/kocevski/473538/expmap_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.fits Exposure cube: /scratch/kocevski/473538/ltcube_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/473538/Model_4FGL_J1640.3+6850_weekly_bin747.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) = 33608.9744954 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 33608.974268 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 42.841 1.0000 .0000 .10000E+07 2 'Prefactor ' .62712E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .31353E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' .68625E-03 1.0000 .0000 .10000E+07 5 'Prefactor ' 6.9576 1.0000 .0000 .10000E+07 6 'norm ' .47035 1.0000 .0000 .10000E+07 7 'Prefactor ' 20.458 1.0000 .0000 .10000E+07 8 'Prefactor ' .62284E-03 1.0000 .0000 .10000E+07 9 'norm ' 3.5700 1.0000 .0000 .10000E+07 10 'Prefactor ' .47076E-01 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.2294 1.0000 .0000 .10000E+07 12 'Prefactor ' 11.952 1.0000 .0000 .10000E+07 13 'norm ' 7.2756 1.0000 .0000 .10000E+07 14 'Prefactor ' .21500E-05 1.0000 .0000 .10000E+07 15 'norm ' 1.1205 1.0000 .0000 .10000E+07 16 'Prefactor ' 4.4169 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.8575 1.0000 .0000 .10000E+07 18 'Prefactor ' 11.121 1.0000 .0000 .10000E+07 19 'Prefactor ' .18721E-04 1.0000 .0000 .10000E+07 20 'Prefactor ' .28546 1.0000 .0000 .10000E+07 21 'Prefactor ' 3.8054 1.0000 .0000 .10000E+07 22 'Prefactor ' .12128E-02 1.0000 .0000 .10000E+07 23 'norm ' 11.045 1.0000 .0000 .10000E+07 24 'norm ' 3.0101 1.0000 .0000 .10000E+07 25 'norm ' 14.601 1.0000 .0000 .10000E+07 26 'Prefactor ' 4.0045 1.0000 .0000 .10000E+07 27 'Prefactor ' 50.182 1.0000 .0000 .10000E+07 28 'Prefactor ' .37267E-04 1.0000 .0000 .10000E+07 29 'Prefactor ' .52684E-03 1.0000 .0000 .10000E+07 30 'Normalizat' .88285 1.0000 .10000E-01 10.000 31 'Prefactor ' 1.0101 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 33608.97 FROM MIGRAD STATUS=CONVERGED 183 CALLS 2985 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 42.872 1.7694 -.35738E-08 .16978E-01 2 Prefactor .22204E-09 2.6031 -.10043E-06** at limit ** 3 Prefactor .76605E-08 5.1559 .40964E-07** at limit ** 4 Prefactor .44464E-07 8.3346 -.31762E-06** at limit ** 5 Prefactor 6.9675 1.3576 -.20305E-07 -.99467E-02 6 norm .47012 .45319 .61390E-08 .87314E-03 7 Prefactor 20.419 13.872 -.12614E-07 -.20943E-01 8 Prefactor .13323E-08 3.3041 .13146E-06** at limit ** 9 norm 3.5555 3.8843 .54142E-08 -.34604E-04 10 Prefactor .0000 16.561 .19961E-07** at limit ** 11 Prefactor 2.2288 2.2427 .11296E-08 -.18634E-03 12 Prefactor 11.970 11.627 -.20702E-07 -.78499E-02 13 norm 7.2674 3.2911 .13125E-07 -.76035E-03 14 Prefactor .16653E-09 3.9792 -.15048E-06** at limit ** 15 norm 1.1203 .38715 .15543E-07 .51134E-02 16 Prefactor 4.4200 3.9917 -.22072E-07 .70836E-02 17 Prefactor 2.8787 1.5399 .49934E-07 .80722E-02 18 Prefactor 11.116 2.7008 -.27178E-07 -.13415 19 Prefactor .44409E-09 1.8375 .77567E-07** at limit ** 20 Prefactor .11269E-01 1928.2 .32056E-06** at limit ** 21 Prefactor 3.8036 3.0329 -.31515E-07 -.95951E-03 22 Prefactor .80325E-07 7.1678 .33496E-06** at limit ** 23 norm 11.043 1.7537 -.11928E-07 .18743E-03 24 norm 3.0114 .41962 .12944E-07 .18602E-01 25 norm 14.597 2.6803 .16442E-07 .39116E-02 26 Prefactor 3.9935 6.1367 .38915E-06 .87232E-03 27 Prefactor 50.340 26.144 -.20384E-07 -.17208E-01 28 Prefactor .73552E-07 1.7311 -.15500E-06** at limit ** 29 Prefactor .0000 2.1259 -.55610E-07** at limit ** 30 Normalizat .88294 .90998E-01 .12903E-05 .11844E-03 31 Prefactor 1.0101 .74289E-01 -.12857E-05 .29789E-04 ERR DEF= .500 Final values: Prefactor = 42.8716 Prefactor = 2.22045e-10 Prefactor = 7.66054e-09 Prefactor = 4.44644e-08 Prefactor = 6.96751 norm = 0.470121 Prefactor = 20.4186 Prefactor = 1.33227e-09 norm = 3.55549 Prefactor = 0 Prefactor = 2.22884 Prefactor = 11.9695 norm = 7.26743 Prefactor = 1.66533e-10 norm = 1.12026 Prefactor = 4.42002 Prefactor = 2.87873 Prefactor = 11.1155 Prefactor = 4.44089e-10 Prefactor = 0.0112687 Prefactor = 3.80362 Prefactor = 8.03246e-08 norm = 11.0427 norm = 3.01139 norm = 14.5975 Prefactor = 3.99349 Prefactor = 50.3398 Prefactor = 7.35523e-08 Prefactor = 0 Normalizat = 0.882942 Prefactor = 1.01015 ********** ** 18 **HESSE ********** FCN= 33608.97 FROM HESSE STATUS=OK 708 CALLS 3693 TOTAL EDM= .29E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 42.872 33.765 .15280E-03 -1.5577 2 Prefactor .22204E-09 2.6341 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .76605E-08 5.4453 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .44464E-07 8.7400 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 6.9675 10.380 .38010E-03 -1.5655 6 norm .47012 .63500 .39074E-02 -1.5694 7 Prefactor 20.419 19.229 .22116E-03 -1.5618 8 Prefactor .13323E-08 3.3466 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 3.5555 3.8935 .53464E-03 -1.5670 10 Prefactor .0000 16.549 .15659E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 2.2288 2.2543 .68826E-03 -1.5678 12 Prefactor 11.970 19.057 .28950E-03 -1.5639 13 norm 7.2674 3.2993 .37162E-03 -1.5654 14 Prefactor .16653E-09 4.0617 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.1203 .43408 .11091E-02 -1.5687 16 Prefactor 4.4200 4.0994 .47894E-03 -1.5666 17 Prefactor 2.8787 1.6028 .60115E-03 -1.5674 18 Prefactor 11.116 7.3758 .30017E-03 -1.5641 19 Prefactor .44409E-09 1.8371 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .11269E-01 5.9900 .12387E-01 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 3.8036 3.0382 .51719E-03 -1.5669 22 Prefactor .80325E-07 8.2799 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 11.043 1.7571 .30121E-03 -1.5642 24 norm 3.0114 .42202 .58474E-03 -1.5673 25 norm 14.597 2.7516 .26185E-03 -1.5632 26 Prefactor 3.9935 6.1462 .50373E-03 -1.5668 27 Prefactor 50.340 46.136 .14118E-03 -1.5566 28 Prefactor .73552E-07 .91763 .56860E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor .0000 2.1476 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 Normalizat .88294 .80584E-01 .44682E-01 -.97062 31 Prefactor 1.0101 .65228E-01 .43308E-01 -.92392 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.86282e-07 Minuit parameter uncertainties: 1 33.7656 2 5.0394e-05 3 0.000409098 4 0.00124641 5 10.3801 6 0.634995 7 19.2287 8 0.000132687 9 3.89352 10 2.60729e-05 11 2.25433 12 19.0574 13 3.2993 14 4.90876e-05 15 0.434082 16 4.09938 17 1.60281 18 7.37581 19 5.54126e-05 20 0.519613 21 3.03824 22 0.00163118 23 1.75707 24 0.422019 25 2.75159 26 6.14616 27 46.1359 28 0.000519581 29 1.3147e-05 30 0.080595 31 0.0652328 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 33608.9718577 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 1.197e+01 1.906e+01 0.000e+00 1.000e+06 ( 1.000e-14) 351 Index: 2.132e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 673 Prefactor: 1.010e+00 6.523e-02 0.000e+00 1.000e+01 ( 1.000e+00) 674 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 675 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 672 Normalization: 8.829e-01 8.060e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.50 Ra Dec: 250.082 68.848 Photon Flux Upper Limit: 3.57e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.71e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/473538/likelihoodResults_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.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) = 33606.3015635 delta logL = 2.67029417667 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 33606.2786346 delta logL = 2.69322310036 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .29026 1.0000 .0000 .10000E+07 2 'Index ' 4.2239 1.0000 .0000 10.000 3 'Normalizat' .82775 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0372 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 33606.28 FROM MIGRAD STATUS=CONVERGED 59 CALLS 362 TOTAL EDM= .20E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .28689 .99397 .94799E-03 .10413 2 Index 4.2282 .93902 .81414E-01 .12387E-02 3 Normalizat .82784 .16196E-01 .64792E-01 .10715E-03 4 Prefactor 1.0372 .13517E-01 .40723E-01 .27465E-04 ERR DEF= .500 Final values: Prefactor = 0.286894 Index = 4.22823 Normalizat = 0.827835 Prefactor = 1.0372 ********** ** 18 **HESSE ********** FCN= 33606.28 FROM HESSE STATUS=NOT POSDEF 35 CALLS 397 TOTAL EDM= .87E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .28689 2.7251 .43241E-04 -1.5697 2 Index 4.2282 2.0840 .44562E-02 -.15497 3 Normalizat .82784 .62482E-01 .28662E-03 -.99044 4 Prefactor 1.0372 .51653E-01 .21498E-03 -.91500 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 8.65527e-10 Minuit parameter uncertainties: 1 1.76842 2 2.15135 3 0.0624878 4 0.0516557 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/473538': 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) = 33606.2786296 delta logL = 2.69322809792 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 2.869e-01 1.768e+00 0.000e+00 1.000e+06 ( 1.000e-14) 351 Index: 4.228e+00 2.151e+00 0.000e+00 1.000e+01 (-1.000e+00) 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 673 Prefactor: 1.037e+00 5.166e-02 0.000e+00 1.000e+01 ( 1.000e+00) 674 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 675 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 672 Normalization: 8.278e-01 6.249e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 6.22 Ra Dec: 250.082 68.848 Photon Index (Free Index): 4.23 +/- 2.15 Photon Flux (Free Index): 5.38e-08 +/- 2.26e-08 Energy Flux (Free Index): 7.78e-06 +/- 4.20e-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/473538/cmap_HighResolution_690768001_691372801_4FGL_J1640.3+6850_weekly_bin747.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/473538 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-03', comment='SUCCESS', energy_flux2='7.78e-06', dlogl='2.69e+00', photon_flux2='5.38e-08', job_status='DONE', time_completed='2022-11-29 02:57:18.289285', photon_index_error2='2.15', photon_index2='4.23', ts='0.50', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='3.57e-08', energy_flux_error2='4.20e-06', EG='0.88', time_epoch_completed='1669719438.29', return_code='0', job_id='473538', GAL2='1.04', EG2='0.83', return_code2='102', photon_flux_error2='2.26e-08', ts2='6.22', photon_index='2.13' WHERE bin_id='747' AND source_name='4FGL J1640.3+6850' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Nov 29 02:57:18 PST 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 473538: <4FGL_J1640.3+6850_weekly_bin747> in cluster Done Job <4FGL_J1640.3+6850_weekly_bin747> was submitted from host by user in cluster at Tue Nov 29 01:45:34 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Nov 29 01:58:05 2022 was used as the home directory. was used as the working directory. Started at Tue Nov 29 01:58:05 2022 Terminated at Tue Nov 29 02:57:19 2022 Results reported at Tue Nov 29 02:57:19 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.3+6850_weekly_bin747 250.082 68.8483 690768001 691372801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.3+6850 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 3335.00 sec. Max Memory : 621 MB Average Memory : 344.94 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 3553 sec. Turnaround time : 4305 sec. The output (if any) is above this job summary.