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


Performing analysis on: 4FGL_J1323.9+1405_weekly_bin741
RA = 200.976, Dec = 14.0871
tmin = 687139201, tmax = 687744001
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='389202', job_status='RUN', time_executed='2022-10-18 01:17:48.824201', time_epoch_executed='1666081068.82' WHERE source_name='4FGL J1323.9+1405' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/389202

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/389202/ft1_4FGL_J1323.9+1405_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/389202/ft2_4FGL_J1323.9+1405_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/389202/ft1_4FGL_J1323.9+1405_weekly_bin741.fits outfile=/scratch/kocevski/389202/ft1_filteredMKT_4FGL_J1323.9+1405_weekly_bin741.fits ra=200.976 dec=14.0871 rad=12.0 tmin=687139201.0 tmax=687744001.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 6.60
user 6.29
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/389202/ft2_4FGL_J1323.9+1405_weekly_bin741.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/389202/ft1_filteredMKT_4FGL_J1323.9+1405_weekly_bin741.fits evtable="EVENTS" outfile="/scratch/kocevski/389202/ft1_filtered_4FGL_J1323.9+1405_weekly_bin741.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.54
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/389202/ft1_filtered_4FGL_J1323.9+1405_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/389202/ft2_4FGL_J1323.9+1405_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/389202/ltcube_687139201_687744001_4FGL_J1323.9+1405_weekly_bin741.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/389202/ft2_4FGL_J1323.9+1405_weekly_bin741.fits
.....................!
real 27.24
user 26.88
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/389202/ft1_filtered_4FGL_J1323.9+1405_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/389202/ft2_4FGL_J1323.9+1405_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/389202/ltcube_687139201_687744001_4FGL_J1323.9+1405_weekly_bin741.fits outfile=/scratch/kocevski/389202/expmap_687139201_687744001_4FGL_J1323.9+1405_weekly_bin741.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/389202/ltcube_687139201_687744001_4FGL_J1323.9+1405_weekly_bin741.fits
.....................!
real 190.53
user 185.30
sys 4.87

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/389202/ft1_filtered_4FGL_J1323.9+1405_weekly_bin741.fits scfile=/scratch/kocevski/389202/ft2_4FGL_J1323.9+1405_weekly_bin741.fits outfile=/scratch/kocevski/389202/cmap_687139201_687744001_4FGL_J1323.9+1405_weekly_bin741.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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/389202/ft1_filtered_4FGL_J1323.9+1405_weekly_bin741.fits scfile=/scratch/kocevski/389202/ft2_4FGL_J1323.9+1405_weekly_bin741.fits outfile=/scratch/kocevski/389202/cmap_HighResolution_687139201_687744001_4FGL_J1323.9+1405_weekly_bin741.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.60
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .77716E-09   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.8900       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17533E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .34051       1.0000          .0000       .10000E+07
     5 'norm      '    17.209       1.0000          .0000       .10000E+07
     6 'norm      '    58.168       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.014       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17260E-04   1.0000          .0000       .10000E+07
     9 'norm      '    7.7417       1.0000          .0000       .10000E+07
    10 'Prefactor '    33.149       1.0000          .0000       .10000E+07
    11 'Prefactor '    .68311       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31965E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.5880       1.0000          .0000       .10000E+07
    14 'Prefactor '    .24003E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0611       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=   15270.85     FROM MIGRAD    STATUS=CONVERGED     97 CALLS     1108 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .58871        .11931E-06** at limit **
   2  Prefactor     7.8949        1.3288        .43375E-08    .10192E-01
   3  Prefactor      .0000        2.1452        .12066E-06** at limit **
   4  norm          .34075        1.3371       -.23843E-06   -.10284E-02
   5  norm          17.199        1.8483        .20214E-07   -.27652E-01
   6  norm          58.139        6.2402       -.14467E-07   -.69586E-01
   7  Prefactor     12.008        8.5070        .10607E-06   -.31826E-01
   8  Prefactor     .11102E-09    6.1682        .25931E-06** at limit **
   9  norm          7.7061        6.1775        .70152E-07    .17345E-01
  10  Prefactor     33.245        31.767        .92652E-07   -.36660E-02
  11  Prefactor     .68529        2.2529       -.10531E-06   -.12653E-01
  12  Prefactor     .55511E-10    2.4202        .39191E-07** at limit **
  13  Prefactor     2.6442        5.6491       -.73370E-08   -.55022E-03
  14  Prefactor     .55511E-10    2.2284        .23092E-06** at limit **
  15  Normalizat    1.0438        .15666        .32756E-05    .16886E-04
  16  Prefactor     1.0609        .12925       -.23891E-05    .18169E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.89487
  Prefactor  = 0
  norm       = 0.340749
  norm       = 17.1989
  norm       = 58.1394
  Prefactor  = 12.0082
  Prefactor  = 1.11022e-10
  norm       = 7.7061
  Prefactor  = 33.2454
  Prefactor  = 0.685287
  Prefactor  = 5.55112e-11
  Prefactor  = 2.64423
  Prefactor  = 5.55112e-11
  Normalizat = 1.04384
  Prefactor  = 1.0609
 **********
 **   18 **HESSE 
 **********

 FCN=   15270.85     FROM HESSE     STATUS=OK           237 CALLS     1345 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .58902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.8949        8.2044        .35673E-03   -1.5652    
   3  Prefactor      .0000        2.6400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .34075        1.3519        .96730E-03   -1.5696    
   5  norm          17.199        11.395        .24116E-03   -1.5625    
   6  norm          58.139        8.5052        .13113E-03   -1.5555    
   7  Prefactor     12.008        11.852        .28876E-03   -1.5639    
   8  Prefactor     .11102E-09    6.1735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.7061        7.2682        .36016E-03   -1.5652    
  10  Prefactor     33.245        31.902        .17371E-03   -1.5593    
  11  Prefactor     .68529        5.2519        .62090E-03   -1.5691    
  12  Prefactor     .55511E-10    2.4026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.6442        5.6865        .63405E-03   -1.5675    
  14  Prefactor     .55511E-10    2.6664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.0438        .13494        .65023E-01   -.91576    
  16  Prefactor     1.0609        .10872        .39300E-01   -.90726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16413e-06
Minuit parameter uncertainties:
  1  2.02611e-07
  2  8.20441
  3  1.06939e-05
  4  1.35193
  5  11.3955
  6  8.5052
  7  11.8516
  8  5.3192e-05
  9  7.26824
  10  31.9019
  11  3.79425
  12  1.83806e-05
  13  5.68655
  14  2.29141e-05
  15  0.134982
  16  0.108744
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.110e-10  5.319e-05  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.061e+00  1.087e-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.044e+00  1.350e-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: 2.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/389202/likelihoodResults_687139201_687744001_4FGL_J1323.9+1405_weekly_bin741.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) = 15270.9238547
delta logL = -0.0774071718042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15270.8464475
delta logL = -1.04628270492e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33917E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .41523       1.0000          .0000       10.000    
     3 'Normalizat'    1.0438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0609       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=   15270.80     FROM MIGRAD    STATUS=CONVERGED    133 CALLS      302 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13450E-01    5.9254        .33022E-04** at limit **
   2  Index         4.3575        5.7743        .15388E-01    .81310E-04
   3  Normalizat    1.0297        .62058E-01    .28942E-03   -.68741E-04
   4  Prefactor     1.0675        .51474E-01    .23636E-03   -.24213E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0134502
  Index      = 4.35748
  Normalizat = 1.02971
  Prefactor  = 1.06748
 **********
 **   18 **HESSE 
 **********

 FCN=   15270.80     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      329 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13450E-01    7.4803        .13209E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.3575        5.0420        .61554E-03   -.12886    
   3  Normalizat    1.0297        .15999        .11577E-04   -.92042    
   4  Prefactor     1.0675        .12872        .94544E-05   -.90513    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.31849e-10
Minuit parameter uncertainties:
  1  0.634388
  2  14.3837
  3  0.160065
  4  0.128757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/389202': 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) = 15270.8041401
delta logL = 0.0423073833699

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.345e-02  6.344e-01  0.000e+00  1.000e+06 ( 1.000e-14)
328        Index:  4.357e+00  1.438e+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.067e+00  1.288e-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.030e+00  1.601e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 200.976 14.087

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/389202/cmap_HighResolution_687139201_687744001_4FGL_J1323.9+1405_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', job_status='DONE', photon_flux_upper_limit='2.39e-08', time_completed='2022-10-18 01:31:15.628345', job_id='389202', GAL2='1.07', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1666081875.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='4.23e-02', ts2='0.09', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='741' AND source_name='4FGL J1323.9+1405' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 01:31:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 389202: <4FGL_J1323.9+1405_weekly_bin741> in cluster <slac> Done

Job <4FGL_J1323.9+1405_weekly_bin741> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Oct 18 01:15:31 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 01:15:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 01:15:31 2022
Terminated at Tue Oct 18 01:31:16 2022
Results reported at Tue Oct 18 01:31:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_weekly_bin741 200.976 14.0871 687139201 687744001 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 :                                   807.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             305.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            945 sec.

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

