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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1747
RA = 200.976, Dec = 14.0871
tmin = 692150401, tmax = 692409601
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='802227', job_status='RUN', time_executed='2022-12-11 00:59:18.829904', time_epoch_executed='1670749158.83' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/802227

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/802227/ft1_4FGL_J1323.9+1405_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/802227/ft2_4FGL_J1323.9+1405_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/802227/ft1_4FGL_J1323.9+1405_daily_bin1747.fits outfile=/scratch/kocevski/802227/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1747.fits ra=200.976 dec=14.0871 rad=12.0 tmin=692150401.0 tmax=692409601.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.02
user 3.78
sys 0.21

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

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

Number of photons that the gtmktime cut: 672

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/802227/ft1_filtered_4FGL_J1323.9+1405_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/802227/ft2_4FGL_J1323.9+1405_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/802227/ltcube_692150401_692409601_4FGL_J1323.9+1405_daily_bin1747.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/802227/ft2_4FGL_J1323.9+1405_daily_bin1747.fits
.....................!
real 11.76
user 11.43
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/802227/ft1_filtered_4FGL_J1323.9+1405_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/802227/ft2_4FGL_J1323.9+1405_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/802227/ltcube_692150401_692409601_4FGL_J1323.9+1405_daily_bin1747.fits outfile=/scratch/kocevski/802227/expmap_692150401_692409601_4FGL_J1323.9+1405_daily_bin1747.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/802227/ltcube_692150401_692409601_4FGL_J1323.9+1405_daily_bin1747.fits
.....................!
real 191.10
user 186.20
sys 4.52

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/802227/ft1_filtered_4FGL_J1323.9+1405_daily_bin1747.fits scfile=/scratch/kocevski/802227/ft2_4FGL_J1323.9+1405_daily_bin1747.fits outfile=/scratch/kocevski/802227/cmap_692150401_692409601_4FGL_J1323.9+1405_daily_bin1747.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/802227/ft1_filtered_4FGL_J1323.9+1405_daily_bin1747.fits scfile=/scratch/kocevski/802227/ft2_4FGL_J1323.9+1405_daily_bin1747.fits outfile=/scratch/kocevski/802227/cmap_HighResolution_692150401_692409601_4FGL_J1323.9+1405_daily_bin1747.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36186E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19735E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.2648       1.0000          .0000       .10000E+07
     4 'norm      '    .87528E-05   1.0000          .0000       .10000E+07
     5 'norm      '    17.903       1.0000          .0000       .10000E+07
     6 'norm      '    23.752       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.122       1.0000          .0000       .10000E+07
     8 'Prefactor '    32.613       1.0000          .0000       .10000E+07
     9 'norm      '    .87641E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.838       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.0153       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.8310       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.3979       1.0000          .0000       .10000E+07
    14 'Prefactor '    .75798E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2047       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .99847       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=   7472.833     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      867 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    3.3170       -.68538E-06** at limit **
   2  Prefactor     .23315E-08    13.687        .72372E-05** at limit **
   3  Prefactor     5.1833        10.064        .33197E-05   -.75911E-02
   4  norm          .16653E-09    1.4573        .86228E-07** at limit **
   5  norm          17.898        1.4315        .12139E-07    .10263E-01
   6  norm          23.749        7.7743        .12579E-06    .19038E-02
   7  Prefactor     10.097        10.345       -.51976E-05   -.62333E-02
   8  Prefactor     34.996        32.905        .23030E-05    .16911E-01
   9  norm           .0000        2.0448       -.12106E-06** at limit **
  10  Prefactor     11.651        4.4338       -.17821E-05    .79391E-01
  11  Prefactor     6.0488        4.1252        .21332E-06    .26307E-02
  12  Prefactor     3.8319        3.2932       -.33178E-06    .73755E-02
  13  Prefactor     9.2338        7.6569        .15819E-05    .33775E-01
  14  Prefactor     .12768E-07    12.580       -.58602E-05** at limit **
  15  Normalizat    1.2047        .21895       -.41845E-05    .77306E-03
  16  Prefactor     .99773        .17964        .14583E-04    .63539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 2.33147e-09
  Prefactor  = 5.18332
  norm       = 1.66533e-10
  norm       = 17.8976
  norm       = 23.7492
  Prefactor  = 10.0972
  Prefactor  = 34.9963
  norm       = 0
  Prefactor  = 11.6507
  Prefactor  = 6.04875
  Prefactor  = 3.8319
  Prefactor  = 9.23377
  Prefactor  = 1.27676e-08
  Normalizat = 1.2047
  Prefactor  = 0.997726
 **********
 **   18 **HESSE 
 **********

 FCN=   7472.833     FROM HESSE     STATUS=OK           237 CALLS     1104 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    3.3257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .23315E-08    13.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.1833        12.521        .43782E-03   -1.5662    
   4  norm          .16653E-09    1.4567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          17.898        14.731        .23644E-03   -1.5623    
   6  norm          23.749        7.7935        .20523E-03   -1.5610    
   7  Prefactor     10.097        10.374        .31470E-03   -1.5644    
   8  Prefactor     34.996        32.997        .17513E-03   -1.5590    
   9  norm           .0000        2.0483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.651        35.242        .29090E-03   -1.5640    
  11  Prefactor     6.0488        4.1314        .40916E-03   -1.5659    
  12  Prefactor     3.8319        3.2962        .51540E-03   -1.5669    
  13  Prefactor     9.2338        12.005        .32667E-03   -1.5647    
  14  Prefactor     .12768E-07    12.580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2047        .18389        .59716E-01   -.86458    
  16  Prefactor     .99773        .15156        .46248E-01   -.92805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.94685e-07
Minuit parameter uncertainties:
  1  5.1038e-05
  2  0.000358917
  3  12.5212
  4  3.20096e-05
  5  14.7315
  6  7.7935
  7  10.3741
  8  32.9968
  9  1.20386e-05
  10  35.243
  11  4.13143
  12  3.29624
  13  12.0054
  14  0.000801977
  15  0.183993
  16  0.151624
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  3.500e+01  3.300e+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.977e-01  1.516e-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.205e+00  1.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.45
Ra Dec: 200.976 14.087
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 2.55e-08 +/- 2.40e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 2.29e-05

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

Saving results to:
/scratch/kocevski/802227/likelihoodResults_692150401_692409601_4FGL_J1323.9+1405_daily_bin1747.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) = 7472.27753701
delta logL = 0.55565371346

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7472.26988377
delta logL = 0.563306953643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.364       1.0000          .0000       .10000E+07
     2 'Index     '    2.5186       1.0000          .0000       10.000    
     3 'Normalizat'    1.1698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0089       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=   7472.270     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      308 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.350        30.758        .98930E-05   -.50609E-02
   2  Index         2.5193        .80340        .46549E-02   -.18453E-03
   3  Normalizat    1.1694        .21871        .26741E-03    .58488E-03
   4  Prefactor     1.0093        .18076        .23949E-03    .11517E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3497
  Index      = 2.51926
  Normalizat = 1.16942
  Prefactor  = 1.00929
 **********
 **   18 **HESSE 
 **********

 FCN=   7472.270     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.350        23.298        .39572E-06   -1.5627    
   2  Index         2.5193        .60909        .18620E-03   -.51916    
   3  Normalizat    1.1694        .21685        .53483E-04   -.87553    
   4  Prefactor     1.0093        .17998        .95794E-05   -.92420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59668e-09
Minuit parameter uncertainties:
  1  23.2985
  2  0.611102
  3  0.217019
  4  0.180084
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/802227': 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) = 7472.26988057
delta logL = 0.56331015142

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.635e+01  2.330e+01  0.000e+00  1.000e+06 ( 1.000e-14)
328        Index:  2.519e+00  6.111e-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:  1.009e+00  1.801e-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.169e+00  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.57
Ra Dec: 200.976 14.087
Photon Index (Free Index): 2.52 +/- 0.61
Photon Flux (Free Index): 6.26e-08 +/- 5.31e-08
Energy Flux (Free Index): 1.78e-05 +/- 1.31e-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/802227/cmap_HighResolution_692150401_692409601_4FGL_J1323.9+1405_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.31e-03', comment='SUCCESS', photon_flux='2.55e-08', energy_flux2='1.78e-05', photon_flux_error='2.40e-08', dlogl='5.63e-01', energy_flux='2.43e-05', photon_flux2='6.26e-08', job_status='DONE', time_completed='2022-12-11 01:08:00.110644', photon_index_error2='0.61', photon_index2='2.52', ts='2.45', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='8.50e-08', energy_flux_error2='1.31e-05', EG='1.20', time_epoch_completed='1670749680.11', return_code='0', job_id='802227', GAL2='1.01', EG2='1.17', return_code2='0', energy_flux_error='2.29e-05', photon_flux_error2='5.31e-08', ts2='3.57', photon_index='1.88' WHERE bin_id='1747' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:08:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 802227: <4FGL_J1323.9+1405_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin1747> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sun Dec 11 00:55:20 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:55:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:55:22 2022
Terminated at Sun Dec 11 01:08:00 2022
Results reported at Sun Dec 11 01:08:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1747 200.976 14.0871 692150401 692409601 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 :                                   523.38 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            760 sec.

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

