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


Performing analysis on: 4FGL_J0014.1+1910_daily_bin1755
RA = 3.5368, Dec = 19.1713
tmin = 694224001, tmax = 694483201
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='807194', job_status='RUN', time_executed='2023-01-04 00:08:45.108847', time_epoch_executed='1672819725.11' WHERE source_name='4FGL J0014.1+1910' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807194

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807194/ft1_4FGL_J0014.1+1910_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807194/ft1_4FGL_J0014.1+1910_daily_bin1755.fits outfile=/scratch/kocevski/807194/ft1_filteredMKT_4FGL_J0014.1+1910_daily_bin1755.fits ra=3.5368 dec=19.1713 rad=12.0 tmin=694224001.0 tmax=694483201.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.24
user 2.83
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.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/807194/ft1_filteredMKT_4FGL_J0014.1+1910_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/807194/ft1_filtered_4FGL_J0014.1+1910_daily_bin1755.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.55
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 884

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807194/ft1_filtered_4FGL_J0014.1+1910_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/807194/ltcube_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.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/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.fits
.....................!
real 17.30
user 16.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807194/ft1_filtered_4FGL_J0014.1+1910_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/807194/ltcube_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.fits outfile=/scratch/kocevski/807194/expmap_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.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/807194/ltcube_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.fits
.....................!
real 193.67
user 186.76
sys 5.25

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J0014.1+1910 @ 3.5368 19.1713

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/807194/ft1_filtered_4FGL_J0014.1+1910_daily_bin1755.fits scfile=/scratch/kocevski/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.fits outfile=/scratch/kocevski/807194/cmap_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.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=3.5368 yref=19.1713 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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807194/ft1_filtered_4FGL_J0014.1+1910_daily_bin1755.fits scfile=/scratch/kocevski/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.fits outfile=/scratch/kocevski/807194/cmap_HighResolution_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.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=3.5368 yref=19.1713 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/807194/ft1_filtered_4FGL_J0014.1+1910_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/807194/Model_4FGL_J0014.1+1910_daily_bin1755.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/807194/ft1_filtered_4FGL_J0014.1+1910_daily_bin1755.fits.....................!
real 101.75
user 99.20
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/807194/ft1_filtered_4FGL_J0014.1+1910_daily_bin1755.fits', '/scratch/kocevski/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.fits', expMap='/scratch/kocevski/807194/expmap_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.fits', expCube='/scratch/kocevski/807194/ltcube_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/807194/Model_4FGL_J0014.1+1910_daily_bin1755.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0014.1+1910'

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.230e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
58         Index:  2.276e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/807194/ft1_filtered_4FGL_J0014.1+1910_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/807194/ft2_4FGL_J0014.1+1910_daily_bin1755.fits
Exposure map: /scratch/kocevski/807194/expmap_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.fits
Exposure cube: /scratch/kocevski/807194/ltcube_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/807194/Model_4FGL_J0014.1+1910_daily_bin1755.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) = 9643.77600134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23093E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.866       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.6669       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.340       1.0000          .0000       .10000E+07
     5 'norm      '    .11881E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82692E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13299E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .13458E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1468       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11836E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.762       1.0000          .0000       .10000E+07
    12 'norm      '    11.336       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.4833       1.0000          .0000       .10000E+07
    14 'Normalizat'    .80499       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0634       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9643.764     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      809 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22204E-09    1.0393        .67416E-07** at limit **
   2  Prefactor     10.854        4.7413       -.42035E-06   -.20924E-01
   3  Prefactor     8.6670        5.8009        .16923E-06    .16228E-01
   4  Prefactor     16.322        4.0605       -.24650E-07   -.25658E-01
   5  norm          .77716E-09    2.4902        .24137E-06** at limit **
   6  Prefactor     .76605E-08    4.6343       -.17418E-05** at limit **
   7  Prefactor     .11102E-08    4.3642        .12305E-05** at limit **
   8  norm          .26090E-08    2.7560       -.42909E-06** at limit **
   9  Prefactor     4.1556        4.3586        .63791E-07    .86812E-02
  10  Prefactor     .16653E-09    5.8705        .97835E-06** at limit **
  11  Prefactor     17.436        19.660        .29315E-06   -.14233E-02
  12  norm          11.332        1.0332       -.15827E-07   -.51697E-03
  13  Prefactor     4.5141        4.6279       -.10561E-07   -.23296E-02
  14  Normalizat    .80441        .18204       -.65671E-06   -.31536E-03
  15  Prefactor     1.0635        .12495        .29151E-06   -.39149E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.22045e-10
  Prefactor  = 10.8543
  Prefactor  = 8.66701
  Prefactor  = 16.3224
  norm       = 7.77156e-10
  Prefactor  = 7.66054e-09
  Prefactor  = 1.11022e-09
  norm       = 2.60902e-09
  Prefactor  = 4.1556
  Prefactor  = 1.66533e-10
  Prefactor  = 17.4358
  norm       = 11.3319
  Prefactor  = 4.51405
  Normalizat = 0.804406
  Prefactor  = 1.06348
 **********
 **   18 **HESSE 
 **********

 FCN=   9643.764     FROM HESSE     STATUS=OK           212 CALLS     1021 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22204E-09    1.0356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.854        7.6380        .30369E-03   -1.5642    
   3  Prefactor     8.6670        7.3642        .34025E-03   -1.5649    
   4  Prefactor     16.322        4.0620        .24750E-03   -1.5627    
   5  norm          .77716E-09    2.5216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .76605E-08    4.9519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-08    4.5722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .26090E-08    2.7821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1556        4.3666        .49473E-03   -1.5667    
  10  Prefactor     .16653E-09    5.9068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.436        19.621        .24436E-03   -1.5624    
  12  norm          11.332        9.0775        .29730E-03   -1.5641    
  13  Prefactor     4.5141        4.6316        .47529E-03   -1.5665    
  14  Normalizat    .80441        .15599        .69381E-01   -.99905    
  15  Prefactor     1.0635        .10679        .39180E-01   -.90642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60129e-08
Minuit parameter uncertainties:
  1  3.10393e-05
  2  7.63801
  3  7.36418
  4  4.06199
  5  8.75034e-05
  6  0.000388968
  7  0.000142398
  8  0.000171239
  9  4.36662
  10  5.91654e-05
  11  19.6214
  12  9.0775
  13  4.6316
  14  0.156072
  15  0.106807
Done.

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

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  8.667e+00  7.364e+00  0.000e+00  1.000e+06 ( 1.000e-13)
58         Index:  2.276e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.063e+00  1.068e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  8.044e-01  1.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.98
Ra Dec: 3.537 19.171
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 3.01e-08 +/- 2.55e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 1.00e-05

TS (Fixed Index): 2.98
Ra Dec: 3.537 19.171
Photon Flux Upper Limit: 8.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/807194/likelihoodResults_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.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) = 9643.76354515
delta logL = 1.99732312467e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9643.76353789
delta logL = 2.72308170679e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6976       1.0000          .0000       .10000E+07
     2 'Index     '    2.2710       1.0000          .0000       10.000    
     3 'Normalizat'    .80468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9643.764     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      280 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6992        8.8822        .13586E-04   -.56568E-03
   2  Index         2.2713        .68723        .90126E-02   -.51037E-04
   3  Normalizat    .80458        .18047        .30697E-03   -.22147E-03
   4  Prefactor     1.0634        .12493        .18783E-03   -.40705E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.69917
  Index      = 2.27135
  Normalizat = 0.804584
  Prefactor  = 1.06341
 **********
 **   18 **HESSE 
 **********

 FCN=   9643.764     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6992        8.4454        .54343E-06   -1.5649    
   2  Index         2.2713        .65332        .36050E-03   -.57726    
   3  Normalizat    .80458        .18040        .12279E-04   -.99899    
   4  Prefactor     1.0634        .12496        .37566E-04   -.90645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57038e-10
Minuit parameter uncertainties:
  1  8.44545
  2  0.655999
  3  0.180538
  4  0.124999
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807194': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9643.76353749
delta logL = 2.76300597761e-05

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  8.699e+00  8.445e+00  0.000e+00  1.000e+06 ( 1.000e-13)
58         Index:  2.271e+00  6.560e-01  0.000e+00  1.000e+01 (-1.000e+00)
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.063e+00  1.250e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  8.046e-01  1.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.99
Ra Dec: 3.537 19.171
Photon Index (Free Index): 2.27 +/- 0.66
Photon Flux (Free Index): 2.99e-08 +/- 3.32e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.07e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/807194/cmap_HighResolution_694224001_694483201_4FGL_J0014.1+1910_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', comment='SUCCESS', photon_flux='3.01e-08', energy_flux2='1.19e-05', photon_flux_error='2.55e-08', dlogl='2.76e-05', energy_flux='1.18e-05', photon_flux2='2.99e-08', job_status='DONE', time_completed='2023-01-04 00:18:23.435812', photon_index_error2='0.66', photon_index2='2.27', ts='2.98', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='8.79e-08', energy_flux_error2='1.07e-05', EG='0.80', time_epoch_completed='1672820303.44', return_code='0', job_id='807194', GAL2='1.06', EG2='0.80', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='3.32e-08', ts2='2.99', photon_index='2.28' WHERE bin_id='1755' AND source_name='4FGL J0014.1+1910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 00:18:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 807194: <4FGL_J0014.1+1910_daily_bin1755> in cluster <slac> Done

Job <4FGL_J0014.1+1910_daily_bin1755> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Jan  4 00:04:46 2023
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:05:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:05:26 2023
Terminated at Wed Jan  4 00:18:24 2023
Results reported at Wed Jan  4 00:18:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.1+1910_daily_bin1755 3.5368 19.1713 694224001 694483201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0014.1+1910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   575.11 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             281.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            818 sec.

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

