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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1711
RA = 200.976, Dec = 14.0871
tmin = 682819201, tmax = 683078401
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='132444', job_status='RUN', time_executed='2022-09-16 17:33:56.781078', time_epoch_executed='1663374836.78' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/132444

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/132444/ft1_4FGL_J1323.9+1405_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/132444/ft1_4FGL_J1323.9+1405_daily_bin1711.fits outfile=/scratch/kocevski/132444/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1711.fits ra=200.976 dec=14.0871 rad=12.0 tmin=682819201.0 tmax=683078401.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.89
user 3.62
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.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/132444/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/132444/ft1_filtered_4FGL_J1323.9+1405_daily_bin1711.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.45
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 454

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/132444/ft1_filtered_4FGL_J1323.9+1405_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/132444/ltcube_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.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/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.fits
.....................!
real 11.50
user 11.20
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/132444/ft1_filtered_4FGL_J1323.9+1405_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/132444/ltcube_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.fits outfile=/scratch/kocevski/132444/expmap_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.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/132444/ltcube_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.fits
.....................!
real 158.55
user 154.26
sys 3.96

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1323.9+1405 @ 200.976 14.0871

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/132444/ft1_filtered_4FGL_J1323.9+1405_daily_bin1711.fits scfile=/scratch/kocevski/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.fits outfile=/scratch/kocevski/132444/cmap_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.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=200.976 yref=14.0871 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.49
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/132444/ft1_filtered_4FGL_J1323.9+1405_daily_bin1711.fits scfile=/scratch/kocevski/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.fits outfile=/scratch/kocevski/132444/cmap_HighResolution_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.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=200.976 yref=14.0871 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.48
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/132444/ft1_filtered_4FGL_J1323.9+1405_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/132444/Model_4FGL_J1323.9+1405_daily_bin1711.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/132444/ft1_filtered_4FGL_J1323.9+1405_daily_bin1711.fits.....................!
real 36.93
user 35.73
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/132444/ft1_filtered_4FGL_J1323.9+1405_daily_bin1711.fits', '/scratch/kocevski/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.fits', expMap='/scratch/kocevski/132444/expmap_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.fits', expCube='/scratch/kocevski/132444/ltcube_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/132444/Model_4FGL_J1323.9+1405_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1323.9+1405'

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  5.083e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/132444/ft1_filtered_4FGL_J1323.9+1405_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/132444/ft2_4FGL_J1323.9+1405_daily_bin1711.fits
Exposure map: /scratch/kocevski/132444/expmap_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.fits
Exposure cube: /scratch/kocevski/132444/ltcube_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/132444/Model_4FGL_J1323.9+1405_daily_bin1711.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) = 5309.57912813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28261E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.5621       1.0000          .0000       .10000E+07
     3 'Prefactor '    16.934       1.0000          .0000       .10000E+07
     4 'norm      '    .13185       1.0000          .0000       .10000E+07
     5 'norm      '    .18552E-06   1.0000          .0000       .10000E+07
     6 'norm      '    3.1038       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.5232       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14108E-02   1.0000          .0000       .10000E+07
     9 'norm      '    6.1650       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13626E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .21315E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29276E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    34.203       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10618E-02   1.0000          .0000       .10000E+07
    15 'Normalizat'    .80799       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0684       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5309.534     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1160 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49279E-05    8.9613        .24511E-06** at limit **
   2  Prefactor     7.3632        11.448       -.13410E-06   -.12701E-01
   3  Prefactor     16.879        4.4267       -.32060E-07    .46160E-01
   4  norm          .16829        12.355        .13550E-05** at limit **
   5  norm          .48295E-08    6.9646       -.63823E-07** at limit **
   6  norm          3.1100        4.3498       -.52388E-07   -.50403E-03
   7  Prefactor     7.5869        8.2026       -.19972E-06   -.77735E-03
   8  Prefactor     .11219E-05    23.121        .32499E-06** at limit **
   9  norm          6.1993        8.3984       -.18788E-07   -.40038E-03
  10  Prefactor     .61617E-07    72.698       -.82276E-06** at limit **
  11  Prefactor      .0000        1.3840        .15655E-07** at limit **
  12  Prefactor      .0000        1.4211       -.13477E-07** at limit **
  13  Prefactor     34.520        1.9515        .29841E-08   -.22563E-01
  14  Prefactor     .13206E-06    19.030        .10730E-06** at limit **
  15  Normalizat    .80798        .23761       -.41296E-05   -.36688E-05
  16  Prefactor     1.0680        .19426        .11967E-05    .40797E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.92789e-06
  Prefactor  = 7.36319
  Prefactor  = 16.8791
  norm       = 0.168291
  norm       = 4.82947e-09
  norm       = 3.10999
  Prefactor  = 7.58692
  Prefactor  = 1.12194e-06
  norm       = 6.19928
  Prefactor  = 6.16174e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 34.52
  Prefactor  = 1.32061e-07
  Normalizat = 0.807976
  Prefactor  = 1.06804
 **********
 **   18 **HESSE 
 **********

 FCN=   5309.534     FROM HESSE     STATUS=OK           239 CALLS     1399 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49279E-05    35.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.3632        13.324        .36445E-03   -1.5654    
   3  Prefactor     16.879        18.362        .24312E-03   -1.5626    
   4  norm          .16829        3.3574        .41274E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .48295E-08    7.0830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.1100        4.3685        .57534E-03   -1.5673    
   7  Prefactor     7.5869        8.2233        .36540E-03   -1.5653    
   8  Prefactor     .11219E-05    29.395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.1993        8.4356        .40409E-03   -1.5658    
  10  Prefactor     .61617E-07    73.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.3823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.4188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     34.520        22.383        .17101E-03   -1.5590    
  14  Prefactor     .13206E-06    20.090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .80798        .20432        .63471E-01   -.99773    
  16  Prefactor     1.0680        .16257        .38933E-01   -.90495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51116e-07
Minuit parameter uncertainties:
  1  0.0264947
  2  13.3241
  3  18.3618
  4  1.50336
  5  0.000369353
  6  4.3685
  7  8.22329
  8  0.0114856
  9  8.43563
  10  0.00425096
  11  2.05252e-06
  12  1.891e-06
  13  22.3832
  14  0.00325797
  15  0.20451
  16  0.162645
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.122e-06  1.149e-02  0.000e+00  1.000e+06 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.068e+00  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.080e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 200.976 14.087
Photon Flux Upper Limit: 6.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/132444/likelihoodResults_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.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) = 5309.54991713
delta logL = -0.0163369828742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5307.97913608
delta logL = 1.55444406494

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5307.979     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      250 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96707        10.642        .42619E-03    .10490E-01
   2  Index         3.6915        1.8572        .66678E-01    .27215E-03
   3  Normalizat    .68020        .63680E-01    .68554E-01    .31570E-04
   4  Prefactor     1.1222        .52128E-01    .36797E-01   -.26445E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.967074
  Index      = 3.69147
  Normalizat = 0.680201
  Prefactor  = 1.12218
 **********
 **   18 **HESSE 
 **********

 FCN=   5307.979     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      281 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96707        18.209        .43127E-05   -1.5688    
   2  Index         3.6915        2.7011        .26077E-02   -.26479    
   3  Normalizat    .68020        .21890        .30337E-03   -1.0468    
   4  Prefactor     1.1222        .18087        .20166E-03   -.88761    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.23173e-10
Minuit parameter uncertainties:
  1  8.3928
  2  2.86678
  3  0.219177
  4  0.18097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/132444': 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) = 5307.979136
delta logL = 1.55444414211

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  9.671e-01  8.393e+00  0.000e+00  1.000e+06 ( 1.000e-14)
328        Index:  3.691e+00  2.867e+00  0.000e+00  1.000e+01 (-1.000e+00)
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.122e+00  1.810e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  6.802e-01  2.192e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.34
Ra Dec: 200.976 14.087
Photon Index (Free Index): 3.69 +/- 2.87
Photon Flux (Free Index): 1.18e-07 +/- 7.77e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.51e-05

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/132444/cmap_HighResolution_682819201_683078401_4FGL_J1323.9+1405_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.93e-03', comment='SUCCESS', energy_flux2='1.88e-05', dlogl='1.55e+00', photon_flux2='1.18e-07', job_status='DONE', time_completed='2022-09-16 17:40:38.390092', photon_index_error2='2.87', photon_index2='3.69', ts='-0.00', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='6.65e-08', energy_flux_error2='1.51e-05', EG='0.81', time_epoch_completed='1663375238.39', return_code='0', job_id='132444', GAL2='1.12', EG2='0.68', return_code2='102', photon_flux_error2='7.77e-08', ts2='3.34', photon_index='1.88' WHERE bin_id='1711' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:40:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 132444: <4FGL_J1323.9+1405_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin1711> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 17:30:16 2022
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:32:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:32:45 2022
Terminated at Fri Sep 16 17:40:39 2022
Results reported at Fri Sep 16 17:40:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1711 200.976 14.0871 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1323.9+1405 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   402.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   474 sec.
    Turnaround time :                            623 sec.

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

