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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin1734
RA = 15.969, Dec = 13.3536
tmin = 688780801, tmax = 689040001
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='766539', job_status='RUN', time_executed='2022-11-02 00:06:23.679490', time_epoch_executed='1667372783.68' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/766539

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/766539/ft1_4FGL_J0103.8+1321_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/766539/ft2_4FGL_J0103.8+1321_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/766539/ft1_4FGL_J0103.8+1321_daily_bin1734.fits outfile=/scratch/kocevski/766539/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1734.fits ra=15.969 dec=13.3536 rad=12.0 tmin=688780801.0 tmax=689040001.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.67
user 3.34
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/766539/ft2_4FGL_J0103.8+1321_daily_bin1734.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/766539/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1734.fits evtable="EVENTS" outfile="/scratch/kocevski/766539/ft1_filtered_4FGL_J0103.8+1321_daily_bin1734.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 2.41
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 724

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/766539/ft1_filtered_4FGL_J0103.8+1321_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/766539/ft2_4FGL_J0103.8+1321_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/766539/ltcube_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.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/766539/ft2_4FGL_J0103.8+1321_daily_bin1734.fits
.....................!
real 19.65
user 18.34
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/766539/ft1_filtered_4FGL_J0103.8+1321_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/766539/ft2_4FGL_J0103.8+1321_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/766539/ltcube_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.fits outfile=/scratch/kocevski/766539/expmap_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.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/766539/ltcube_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.fits
.....................!
real 191.63
user 185.70
sys 4.95

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/766539/ft1_filtered_4FGL_J0103.8+1321_daily_bin1734.fits scfile=/scratch/kocevski/766539/ft2_4FGL_J0103.8+1321_daily_bin1734.fits outfile=/scratch/kocevski/766539/cmap_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.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 2.06
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/766539/ft1_filtered_4FGL_J0103.8+1321_daily_bin1734.fits scfile=/scratch/kocevski/766539/ft2_4FGL_J0103.8+1321_daily_bin1734.fits outfile=/scratch/kocevski/766539/cmap_HighResolution_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.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 1.64
user 0.40
sys 0.19

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/766539/ft1_filtered_4FGL_J0103.8+1321_daily_bin1734.fits', '/scratch/kocevski/766539/ft2_4FGL_J0103.8+1321_daily_bin1734.fits', expMap='/scratch/kocevski/766539/expmap_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.fits', expCube='/scratch/kocevski/766539/ltcube_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/766539/Model_4FGL_J0103.8+1321_daily_bin1734.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/766539/ft1_filtered_4FGL_J0103.8+1321_daily_bin1734.fits
Spacecraft file(s): /scratch/kocevski/766539/ft2_4FGL_J0103.8+1321_daily_bin1734.fits
Exposure map: /scratch/kocevski/766539/expmap_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.fits
Exposure cube: /scratch/kocevski/766539/ltcube_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/766539/Model_4FGL_J0103.8+1321_daily_bin1734.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) = 8038.12792533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7027       1.0000          .0000       .10000E+07
     2 'norm      '    .57819E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.3974       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55291E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .62705E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.7188       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18585E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0511       1.0000          .0000       .10000E+07
     9 'norm      '    22.127       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10844E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13470E-03   1.0000          .0000       .10000E+07
    12 'norm      '    41.275       1.0000          .0000       .10000E+07
    13 'norm      '    1.9328       1.0000          .0000       .10000E+07
    14 'Prefactor '    18.591       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.8356       1.0000          .0000       .10000E+07
    16 'Normalizat'    .75714       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2019       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=   8038.075     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      940 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7671        5.3781        .13927E-07    .39841E-04
   2  norm           .0000        3.7563        .17639E-08** at limit **
   3  Prefactor     7.4112        1.0807        .12600E-08   -.21301E-02
   4  Prefactor      .0000        7.8355       -.64779E-07** at limit **
   5  norm          .51892E-01    .60435       -.98782E-09** at limit **
   6  Prefactor     4.7248        6.3447        .58262E-07    .13927E-03
   7  Prefactor      .0000        20.946       -.20034E-06** at limit **
   8  Prefactor     1.0498        1.4032        .20329E-07    .18937E-03
   9  norm          21.981        8.2116       -.72121E-08   -.24164E-01
  10  Prefactor     .11102E-09    15.932       -.46149E-07** at limit **
  11  Prefactor     .27756E-08    31.275       -.26223E-07** at limit **
  12  norm          41.260        4.5716       -.25470E-07   -.19395E-02
  13  norm          1.9337        .78145       -.37197E-09   -.66139E-03
  14  Prefactor     18.757        11.734        .12282E-07   -.62404E-02
  15  Prefactor     6.7285        2.6810       -.88969E-08    .29048E-01
  16  Normalizat    .75663        .22775        .87787E-07   -.33213E-04
  17  Prefactor     1.2018        .16212       -.13261E-05   -.66282E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.76715
  norm       = 0
  Prefactor  = 7.41122
  Prefactor  = 0
  norm       = 0.0518916
  Prefactor  = 4.72479
  Prefactor  = 0
  Prefactor  = 1.04978
  norm       = 21.9808
  Prefactor  = 1.11022e-10
  Prefactor  = 2.77556e-09
  norm       = 41.2604
  norm       = 1.93374
  Prefactor  = 18.7567
  Prefactor  = 6.72851
  Normalizat = 0.756632
  Prefactor  = 1.20177
 **********
 **   18 **HESSE 
 **********

 FCN=   8038.075     FROM HESSE     STATUS=OK           273 CALLS     1213 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7671        5.6783        .36108E-03   -1.5652    
   2  norm           .0000        3.7582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.4112        28.097        .36852E-03   -1.5654    
   4  Prefactor      .0000        7.8032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .51892E-01    4.7043        .64668E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.7248        6.3556        .46299E-03   -1.5664    
   7  Prefactor      .0000        8.3344        .79811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0498        1.7759        .27926E-02   -1.5687    
   9  norm          21.981        13.778        .21264E-03   -1.5614    
  10  Prefactor     .11102E-09    15.950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .27756E-08    31.307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          41.260        4.5802        .15567E-03   -1.5579    
  13  norm          1.9337        .78458        .74673E-03   -1.5680    
  14  Prefactor     18.757        14.691        .23201E-03   -1.5621    
  15  Prefactor     6.7285        35.231        .38352E-03   -1.5656    
  16  Normalizat    .75663        .20382        .82665E-01   -1.0170    
  17  Prefactor     1.2018        .14272        .34586E-01   -.86277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25924e-07
Minuit parameter uncertainties:
  1  5.67829
  2  4.24372e-07
  3  28.098
  4  1.62686e-05
  5  0.988158
  6  6.35557
  7  2.57571e-05
  8  1.7759
  9  13.7782
  10  7.45125e-05
  11  0.000592446
  12  4.58018
  13  0.784577
  14  14.6911
  15  30.7931
  16  0.204024
  17  0.14277
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.110e-10  7.451e-05  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.202e+00  1.428e-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:  7.566e-01  2.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 15.969 13.354
Photon Flux Upper Limit: 5.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/766539/likelihoodResults_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.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) = 8038.10486159
delta logL = -0.0299403997933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8038.07492122
delta logL = -2.41061570705e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32752E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .35700       1.0000          .0000       10.000    
     3 'Normalizat'    .75664       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2018       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8038.075     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      219 TOTAL
                     EDM=   .59E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.9195        .42118E-03** at limit **
   2  Index         3.1459        1.7063        .39883E-03     .0000    
   3  Normalizat    .75663        1.0961        .60560E-05    .29820E-04
   4  Prefactor     1.2018        1.1024       -.22959E-05   -.26211E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.14587
  Normalizat = 0.756633
  Prefactor  = 1.20177
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8038.075     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .59E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.9195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1150        2.1606        .39883E-03   -.37990    
   3  Normalizat    .75663        1.0961        .60560E-05   -1.0170    
   4  Prefactor     1.2018        1.1024       -.22959E-05   -.86277    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.93569e-12
Minuit parameter uncertainties:
  1  2.86266e-06
  2  1.74728
  3  1.13073
  4  1.12474
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/766539': 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): 101
logL (Free Index) = 8038.07492119
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.863e-06  0.000e+00  1.000e+06 ( 1.000e-14)
233        Index:  3.146e+00  1.747e+00  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.202e+00  1.125e+00  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:  7.566e-01  1.131e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 15.969 13.354

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/766539/cmap_HighResolution_688780801_689040001_4FGL_J0103.8+1321_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.81e-03', job_status='DONE', photon_flux_upper_limit='5.05e-08', time_completed='2022-11-02 00:16:11.306988', job_id='766539', GAL2='1.20', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1667373371.31', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='1734' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:16:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 766539: <4FGL_J0103.8+1321_daily_bin1734> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin1734> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Nov  2 00:05:10 2022
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:05:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:05:11 2022
Terminated at Wed Nov  2 00:16:11 2022
Results reported at Wed Nov  2 00:16:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin1734 15.969 13.3536 688780801 689040001 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 :                                   559.57 sec.
    Max Memory :                                 1195 MB
    Average Memory :                             337.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            661 sec.

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

