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


Performing analysis on: 4FGL_J1323.9+1405_weekly_bin762
RA = 200.976, Dec = 14.0871
tmin = 699840001, tmax = 700444801
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='998049', job_status='RUN', time_executed='2023-03-14 03:16:56.553229', time_epoch_executed='1678789016.55' WHERE source_name='4FGL J1323.9+1405' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998049

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998049/ft1_4FGL_J1323.9+1405_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998049/ft2_4FGL_J1323.9+1405_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998049/ft1_4FGL_J1323.9+1405_weekly_bin762.fits outfile=/scratch/kocevski/998049/ft1_filteredMKT_4FGL_J1323.9+1405_weekly_bin762.fits ra=200.976 dec=14.0871 rad=12.0 tmin=699840001.0 tmax=700444801.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 8.01
user 7.75
sys 0.24

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

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

Number of photons that the gtmktime cut: 1268

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998049/ft1_filtered_4FGL_J1323.9+1405_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/998049/ft2_4FGL_J1323.9+1405_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/998049/ltcube_699840001_700444801_4FGL_J1323.9+1405_weekly_bin762.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/998049/ft2_4FGL_J1323.9+1405_weekly_bin762.fits
.....................!
real 26.14
user 25.73
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998049/ft1_filtered_4FGL_J1323.9+1405_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/998049/ft2_4FGL_J1323.9+1405_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/998049/ltcube_699840001_700444801_4FGL_J1323.9+1405_weekly_bin762.fits outfile=/scratch/kocevski/998049/expmap_699840001_700444801_4FGL_J1323.9+1405_weekly_bin762.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/998049/ltcube_699840001_700444801_4FGL_J1323.9+1405_weekly_bin762.fits
.....................!
real 190.94
user 185.21
sys 5.42

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/998049/ft1_filtered_4FGL_J1323.9+1405_weekly_bin762.fits scfile=/scratch/kocevski/998049/ft2_4FGL_J1323.9+1405_weekly_bin762.fits outfile=/scratch/kocevski/998049/cmap_699840001_700444801_4FGL_J1323.9+1405_weekly_bin762.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998049/ft1_filtered_4FGL_J1323.9+1405_weekly_bin762.fits scfile=/scratch/kocevski/998049/ft2_4FGL_J1323.9+1405_weekly_bin762.fits outfile=/scratch/kocevski/998049/cmap_HighResolution_699840001_700444801_4FGL_J1323.9+1405_weekly_bin762.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.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85168E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7570       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.6554       1.0000          .0000       .10000E+07
     4 'norm      '    3.5432       1.0000          .0000       .10000E+07
     5 'norm      '    3.8376       1.0000          .0000       .10000E+07
     6 'norm      '    21.372       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.2399       1.0000          .0000       .10000E+07
     8 'Prefactor '    18.592       1.0000          .0000       .10000E+07
     9 'norm      '    .46083E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    32.303       1.0000          .0000       .10000E+07
    11 'Prefactor '    .58985E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .24685E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.255       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.013       1.0000          .0000       .10000E+07
    15 'Normalizat'    .97384       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95280       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=   14569.67     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      885 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.4112       -.27444E-06** at limit **
   2  Prefactor     2.6951        5.0629       -.45560E-06   -.35102E-02
   3  Prefactor     3.6388        5.3366        .12469E-07    .27323E-01
   4  norm          3.5388        2.8622       -.11900E-06   -.10686E-02
   5  norm          3.8689        10.533        .41359E-06    .15075E-01
   6  norm          21.388        5.6822       -.94806E-07   -.72376E-03
   7  Prefactor     9.2425        6.5131        .21419E-06    .32790E-01
   8  Prefactor     18.779        4.2284       -.10268E-06    .13043    
   9  norm          .38858E-09    10.288       -.29490E-06** at limit **
  10  Prefactor     30.132        27.448       -.76677E-07    .45097E-02
  11  Prefactor      .0000        1.5846       -.29361E-06** at limit **
  12  Prefactor      .0000        1.2619        .60341E-06** at limit **
  13  Prefactor     13.287        2.2368        .13672E-08    .28233E-01
  14  Prefactor     14.008        6.5922        .81996E-07   -.25901E-01
  15  Normalizat    .97406        .14537        .22800E-05    .19646E-04
  16  Prefactor     .95329        .11743       -.81410E-06    .28305E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 2.6951
  Prefactor  = 3.63884
  norm       = 3.53881
  norm       = 3.86885
  norm       = 21.3882
  Prefactor  = 9.24251
  Prefactor  = 18.7791
  norm       = 3.88578e-10
  Prefactor  = 30.132
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 13.2868
  Prefactor  = 14.0077
  Normalizat = 0.974063
  Prefactor  = 0.953293
 **********
 **   18 **HESSE 
 **********

 FCN=   14569.67     FROM HESSE     STATUS=OK           237 CALLS     1122 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.3974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6951        5.2227        .61279E-03   -1.5675    
   3  Prefactor     3.6388        7.9153        .52810E-03   -1.5670    
   4  norm          3.5388        2.8701        .53674E-03   -1.5670    
   5  norm          3.8689        11.056        .51494E-03   -1.5669    
   6  norm          21.388        5.7324        .21637E-03   -1.5615    
   7  Prefactor     9.2425        6.7255        .32946E-03   -1.5647    
   8  Prefactor     18.779        17.938        .23200E-03   -1.5621    
   9  norm          .38858E-09    10.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.132        27.602        .17597E-03   -1.5598    
  11  Prefactor      .0000        1.5766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.2574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.287        8.5835        .27487E-03   -1.5635    
  14  Prefactor     14.008        8.1595        .26731E-03   -1.5633    
  15  Normalizat    .97406        .12339        .45838E-01   -.93904    
  16  Prefactor     .95329        .99387E-01    .45675E-01   -.94303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03592e-07
Minuit parameter uncertainties:
  1  1.63529e-05
  2  5.2227
  3  7.91534
  4  2.87008
  5  11.0557
  6  5.73238
  7  6.7255
  8  17.9381
  9  0.000127975
  10  27.6021
  11  7.00534e-06
  12  6.66531e-06
  13  8.58346
  14  8.1595
  15  0.12343
  16  0.0994062
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.878e+01  1.794e+01  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:  9.533e-01  9.941e-02  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.741e-01  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.68
Ra Dec: 200.976 14.087
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 1.37e-08 +/- 1.31e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 1.24e-05

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

Saving results to:
/scratch/kocevski/998049/likelihoodResults_699840001_700444801_4FGL_J1323.9+1405_weekly_bin762.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) = 14569.577865
delta logL = 0.0939157462908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14569.5735544
delta logL = 0.0982263511032

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14569.57     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      307 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.120        21.506        .10653E-04   -.31696E-02
   2  Index         2.1451        .73825        .95930E-02   -.40213E-04
   3  Normalizat    .96779        .14175        .26430E-03   -.38970E-04
   4  Prefactor     .95557        .11723        .22004E-03    .20305E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1198
  Index      = 2.1451
  Normalizat = 0.967791
  Prefactor  = 0.955567
 **********
 **   18 **HESSE 
 **********

 FCN=   14569.57     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.120        18.447        .42612E-06   -1.5633    
   2  Index         2.1451        .63356        .38372E-03   -.60770    
   3  Normalizat    .96779        .14133        .10572E-04   -.94117    
   4  Prefactor     .95557        .11710        .88015E-05   -.94226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18506e-10
Minuit parameter uncertainties:
  1  18.4467
  2  0.636107
  3  0.141382
  4  0.117136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998049': 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) = 14569.5735539
delta logL = 0.0982268364096

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.412e+01  1.845e+01  0.000e+00  1.000e+06 ( 1.000e-14)
328        Index:  2.145e+00  6.361e-01  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:  9.556e-01  1.171e-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.678e-01  1.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 200.976 14.087
Photon Index (Free Index): 2.15 +/- 0.64
Photon Flux (Free Index): 1.98e-08 +/- 2.25e-08
Energy Flux (Free Index): 9.88e-06 +/- 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/998049/cmap_HighResolution_699840001_700444801_4FGL_J1323.9+1405_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-03', comment='SUCCESS', photon_flux='1.37e-08', energy_flux2='9.88e-06', photon_flux_error='1.31e-08', dlogl='9.82e-02', energy_flux='1.30e-05', photon_flux2='1.98e-08', job_status='DONE', time_completed='2023-03-14 03:29:28.958248', photon_index_error2='0.64', photon_index2='2.15', ts='1.68', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='4.40e-08', energy_flux_error2='1.07e-05', EG='0.97', time_epoch_completed='1678789768.96', return_code='0', job_id='998049', GAL2='0.96', EG2='0.97', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='2.25e-08', ts2='1.87', photon_index='1.88' WHERE bin_id='762' AND source_name='4FGL J1323.9+1405' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 03:29:28 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 998049: <4FGL_J1323.9+1405_weekly_bin762> in cluster <slac> Done

Job <4FGL_J1323.9+1405_weekly_bin762> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Mar 14 03:15:28 2023
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 03:15:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 03:15:28 2023
Terminated at Tue Mar 14 03:29:29 2023
Results reported at Tue Mar 14 03:29:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_weekly_bin762 200.976 14.0871 699840001 700444801 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 :                                   754.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            841 sec.

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

