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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin1742
RA = 15.969, Dec = 13.3536
tmin = 690854401, tmax = 691113601
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='217268', job_status='RUN', time_executed='2022-11-26 00:09:53.852277', time_epoch_executed='1669450193.85' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217268

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217268/ft1_4FGL_J0103.8+1321_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217268/ft2_4FGL_J0103.8+1321_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217268/ft1_4FGL_J0103.8+1321_daily_bin1742.fits outfile=/scratch/kocevski/217268/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1742.fits ra=15.969 dec=13.3536 rad=12.0 tmin=690854401.0 tmax=691113601.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 2.97
user 2.69
sys 0.22

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

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

Number of photons that the gtmktime cut: 448

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217268/ft1_filtered_4FGL_J0103.8+1321_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217268/ft2_4FGL_J0103.8+1321_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217268/ltcube_690854401_691113601_4FGL_J0103.8+1321_daily_bin1742.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/217268/ft2_4FGL_J0103.8+1321_daily_bin1742.fits
.....................!
real 18.24
user 17.71
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217268/ft1_filtered_4FGL_J0103.8+1321_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217268/ft2_4FGL_J0103.8+1321_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217268/ltcube_690854401_691113601_4FGL_J0103.8+1321_daily_bin1742.fits outfile=/scratch/kocevski/217268/expmap_690854401_691113601_4FGL_J0103.8+1321_daily_bin1742.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/217268/ltcube_690854401_691113601_4FGL_J0103.8+1321_daily_bin1742.fits
.....................!
real 193.55
user 187.53
sys 4.93

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/217268/ft1_filtered_4FGL_J0103.8+1321_daily_bin1742.fits scfile=/scratch/kocevski/217268/ft2_4FGL_J0103.8+1321_daily_bin1742.fits outfile=/scratch/kocevski/217268/cmap_690854401_691113601_4FGL_J0103.8+1321_daily_bin1742.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217268/ft1_filtered_4FGL_J0103.8+1321_daily_bin1742.fits scfile=/scratch/kocevski/217268/ft2_4FGL_J0103.8+1321_daily_bin1742.fits outfile=/scratch/kocevski/217268/cmap_HighResolution_690854401_691113601_4FGL_J0103.8+1321_daily_bin1742.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0787       1.0000          .0000       .10000E+07
     2 'norm      '    .60507E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .44409E-09   1.0000          .0000       .10000E+07
     4 'Prefactor '    .14433E-08   1.0000          .0000       .10000E+07
     5 'norm      '    6.8757       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32434E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.142       1.0000          .0000       .10000E+07
     8 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     9 'norm      '    8.0669       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18709E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    86.219       1.0000          .0000       .10000E+07
    12 'norm      '    29.311       1.0000          .0000       .10000E+07
    13 'norm      '    1.1498       1.0000          .0000       .10000E+07
    14 'Prefactor '    18.112       1.0000          .0000       .10000E+07
    15 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.5963       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .75291       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=   4916.686     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1489 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0790        3.4822        .12349E-07   -.13675E-02
   2  norm          .49960E-09    8.4712        .39003E-06** at limit **
   3  Prefactor     .22204E-09    9.7087        .12459E-06** at limit **
   4  Prefactor     .49960E-09    5.3489        .48444E-07** at limit **
   5  norm          6.8760        7.1585        .21952E-06    .48392E-03
   6  Prefactor     .38858E-09    19.721       -.43230E-06** at limit **
   7  Prefactor     15.141        10.030       -.28821E-05   -.42175E-01
   8  Prefactor     .33307E-09    2.4049       -.23016E-06** at limit **
   9  norm          8.0656        5.7024        .21891E-05   -.14533E-01
  10  Prefactor     .17597E-07    60.846        .11428E-05** at limit **
  11  Prefactor     86.225        1.0059        .31591E-08   -.33252E-03
  12  norm          29.311        5.6795        .68516E-07   -.17830E-02
  13  norm          1.1499        .82109        .50516E-07    .79985E-02
  14  Prefactor     18.105        9.6997        .25068E-05   -.37834E-01
  15  Prefactor     .18319E-08    34.820        .18232E-05** at limit **
  16  Normalizat    1.5962        .29684        .36903E-05   -.76951E-03
  17  Prefactor     .75293        .20193       -.74460E-05   -.91621E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.07898
  norm       = 4.996e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 4.996e-10
  norm       = 6.87604
  Prefactor  = 3.88578e-10
  Prefactor  = 15.141
  Prefactor  = 3.33067e-10
  norm       = 8.06562
  Prefactor  = 1.7597e-08
  Prefactor  = 86.2246
  norm       = 29.3112
  norm       = 1.14986
  Prefactor  = 18.1051
  Prefactor  = 1.83187e-09
  Normalizat = 1.59624
  Prefactor  = 0.752928
 **********
 **   18 **HESSE 
 **********

 FCN=   4916.686     FROM HESSE     STATUS=OK           257 CALLS     1746 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0790        3.4856        .57781E-03   -1.5673    
   2  norm          .49960E-09    8.4894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    9.7314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .49960E-09    5.3610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.8760        7.1845        .38238E-03   -1.5656    
   6  Prefactor     .38858E-09    19.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.141        13.711        .25713E-03   -1.5630    
   8  Prefactor     .33307E-09    2.3868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0656        16.449        .35277E-03   -1.5651    
  10  Prefactor     .17597E-07    60.843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     86.225        167.30        .10770E-03   -1.5522    
  12  norm          29.311        6.4762        .18474E-03   -1.5600    
  13  norm          1.1499        .84160        .10792E-02   -1.5687    
  14  Prefactor     18.105        16.542        .23507E-03   -1.5623    
  15  Prefactor     .18319E-08    34.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.5962        .25609        .62460E-01   -.75109    
  17  Prefactor     .75293        .17250        .43101E-01   -1.0149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71596e-08
Minuit parameter uncertainties:
  1  3.48561
  2  0.000129143
  3  8.73955e-05
  4  0.000100748
  5  7.18455
  6  0.000168239
  7  13.711
  8  5.81301e-05
  9  16.4495
  10  0.00206835
  11  167.308
  12  6.47624
  13  0.841604
  14  16.5418
  15  0.000503083
  16  0.256302
  17  0.172628
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.760e-08  2.068e-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:  7.529e-01  1.726e-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.596e+00  2.563e-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.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217268/likelihoodResults_690854401_691113601_4FGL_J0103.8+1321_daily_bin1742.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): 102
logL (Free Index) = 4916.69348106
delta logL = -0.00788916109195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4916.68559703
delta logL = -5.13252689416e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46329E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.9888       1.0000          .0000       10.000    
     3 'Normalizat'    1.5965       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75250       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=   4916.686     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      252 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    5.3830        .42118E-03** at limit **
   2  Index         1.2992        5.6108        .50000       -.12733E-09
   3  Normalizat    1.5962        .20125E-02    .62461E-01   -.57132E-04
   4  Prefactor     .75293        .13760E-02    .43096E-01    .18457E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 1.29922
  Normalizat = 1.59624
  Prefactor  = 0.752932
 **********
 **   18 **HESSE 
 **********

 FCN=   4916.686     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      279 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    27.028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2992        5.1196        .50000       -.83330    
   3  Normalizat    1.5962        .45069E-02    .27623E-03   -.75109    
   4  Prefactor     .75293        .30818E-02    .26134E-03   -1.0149    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.33754e-11
Minuit parameter uncertainties:
  1  0.00054434
  2  49137
  3  0.00450693
  4  0.00308183
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217268': 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) = 4916.6855919
delta logL = 7.20319803804e-10

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  2.720e-09  5.443e-04  0.000e+00  1.000e+06 ( 1.000e-14)
233        Index:  1.299e+00  4.914e+04  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:  7.529e-01  3.082e-03  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.596e+00  4.507e-03  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/217268/cmap_HighResolution_690854401_691113601_4FGL_J0103.8+1321_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.82e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2022-11-26 00:18:21.517559', job_id='217268', GAL2='0.75', fit_tolerance='1e-08', EG2='1.60', EG='1.60', time_epoch_completed='1669450701.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='7.20e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='1742' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:18:21 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 217268: <4FGL_J0103.8+1321_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:04:44 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:09:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:09:28 2022
Terminated at Sat Nov 26 00:18:22 2022
Results reported at Sat Nov 26 00:18:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin1742 15.969 13.3536 690854401 691113601 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 :                                   505.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   533 sec.
    Turnaround time :                            818 sec.

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

