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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1708
RA = 200.976, Dec = 14.0871
tmin = 682041601, tmax = 682300801
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='132439', job_status='RUN', time_executed='2022-09-16 17:35:44.945509', time_epoch_executed='1663374944.95' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/132439

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/132439/ft1_4FGL_J1323.9+1405_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/132439/ft2_4FGL_J1323.9+1405_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/132439/ft1_4FGL_J1323.9+1405_daily_bin1708.fits outfile=/scratch/kocevski/132439/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1708.fits ra=200.976 dec=14.0871 rad=12.0 tmin=682041601.0 tmax=682300801.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 4.00
user 3.75
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/132439/ft2_4FGL_J1323.9+1405_daily_bin1708.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/132439/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/132439/ft1_filtered_4FGL_J1323.9+1405_daily_bin1708.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 546

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/132439/ft1_filtered_4FGL_J1323.9+1405_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/132439/ft2_4FGL_J1323.9+1405_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/132439/ltcube_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.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/132439/ft2_4FGL_J1323.9+1405_daily_bin1708.fits
.....................!
real 14.60
user 14.16
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/132439/ft1_filtered_4FGL_J1323.9+1405_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/132439/ft2_4FGL_J1323.9+1405_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/132439/ltcube_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.fits outfile=/scratch/kocevski/132439/expmap_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.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/132439/ltcube_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.fits
.....................!
real 190.93
user 185.94
sys 4.46

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/132439/ft1_filtered_4FGL_J1323.9+1405_daily_bin1708.fits scfile=/scratch/kocevski/132439/ft2_4FGL_J1323.9+1405_daily_bin1708.fits outfile=/scratch/kocevski/132439/cmap_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/132439/ft1_filtered_4FGL_J1323.9+1405_daily_bin1708.fits scfile=/scratch/kocevski/132439/ft2_4FGL_J1323.9+1405_daily_bin1708.fits outfile=/scratch/kocevski/132439/cmap_HighResolution_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.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.57
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/132439/ft1_filtered_4FGL_J1323.9+1405_daily_bin1708.fits', '/scratch/kocevski/132439/ft2_4FGL_J1323.9+1405_daily_bin1708.fits', expMap='/scratch/kocevski/132439/expmap_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.fits', expCube='/scratch/kocevski/132439/ltcube_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/132439/Model_4FGL_J1323.9+1405_daily_bin1708.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/132439/ft1_filtered_4FGL_J1323.9+1405_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/132439/ft2_4FGL_J1323.9+1405_daily_bin1708.fits
Exposure map: /scratch/kocevski/132439/expmap_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.fits
Exposure cube: /scratch/kocevski/132439/ltcube_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/132439/Model_4FGL_J1323.9+1405_daily_bin1708.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) = 6268.42040133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.001       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.1245       1.0000          .0000       .10000E+07
     4 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     5 'norm      '    29.164       1.0000          .0000       .10000E+07
     6 'norm      '    5.8559       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36637E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .29302E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15460E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .73830E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.1756       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.454       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0575       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0656       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=   6268.394     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1066 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.001        9.4420       -.17100E-08    .31096E-02
   2  Prefactor     .55511E-10    5.2589       -.22816E-06** at limit **
   3  Prefactor     4.1262        14.429        .20799E-06    .18744E-01
   4  norm           .0000        1.4588        .19914E-07** at limit **
   5  norm          29.155        12.934        .55151E-07   -.75757E-01
   6  norm          5.8563        5.8875        .22484E-07    .17458E-02
   7  Prefactor      .0000        2.0460        .31284E-08** at limit **
   8  Prefactor     .55511E-08    98.640       -.12364E-06** at limit **
   9  norm           .0000        2.7036        .23427E-07** at limit **
  10  Prefactor     .17764E-08    44.012        .13952E-06** at limit **
  11  Prefactor      .0000        1.6688       -.16345E-08** at limit **
  12  Prefactor      .0000        1.3221       -.14290E-07** at limit **
  13  Prefactor     7.1749        9.4112       -.27163E-07   -.15019E-01
  14  Prefactor     13.458        14.089       -.14098E-07    .32479E-01
  15  Normalizat    1.0575        .23276        .16296E-06   -.73947E-04
  16  Prefactor     1.0656        .18906       -.21431E-05   -.10901E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0014
  Prefactor  = 5.55112e-11
  Prefactor  = 4.12616
  norm       = 0
  norm       = 29.1546
  norm       = 5.85633
  Prefactor  = 0
  Prefactor  = 5.55112e-09
  norm       = 0
  Prefactor  = 1.77636e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 7.17486
  Prefactor  = 13.4583
  Normalizat = 1.05748
  Prefactor  = 1.06565
 **********
 **   18 **HESSE 
 **********

 FCN=   6268.394     FROM HESSE     STATUS=OK           231 CALLS     1297 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.001        9.4416        .26742E-03   -1.5633    
   2  Prefactor     .55511E-10    5.2510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.1262        15.430        .49611E-03   -1.5667    
   4  norm           .0000        1.4595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          29.155        24.132        .18520E-03   -1.5600    
   6  norm          5.8563        5.9460        .41477E-03   -1.5660    
   7  Prefactor      .0000        2.0493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-08    98.552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.7082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17764E-08    44.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.6662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.3209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.1749        9.5077        .37423E-03   -1.5654    
  14  Prefactor     13.458        14.980        .27282E-03   -1.5635    
  15  Normalizat    1.0575        .19512        .60571E-01   -.91129    
  16  Prefactor     1.0656        .15827        .39072E-01   -.90572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57406e-07
Minuit parameter uncertainties:
  1  9.44159
  2  3.59381e-05
  3  15.4303
  4  2.44041e-06
  5  24.1317
  6  5.94598
  7  1.11356e-06
  8  0.00147714
  9  1.06552e-06
  10  0.000556379
  11  1.20106e-06
  12  1.15838e-07
  13  9.50777
  14  14.9799
  15  0.195255
  16  0.158338
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  5.551e-09  1.477e-03  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.066e+00  1.583e-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:  1.057e+00  1.953e-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.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/132439/likelihoodResults_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.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) = 6268.39971234
delta logL = -0.00521942517753

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6267.26330916
delta logL = 1.13118374898

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11210       1.0000          .0000       .10000E+07
     2 'Index     '    4.2696       1.0000          .0000       10.000    
     3 'Normalizat'    .96007       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1116       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=   6267.263     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      254 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11208        1.1999        .43307E-03** at limit **
   2  Index         4.2704        1.6142        .82847E-01    .33942E-03
   3  Normalizat    .95973        .44908E-01    .45665E-01    .43565E-04
   4  Prefactor     1.1119        .37512E-01    .37160E-01    .17944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.112083
  Index      = 4.27036
  Normalizat = 0.959729
  Prefactor  = 1.11188
 **********
 **   18 **HESSE 
 **********

 FCN=   6267.263     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      289 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11208        3.0997        .19720E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2704        3.1341        .29916E-02   -.14645    
   3  Normalizat    .95973        .17342        .27931E-03   -.94392    
   4  Prefactor     1.1119        .14330        .21845E-03   -.89088    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.58473e-10
Minuit parameter uncertainties:
  1  1.17885
  2  3.39431
  3  0.173522
  4  0.143349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/132439': 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) = 6267.26330487
delta logL = 1.13118804016

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.121e-01  1.179e+00  0.000e+00  1.000e+06 ( 1.000e-14)
328        Index:  4.270e+00  3.394e+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.112e+00  1.433e-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:  9.597e-01  1.735e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.40
Ra Dec: 200.976 14.087
Photon Index (Free Index): 4.27 +/- 3.39
Photon Flux (Free Index): 8.27e-08 +/- 6.11e-08
Energy Flux (Free Index): 1.19e-05 +/- 9.38e-06

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/132439/cmap_HighResolution_682041601_682300801_4FGL_J1323.9+1405_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='1.13e+00', photon_flux2='8.27e-08', job_status='DONE', time_completed='2022-09-16 17:44:03.839803', photon_index_error2='3.39', photon_index2='4.27', ts='-0.00', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='6.25e-08', energy_flux_error2='9.38e-06', EG='1.06', time_epoch_completed='1663375443.84', return_code='0', job_id='132439', GAL2='1.11', EG2='0.96', return_code2='102', photon_flux_error2='6.11e-08', ts2='2.40', photon_index='1.88' WHERE bin_id='1708' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:44:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 132439: <4FGL_J1323.9+1405_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin1708> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 17:30:15 2022
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:32:38 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:38 2022
Terminated at Fri Sep 16 17:44:04 2022
Results reported at Fri Sep 16 17:44:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1708 200.976 14.0871 682041601 682300801 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 :                                   501.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            829 sec.

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

