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).

number of points = 7534
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0103.8+1321_daily_bin1719
RA = 15.969, Dec = 13.3536
tmin = 684892801, tmax = 685152001
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='644048', job_status='RUN', time_executed='2022-09-18 00:06:00.890143', time_epoch_executed='1663484760.89' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644048

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644048/ft1_4FGL_J0103.8+1321_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644048/ft2_4FGL_J0103.8+1321_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644048/ft1_4FGL_J0103.8+1321_daily_bin1719.fits outfile=/scratch/kocevski/644048/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1719.fits ra=15.969 dec=13.3536 rad=12.0 tmin=684892801.0 tmax=685152001.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.15
user 2.92
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644048/ft2_4FGL_J0103.8+1321_daily_bin1719.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/644048/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/644048/ft1_filtered_4FGL_J0103.8+1321_daily_bin1719.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.34
sys 0.17

Number of photons that the gtmktime cut: 362

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644048/ft1_filtered_4FGL_J0103.8+1321_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/644048/ft2_4FGL_J0103.8+1321_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/644048/ltcube_684892801_685152001_4FGL_J0103.8+1321_daily_bin1719.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/644048/ft2_4FGL_J0103.8+1321_daily_bin1719.fits
.....................!
real 18.56
user 18.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644048/ft1_filtered_4FGL_J0103.8+1321_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/644048/ft2_4FGL_J0103.8+1321_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/644048/ltcube_684892801_685152001_4FGL_J0103.8+1321_daily_bin1719.fits outfile=/scratch/kocevski/644048/expmap_684892801_685152001_4FGL_J0103.8+1321_daily_bin1719.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/644048/ltcube_684892801_685152001_4FGL_J0103.8+1321_daily_bin1719.fits
.....................!
real 191.76
user 186.44
sys 4.83

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/644048/ft1_filtered_4FGL_J0103.8+1321_daily_bin1719.fits scfile=/scratch/kocevski/644048/ft2_4FGL_J0103.8+1321_daily_bin1719.fits outfile=/scratch/kocevski/644048/cmap_684892801_685152001_4FGL_J0103.8+1321_daily_bin1719.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644048/ft1_filtered_4FGL_J0103.8+1321_daily_bin1719.fits scfile=/scratch/kocevski/644048/ft2_4FGL_J0103.8+1321_daily_bin1719.fits outfile=/scratch/kocevski/644048/cmap_HighResolution_684892801_685152001_4FGL_J0103.8+1321_daily_bin1719.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.87
user 0.39
sys 0.20

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70499E-08   1.0000          .0000       .10000E+07
     2 'norm      '    .18352E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .75057E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.3529       1.0000          .0000       .10000E+07
     5 'norm      '    .14544E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.5518       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.0703       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17086E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .11497E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .65562E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2485       1.0000          .0000       .10000E+07
    12 'norm      '    50.172       1.0000          .0000       .10000E+07
    13 'norm      '    1.7362       1.0000          .0000       .10000E+07
    14 'Prefactor '    .22504E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17013       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2393       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .90129       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=   4266.879     FROM MIGRAD    STATUS=CONVERGED    138 CALLS      964 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.5835        .14657E-05** at limit **
   2  norm           .0000        6.0709       -.88614E-06** at limit **
   3  Prefactor     .74829E-07    47.795        .16299E-04** at limit **
   4  Prefactor     8.6732        2.6713        .54784E-06   -.11135    
   5  norm           .0000        2.8173        .36847E-06** at limit **
   6  Prefactor     7.5434        8.1909        .42859E-06    .10948E-01
   7  Prefactor     6.2102        14.304        .60184E-05    .11936E-01
   8  Prefactor     .55511E-10    5.5562       -.23340E-05** at limit **
   9  norm          .91316E-07    27.908       -.79263E-05** at limit **
  10  Prefactor     .10991E-07    54.963       -.10061E-05** at limit **
  11  Prefactor     .19318E-07    544.74       -.93817E-04** at limit **
  12  norm          49.475        15.438        .55856E-06    .27197E-02
  13  norm          1.7354        .78865       -.35455E-08   -.10684E-02
  14  Prefactor     .16653E-09    22.576       -.19997E-05** at limit **
  15  Prefactor     .11102E-09    64.555        .22359E-05** at limit **
  16  Normalizat    1.2394        .34166       -.31926E-04    .41986E-03
  17  Prefactor     .90137        .22416        .16085E-04    .56479E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 7.4829e-08
  Prefactor  = 8.67324
  norm       = 0
  Prefactor  = 7.54339
  Prefactor  = 6.21022
  Prefactor  = 5.55112e-11
  norm       = 9.13158e-08
  Prefactor  = 1.09912e-08
  Prefactor  = 1.93179e-08
  norm       = 49.4755
  norm       = 1.73539
  Prefactor  = 1.66533e-10
  Prefactor  = 1.11022e-10
  Normalizat = 1.23939
  Prefactor  = 0.901366
 **********
 **   18 **HESSE 
 **********

 FCN=   4266.879     FROM HESSE     STATUS=OK           251 CALLS     1215 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.5840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        6.0702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .74829E-07    47.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.6732        26.053        .34663E-03   -1.5649    
   5  norm           .0000        2.8212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.5434        8.5328        .36470E-03   -1.5653    
   7  Prefactor     6.2102        14.229        .40727E-03   -1.5658    
   8  Prefactor     .55511E-10    5.5598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .91316E-07    28.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10991E-07    54.810        .14967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .19318E-07    543.75        .43851E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          49.475        15.431        .14119E-03   -1.5567    
  13  norm          1.7354        .79089        .79613E-03   -1.5682    
  14  Prefactor     .16653E-09    22.042        .16877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-09    64.489        .12333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2394        .27669        .66477E-01   -.85394    
  17  Prefactor     .90137        .18202        .45021E-01   -.96093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.99606e-07
Minuit parameter uncertainties:
  1  1.91544e-05
  2  2.74706e-06
  3  0.00378098
  4  26.0534
  5  1.22326e-05
  6  8.53284
  7  14.2293
  8  3.77635e-05
  9  0.00319988
  10  0.00155234
  11  0.00648153
  12  15.4312
  13  0.790891
  14  0.000119639
  15  0.00017229
  16  0.277016
  17  0.182138
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.099e-08  1.552e-03  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:  9.014e-01  1.821e-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:  1.239e+00  2.770e-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: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/644048/likelihoodResults_684892801_685152001_4FGL_J0103.8+1321_daily_bin1719.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) = 4266.88723734
delta logL = -0.00871613241179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4266.67721562
delta logL = 0.201305590796

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5049       1.0000          .0000       .10000E+07
     2 'Index     '    3.7359       1.0000          .0000       10.000    
     3 'Normalizat'    1.1659       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92984       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.

 FCN=   4266.677     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      239 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5190        54.843        .87213E-03    .11425E-01
   2  Index         3.7323        2.5400        .13284        .19025E-03
   3  Normalizat    1.1660        .55768E-01    .68256E-01   -.13452E-03
   4  Prefactor     .92997        .37053E-01    .45384E-01   -.34077E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.51898
  Index      = 3.73227
  Normalizat = 1.16602
  Prefactor  = 0.929971
 **********
 **   18 **HESSE 
 **********

 FCN=   4266.677     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      270 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5190        186.60        .12327E-04   -1.5683    
   2  Index         3.7323        6.7278        .46015E-02   -.25635    
   3  Normalizat    1.1660        .30142        .30199E-03   -.87659    
   4  Prefactor     .92997        .19818        .22098E-03   -.95102    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.04903e-09
Minuit parameter uncertainties:
  1  33.6727
  2  7.97403
  3  0.301865
  4  0.198331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644048': 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): 102
logL (Free Index) = 4266.67721198
delta logL = 0.201309232186

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.519e+00  3.367e+01  0.000e+00  1.000e+06 ( 1.000e-14)
233        Index:  3.732e+00  7.974e+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:  9.300e-01  1.983e-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:  1.166e+00  3.019e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/644048/cmap_HighResolution_684892801_685152001_4FGL_J0103.8+1321_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2022-09-18 00:13:26.401034', job_id='644048', GAL2='0.93', fit_tolerance='1e-08', EG2='1.17', EG='1.24', time_epoch_completed='1663485206.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.01e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='1719' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 00:13:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 644048: <4FGL_J0103.8+1321_daily_bin1719> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 00:04:42 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 00:05:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 00:05:06 2022
Terminated at Sun Sep 18 00:13:27 2022
Results reported at Sun Sep 18 00:13:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin1719 15.969 13.3536 684892801 685152001 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 :                                   446.25 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   500 sec.
    Turnaround time :                            525 sec.

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

