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 194 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 = 17469 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin730 RA = 250.119, Dec = 39.7626 tmin = 680486401, tmax = 681091201 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='659556', job_status='RUN', time_executed='2022-08-02 02:18:42.138929', time_epoch_executed='1659431922.14' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='730' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/659556 Creating custom pfile directory: /scratch/kocevski/659556/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=680486401.0 && nMetStart<681091201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=680486401.0 && nMetStart<681091201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/659556/ft1_4FGL_J1640.4+3945_weekly_bin730.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=680486401.0 && nMetStart<681091201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/659556/ft1_4FGL_J1640.4+3945_weekly_bin730.fits outfile=/scratch/kocevski/659556/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin730.fits ra=250.119 dec=39.7626 rad=12.0 tmin=680486401.0 tmax=681091201.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 6.36 user 6.05 sys 0.27 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.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/659556/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin730.fits evtable="EVENTS" outfile="/scratch/kocevski/659556/ft1_filtered_4FGL_J1640.4+3945_weekly_bin730.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.56 user 0.39 sys 0.16 Number of photons that the gtmktime cut: 3095 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/659556/ft1_filtered_4FGL_J1640.4+3945_weekly_bin730.fits" evtable="EVENTS" scfile=/scratch/kocevski/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.fits sctable="SC_DATA" outfile=/scratch/kocevski/659556/ltcube_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.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/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.fits .....................! real 35.27 user 34.70 sys 0.37 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/659556/ft1_filtered_4FGL_J1640.4+3945_weekly_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.fits sctable="SC_DATA" expcube=/scratch/kocevski/659556/ltcube_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.fits outfile=/scratch/kocevski/659556/expmap_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.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/659556/ltcube_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.fits .....................! real 193.31 user 187.07 sys 5.74 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/659556/ft1_filtered_4FGL_J1640.4+3945_weekly_bin730.fits scfile=/scratch/kocevski/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.fits outfile=/scratch/kocevski/659556/cmap_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.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.59 user 0.42 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/659556/ft1_filtered_4FGL_J1640.4+3945_weekly_bin730.fits scfile=/scratch/kocevski/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.fits outfile=/scratch/kocevski/659556/cmap_HighResolution_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.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.59 user 0.43 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/659556/ft1_filtered_4FGL_J1640.4+3945_weekly_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/659556/Model_4FGL_J1640.4+3945_weekly_bin730.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/659556/ft1_filtered_4FGL_J1640.4+3945_weekly_bin730.fits.....................! real 214.95 user 211.78 sys 1.30 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/659556/ft1_filtered_4FGL_J1640.4+3945_weekly_bin730.fits', '/scratch/kocevski/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.fits', expMap='/scratch/kocevski/659556/expmap_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.fits', expCube='/scratch/kocevski/659556/ltcube_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/659556/Model_4FGL_J1640.4+3945_weekly_bin730.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/659556/ft1_filtered_4FGL_J1640.4+3945_weekly_bin730.fits Spacecraft file(s): /scratch/kocevski/659556/ft2_4FGL_J1640.4+3945_weekly_bin730.fits Exposure map: /scratch/kocevski/659556/expmap_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.fits Exposure cube: /scratch/kocevski/659556/ltcube_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/659556/Model_4FGL_J1640.4+3945_weekly_bin730.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) = 32847.8765795 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 32847.8750762 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 7.6424 1.0000 .10000E-03 10000. 2 'Prefactor ' 26.970 1.0000 .10000E-03 10000. 3 'Prefactor ' .32062 1.0000 .10000E-03 10000. 4 'Prefactor ' .10037E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.1204 1.0000 .10000E-03 10000. 6 'Prefactor ' .10125E-03 1.0000 .10000E-03 10000. 7 'norm ' .25356 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 8.4754 1.0000 .10000E-03 10000. 10 'Prefactor ' 1.5834 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.9874 1.0000 .10000E-03 10000. 13 'Prefactor ' 8.0779 1.0000 .10000E-03 10000. 14 'Prefactor ' 3.0847 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.7634 1.0000 .10000E-03 10000. 17 'norm ' .36841 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'norm ' .89453 1.0000 .10000E-03 10000. 20 'norm ' 1.5697 1.0000 .10000E-03 10000. 21 'norm ' 2.2664 1.0000 .10000E-03 10000. 22 'Prefactor ' .10064E-03 1.0000 .10000E-03 10000. 23 'norm ' 3.1737 1.0000 .10000E-03 10000. 24 'Prefactor ' 4.7879 1.0000 .10000E-03 10000. 25 'Normalizat' .77655 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.1984 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 32847.88 FROM MIGRAD STATUS=CONVERGED 615 CALLS 3140 TOTAL EDM= .14E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.6426 6.0027 .0000 .83175E-03 2 Prefactor 26.970 28.977 .0000 -.90364E-03 3 Prefactor .32128 .68952 .0000 .60011E-02 4 Prefactor .10000E-03 .81993 .0000 ** at limit ** 5 Prefactor 1.1228 6.7524 .0000 .18166E-02 6 Prefactor .10000E-03 .30066 .0000 ** at limit ** 7 norm .25357 .76219E-01 .0000 .59499E-02 8 norm .10000E-03 1.6349 .0000 ** at limit ** 9 Prefactor 8.4751 8.6708 .0000 .41513E-02 10 Prefactor 1.5836 1.2369 .0000 .15147E-02 11 norm .10000E-03 4.2656 .0000 ** at limit ** 12 Prefactor 2.9874 1.0654 .0000 .22497E-02 13 Prefactor 8.0778 1.1961 .0000 .10688E-02 14 Prefactor 3.0849 1.2135 .0000 .19360E-02 15 Prefactor .10000E-03 .41610 .0000 ** at limit ** 16 norm 2.7634 .76781 .0000 -.63474E-04 17 norm .36836 .33678 .0000 .71304E-02 18 Prefactor .10000E-03 .72108 .0000 ** at limit ** 19 norm .89451 .36129 .0000 .37879E-02 20 norm 1.5696 1.9903 .0000 .30722E-01 21 norm 2.2665 .78324 .0000 .21157E-02 22 Prefactor .10000E-03 17.394 .0000 ** at limit ** 23 norm 3.1733 2.1642 .0000 .28631E-02 24 Prefactor 4.7879 24.377 .0000 .91114E-04 25 Normalizat .77652 .92299E-01 .0000 .17565E-03 26 Prefactor 1.1984 .74095E-01 .0000 -.19172E-04 ERR DEF= .500 Final values: Prefactor = 7.64256 Prefactor = 26.9699 Prefactor = 0.321279 Prefactor = 0.0001 Prefactor = 1.1228 Prefactor = 0.0001 norm = 0.253565 norm = 0.0001 Prefactor = 8.47505 Prefactor = 1.58361 norm = 0.0001 Prefactor = 2.98738 Prefactor = 8.07785 Prefactor = 3.08486 Prefactor = 0.0001 norm = 2.76341 norm = 0.368364 Prefactor = 0.0001 norm = 0.894506 norm = 1.5696 norm = 2.26646 Prefactor = 0.0001 norm = 3.17327 Prefactor = 4.7879 Normalizat = 0.77652 Prefactor = 1.1984 ********** ** 18 **HESSE ********** FCN= 32847.88 FROM HESSE STATUS=OK 474 CALLS 3614 TOTAL EDM= .28E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 7.6426 6.0028 .72530E-03 -1.5155 2 Prefactor 26.970 28.974 .77141E-04 -1.4669 3 Prefactor .32128 1.2492 .20769E-02 -1.5595 4 Prefactor .10000E-03 .82563 .15960E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.1228 6.6797 .44373E-03 -1.5496 6 Prefactor .10000E-03 1.9152 .18969E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .25357 .73696E-01 .23366E-04 -1.5607 8 norm .10000E-03 1.6373 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 8.4751 8.6089 .68849E-03 -1.5126 10 Prefactor 1.5836 1.2388 .17005E-03 -1.5456 11 norm .10000E-03 4.2676 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.9874 1.0718 .73086E-04 -1.5362 13 Prefactor 8.0778 1.2138 .50244E-04 -1.5139 14 Prefactor 3.0849 1.1966 .11778E-03 -1.5357 15 Prefactor .10000E-03 .43017 .22794E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.7634 .76815 .80527E-04 -1.5375 17 norm .36836 .29385 .92970E-03 -1.5587 18 Prefactor .10000E-03 .72887 .15010E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .89451 .34575 .65710E-03 -1.5519 20 norm 1.5696 1.9723 .13896E-02 -1.5457 21 norm 2.2665 .77829 .89873E-04 -1.5407 22 Prefactor .10000E-03 17.658 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 3.1733 2.1457 .20258E-03 -1.5352 24 Prefactor 4.7879 24.022 .18387E-03 -1.5270 25 Normalizat .77652 .10860 .31449E-03 -1.0095 26 Prefactor 1.1984 .89384E-01 .22125E-03 -.86381 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.78921e-08 Minuit parameter uncertainties: 1 6.00324 2 28.9893 3 1.24927 4 3.28555e-07 5 5.47789 6 2.73267e-06 7 0.0736965 8 3.10365e-06 9 8.61018 10 1.23886 11 1.47098e-05 12 1.07182 13 1.21377 14 1.19664 15 5.63671e-07 16 0.768152 17 0.29385 18 1.06123e-06 19 0.345755 20 1.97241 21 0.778293 22 6.54472e-05 23 2.14575 24 21.4627 25 0.108634 26 0.0893954 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 32847.8750754 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.987e+00 1.072e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.198e+00 8.940e-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: 7.765e-01 1.086e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 28.70 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.18e-07 +/- 4.23e-08 Energy Flux (Fixed Index): 3.76e-05 +/- 1.35e-05 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) = 32845.7072743 delta logL = 2.16780102764 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 32845.7064487 delta logL = 2.16862669787 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.2924 1.0000 .10000E-03 10000. 2 'Index ' 2.0493 1.0000 .0000 10.000 3 'Normalizat' .80553 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1829 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= 32845.71 FROM MIGRAD STATUS=CONVERGED 54 CALLS 234 TOTAL EDM= .99E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.2924 14.327 .48613E-02 .23840E-02 2 Index 2.0493 1.7654 .12303 .44804E-03 3 Normalizat .80553 .56759E-01 .69992E-01 .58243E-03 4 Prefactor 1.1829 .34536E-01 .50355E-01 .61225E-03 ERR DEF= .500 Final values: Prefactor = 4.29239 Index = 2.04929 Normalizat = 0.80553 Prefactor = 1.18287 ********** ** 18 **HESSE ********** FCN= 32845.71 FROM HESSE STATUS=OK 31 CALLS 265 TOTAL EDM= .86E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.2924 1.1703 .94022E-04 -1.5294 2 Index 2.0493 .17650 .60961E-02 -.63124 3 Normalizat .80553 .10429 .30971E-03 -.99864 4 Prefactor 1.1829 .88556E-01 .22261E-03 -.86860 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.55005e-11 Minuit parameter uncertainties: 1 1.17026 2 0.176561 3 0.104316 4 0.0885675 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/659556': 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) = 32845.7064487 delta logL = 2.16862669974 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 4.292e+00 1.170e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.049e+00 1.766e-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: 1.183e+00 8.857e-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: 8.055e-01 1.043e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 35.45 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.05 +/- 0.18 Photon Flux (Free Index): 8.67e-08 +/- 2.91e-08 Energy Flux (Free Index): 5.33e-05 +/- 1.74e-05 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/659556/cmap_HighResolution_680486401_681091201_4FGL_J1640.4+3945_weekly_bin730.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/659556 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.18e-07', energy_flux2='5.33e-05', photon_flux_error='4.23e-08', dlogl='2.17e+00', energy_flux='3.76e-05', photon_flux2='8.67e-08', job_status='DONE', time_completed='2022-08-02 03:00:22.110750', photon_index_error2='0.18', photon_index2='2.05', ts='28.70', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='0.78', time_epoch_completed='1659434422.11', return_code='0', job_id='659556', GAL2='1.18', EG2='0.81', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='2.91e-08', ts2='35.45', photon_index='2.42' WHERE bin_id='730' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Aug 2 03:00:22 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 659544: <4FGL_J1640.4+3945_weekly_bin730> in cluster Done Job <4FGL_J1640.4+3945_weekly_bin730> was submitted from host by user in cluster at Tue Aug 2 00:06:47 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Aug 2 02:14:40 2022 was used as the home directory. was used as the working directory. Started at Tue Aug 2 02:14:40 2022 Terminated at Tue Aug 2 02:59:13 2022 Results reported at Tue Aug 2 02:59:13 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_weekly_bin730 250.119 39.7626 680486401 681091201 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 : 2514.77 sec. Max Memory : 1277 MB Average Memory : 377.66 MB Total Requested Memory : - Delta Memory : - Max Swap : 3410 MB Max Processes : 6 Max Threads : 21 Run time : 2672 sec. Turnaround time : 10346 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 659556: <4FGL_J1640.4+3945_weekly_bin730> in cluster Done Job <4FGL_J1640.4+3945_weekly_bin730> was submitted from host by user in cluster at Tue Aug 2 00:06:47 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Aug 2 02:15:20 2022 was used as the home directory. was used as the working directory. Started at Tue Aug 2 02:15:20 2022 Terminated at Tue Aug 2 03:00:22 2022 Results reported at Tue Aug 2 03:00:22 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_weekly_bin730 250.119 39.7626 680486401 681091201 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 : 2495.09 sec. Max Memory : 1108 MB Average Memory : 355.79 MB Total Requested Memory : - Delta Memory : - Max Swap : 3409 MB Max Processes : 6 Max Threads : 21 Run time : 2702 sec. Turnaround time : 10415 sec. The output (if any) is above this job summary.