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 148 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 = 7485 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.3+6850_daily_bin1710 RA = 250.082, Dec = 68.8483 tmin = 682560001, tmax = 682819201 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='170224', job_status='RUN', time_executed='2022-09-16 19:42:06.042306', time_epoch_executed='1663382526.04' WHERE source_name='4FGL J1640.3+6850' and cadence='daily' and bin_id='1710' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/170224 Creating custom pfile directory: /scratch/kocevski/170224/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=682560001.0 && nMetStart<682819201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=682560001.0 && nMetStart<682819201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/170224/ft1_4FGL_J1640.3+6850_daily_bin1710.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=682560001.0 && nMetStart<682819201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/170224/ft1_4FGL_J1640.3+6850_daily_bin1710.fits outfile=/scratch/kocevski/170224/ft1_filteredMKT_4FGL_J1640.3+6850_daily_bin1710.fits ra=250.082 dec=68.8483 rad=12.0 tmin=682560001.0 tmax=682819201.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.72 user 3.47 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.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/170224/ft1_filteredMKT_4FGL_J1640.3+6850_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/170224/ft1_filtered_4FGL_J1640.3+6850_daily_bin1710.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.53 user 0.36 sys 0.15 Number of photons that the gtmktime cut: 834 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/170224/ft1_filtered_4FGL_J1640.3+6850_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/170224/ltcube_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.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/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.fits .....................! real 16.32 user 15.93 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/170224/ft1_filtered_4FGL_J1640.3+6850_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/170224/ltcube_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.fits outfile=/scratch/kocevski/170224/expmap_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.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/170224/ltcube_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.fits .....................! real 193.77 user 187.54 sys 5.81 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/170224/ft1_filtered_4FGL_J1640.3+6850_daily_bin1710.fits scfile=/scratch/kocevski/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.fits outfile=/scratch/kocevski/170224/cmap_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.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.57 user 0.40 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/170224/ft1_filtered_4FGL_J1640.3+6850_daily_bin1710.fits scfile=/scratch/kocevski/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.fits outfile=/scratch/kocevski/170224/cmap_HighResolution_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.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.58 user 0.40 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/170224/ft1_filtered_4FGL_J1640.3+6850_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170224/Model_4FGL_J1640.3+6850_daily_bin1710.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/170224/ft1_filtered_4FGL_J1640.3+6850_daily_bin1710.fits.....................! real 82.73 user 81.28 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/170224/ft1_filtered_4FGL_J1640.3+6850_daily_bin1710.fits', '/scratch/kocevski/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.fits', expMap='/scratch/kocevski/170224/expmap_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.fits', expCube='/scratch/kocevski/170224/ltcube_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/170224/Model_4FGL_J1640.3+6850_daily_bin1710.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/170224/ft1_filtered_4FGL_J1640.3+6850_daily_bin1710.fits Spacecraft file(s): /scratch/kocevski/170224/ft2_4FGL_J1640.3+6850_daily_bin1710.fits Exposure map: /scratch/kocevski/170224/expmap_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.fits Exposure cube: /scratch/kocevski/170224/ltcube_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/170224/Model_4FGL_J1640.3+6850_daily_bin1710.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) = 8830.39359001 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8830.37652624 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 42.059 1.0000 .0000 .10000E+07 2 'Prefactor ' 7.5680 1.0000 .0000 .10000E+07 3 'Prefactor ' .69033E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .38669E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 12.057 1.0000 .0000 .10000E+07 6 'norm ' .14528E-04 1.0000 .0000 .10000E+07 7 'Prefactor ' 33.141 1.0000 .0000 .10000E+07 8 'Prefactor ' .91117E-03 1.0000 .0000 .10000E+07 9 'norm ' 51.448 1.0000 .0000 .10000E+07 10 'Prefactor ' .19844 1.0000 .0000 .10000E+07 11 'Prefactor ' 4.3651 1.0000 .0000 .10000E+07 12 'Prefactor ' .17796E-02 1.0000 .0000 .10000E+07 13 'norm ' 25.070 1.0000 .0000 .10000E+07 14 'Prefactor ' .39108E-02 1.0000 .0000 .10000E+07 15 'norm ' .63683 1.0000 .0000 .10000E+07 16 'Prefactor ' .82945E-04 1.0000 .0000 .10000E+07 17 'Prefactor ' .91593E-07 1.0000 .0000 .10000E+07 18 'Prefactor ' .19788E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' .16887E-04 1.0000 .0000 .10000E+07 20 'Prefactor ' 39.747 1.0000 .0000 .10000E+07 21 'Prefactor ' .17014E-02 1.0000 .0000 .10000E+07 22 'Prefactor ' .40411E-03 1.0000 .0000 .10000E+07 23 'norm ' 4.5390 1.0000 .0000 .10000E+07 24 'norm ' 3.9831 1.0000 .0000 .10000E+07 25 'norm ' 5.7922 1.0000 .0000 .10000E+07 26 'Prefactor ' 6.9485 1.0000 .0000 .10000E+07 27 'Prefactor ' 3.7603 1.0000 .0000 .10000E+07 28 'Prefactor ' 6.6865 1.0000 .0000 .10000E+07 29 'Prefactor ' .93250E-01 1.0000 .0000 .10000E+07 30 'Normalizat' .86189 1.0000 .10000E-01 10.000 31 'Prefactor ' .96546 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= 8830.372 FROM MIGRAD STATUS=CONVERGED 178 CALLS 2935 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 42.172 3.7925 .53644E-06 -.42476E-01 2 Prefactor 7.5754 7.4655 -.37851E-05 -.96179E-01 3 Prefactor .95979E-07 58.412 .53139E-06** at limit ** 4 Prefactor .67724E-08 7.6922 -.16255E-06** at limit ** 5 Prefactor 12.047 1.2055 -.11635E-06 -.48119E-02 6 norm .0000 1.2080 .20628E-06** at limit ** 7 Prefactor 35.942 57.571 .25513E-05 .60255E-02 8 Prefactor .82767E-07 10.293 .15204E-07** at limit ** 9 norm 51.614 11.207 -.13293E-05 .10433 10 Prefactor .94365E-05 102.82 -.13872E-05** at limit ** 11 Prefactor 4.3686 5.8435 -.10090E-07 -.11106E-02 12 Prefactor .26090E-08 5.7369 -.30529E-05** at limit ** 13 norm 25.060 9.4289 -.55552E-07 -.58589E-02 14 Prefactor .49405E-08 6.2163 -.58183E-06** at limit ** 15 norm .63732 .54236 -.76272E-07 -.39179E-02 16 Prefactor .13667E-06 6.3711 .44398E-05** at limit ** 17 Prefactor .35805E-07 5.3306 .13806E-05** at limit ** 18 Prefactor .99920E-09 4.2011 -.13994E-06** at limit ** 19 Prefactor .0000 1.2934 -.11352E-06** at limit ** 20 Prefactor 39.812 18.636 .32751E-05 -.12120 21 Prefactor .29143E-07 7.7310 -.71813E-06** at limit ** 22 Prefactor .74551E-07 5.4988 -.23584E-06** at limit ** 23 norm 4.5369 2.3796 .43775E-07 .12494E-02 24 norm 3.9832 .92858 -.55026E-09 .10214E-01 25 norm 5.8060 4.0121 -.97011E-08 .88432E-05 26 Prefactor 6.9757 4.2103 -.21692E-05 -.56150E-01 27 Prefactor 2.3016 61.659 -.47594E-05 .43898E-02 28 Prefactor 6.7163 5.0190 -.33642E-07 -.24998E-03 29 Prefactor .11102E-09 22.697 .13893E-05** at limit ** 30 Normalizat .86017 .17589 -.75543E-05 -.10770E-03 31 Prefactor .96623 .14442 .52903E-05 -.14228E-03 ERR DEF= .500 Final values: Prefactor = 42.1721 Prefactor = 7.57536 Prefactor = 9.59788e-08 Prefactor = 6.77236e-09 Prefactor = 12.0467 norm = 0 Prefactor = 35.9419 Prefactor = 8.27671e-08 norm = 51.6139 Prefactor = 9.43651e-06 Prefactor = 4.36856 Prefactor = 2.60902e-09 norm = 25.0603 Prefactor = 4.94049e-09 norm = 0.637317 Prefactor = 1.36668e-07 Prefactor = 3.58047e-08 Prefactor = 9.99201e-10 Prefactor = 0 Prefactor = 39.812 Prefactor = 2.91434e-08 Prefactor = 7.45515e-08 norm = 4.53691 norm = 3.98316 norm = 5.80601 Prefactor = 6.97568 Prefactor = 2.30159 Prefactor = 6.71627 Prefactor = 1.11022e-10 Normalizat = 0.860168 Prefactor = 0.966233 ********** ** 18 **HESSE ********** FCN= 8830.372 FROM HESSE STATUS=OK 686 CALLS 3621 TOTAL EDM= .11E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 42.172 63.567 .15421E-03 -1.5578 2 Prefactor 7.5754 13.033 .36431E-03 -1.5653 3 Prefactor .95979E-07 58.803 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .67724E-08 7.7310 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 12.047 15.929 .28824E-03 -1.5639 6 norm .0000 1.2015 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 35.942 64.363 .17373E-03 -1.5588 8 Prefactor .82767E-07 11.164 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 51.614 22.289 .13943E-03 -1.5564 10 Prefactor .94365E-05 179.53 .11804E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 4.3686 5.8503 .48185E-03 -1.5666 12 Prefactor .26090E-08 13.626 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 25.060 9.4411 .19976E-03 -1.5608 14 Prefactor .49405E-08 6.2408 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .63732 .54363 .65992E-04 -1.5692 16 Prefactor .13667E-06 15.242 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .35805E-07 1.9890 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .99920E-09 4.2148 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .0000 1.2936 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 39.812 28.621 .15863E-03 -1.5582 21 Prefactor .29143E-07 10.758 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .74551E-07 13.885 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 4.5369 2.3857 .47229E-03 -1.5665 24 norm 3.9832 .94366 .50512E-03 -1.5668 25 norm 5.8060 4.0230 .41708E-03 -1.5660 26 Prefactor 6.9757 12.705 .38036E-03 -1.5655 27 Prefactor 2.3016 317.78 .52040E-03 -1.5678 28 Prefactor 6.7163 5.0466 .38782E-03 -1.5656 29 Prefactor .11102E-09 21.846 .14114E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 Normalizat .86017 .15298 .44413E-01 -.97874 31 Prefactor .96623 .12485 .45834E-01 -.93864 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.05545e-06 Minuit parameter uncertainties: 1 63.5676 2 13.0333 3 0.00475195 4 0.000457372 5 15.9293 6 6.18118e-07 7 64.3646 8 0.00192243 9 22.2892 10 0.0823216 11 5.85034 12 0.000375298 13 9.44113 14 0.000351064 15 0.543629 16 0.0028867 17 0.000533806 18 0.00012861 19 1.03237e-05 20 28.6207 21 0.00111968 22 0.00203473 23 2.38567 24 0.943659 25 4.023 26 12.7047 27 54.0919 28 5.04658 29 0.000105991 30 0.153053 31 0.124888 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8830.37153835 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 2.609e-09 3.753e-04 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: 9.662e-01 1.249e-01 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.602e-01 1.531e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.082 68.848 Photon Flux Upper Limit: 4.26e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.23e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/170224/likelihoodResults_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.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) = 8830.4066874 delta logL = -0.0351490456906 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8830.37153838 delta logL = -2.96204234473e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .50515E-08 1.0000 .0000 .10000E+07 2 'Index ' .15630 1.0000 .0000 10.000 3 'Normalizat' .86021 1.0000 .10000E-01 10.000 4 'Prefactor ' .96621 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+05 .2000E-04 ********** MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 8829.884 FROM MIGRAD STATUS=FAILED 464 CALLS 636 TOTAL EDM= .67E+02 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .41633E-08 .52902E-07 .0000 ** at limit ** 2 Index 9.9991 8.5940 .0000 -.18093E-02 3 Normalizat .82897 .27667E-01 .0000 -.63663E-02 4 Prefactor .98298 .23110E-01 .0000 -.61750E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 8829.884 FROM SIMPLEX STATUS=PROGRESS 96 CALLS 732 TOTAL EDM= .43E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .41633E-08 .52902E-07 .30978E-09** at limit ** 2 Index 10.0000 8.5940 .79982E-02 -.18093E-02 3 Normalizat .82899 .27667E-01 .76055E-05 -.63663E-02 4 Prefactor .98298 .23110E-01 .21539E-05 -.61750E-02 ERR DEF= .500 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 8829.884 FROM MIGRAD STATUS=FAILED 56 CALLS 788 TOTAL EDM= .67E+02 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .41633E-08 .51903E-07 .0000 ** at limit ** 2 Index 10.0000 8.7105 .0000 -.25630E-03 3 Normalizat .82899 .27403E-01 .0000 .17213E-01 4 Prefactor .98298 .22897E-01 .0000 .16361E-01 ERR DEF= .500 Final values: Prefactor = 4.16334e-09 Index = 9.99996 Normalizat = 0.828994 Prefactor = 0.982982 ********** ** 18 **HESSE ********** FCN= 8829.884 FROM HESSE STATUS=NOT POSDEF 33 CALLS 821 TOTAL EDM= .13E+03 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .41633E-08 .51903E-07 .74901E-06 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 10.0000 8.7105 .50000 1.5670 3 Normalizat .82899 .27403E-01 .55730E-04 -.99002 4 Prefactor .98298 .22897E-01 .42860E-04 -.93299 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 133.26 Minuit parameter uncertainties: 1 2.94669e-08 2 0.0802225 3 0.0274036 4 0.0228973 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/170224': 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): 1 logL (Free Index) = 8829.88403919 delta logL = 0.487499164106 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 4.163e-09 2.947e-08 0.000e+00 1.000e+06 ( 1.000e-14) 351 Index: 1.000e+01 8.022e-02 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: 9.830e-01 2.290e-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.290e-01 2.740e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.01 Ra Dec: 250.082 68.848 Photon Index (Free Index): 10.00 +/- 0.08 Photon Flux (Free Index): 2.24e-08 +/- 1.59e-07 Energy Flux (Free Index): 2.50e-06 +/- 1.79e-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/170224/cmap_HighResolution_682560001_682819201_4FGL_J1640.3+6850_daily_bin1710.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/170224 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', comment='SUCCESS', energy_flux2='2.50e-06', dlogl='4.87e-01', photon_flux2='2.24e-08', job_status='DONE', time_completed='2022-09-16 20:01:21.264432', photon_index_error2='0.08', photon_index2='10.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='4.26e-08', energy_flux_error2='1.79e-05', EG='0.86', time_epoch_completed='1663383681.26', return_code='0', job_id='170224', GAL2='0.98', EG2='0.83', return_code2='1', photon_flux_error2='1.59e-07', ts2='1.01', photon_index='2.13' WHERE bin_id='1710' AND source_name='4FGL J1640.3+6850' AND cadence='daily'; Database successfully updated. Analysis Complete. Fri Sep 16 20:01:21 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 170224: <4FGL_J1640.3+6850_daily_bin1710> in cluster Done Job <4FGL_J1640.3+6850_daily_bin1710> was submitted from host by user in cluster at Fri Sep 16 19:35:39 2022 Job was executed on host(s) , in queue , as user in cluster at Fri Sep 16 19:39:28 2022 was used as the home directory. was used as the working directory. Started at Fri Sep 16 19:39:28 2022 Terminated at Fri Sep 16 20:01:22 2022 Results reported at Fri Sep 16 20:01:22 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.3+6850_daily_bin1710 250.082 68.8483 682560001 682819201 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 : 1157.00 sec. Max Memory : 766 MB Average Memory : 291.98 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1313 sec. Turnaround time : 1543 sec. The output (if any) is above this job summary.