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 45 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).
nnumber of points = 7475
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0103.8+1321_daily_bin1726
RA = 15.969, Dec = 13.3536
tmin = 686707201, tmax = 686966401
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='77543', job_status='RUN', time_executed='2022-10-09 00:06:22.275247', time_epoch_executed='1665299182.28' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77543

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77543/ft1_4FGL_J0103.8+1321_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77543/ft2_4FGL_J0103.8+1321_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77543/ft1_4FGL_J0103.8+1321_daily_bin1726.fits outfile=/scratch/kocevski/77543/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1726.fits ra=15.969 dec=13.3536 rad=12.0 tmin=686707201.0 tmax=686966401.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.16
user 2.87
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77543/ft2_4FGL_J0103.8+1321_daily_bin1726.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/77543/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/77543/ft1_filtered_4FGL_J0103.8+1321_daily_bin1726.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.52
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 2

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77543/ft1_filtered_4FGL_J0103.8+1321_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/77543/ft2_4FGL_J0103.8+1321_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/77543/ltcube_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.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/77543/ft2_4FGL_J0103.8+1321_daily_bin1726.fits
.....................!
real 17.37
user 16.68
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77543/ft1_filtered_4FGL_J0103.8+1321_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/77543/ft2_4FGL_J0103.8+1321_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/77543/ltcube_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.fits outfile=/scratch/kocevski/77543/expmap_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.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/77543/ltcube_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.fits
.....................!
real 191.53
user 185.83
sys 4.01

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/77543/ft1_filtered_4FGL_J0103.8+1321_daily_bin1726.fits scfile=/scratch/kocevski/77543/ft2_4FGL_J0103.8+1321_daily_bin1726.fits outfile=/scratch/kocevski/77543/cmap_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.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 6.60
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77543/ft1_filtered_4FGL_J0103.8+1321_daily_bin1726.fits scfile=/scratch/kocevski/77543/ft2_4FGL_J0103.8+1321_daily_bin1726.fits outfile=/scratch/kocevski/77543/cmap_HighResolution_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.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.62
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/77543/ft1_filtered_4FGL_J0103.8+1321_daily_bin1726.fits', '/scratch/kocevski/77543/ft2_4FGL_J0103.8+1321_daily_bin1726.fits', expMap='/scratch/kocevski/77543/expmap_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.fits', expCube='/scratch/kocevski/77543/ltcube_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/77543/Model_4FGL_J0103.8+1321_daily_bin1726.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/77543/ft1_filtered_4FGL_J0103.8+1321_daily_bin1726.fits
Spacecraft file(s): /scratch/kocevski/77543/ft2_4FGL_J0103.8+1321_daily_bin1726.fits
Exposure map: /scratch/kocevski/77543/expmap_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.fits
Exposure cube: /scratch/kocevski/77543/ltcube_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/77543/Model_4FGL_J0103.8+1321_daily_bin1726.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 26.1800476093

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 23.5160666486

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    590.02       1.0000          .0000       .10000E+07
     2 'norm      '    6.2996       1.0000          .0000       .10000E+07
     3 'Prefactor '    103.34       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.7682       1.0000          .0000       .10000E+07
     5 'norm      '    25.227       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6078       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9379       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34076E-01   1.0000          .0000       .10000E+07
     9 'norm      '    6.4779       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.6861       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.7813       1.0000          .0000       .10000E+07
    12 'norm      '    28.330       1.0000          .0000       .10000E+07
    13 'norm      '    1.5961       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.5539       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.0973       1.0000          .0000       .10000E+07
    16 'Normalizat'    .10146E-01   1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78436E-05   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=   22.02873     FROM MIGRAD    STATUS=CONVERGED    327 CALLS      553 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30075E-03    400.39       -.54942E-05** at limit **
   2  norm          .77848E-04    1430.6        .11774E-05** at limit **
   3  Prefactor     6002.9        5986.3       -.11205E-04    .20717E-01
   4  Prefactor     .82361E-04    3145.2        .31789E-06** at limit **
   5  norm          .89285        231.32        .10203E-05    .19901    
   6  Prefactor     .10312E-05    2637.4        .70518E-06** at limit **
   7  Prefactor     .76683E-01    3219.0        .54666E-05** at limit **
   8  Prefactor      .0000        71.046        .26622E-06** at limit **
   9  norm          6.4779        1.0030         .0000         .0000    
  10  Prefactor     4.6861        1.0058         .0000         .0000    
  11  Prefactor     2398.7        2607.1       -.15809E-05   -.14301E-02
  12  norm          .63283E-08    131.90        .19080E-05** at limit **
  13  norm          1.5961        1.0602         .0000         .0000    
  14  Prefactor     5.5539        1.0041         .0000         .0000    
  15  Prefactor     .46382E-01    3036.9        .23858E-05** at limit **
  16  Normalizat    .10000E-01    .88725        .12321E-04** at limit **
  17  Prefactor     .15399E-10    .68166        .85677E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00030075
  norm       = 7.78478e-05
  Prefactor  = 6002.85
  Prefactor  = 8.23607e-05
  norm       = 0.892852
  Prefactor  = 1.03118e-06
  Prefactor  = 0.0766826
  Prefactor  = 0
  norm       = 6.47786
  Prefactor  = 4.68613
  Prefactor  = 2398.72
  norm       = 6.32827e-09
  norm       = 1.59607
  Prefactor  = 5.55386
  Prefactor  = 0.0463818
  Normalizat = 0.01
  Prefactor  = 1.53993e-11
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22.02873     FROM HESSE     STATUS=FAILED        43 CALLS      596 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30075E-03    401.97        .41181E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .77848E-04    1437.9        .39969E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6002.9        5997.2        .98379E-04   -1.4157    
   4  Prefactor     .82361E-04    3141.0        .46052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .89285        2372.1        .19914E-03   -1.5689    
   6  Prefactor     .10312E-05    2642.2        .83525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .76683E-01    3403.4        .38065E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        70.782        .16243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          37355.        37348.         .0000       -1.5657    
  10  Prefactor     4.6861        1.0058         .0000       -1.5665    
  11  Prefactor     2398.7        17.573       -.15809E-05   -1.4728    
  12  norm          .63283E-08    .88276E-02    .19080E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.5961        1.0602         .0000       -1.5683    
  14  Prefactor     5.5539        1.0041         .0000       -1.5661    
  15  Prefactor     .46382E-01    .75829E-01    .23858E-05   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .10000E-01    .25509        .12321E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15399E-10    .25533        .85677E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07523e-09
Minuit parameter uncertainties:
  1  0.69544
  2  0.669302
  3  6003.24
  4  1.01777
  5  92.078
  6  0.104441
  7  32.3282
  8  5.29247e-05
  9  1.00301
  10  1.00581
  11  17.573
  12  1.49707e-05
  13  1.06018
  14  1.00411
  15  0.0758293
  16  2.04328e-06
  17  3.98289e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 22.0287297737

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  4.686e+00  1.006e+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

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.540e-11  3.983e-06  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:  1.000e-02  2.043e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 1000000.0 is not large enough
delta logLike = 3.5527136788e-15

TS (Fixed Index): 0.00
Ra Dec: 15.969 13.354
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.55e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/77543/likelihoodResults_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.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): 101
logL (Free Index) = 22.0414420611
delta logL = -0.0127122874503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 22.0414420611
delta logL = -0.0127122874503

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.0817       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. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22.04144     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.0817        1.0178        .25339         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.08167
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22.04144     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .47106        1.7038        .25339       -.62324    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.02876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77543': 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) = 22.0414420611
delta logL = -0.0127122874503

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  4.686e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14) fixed
233        Index:  2.082e+00  1.029e+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:  2.827e-05  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  1.001e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/77543/cmap_HighResolution_686707201_686966401_4FGL_J0103.8+1321_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.55e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2022-10-09 00:11:45.584886', job_id='77543', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1665299505.58', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-1.27e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='1726' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:11:45 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 77511: <4FGL_J0103.8+1321_daily_bin1726> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin1726> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Oct  9 00:05:23 2022
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:05:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:05:24 2022
Terminated at Sun Oct  9 00:11:38 2022
Results reported at Sun Oct  9 00:11:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin1726 15.969 13.3536 686707201 686966401 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 :                                   313.00 sec.
    Max Memory :                                 842 MB
    Average Memory :                             292.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   374 sec.
    Turnaround time :                            375 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 77543: <4FGL_J0103.8+1321_daily_bin1726> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin1726> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Oct  9 00:05:25 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:05:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:05:28 2022
Terminated at Sun Oct  9 00:11:46 2022
Results reported at Sun Oct  9 00:11:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin1726 15.969 13.3536 686707201 686966401 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 :                                   317.24 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             484.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   377 sec.
    Turnaround time :                            381 sec.

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

