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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1734
RA = 351.737, Dec = -41.5089
tmin = 688780801, tmax = 689040001
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='776567', job_status='RUN', time_executed='2022-11-02 00:37:05.449971', time_epoch_executed='1667374625.45' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776567

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776567/ft1_4FGL_J2326.9-4130_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776567/ft2_4FGL_J2326.9-4130_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776567/ft1_4FGL_J2326.9-4130_daily_bin1734.fits outfile=/scratch/kocevski/776567/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1734.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=688780801.0 tmax=689040001.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.57
user 3.37
sys 0.18

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

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

Number of photons that the gtmktime cut: 603

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776567/ft1_filtered_4FGL_J2326.9-4130_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776567/ft2_4FGL_J2326.9-4130_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776567/ltcube_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.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/776567/ft2_4FGL_J2326.9-4130_daily_bin1734.fits
.....................!
real 12.01
user 11.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776567/ft1_filtered_4FGL_J2326.9-4130_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776567/ft2_4FGL_J2326.9-4130_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776567/ltcube_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.fits outfile=/scratch/kocevski/776567/expmap_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.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/776567/ltcube_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.fits
.....................!
real 189.84
user 184.95
sys 4.44

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/776567/ft1_filtered_4FGL_J2326.9-4130_daily_bin1734.fits scfile=/scratch/kocevski/776567/ft2_4FGL_J2326.9-4130_daily_bin1734.fits outfile=/scratch/kocevski/776567/cmap_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.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/776567/ft1_filtered_4FGL_J2326.9-4130_daily_bin1734.fits scfile=/scratch/kocevski/776567/ft2_4FGL_J2326.9-4130_daily_bin1734.fits outfile=/scratch/kocevski/776567/cmap_HighResolution_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.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.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776567/ft1_filtered_4FGL_J2326.9-4130_daily_bin1734.fits', '/scratch/kocevski/776567/ft2_4FGL_J2326.9-4130_daily_bin1734.fits', expMap='/scratch/kocevski/776567/expmap_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.fits', expCube='/scratch/kocevski/776567/ltcube_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776567/Model_4FGL_J2326.9-4130_daily_bin1734.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/776567/ft1_filtered_4FGL_J2326.9-4130_daily_bin1734.fits
Spacecraft file(s): /scratch/kocevski/776567/ft2_4FGL_J2326.9-4130_daily_bin1734.fits
Exposure map: /scratch/kocevski/776567/expmap_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.fits
Exposure cube: /scratch/kocevski/776567/ltcube_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776567/Model_4FGL_J2326.9-4130_daily_bin1734.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6539.07434558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15697E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .39633E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16714E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18875E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.030       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2445       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17110       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.733       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.346       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21649E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .14125E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .53041E-03   1.0000          .0000       .10000E+07
    14 'norm      '    9.3527       1.0000          .0000       .10000E+07
    15 'norm      '    2.5231       1.0000          .0000       .10000E+07
    16 'norm      '    .20539E-06   1.0000          .0000       .10000E+07
    17 'norm      '    8.8342       1.0000          .0000       .10000E+07
    18 'Prefactor '    .74365       1.0000          .0000       .10000E+07
    19 'Prefactor '    54.636       1.0000          .0000       .10000E+07
    20 'Prefactor '    .61457E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .53291E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    27.175       1.0000          .0000       .10000E+07
    23 'norm      '    .32978E-01   1.0000          .0000       .10000E+07
    24 'norm      '    2.8557       1.0000          .0000       .10000E+07
    25 'Prefactor '    5.8228       1.0000          .0000       .10000E+07
    26 'Prefactor '    .25005E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    .18090E-05   1.0000          .0000       .10000E+07
    28 'Prefactor '    4.8833       1.0000          .0000       .10000E+07
    29 'Prefactor '    11.248       1.0000          .0000       .10000E+07
    30 'Normalizat'    .82981       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .98299       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=   6535.475     FROM MIGRAD    STATUS=CONVERGED    209 CALLS     1770 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37081E-06    7.7924       -.40237E-07** at limit **
   2  Prefactor     .15635E-05    30.771        .68685E-07** at limit **
   3  Prefactor     .29859E-06    6.8167       -.11831E-06** at limit **
   4  Prefactor     .27200E-08    3.7081       -.29320E-06** at limit **
   5  Prefactor      .0000        1.2372       -.83415E-07** at limit **
   6  Prefactor     12.649        1.4758       -.34724E-08   -.16932E-02
   7  Prefactor     2.2440        3.0397        .22823E-06    .19386E-02
   8  Prefactor     .92149E-08    2.1218       -.23268E-06** at limit **
   9  Prefactor     11.681        1.2344       -.91896E-09   -.30417E-02
  10  Prefactor     14.368        2.4740       -.32272E-09    .71920E-02
  11  Prefactor      .0000        2.9008        .30101E-06** at limit **
  12  Prefactor     .23848E-06    6.7675       -.17201E-06** at limit **
  13  Prefactor     .19235E-06    5.9462       -.21552E-06** at limit **
  14  norm          9.4058        8.4613        .16761E-06    .10896    
  15  norm          2.5264        3.4558        .72972E-07    .91330E-03
  16  norm           .0000        1.2954        .26289E-08** at limit **
  17  norm          8.8301        6.6498       -.66765E-09    .83719E-03
  18  Prefactor     .71381        6.4203        .16490E-06   -.57268E-02
  19  Prefactor     54.492        3.1062       -.18764E-07    .30405E-01
  20  Prefactor     .42744E-08    7.2663       -.48243E-06** at limit **
  21  norm           .0000        2.3404        .10336E-06** at limit **
  22  Prefactor     26.991        7.3050        .50185E-07   -.11919E-01
  23  norm          .34727E-01    4.3102        .40451E-06** at limit **
  24  norm          2.8766        4.3525       -.97044E-07   -.12131E-02
  25  Prefactor     5.8273        3.5503        .85016E-07    .83485E-03
  26  Prefactor     .42832E-06    11.332        .11654E-06** at limit **
  27  Prefactor     .24425E-08    3.6594       -.14301E-06** at limit **
  28  Prefactor     4.8840        3.3346        .27868E-07    .92329E-03
  29  Prefactor     11.677        17.800        .24451E-06   -.88660E-01
  30  Normalizat    .83020        .18200       -.23661E-05   -.15240E-03
  31  Prefactor     .98297        .20621       -.21476E-05   -.13658E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.70814e-07
  Prefactor  = 1.56347e-06
  Prefactor  = 2.98594e-07
  Prefactor  = 2.72005e-09
  Prefactor  = 0
  Prefactor  = 12.6495
  Prefactor  = 2.24396
  Prefactor  = 9.21485e-09
  Prefactor  = 11.6809
  Prefactor  = 14.3684
  Prefactor  = 0
  Prefactor  = 2.38476e-07
  Prefactor  = 1.92346e-07
  norm       = 9.40575
  norm       = 2.52637
  norm       = 0
  norm       = 8.83006
  Prefactor  = 0.713809
  Prefactor  = 54.4924
  Prefactor  = 4.27436e-09
  norm       = 0
  Prefactor  = 26.9908
  norm       = 0.0347275
  norm       = 2.87656
  Prefactor  = 5.82729
  Prefactor  = 4.28324e-07
  Prefactor  = 2.44249e-09
  Prefactor  = 4.88395
  Prefactor  = 11.6768
  Normalizat = 0.830196
  Prefactor  = 0.982969
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.475     FROM HESSE     STATUS=OK           690 CALLS     2460 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37081E-06    17.903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15635E-05    32.235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .29859E-06    13.291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27200E-08    3.6980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.2330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.649        16.167        .27724E-03   -1.5637    
   7  Prefactor     2.2440        3.0546        .68568E-03   -1.5678    
   8  Prefactor     .92149E-08    9.9450        .12315E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.681        17.341        .29221E-03   -1.5640    
  10  Prefactor     14.368        14.138        .26418E-03   -1.5632    
  11  Prefactor      .0000        2.8964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .23848E-06    14.511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .19235E-06    10.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.4058        11.864        .32746E-03   -1.5647    
  15  norm          2.5264        3.4847        .64285E-03   -1.5676    
  16  norm           .0000        1.2894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.8301        6.6527        .33699E-03   -1.5649    
  18  Prefactor     .71381        27.188        .57233E-03   -1.5691    
  19  Prefactor     54.492        35.974        .13530E-03   -1.5560    
  20  Prefactor     .42744E-08    9.7052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        2.3337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     26.991        20.224        .19187E-03   -1.5604    
  23  norm          .34727E-01    .70594        .22647E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.8766        4.9458        .60136E-03   -1.5674    
  25  Prefactor     5.8273        3.5568        .41596E-03   -1.5660    
  26  Prefactor     .42832E-06    19.785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .24425E-08    3.6393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.8840        3.3450        .45494E-03   -1.5664    
  29  Prefactor     11.677        35.921        .29846E-03   -1.5640    
  30  Normalizat    .83020        .15783        .43998E-01   -.98958    
  31  Prefactor     .98297        .17402        .46054E-01   -.93299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20563e-06
Minuit parameter uncertainties:
  1  0.00515316
  2  0.0141986
  3  0.00398411
  4  0.00020077
  5  4.52364e-06
  6  16.1669
  7  3.05465
  8  0.000605958
  9  17.3407
  10  14.1382
  11  1.09036e-05
  12  0.00372062
  13  0.00285731
  14  11.8641
  15  3.4847
  16  3.02287e-06
  17  6.65274
  18  8.81076
  19  35.9742
  20  0.000408655
  21  1.0102e-05
  22  20.2242
  23  0.313149
  24  4.94579
  25  3.55676
  26  0.00582218
  27  0.000187633
  28  3.345
  29  35.9212
  30  0.157913
  31  0.174116
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  5.449e+01  3.597e+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.830e-01  1.741e-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.302e-01  1.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.21
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 7.14e-08 +/- 4.71e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.07e-05

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) = 6535.23754695
delta logL = 0.237645478225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6535.20329543
delta logL = 0.271896996539

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6535.203     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      275 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.226        41.909        .70459E-05   -.41306E-03
   2  Index         3.2543        .84087        .49450E-02    .51836E-03
   3  Normalizat    .80911        .18467        .23350E-03   -.56041E-04
   4  Prefactor     1.0013        .20789        .24241E-03   -.79726E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.2255
  Index      = 3.25429
  Normalizat = 0.809114
  Prefactor  = 1.00128
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.203     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.226        36.090        .28183E-06   -1.5594    
   2  Index         3.2543        .72446        .98899E-03   -.35666    
   3  Normalizat    .80911        .18473        .93398E-05   -.99731    
   4  Prefactor     1.0013        .20785        .96966E-05   -.92687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75399e-11
Minuit parameter uncertainties:
  1  36.0904
  2  0.727378
  3  0.184878
  4  0.208016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776567': 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) = 6535.20329536
delta logL = 0.271897070686

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.223e+01  3.609e+01  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  3.254e+00  7.274e-01  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.001e+00  2.080e-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.091e-01  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.84
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 3.25 +/- 0.73
Photon Flux (Free Index): 8.49e-08 +/- 4.77e-08
Energy Flux (Free Index): 1.52e-05 +/- 8.58e-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/776567/cmap_HighResolution_688780801_689040001_4FGL_J2326.9-4130_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.14e-08', energy_flux2='1.52e-05', photon_flux_error='4.71e-08', dlogl='2.72e-01', energy_flux='1.62e-05', photon_flux2='8.49e-08', job_status='DONE', time_completed='2022-11-02 00:47:02.392801', photon_index_error2='0.73', photon_index2='3.25', ts='4.21', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='8.58e-06', EG='0.83', time_epoch_completed='1667375222.39', return_code='0', job_id='776567', GAL2='1.00', EG2='0.81', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='4.77e-08', ts2='4.84', photon_index='2.78' WHERE bin_id='1734' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:47:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 776567: <4FGL_J2326.9-4130_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:35 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:37 2022
Terminated at Wed Nov  2 00:47:03 2022
Results reported at Wed Nov  2 00:47:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1734 351.737 -41.5089 688780801 689040001 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 :                                   599.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            688 sec.

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

