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 196 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 = 7725 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1735 RA = 250.119, Dec = 39.7626 tmin = 689040001, tmax = 689299201 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='859615', job_status='RUN', time_executed='2022-11-05 00:16:00.699065', time_epoch_executed='1667632560.7' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1735' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/859615 Creating custom pfile directory: /scratch/kocevski/859615/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=689040001.0 && nMetStart<689299201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=689040001.0 && nMetStart<689299201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/859615/ft1_4FGL_J1640.4+3945_daily_bin1735.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=689040001.0 && nMetStart<689299201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/859615/ft1_4FGL_J1640.4+3945_daily_bin1735.fits outfile=/scratch/kocevski/859615/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1735.fits ra=250.119 dec=39.7626 rad=12.0 tmin=689040001.0 tmax=689299201.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.64 user 3.41 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.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/859615/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1735.fits evtable="EVENTS" outfile="/scratch/kocevski/859615/ft1_filtered_4FGL_J1640.4+3945_daily_bin1735.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 Number of photons that the gtmktime cut: 739 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/859615/ft1_filtered_4FGL_J1640.4+3945_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/859615/ltcube_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.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/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.fits .....................! real 12.27 user 11.86 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/859615/ft1_filtered_4FGL_J1640.4+3945_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/859615/ltcube_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.fits outfile=/scratch/kocevski/859615/expmap_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.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/859615/ltcube_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.fits .....................! real 190.67 user 185.79 sys 4.45 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/859615/ft1_filtered_4FGL_J1640.4+3945_daily_bin1735.fits scfile=/scratch/kocevski/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.fits outfile=/scratch/kocevski/859615/cmap_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.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.36 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/859615/ft1_filtered_4FGL_J1640.4+3945_daily_bin1735.fits scfile=/scratch/kocevski/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.fits outfile=/scratch/kocevski/859615/cmap_HighResolution_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.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.40 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/859615/ft1_filtered_4FGL_J1640.4+3945_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/859615/Model_4FGL_J1640.4+3945_daily_bin1735.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/859615/ft1_filtered_4FGL_J1640.4+3945_daily_bin1735.fits.....................! real 59.34 user 57.86 sys 1.33 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/859615/ft1_filtered_4FGL_J1640.4+3945_daily_bin1735.fits', '/scratch/kocevski/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.fits', expMap='/scratch/kocevski/859615/expmap_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.fits', expCube='/scratch/kocevski/859615/ltcube_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/859615/Model_4FGL_J1640.4+3945_daily_bin1735.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 0.000e+00 1.000e+06 ( 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/859615/ft1_filtered_4FGL_J1640.4+3945_daily_bin1735.fits Spacecraft file(s): /scratch/kocevski/859615/ft2_4FGL_J1640.4+3945_daily_bin1735.fits Exposure map: /scratch/kocevski/859615/expmap_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.fits Exposure cube: /scratch/kocevski/859615/ltcube_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/859615/Model_4FGL_J1640.4+3945_daily_bin1735.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) = 7778.56044856 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7778.49275682 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .13018E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 11.490 1.0000 .0000 .10000E+07 3 'Prefactor ' .87283E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' .66323E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .22463E-02 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.8989 1.0000 .0000 .10000E+07 7 'norm ' .19567 1.0000 .0000 .10000E+07 8 'norm ' .34157E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 3.9826 1.0000 .0000 .10000E+07 10 'Prefactor ' 9.3032 1.0000 .0000 .10000E+07 11 'norm ' .87897E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' 3.9654 1.0000 .0000 .10000E+07 13 'Prefactor ' 4.7736 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.2037 1.0000 .0000 .10000E+07 15 'Prefactor ' 1.6788 1.0000 .0000 .10000E+07 16 'norm ' 5.4861 1.0000 .0000 .10000E+07 17 'norm ' .86375E-07 1.0000 .0000 .10000E+07 18 'Prefactor ' .40462E-05 1.0000 .0000 .10000E+07 19 'norm ' .63770 1.0000 .0000 .10000E+07 20 'norm ' .61279E-06 1.0000 .0000 .10000E+07 21 'norm ' 12.768 1.0000 .0000 .10000E+07 22 'norm ' 6.9211 1.0000 .0000 .10000E+07 23 'Prefactor ' .30044E-03 1.0000 .0000 .10000E+07 24 'Normalizat' .68245 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0889 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7778.488 FROM MIGRAD STATUS=CONVERGED 159 CALLS 2102 TOTAL EDM= .20E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .18874E-08 10.186 .67242E-06** at limit ** 2 Prefactor 15.298 43.535 -.82107E-06 -.17028E-02 3 Prefactor .55511E-10 2.7584 .26536E-06** at limit ** 4 Prefactor .11380E-07 8.4918 .55590E-06** at limit ** 5 Prefactor .77716E-09 7.0959 .15946E-06** at limit ** 6 Prefactor 2.9026 2.7001 .43871E-07 -.25872E-03 7 norm .19575 .11538 -.21652E-07** at limit ** 8 norm .0000 4.0504 .86197E-08** at limit ** 9 Prefactor 3.9970 11.871 -.11520E-07 .37813E-02 10 Prefactor 9.2740 4.4463 -.22178E-07 .50076E-03 11 norm .65670E-07 16.611 -.31865E-07** at limit ** 12 Prefactor 3.9558 2.3637 .86289E-08 .14947E-02 13 Prefactor 4.7830 2.4156 -.40595E-07 .18719E-02 14 Prefactor 1.2055 1.7455 -.13838E-06 .13644E-02 15 Prefactor 1.6802 2.2046 .54004E-07 -.42126E-03 16 norm 5.4860 1.9984 .67614E-07 -.21531E-02 17 norm .0000 .34926 -.68949E-07** at limit ** 18 Prefactor .0000 1.5440 .14201E-06** at limit ** 19 norm .63845 .62779 .45936E-07 -.20666E-02 20 norm .37310E-05 9.0120 .21491E-06** at limit ** 21 norm 12.774 2.4715 .31899E-07 -.19402E-02 22 norm 6.8771 5.4369 .96876E-07 -.66037E-03 23 Prefactor .17051E-05 17.372 .23402E-06** at limit ** 24 Normalizat .68182 .20594 -.64231E-06 -.86855E-06 25 Prefactor 1.0889 .16944 .55953E-06 -.12014E-04 ERR DEF= .500 Final values: Prefactor = 1.88738e-09 Prefactor = 15.2982 Prefactor = 5.55112e-11 Prefactor = 1.13798e-08 Prefactor = 7.77156e-10 Prefactor = 2.90258 norm = 0.195753 norm = 0 Prefactor = 3.99702 Prefactor = 9.27398 norm = 6.56697e-08 Prefactor = 3.95577 Prefactor = 4.783 Prefactor = 1.20555 Prefactor = 1.68017 norm = 5.48605 norm = 0 Prefactor = 0 norm = 0.638445 norm = 3.73096e-06 norm = 12.7736 norm = 6.8771 Prefactor = 1.70508e-06 Normalizat = 0.681824 Prefactor = 1.08893 ********** ** 18 **HESSE ********** FCN= 7778.488 FROM HESSE STATUS=OK 487 CALLS 2589 TOTAL EDM= .22E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .18874E-08 10.218 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 15.298 43.396 .29529E-03 -1.5630 3 Prefactor .55511E-10 1.2832 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .11380E-07 8.4535 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .77716E-09 7.1407 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 2.9026 2.7101 .59656E-03 -1.5674 7 norm .19575 .11595 .47222E-03 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 4.0802 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 3.9970 11.963 .50515E-03 -1.5668 10 Prefactor 9.2740 4.4492 .32833E-03 -1.5647 11 norm .65670E-07 16.965 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 3.9558 2.2440 .50628E-03 -1.5668 13 Prefactor 4.7830 2.2910 .46026E-03 -1.5664 14 Prefactor 1.2055 1.7875 .10332E-02 -1.5686 15 Prefactor 1.6802 2.2344 .81282E-03 -1.5682 16 norm 5.4860 2.0017 .42874E-03 -1.5661 17 norm .0000 .34255 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 1.5553 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .63845 .63418 .65916E-03 -1.5692 20 norm .37310E-05 26.865 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 12.774 2.4766 .28008E-03 -1.5636 22 norm 6.8771 5.4346 .38111E-03 -1.5656 23 Prefactor .17051E-05 26.336 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .68182 .17886 .71816E-01 -1.0461 25 Prefactor 1.0889 .14572 .38023E-01 -.89821 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.18473e-07 Minuit parameter uncertainties: 1 0.00027845 2 43.3969 3 1.89791e-05 4 0.000619946 5 0.000150648 6 2.71013 7 0.115953 8 1.91965e-05 9 11.9631 10 4.4492 11 0.00211108 12 2.24401 13 2.29101 14 1.78747 15 2.23443 16 2.00167 17 1.02931e-06 18 4.24586e-07 19 0.63418 20 0.0200233 21 2.47657 22 5.43457 23 0.0134023 24 0.17901 25 0.145775 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7778.48843027 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.956e+00 2.244e+00 0.000e+00 1.000e+06 ( 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.089e+00 1.458e-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: 6.818e-01 1.790e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 10.40 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.56e-07 +/- 8.86e-08 Energy Flux (Fixed Index): 4.98e-05 +/- 2.82e-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) = 7778.38948226 delta logL = 0.0989480104672 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7778.38049571 delta logL = 0.107934558421 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.0194 1.0000 .0000 .10000E+07 2 'Index ' 2.6108 1.0000 .0000 10.000 3 'Normalizat' .66266 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1003 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= 7778.380 FROM MIGRAD STATUS=CONVERGED 50 CALLS 233 TOTAL EDM= .10E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.0194 12.644 .58379E-03 .29218E-01 2 Index 2.6108 1.9539 .83979E-01 .23566E-03 3 Normalizat .66262 .74599E-01 .72697E-01 .23343E-04 4 Prefactor 1.1003 .54190E-01 .37576E-01 -.42342E-04 ERR DEF= .500 Final values: Prefactor = 3.01939 Index = 2.61075 Normalizat = 0.662623 Prefactor = 1.10031 ********** ** 18 **HESSE ********** FCN= 7778.380 FROM HESSE STATUS=OK 33 CALLS 266 TOTAL EDM= .11E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.0194 2.8044 .51720E-05 -1.5673 2 Index 2.6108 .52305 .33377E-02 -.49821 3 Normalizat .66262 .20400 .32179E-03 -1.0539 4 Prefactor 1.1003 .17045 .21707E-03 -.89457 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.14426e-09 Minuit parameter uncertainties: 1 2.80444 2 0.524293 3 0.204229 4 0.170536 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/859615': 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) = 7778.38049569 delta logL = 0.107934582419 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.019e+00 2.804e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.611e+00 5.243e-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.100e+00 1.705e-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: 6.626e-01 2.042e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 11.91 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.61 +/- 0.52 Photon Flux (Free Index): 1.73e-07 +/- 6.94e-08 Energy Flux (Free Index): 4.48e-05 +/- 2.06e-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/859615/cmap_HighResolution_689040001_689299201_4FGL_J1640.4+3945_daily_bin1735.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/859615 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.56e-07', energy_flux2='4.48e-05', photon_flux_error='8.86e-08', dlogl='1.08e-01', energy_flux='4.98e-05', photon_flux2='1.73e-07', job_status='DONE', time_completed='2022-11-05 00:27:37.472216', photon_index_error2='0.52', photon_index2='2.61', ts='10.40', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.06e-05', EG='0.68', time_epoch_completed='1667633257.47', return_code='0', job_id='859615', GAL2='1.10', EG2='0.66', return_code2='0', energy_flux_error='2.82e-05', photon_flux_error2='6.94e-08', ts2='11.91', photon_index='2.42' WHERE bin_id='1735' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Nov 5 00:27:37 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 859578: <4FGL_J1640.4+3945_daily_bin1735> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1735> was submitted from host by user in cluster at Sat Nov 5 00:07:19 2022 Job was executed on host(s) , in queue , as user in cluster at Sat Nov 5 00:11:49 2022 was used as the home directory. was used as the working directory. Started at Sat Nov 5 00:11:49 2022 Terminated at Sat Nov 5 00:26:00 2022 Results reported at Sat Nov 5 00:26:00 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1735 250.119 39.7626 689040001 689299201 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 : 706.00 sec. Max Memory : 1257 MB Average Memory : 286.85 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 850 sec. Turnaround time : 1121 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 859615: <4FGL_J1640.4+3945_daily_bin1735> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1735> was submitted from host by user in cluster at Sat Nov 5 00:07:21 2022 Job was executed on host(s) , in queue , as user in cluster at Sat Nov 5 00:12:28 2022 was used as the home directory. was used as the working directory. Started at Sat Nov 5 00:12:28 2022 Terminated at Sat Nov 5 00:27:38 2022 Results reported at Sat Nov 5 00:27:38 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1735 250.119 39.7626 689040001 689299201 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 : 698.30 sec. Max Memory : 1094 MB Average Memory : 263.83 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 909 sec. Turnaround time : 1217 sec. The output (if any) is above this job summary.