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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin1750
RA = 15.969, Dec = 13.3536
tmin = 692928001, tmax = 693187201
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='996977', job_status='RUN', time_executed='2022-12-20 00:06:19.703439', time_epoch_executed='1671523579.7' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996977

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996977/ft1_4FGL_J0103.8+1321_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996977/ft1_4FGL_J0103.8+1321_daily_bin1750.fits outfile=/scratch/kocevski/996977/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1750.fits ra=15.969 dec=13.3536 rad=12.0 tmin=692928001.0 tmax=693187201.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.12
user 3.26
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.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/996977/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/996977/ft1_filtered_4FGL_J0103.8+1321_daily_bin1750.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.62
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 654

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996977/ft1_filtered_4FGL_J0103.8+1321_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/996977/ltcube_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.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/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.fits
.....................!
real 14.30
user 13.76
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996977/ft1_filtered_4FGL_J0103.8+1321_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/996977/ltcube_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.fits outfile=/scratch/kocevski/996977/expmap_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.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/996977/ltcube_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.fits
.....................!
real 191.39
user 185.74
sys 5.25

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

Setting source of interest to:
4FGL J0103.8+1321 @ 15.969 13.3536

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/996977/ft1_filtered_4FGL_J0103.8+1321_daily_bin1750.fits scfile=/scratch/kocevski/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.fits outfile=/scratch/kocevski/996977/cmap_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.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=15.969 yref=13.3536 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996977/ft1_filtered_4FGL_J0103.8+1321_daily_bin1750.fits scfile=/scratch/kocevski/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.fits outfile=/scratch/kocevski/996977/cmap_HighResolution_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.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=15.969 yref=13.3536 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/996977/ft1_filtered_4FGL_J0103.8+1321_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/996977/Model_4FGL_J0103.8+1321_daily_bin1750.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/996977/ft1_filtered_4FGL_J0103.8+1321_daily_bin1750.fits.....................!
real 78.06
user 76.01
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/996977/ft1_filtered_4FGL_J0103.8+1321_daily_bin1750.fits', '/scratch/kocevski/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.fits', expMap='/scratch/kocevski/996977/expmap_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.fits', expCube='/scratch/kocevski/996977/ltcube_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/996977/Model_4FGL_J0103.8+1321_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0103.8+1321'

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  4.686e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
233        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/996977/ft1_filtered_4FGL_J0103.8+1321_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/996977/ft2_4FGL_J0103.8+1321_daily_bin1750.fits
Exposure map: /scratch/kocevski/996977/expmap_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.fits
Exposure cube: /scratch/kocevski/996977/ltcube_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/996977/Model_4FGL_J0103.8+1321_daily_bin1750.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) = 7316.74246642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11905E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .63676E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    50.426       1.0000          .0000       .10000E+07
     4 'Prefactor '    .90839       1.0000          .0000       .10000E+07
     5 'norm      '    19.034       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16422E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.2141       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82474       1.0000          .0000       .10000E+07
     9 'norm      '    15.020       1.0000          .0000       .10000E+07
    10 'Prefactor '    83.135       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6973       1.0000          .0000       .10000E+07
    12 'norm      '    40.012       1.0000          .0000       .10000E+07
    13 'norm      '    .19540E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.4958       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
    16 'Normalizat'    .88232       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1529       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7316.739     FROM MIGRAD    STATUS=CONVERGED     75 CALLS     1277 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5659        .19599E-06** at limit **
   2  norm          .15543E-08    10.143       -.56444E-06** at limit **
   3  Prefactor     50.376        1.0806        .32243E-08   -.29627    
   4  Prefactor     .87110        .42883        .37153E-08   -.38852E-01
   5  norm          19.018        1.0078        .51377E-08   -.78396E-01
   6  Prefactor      .0000        2.3239       -.39887E-07** at limit **
   7  Prefactor     4.2030        1.0331        .17307E-07   -.33413E-01
   8  Prefactor     .82426        2.5735       -.41757E-06   -.18955E-02
   9  norm          15.024        1.0026        .39034E-09   -.21652E-01
  10  Prefactor     83.131        1.0063       -.81504E-09    .12978    
  11  Prefactor     6.7113        1.0126        .16477E-08   -.26379E-01
  12  norm          40.012        5.0677       -.15445E-07   -.31099E-02
  13  norm           .0000        .20817        .11435E-06** at limit **
  14  Prefactor     5.4900        1.0368       -.32727E-08   -.13036E-01
  15  Prefactor     .28866E-08    15.947       -.41119E-07** at limit **
  16  Normalizat    .88271        .23019        .31059E-05    .25902E-04
  17  Prefactor     1.1528        .16565       -.19979E-05    .31367E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.55431e-09
  Prefactor  = 50.3765
  Prefactor  = 0.871097
  norm       = 19.0181
  Prefactor  = 0
  Prefactor  = 4.20296
  Prefactor  = 0.824255
  norm       = 15.024
  Prefactor  = 83.1314
  Prefactor  = 6.71125
  norm       = 40.0116
  norm       = 0
  Prefactor  = 5.48997
  Prefactor  = 2.88658e-09
  Normalizat = 0.882712
  Prefactor  = 1.15281
 **********
 **   18 **HESSE 
 **********

 FCN=   7316.739     FROM HESSE     STATUS=OK           257 CALLS     1534 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .15543E-08    10.104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     50.376        31.255        .14083E-03   -1.5566    
   4  Prefactor     .87110        72.494        .45182E-03   -1.5689    
   5  norm          19.018        11.679        .22929E-03   -1.5621    
   6  Prefactor      .0000        2.3265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.2030        13.906        .49065E-03   -1.5667    
   8  Prefactor     .82426        2.5789        .51109E-03   -1.5690    
   9  norm          15.024        12.949        .25817E-03   -1.5630    
  10  Prefactor     83.131        64.371        .10968E-03   -1.5526    
  11  Prefactor     6.7113        305.70        .38750E-03   -1.5656    
  12  norm          40.012        5.4668        .15811E-03   -1.5581    
  13  norm           .0000        .20555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.4900        13.419        .42836E-03   -1.5661    
  15  Prefactor     .28866E-08    15.931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .88271        .20862        .77719E-01   -.97070    
  17  Prefactor     1.1528        .14606        .35852E-01   -.87796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48467e-06
Minuit parameter uncertainties:
  1  7.80325e-06
  2  0.000252531
  3  31.2555
  4  15.8935
  5  11.6791
  6  1.55379e-05
  7  13.9056
  8  2.5789
  9  12.9495
  10  64.3715
  11  90.5953
  12  5.46684
  13  4.61303e-07
  14  13.4186
  15  0.000428123
  16  0.208812
  17  0.146107
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  8.313e+01  6.437e+01  0.000e+00  1.000e+06 ( 1.000e-14)
233        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.153e+00  1.461e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  8.827e-01  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 15.969 13.354
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 5.28e-08 +/- 4.09e-08
Energy Flux (Fixed Index): 3.02e-05 +/- 2.34e-05

TS (Fixed Index): 2.40
Ra Dec: 15.969 13.354
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/996977/likelihoodResults_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.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): 0
logL (Free Index) = 7316.73188028
delta logL = 0.00760033971892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7316.72426338
delta logL = 0.0152172370272

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    73.455       1.0000          .0000       .10000E+07
     2 'Index     '    2.1746       1.0000          .0000       10.000    
     3 'Normalizat'    .87728       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1550       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   7316.724     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      271 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     73.419        89.391        .46674E-05    .11161E-02
   2  Index         2.1754        .60734        .60888E-02    .28763E-04
   3  Normalizat    .87649        .23321        .34512E-03    .23586E-03
   4  Prefactor     1.1556        .16704        .21884E-03    .25653E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 73.419
  Index      = 2.17539
  Normalizat = 0.876486
  Prefactor  = 1.1556
 **********
 **   18 **HESSE 
 **********

 FCN=   7316.724     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     73.419        80.994        .93348E-06   -1.5537    
   2  Index         2.1754        .54996        .24355E-03   -.60034    
   3  Normalizat    .87649        .23264        .13805E-04   -.97291    
   4  Prefactor     1.1556        .16678        .43767E-04   -.87709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64511e-10
Minuit parameter uncertainties:
  1  80.995
  2  0.551601
  3  0.232908
  4  0.16686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996977': 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) = 7316.72425597
delta logL = 0.0152246478747

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  7.342e+01  8.100e+01  0.000e+00  1.000e+06 ( 1.000e-14)
233        Index:  2.175e+00  5.516e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.156e+00  1.669e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  8.765e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.40
Ra Dec: 15.969 13.354
Photon Index (Free Index): 2.18 +/- 0.55
Photon Flux (Free Index): 5.76e-08 +/- 5.09e-08
Energy Flux (Free Index): 2.71e-05 +/- 2.62e-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/996977/cmap_HighResolution_692928001_693187201_4FGL_J0103.8+1321_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='5.28e-08', energy_flux2='2.71e-05', photon_flux_error='4.09e-08', dlogl='1.52e-02', energy_flux='3.02e-05', photon_flux2='5.76e-08', job_status='DONE', time_completed='2022-12-20 00:15:39.942213', photon_index_error2='0.55', photon_index2='2.18', ts='2.40', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='2.62e-05', EG='0.88', time_epoch_completed='1671524139.94', return_code='0', job_id='996977', GAL2='1.16', EG2='0.88', return_code2='0', energy_flux_error='2.34e-05', photon_flux_error2='5.09e-08', ts2='2.40', photon_index='2.08' WHERE bin_id='1750' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:15:39 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 996977: <4FGL_J0103.8+1321_daily_bin1750> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin1750> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Dec 20 00:04:48 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:04:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:04:51 2022
Terminated at Tue Dec 20 00:15:40 2022
Results reported at Tue Dec 20 00:15:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin1750 15.969 13.3536 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0103.8+1321 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   556.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             340.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            652 sec.

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

