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 64 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1695
RA = 351.737, Dec = -41.5089
tmin = 678672001, tmax = 678931201
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='731332', job_status='RUN', time_executed='2022-07-08 00:36:43.653006', time_epoch_executed='1657265803.65' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731332

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731332/ft1_4FGL_J2326.9-4130_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731332/ft1_4FGL_J2326.9-4130_daily_bin1695.fits outfile=/scratch/kocevski/731332/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1695.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=678672001.0 tmax=678931201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.61
user 3.40
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.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/731332/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/731332/ft1_filtered_4FGL_J2326.9-4130_daily_bin1695.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.32
sys 0.16

Number of photons that the gtmktime cut: 417

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731332/ft1_filtered_4FGL_J2326.9-4130_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731332/ltcube_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.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/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.fits
.....................!
real 12.13
user 11.81
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731332/ft1_filtered_4FGL_J2326.9-4130_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731332/ltcube_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.fits outfile=/scratch/kocevski/731332/expmap_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.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/731332/ltcube_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.fits
.....................!
real 190.61
user 186.02
sys 4.25

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

Setting source of interest to:
4FGL J2326.9-4130 @ 351.737 -41.5089

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/731332/ft1_filtered_4FGL_J2326.9-4130_daily_bin1695.fits scfile=/scratch/kocevski/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.fits outfile=/scratch/kocevski/731332/cmap_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.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=351.737 yref=-41.5089 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731332/ft1_filtered_4FGL_J2326.9-4130_daily_bin1695.fits scfile=/scratch/kocevski/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.fits outfile=/scratch/kocevski/731332/cmap_HighResolution_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.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=351.737 yref=-41.5089 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/731332/ft1_filtered_4FGL_J2326.9-4130_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731332/Model_4FGL_J2326.9-4130_daily_bin1695.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/731332/ft1_filtered_4FGL_J2326.9-4130_daily_bin1695.fits.....................!
real 37.16
user 35.93
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/731332/ft1_filtered_4FGL_J2326.9-4130_daily_bin1695.fits', '/scratch/kocevski/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.fits', expMap='/scratch/kocevski/731332/expmap_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.fits', expCube='/scratch/kocevski/731332/ltcube_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/731332/Model_4FGL_J2326.9-4130_daily_bin1695.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.9-4130'

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  7.129e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/731332/ft1_filtered_4FGL_J2326.9-4130_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/731332/ft2_4FGL_J2326.9-4130_daily_bin1695.fits
Exposure map: /scratch/kocevski/731332/expmap_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.fits
Exposure cube: /scratch/kocevski/731332/ltcube_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/731332/Model_4FGL_J2326.9-4130_daily_bin1695.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) = 4660.89670732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.1713       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7342       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .22829       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0800       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.028       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .51461E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.053       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.216       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2933       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.2979       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.8278       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .43562E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.335       1.0000         .10000E-03   10000.    
    23 'norm      '    .48279E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.7978       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.5222       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .11510E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0657       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4660.891     FROM MIGRAD    STATUS=CONVERGED    959 CALLS     5372 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.362       -.14715E-06** at limit **
   2  Prefactor     7.1698        15.585       -.44876E-06   -.29700E-04
   3  Prefactor     5.7290        57.303        .91792E-05   -.85909E-05
   4  Prefactor     .10000E-03    11.679        .26494E-07** at limit **
   5  Prefactor     .21943        5.0402       -.57344E-06   -.10220E-04
   6  Prefactor     4.0822        4.8869       -.62669E-06   -.40428E-03
   7  Prefactor     22.985        46.622        .12239E-04   -.46912E-05
   8  Prefactor     .24424E-01    6.6122        .22288E-05   -.18788E-03
   9  Prefactor     25.046        21.924       -.93153E-05    .57948E-05
  10  Prefactor     .10000E-03    13.387       -.41140E-07** at limit **
  11  Prefactor     .10000E-03    50.112       -.41074E-05** at limit **
  12  Prefactor     .10000E-03    10.197       -.12902E-06** at limit **
  13  Prefactor     15.236        54.046       -.39003E-04   -.50838E-04
  14  Prefactor     .10000E-03    17.316        .78514E-07** at limit **
  15  Prefactor     3.2914        13.736       -.39570E-06   -.96753E-04
  16  norm          .10000E-03    5.4851        .17747E-08** at limit **
  17  norm          .10000E-03    2.1369        .92961E-09** at limit **
  18  norm          4.2983        4.3685        .61772E-07    .22977E-03
  19  norm          .10000E-03    3.8741       -.35847E-07** at limit **
  20  Prefactor     1.8275        3.2174       -.11034E-06   -.19560E-03
  21  Prefactor     .10483E-03    69.214       -.40597E-05** at limit **
  22  Prefactor     21.328        55.542        .69093E-05    .53806E-05
  23  norm          .10001E-03    3.8450        .33192E-06** at limit **
  24  Prefactor     .10000E-03    3.9060       -.16728E-07** at limit **
  25  norm          .10000E-03    .27031        .74527E-08** at limit **
  26  norm          .10000E-03    1.7253        .75831E-08** at limit **
  27  Prefactor     .10000E-03    2.0216       -.52291E-07** at limit **
  28  Prefactor     6.7973        13.858       -.99461E-06   -.42403E-04
  29  Prefactor     .10000E-03    3.0155       -.45343E-07** at limit **
  30  Prefactor     3.5222        3.4252       -.13496E-06   -.91987E-04
  31  Prefactor     .10000E-03    58.703        .36200E-05** at limit **
  32  Normalizat    1.0657        .21061        .12421E-06    .15201E-03
  33  Prefactor     1.0104        .22079        .16134E-05    .18156E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.16981
  Prefactor  = 5.72897
  Prefactor  = 0.0001
  Prefactor  = 0.219428
  Prefactor  = 4.08219
  Prefactor  = 22.9851
  Prefactor  = 0.0244243
  Prefactor  = 25.0463
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.2358
  Prefactor  = 0.0001
  Prefactor  = 3.29139
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.2983
  norm       = 0.0001
  Prefactor  = 1.82752
  Prefactor  = 0.000104828
  Prefactor  = 21.3278
  norm       = 0.000100006
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.79729
  Prefactor  = 0.0001
  Prefactor  = 3.52216
  Prefactor  = 0.0001
  Normalizat = 1.06569
  Prefactor  = 1.01043
 **********
 **   18 **HESSE 
 **********

 FCN=   4660.891     FROM HESSE     STATUS=OK           713 CALLS     6085 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.1698        15.558        .14979E-03   -1.5172    
   3  Prefactor     5.7290        57.215        .16773E-03   -1.5229    
   4  Prefactor     .10000E-03    11.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .21943        70.314        .29045E-02   -1.5614    
   6  Prefactor     4.0822        4.8932        .15582E-03   -1.5304    
   7  Prefactor     22.985        46.558        .83470E-04   -1.4749    
   8  Prefactor     .24424E-01    7.3384        .53642E-01   -1.5677    
   9  Prefactor     25.046        21.888        .80032E-04   -1.4707    
  10  Prefactor     .10000E-03    13.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    51.846        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.236        54.481        .10268E-03   -1.4927    
  14  Prefactor     .10000E-03    17.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.2914        13.700        .22311E-03   -1.5345    
  16  norm          .10000E-03    5.4915        .15616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.1373        .97456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.2983        4.3625        .13855E-03   -1.5293    
  19  norm          .10000E-03    3.8861        .13122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.8275        3.1851        .15796E-03   -1.5438    
  21  Prefactor     .10483E-03    54.643        .11576       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     21.328        55.949        .86715E-04   -1.4784    
  23  norm          .10001E-03    47.595        .21754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.9085        .13174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .27263        .34625E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.7309        .87460E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    2.0664        .94702E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     6.7973        13.847        .15389E-03   -1.5186    
  29  Prefactor     .10000E-03    3.0376        .11576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.5222        3.4229        .11926E-03   -1.5333    
  31  Prefactor     .10000E-03    58.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.0657        .25821        .22631E-03   -.90861    
  33  Prefactor     1.0104        .26600        .25724E-03   -.92383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29739e-08
Minuit parameter uncertainties:
  1  1.5949e-05
  2  15.5663
  3  36.2542
  4  2.81796e-08
  5  7.86343
  6  4.89371
  7  46.6312
  8  0.845096
  9  21.8954
  10  5.10614e-07
  11  0.000100585
  12  3.34837e-05
  13  54.6602
  14  3.00987e-07
  15  13.4353
  16  5.65842e-07
  17  7.14335e-07
  18  4.36279
  19  1.00232e-05
  20  3.18537
  21  0.032514
  22  56.0868
  23  0.00104174
  24  1.63742e-06
  25  3.26911e-07
  26  7.03033e-07
  27  6.92661e-06
  28  13.8539
  29  7.38631e-06
  30  3.42306
  31  6.82274e-05
  32  0.258519
  33  0.266345
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.048e-04  3.251e-02  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.010e+00  2.663e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.066e+00  2.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/731332/likelihoodResults_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.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) = 4660.89101405
delta logL = -4.36229402112e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4660.89101405
delta logL = -4.35983110947e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96365E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7772       1.0000          .0000       10.000    
     3 'Normalizat'    1.0657       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0104       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4660.293     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      282 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10752        1.7394        .48632E-02   -.16078E-02
   2  Index         6.4434        3.0679        .16794       -.19357E-04
   3  Normalizat    .98306        .39767E-01    .39610E-01   -.43799E-03
   4  Prefactor     1.0717        .44399E-01    .43264E-01   -.24573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.107522
  Index      = 6.44337
  Normalizat = 0.98306
  Prefactor  = 1.07169
 **********
 **   18 **HESSE 
 **********

 FCN=   4660.293     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      313 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10752        5.3573        .22231E-03   -1.5642    
   2  Index         6.4434        8.1383        .58629E-02    .29284    
   3  Normalizat    .98306        .16878        .23435E-03   -.93600    
   4  Prefactor     1.0717        .18406        .25066E-03   -.90377    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.877e-10
Minuit parameter uncertainties:
  1  1.51737
  2  7.68179
  3  0.168868
  4  0.184174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731332': 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) = 4660.2934656
delta logL = 0.597544088188

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.075e-01  1.517e+00  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  6.443e+00  7.682e+00  0.000e+00  1.000e+01 (-1.000e+00)
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.072e+00  1.842e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  9.831e-01  1.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 6.44 +/- 7.68
Photon Flux (Free Index): 6.18e-08 +/- 6.39e-08
Energy Flux (Free Index): 7.54e-06 +/- 9.05e-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/731332/cmap_HighResolution_678672001_678931201_4FGL_J2326.9-4130_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.43e-03', comment='SUCCESS', energy_flux2='7.54e-06', dlogl='5.98e-01', photon_flux2='6.18e-08', job_status='DONE', time_completed='2022-07-08 00:50:31.481454', photon_index_error2='7.68', photon_index2='6.44', ts='-0.00', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='9.05e-06', EG='1.07', time_epoch_completed='1657266631.48', return_code='0', job_id='731332', GAL2='1.07', EG2='0.98', return_code2='102', photon_flux_error2='6.39e-08', ts2='1.29', photon_index='2.78' WHERE bin_id='1695' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:50:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 731332: <4FGL_J2326.9-4130_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:28 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:30 2022
Terminated at Fri Jul  8 00:50:32 2022
Results reported at Fri Jul  8 00:50:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1695 351.737 -41.5089 678672001 678931201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.9-4130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   829.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             268.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            904 sec.

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

