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 14 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 = 7483
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2016.3-0903_daily_bin1770
RA = 304.098, Dec = -9.0622
tmin = 698112001, tmax = 698371201
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='498274', job_status='RUN', time_executed='2023-02-18 01:40:42.052998', time_epoch_executed='1676713242.05' WHERE source_name='4FGL J2016.3-0903' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/498274

Creating custom pfile directory:
/scratch/kocevski/498274/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=698112001.0 && nMetStart<698371201.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=698112001.0 && nMetStart<698371201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/498274/ft1_4FGL_J2016.3-0903_daily_bin1770.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=698112001.0 && nMetStart<698371201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/498274/ft1_4FGL_J2016.3-0903_daily_bin1770.fits outfile=/scratch/kocevski/498274/ft1_filteredMKT_4FGL_J2016.3-0903_daily_bin1770.fits ra=304.098 dec=-9.0622 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.35
user 4.14
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.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/498274/ft1_filteredMKT_4FGL_J2016.3-0903_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/498274/ft1_filtered_4FGL_J2016.3-0903_daily_bin1770.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 880

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/498274/ft1_filtered_4FGL_J2016.3-0903_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/498274/ltcube_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.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/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.fits
.....................!
real 11.94
user 11.56
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/498274/ft1_filtered_4FGL_J2016.3-0903_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/498274/ltcube_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.fits outfile=/scratch/kocevski/498274/expmap_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.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/498274/ltcube_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.fits
.....................!
real 192.49
user 187.71
sys 4.47

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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J2016.3-0903 @ 304.098 -9.0622

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/498274/ft1_filtered_4FGL_J2016.3-0903_daily_bin1770.fits scfile=/scratch/kocevski/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.fits outfile=/scratch/kocevski/498274/cmap_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.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=304.098 yref=-9.0622 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/498274/ft1_filtered_4FGL_J2016.3-0903_daily_bin1770.fits scfile=/scratch/kocevski/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.fits outfile=/scratch/kocevski/498274/cmap_HighResolution_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.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=304.098 yref=-9.0622 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/498274/ft1_filtered_4FGL_J2016.3-0903_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/498274/Model_4FGL_J2016.3-0903_daily_bin1770.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/498274/ft1_filtered_4FGL_J2016.3-0903_daily_bin1770.fits....................!
real 98.92
user 97.57
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/498274/ft1_filtered_4FGL_J2016.3-0903_daily_bin1770.fits', '/scratch/kocevski/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.fits', expMap='/scratch/kocevski/498274/expmap_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.fits', expCube='/scratch/kocevski/498274/ltcube_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/498274/Model_4FGL_J2016.3-0903_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2016.3-0903'

4FGL J2016.3-0903
   Spectrum: LogParabola
386         norm:  4.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
387        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
388         beta:  8.465e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
389           Eb:  1.677e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/498274/ft1_filtered_4FGL_J2016.3-0903_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/498274/ft2_4FGL_J2016.3-0903_daily_bin1770.fits
Exposure map: /scratch/kocevski/498274/expmap_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.fits
Exposure cube: /scratch/kocevski/498274/ltcube_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/498274/Model_4FGL_J2016.3-0903_daily_bin1770.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) = 9664.74119489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9664.73396144

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54378       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.359       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.2517       1.0000          .0000       .10000E+07
     4 'Prefactor '    37.173       1.0000          .0000       .10000E+07
     5 'Prefactor '    .20668E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.3730       1.0000          .0000       .10000E+07
     7 'Prefactor '    .54550E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .66038E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.053       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19479E-01   1.0000          .0000       .10000E+07
    11 'norm      '    24.058       1.0000          .0000       .10000E+07
    12 'norm      '    17.157       1.0000          .0000       .10000E+07
    13 'norm      '    .88818E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36158E-05   1.0000          .0000       .10000E+07
    15 'norm      '    3.1246       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.0785       1.0000          .0000       .10000E+07
    17 'Normalizat'    .98580       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0512       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9664.733     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     1275 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57981        .98839        .16161E-06   -.40011E-02
   2  Prefactor     12.096        7.2024       -.31574E-06    .21522E-01
   3  Prefactor     5.1551        5.7396       -.58733E-06    .14337E-03
   4  Prefactor     37.158        3.5804       -.84730E-07    .54704E-01
   5  Prefactor     .30753E-07    13.884        .36133E-06** at limit **
   6  Prefactor     3.3700        2.3242        .12495E-06    .44510E-03
   7  Prefactor     .56566E-07    14.970       -.11505E-05** at limit **
   8  norm          .38858E-09    10.968        .29356E-06** at limit **
   9  Prefactor     17.075        2.5839       -.83688E-07    .20364E-01
  10  Prefactor      .0000        44.187        .84748E-06** at limit **
  11  norm          23.490        5.5477        .15057E-06    .27332E-01
  12  norm          17.166        2.5920        .87891E-07   -.50599E-02
  13  norm           .0000        .56306        .16251E-06** at limit **
  14  Prefactor      .0000        6.7704        .63199E-06** at limit **
  15  norm          3.1149        4.1463       -.50572E-06    .35372E-04
  16  Prefactor     3.0561        4.9944       -.31340E-06    .19618E-03
  17  Normalizat    .98683        .31830        .19446E-04    .32326E-04
  18  Prefactor     1.0515        .90490E-01   -.48691E-05    .95560E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.579807
  Prefactor  = 12.0955
  Prefactor  = 5.15508
  Prefactor  = 37.1584
  Prefactor  = 3.07532e-08
  Prefactor  = 3.36998
  Prefactor  = 5.65659e-08
  norm       = 3.88578e-10
  Prefactor  = 17.0752
  Prefactor  = 0
  norm       = 23.4898
  norm       = 17.1658
  norm       = 0
  Prefactor  = 0
  norm       = 3.11493
  Prefactor  = 3.05609
  Normalizat = 0.986828
  Prefactor  = 1.05152
 **********
 **   18 **HESSE 
 **********

 FCN=   9664.733     FROM HESSE     STATUS=OK           290 CALLS     1565 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57981        15.297        .10785E-01   -1.5693    
   2  Prefactor     12.096        22.393        .28468E-03   -1.5638    
   3  Prefactor     5.1551        5.7535        .43838E-03   -1.5663    
   4  Prefactor     37.158        34.036        .16403E-03   -1.5586    
   5  Prefactor     .30753E-07    15.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3700        2.3555        .55072E-03   -1.5671    
   7  Prefactor     .56566E-07    16.768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .38858E-09    10.923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.075        29.005        .24227E-03   -1.5625    
  10  Prefactor      .0000        44.123        .17071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          23.490        17.563        .20392E-03   -1.5611    
  12  norm          17.166        23.278        .24153E-03   -1.5625    
  13  norm           .0000        .55946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        6.7748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.1149        4.1577        .57331E-03   -1.5673    
  16  Prefactor     3.0561        5.0011        .57783E-03   -1.5673    
  17  Normalizat    .98683        .28871        .12106       -.93473    
  18  Prefactor     1.0515        .81976E-01    .39839E-01   -.91031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54929e-07
Minuit parameter uncertainties:
  1  5.95623
  2  22.393
  3  5.75348
  4  34.0357
  5  0.00139801
  6  2.35552
  7  0.00194747
  8  0.000132458
  9  29.005
  10  3.75507e-05
  11  17.5628
  12  23.278
  13  1.40984e-06
  14  3.0802e-06
  15  4.15773
  16  5.0011
  17  0.289168
  18  0.0819856
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9664.73289309

Extracting fit parameters...

4FGL J2016.3-0903
   Spectrum: LogParabola
386         norm:  2.349e+01  1.756e+01  0.000e+00  1.000e+06 ( 1.000e-13)
387        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
388         beta:  8.465e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
389           Eb:  1.677e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  1.052e+00  8.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  9.868e-01  2.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.39
Ra Dec: 304.098 -9.062
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 3.74e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 3.60e-05 +/- 2.69e-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) = 9664.66191821
delta logL = 0.0709748863683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9664.65254715
delta logL = 0.0803459441104

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.315       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1966       1.0000          .0000       5.0000    
     3 'Normalizat'    .96327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0541       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9664.653     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      247 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.312        18.704        .86664E-05   -.48012E-03
   2  alpha         2.1970        .89413        .14527E-01   -.36012E-04
   3  Normalizat    .96299        .32232        .54286E-03   -.40745E-03
   4  Prefactor     1.0541        .89863E-01    .14830E-03   -.17291E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 21.3118
  alpha      = 2.19699
  Normalizat = 0.962987
  Prefactor  = 1.05411
 **********
 **   18 **HESSE 
 **********

 FCN=   9664.653     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.312        17.948        .34665E-06   -1.5616    
   2  alpha         2.1970        .85668        .58107E-03   -.12150    
   3  Normalizat    .96299        .32100        .21714E-04   -.94281    
   4  Prefactor     1.0541        .89789E-01    .29659E-04   -.90947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89268e-10
Minuit parameter uncertainties:
  1  17.9483
  2  0.874681
  3  0.321646
  4  0.0898013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/498274': 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) = 9664.65254664
delta logL = 0.0803464519777

Extracting fit parameters...

4FGL J2016.3-0903
   Spectrum: LogParabola
386         norm:  2.131e+01  1.795e+01  0.000e+00  1.000e+06 ( 1.000e-13)
387        alpha:  2.197e+00  8.747e-01  0.000e+00  5.000e+00 ( 1.000e+00)
388         beta:  8.465e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
389           Eb:  1.677e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  1.054e+00  8.980e-02  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  9.630e-01  3.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.55
Ra Dec: 304.098 -9.062
Photon Index (Free Index): 2.20 +/- 0.87
Photon Flux (Free Index): 6.02e-08 +/- 8.08e-08
Energy Flux (Free Index): 3.02e-05 +/- 2.25e-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/498274/cmap_HighResolution_698112001_698371201_4FGL_J2016.3-0903_daily_bin1770.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/498274

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.74e-08', energy_flux2='3.02e-05', photon_flux_error='2.80e-08', dlogl='8.03e-02', energy_flux='3.60e-05', photon_flux2='6.02e-08', job_status='DONE', time_completed='2023-02-18 01:51:32.586626', photon_index_error2='0.87', photon_index2='2.20', ts='4.39', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='2.25e-05', EG='0.99', time_epoch_completed='1676713892.59', return_code='0', job_id='498274', GAL2='1.05', EG2='0.96', return_code2='0', energy_flux_error='2.69e-05', photon_flux_error2='8.08e-08', ts2='4.55', photon_index='1.86' WHERE bin_id='1770' AND source_name='4FGL J2016.3-0903' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 01:51:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 498274: <4FGL_J2016.3-0903_daily_bin1770> in cluster <slac> Done

Job <4FGL_J2016.3-0903_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 01:40:16 2023
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 01:40:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 01:40:17 2023
Terminated at Sat Feb 18 01:51:33 2023
Results reported at Sat Feb 18 01:51:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2016.3-0903_daily_bin1770 304.098 -9.0622 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2016.3-0903 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   653.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             388.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            677 sec.

The output (if any) is above this job summary.

