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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1749
RA = 351.737, Dec = -41.5089
tmin = 692668801, tmax = 692928001
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='965446', job_status='RUN', time_executed='2022-12-17 01:37:37.371259', time_epoch_executed='1671269857.37' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/965446

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/965446/ft1_4FGL_J2326.9-4130_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/965446/ft2_4FGL_J2326.9-4130_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/965446/ft1_4FGL_J2326.9-4130_daily_bin1749.fits outfile=/scratch/kocevski/965446/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1749.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=692668801.0 tmax=692928001.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.69
user 3.47
sys 0.21

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

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

Number of photons that the gtmktime cut: 453

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/965446/ft1_filtered_4FGL_J2326.9-4130_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/965446/ft2_4FGL_J2326.9-4130_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/965446/ltcube_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.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/965446/ft2_4FGL_J2326.9-4130_daily_bin1749.fits
.....................!
real 12.11
user 11.74
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/965446/ft1_filtered_4FGL_J2326.9-4130_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/965446/ft2_4FGL_J2326.9-4130_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/965446/ltcube_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.fits outfile=/scratch/kocevski/965446/expmap_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.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/965446/ltcube_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.fits
.....................!
real 191.99
user 186.03
sys 5.64

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/965446/ft1_filtered_4FGL_J2326.9-4130_daily_bin1749.fits scfile=/scratch/kocevski/965446/ft2_4FGL_J2326.9-4130_daily_bin1749.fits outfile=/scratch/kocevski/965446/cmap_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/965446/ft1_filtered_4FGL_J2326.9-4130_daily_bin1749.fits scfile=/scratch/kocevski/965446/ft2_4FGL_J2326.9-4130_daily_bin1749.fits outfile=/scratch/kocevski/965446/cmap_HighResolution_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/965446/ft1_filtered_4FGL_J2326.9-4130_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/965446/ft2_4FGL_J2326.9-4130_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/965446/Model_4FGL_J2326.9-4130_daily_bin1749.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/965446/ft1_filtered_4FGL_J2326.9-4130_daily_bin1749.fits.....................!
real 38.65
user 37.38
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/965446/ft1_filtered_4FGL_J2326.9-4130_daily_bin1749.fits', '/scratch/kocevski/965446/ft2_4FGL_J2326.9-4130_daily_bin1749.fits', expMap='/scratch/kocevski/965446/expmap_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.fits', expCube='/scratch/kocevski/965446/ltcube_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/965446/Model_4FGL_J2326.9-4130_daily_bin1749.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  0.000e+00  1.000e+06 ( 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/965446/ft1_filtered_4FGL_J2326.9-4130_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/965446/ft2_4FGL_J2326.9-4130_daily_bin1749.fits
Exposure map: /scratch/kocevski/965446/expmap_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.fits
Exposure cube: /scratch/kocevski/965446/ltcube_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/965446/Model_4FGL_J2326.9-4130_daily_bin1749.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) = 4968.57510579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    65.925       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.268       1.0000          .0000       .10000E+07
     3 'Prefactor '    29.123       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9777       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.3954       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.932       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.3117       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.9990       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.2082       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10564E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11980E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    29.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    29.903       1.0000          .0000       .10000E+07
    14 'norm      '    .97646E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .46695E-02   1.0000          .0000       .10000E+07
    16 'norm      '    4.2107       1.0000          .0000       .10000E+07
    17 'norm      '    11.127       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.3199       1.0000          .0000       .10000E+07
    19 'Prefactor '    36.661       1.0000          .0000       .10000E+07
    20 'Prefactor '    23.413       1.0000          .0000       .10000E+07
    21 'norm      '    .36148E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .20791E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .61806E-06   1.0000          .0000       .10000E+07
    24 'norm      '    4.5696       1.0000          .0000       .10000E+07
    25 'Prefactor '    .62487       1.0000          .0000       .10000E+07
    26 'Prefactor '    .62364E-04   1.0000          .0000       .10000E+07
    27 'Prefactor '    12.989       1.0000          .0000       .10000E+07
    28 'Prefactor '    5.4121       1.0000          .0000       .10000E+07
    29 'Prefactor '    .80293       1.0000          .0000       .10000E+07
    30 'Normalizat'    .83469       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .94991       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4968.571     FROM MIGRAD    STATUS=CONVERGED    204 CALLS     2959 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.473        16.522        .15215E-05   -.10155    
   2  Prefactor     17.447        2.8126       -.19762E-06   -.43119E-01
   3  Prefactor     29.274        2.0895       -.16569E-06   -.17097E-01
   4  Prefactor     4.9568        5.5262        .37317E-06   -.88447E-03
   5  Prefactor     5.4111        5.0822        .91985E-07   -.19835E-02
   6  Prefactor     15.514        16.782       -.29457E-05   -.75002E-01
   7  Prefactor     7.3247        7.1237        .75018E-07   -.15724E-03
   8  Prefactor     7.0016        1.8064        .22920E-06   -.11597E-02
   9  Prefactor     9.2736        1.8767        .26361E-06   -.19943E-01
  10  Prefactor     .11469E-06    38.531       -.21228E-06** at limit **
  11  Prefactor      .0000        2.4752       -.16812E-06** at limit **
  12  Prefactor     29.057        10.167        .12440E-05   -.26093E-01
  13  Prefactor     29.970        14.602       -.11099E-05   -.20162E-01
  14  norm          .72164E-09    12.224       -.24644E-05** at limit **
  15  norm          .55511E-10    5.6246       -.67823E-06** at limit **
  16  norm          4.2212        4.3028        .39029E-06   -.11126E-02
  17  norm          11.089        9.6496       -.77006E-06    .14041E-03
  18  Prefactor     6.3469        5.4960       -.22996E-05   -.11622E-02
  19  Prefactor     37.467        30.243       -.32361E-05   -.26981E-01
  20  Prefactor     24.903        31.570        .40767E-05   -.62573E-01
  21  norm           .0000        2.1907        .44602E-06** at limit **
  22  Prefactor     .38858E-09    22.636       -.23361E-05** at limit **
  23  norm           .0000        .34120       -.31566E-06** at limit **
  24  norm          4.5255        4.8642        .15265E-06    .19536E-02
  25  Prefactor     .64097        2.5025        .24108E-06    .20428E-02
  26  Prefactor      .0000        9.1156        .18393E-05** at limit **
  27  Prefactor     13.013        7.4680       -.35994E-06   -.12709E-02
  28  Prefactor     5.4058        4.3384       -.28671E-07    .10895E-02
  29  Prefactor     .60075E-04    174.66       -.55234E-05** at limit **
  30  Normalizat    .83259        .22724       -.20174E-04    .16729E-03
  31  Prefactor     .95042        .24707        .27398E-04    .16097E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.4727
  Prefactor  = 17.4475
  Prefactor  = 29.2739
  Prefactor  = 4.95681
  Prefactor  = 5.41109
  Prefactor  = 15.5138
  Prefactor  = 7.32467
  Prefactor  = 7.00161
  Prefactor  = 9.27362
  Prefactor  = 1.14686e-07
  Prefactor  = 0
  Prefactor  = 29.0571
  Prefactor  = 29.9702
  norm       = 7.21645e-10
  norm       = 5.55112e-11
  norm       = 4.2212
  norm       = 11.089
  Prefactor  = 6.34686
  Prefactor  = 37.467
  Prefactor  = 24.9033
  norm       = 0
  Prefactor  = 3.88578e-10
  norm       = 0
  norm       = 4.52547
  Prefactor  = 0.640968
  Prefactor  = 0
  Prefactor  = 13.0133
  Prefactor  = 5.40582
  Prefactor  = 6.00747e-05
  Normalizat = 0.832592
  Prefactor  = 0.95042
 **********
 **   18 **HESSE 
 **********

 FCN=   4968.571     FROM HESSE     STATUS=OK           690 CALLS     3649 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.473        62.687        .12317E-03   -1.5545    
   2  Prefactor     17.447        22.775        .24075E-03   -1.5624    
   3  Prefactor     29.274        31.575        .18533E-03   -1.5600    
   4  Prefactor     4.9568        5.5371        .45052E-03   -1.5663    
   5  Prefactor     5.4111        5.1238        .43239E-03   -1.5661    
   6  Prefactor     15.514        33.831        .25893E-03   -1.5629    
   7  Prefactor     7.3247        7.2297        .37069E-03   -1.5654    
   8  Prefactor     7.0016        16.421        .37897E-03   -1.5655    
   9  Prefactor     9.2736        18.917        .33003E-03   -1.5647    
  10  Prefactor     .11469E-06    38.480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.4786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.057        48.364        .18484E-03   -1.5600    
  13  Prefactor     29.970        14.815        .18290E-03   -1.5598    
  14  norm          .72164E-09    12.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    5.6071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.2212        4.3191        .49085E-03   -1.5667    
  17  norm          11.089        9.8161        .30009E-03   -1.5641    
  18  Prefactor     6.3469        5.5108        .39904E-03   -1.5658    
  19  Prefactor     37.467        40.917        .16518E-03   -1.5586    
  20  Prefactor     24.903        61.130        .20672E-03   -1.5608    
  21  norm           .0000        2.1869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .38858E-09    22.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        .33964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          4.5255        4.9963        .47066E-03   -1.5665    
  25  Prefactor     .64097        2.5284        .67029E-03   -1.5692    
  26  Prefactor      .0000        9.1330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     13.013        7.4618        .27767E-03   -1.5636    
  28  Prefactor     5.4058        4.5016        .43171E-03   -1.5661    
  29  Prefactor     .60075E-04    217.31        .52716E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .83259        .20390        .44061E-01   -.98871    
  31  Prefactor     .95042        .21326        .45638E-01   -.94401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28909e-06
Minuit parameter uncertainties:
  1  62.688
  2  22.7753
  3  31.5756
  4  5.53714
  5  5.12382
  6  33.8311
  7  7.22971
  8  16.4214
  9  18.9171
  10  0.00420131
  11  9.99395e-06
  12  48.3642
  13  14.815
  14  0.000188948
  15  3.11576e-05
  16  4.31907
  17  9.81612
  18  5.51077
  19  40.9177
  20  61.1317
  21  2.91916e-06
  22  0.000184696
  23  7.45863e-07
  24  4.99629
  25  2.52844
  26  3.11638e-05
  27  7.46176
  28  4.50158
  29  0.228522
  30  0.204088
  31  0.213445
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.747e+01  4.092e+01  0.000e+00  1.000e+06 ( 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:  9.504e-01  2.134e-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:  8.326e-01  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.20
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 4.91e-08 +/- 5.35e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 1.22e-05

TS (Fixed Index): 1.20
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/965446/likelihoodResults_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.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) = 4967.63992567
delta logL = 0.930956248631

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4967.60565426
delta logL = 0.965227658538

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8791       1.0000          .0000       .10000E+07
     2 'Index     '    4.5722       1.0000          .0000       10.000    
     3 'Normalizat'    .77923       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99513       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=   4967.606     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      260 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8698        52.906        .51208E-03    .37273E-02
   2  Index         4.5738        3.4255        .11702        .13462E-03
   3  Normalizat    .77922        .62629E-01    .43339E-01    .42569E-05
   4  Prefactor     .99524        .69554E-01    .46206E-01    .34710E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.86985
  Index      = 4.57383
  Normalizat = 0.779216
  Prefactor  = 0.995242
 **********
 **   18 **HESSE 
 **********

 FCN=   4967.606     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8698        86.118        .88240E-05   -1.5669    
   2  Index         4.5738        7.0941        .45952E-02   -.85338E-01
   3  Normalizat    .77922        .20221        .25339E-03   -1.0084    
   4  Prefactor     .99524        .22378        .25390E-03   -.92888    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.24213e-10
Minuit parameter uncertainties:
  1  36.5115
  2  5.43076
  3  0.202402
  4  0.223986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/965446': 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) = 4967.6056533
delta logL = 0.965228617233

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.870e+00  3.651e+01  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  4.574e+00  5.431e+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:  9.952e-01  2.240e-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:  7.792e-01  2.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 4.57 +/- 5.43
Photon Flux (Free Index): 8.59e-08 +/- 6.20e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.30e-05

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/965446/cmap_HighResolution_692668801_692928001_4FGL_J2326.9-4130_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', comment='SUCCESS', photon_flux='4.91e-08', energy_flux2='1.19e-05', photon_flux_error='5.35e-08', dlogl='9.65e-01', energy_flux='1.12e-05', photon_flux2='8.59e-08', job_status='DONE', time_completed='2022-12-17 01:48:32.940481', photon_index_error2='5.43', photon_index2='4.57', ts='1.20', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.30e-05', EG='0.83', time_epoch_completed='1671270512.94', return_code='0', job_id='965446', GAL2='1.00', EG2='0.78', return_code2='102', energy_flux_error='1.22e-05', photon_flux_error2='6.20e-08', ts2='3.28', photon_index='2.78' WHERE bin_id='1749' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:48:32 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 965446: <4FGL_J2326.9-4130_daily_bin1749> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1749> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Dec 17 01:35:17 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:35:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:35:17 2022
Terminated at Sat Dec 17 01:48:33 2022
Results reported at Sat Dec 17 01:48:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1749 351.737 -41.5089 692668801 692928001 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 :                                   658.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            796 sec.

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

