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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1707
RA = 351.737, Dec = -41.5089
tmin = 681782401, tmax = 682041601
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='551609', job_status='RUN', time_executed='2022-08-13 00:37:28.141016', time_epoch_executed='1660376248.14' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551609

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551609/ft1_4FGL_J2326.9-4130_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551609/ft2_4FGL_J2326.9-4130_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551609/ft1_4FGL_J2326.9-4130_daily_bin1707.fits outfile=/scratch/kocevski/551609/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1707.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=681782401.0 tmax=682041601.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 5.48
user 5.14
sys 0.27

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551609/ft1_filtered_4FGL_J2326.9-4130_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551609/ft2_4FGL_J2326.9-4130_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/551609/ltcube_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.fits outfile=/scratch/kocevski/551609/expmap_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.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/551609/ltcube_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.fits
.....................!
real 190.43
user 185.43
sys 4.69

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/551609/ft1_filtered_4FGL_J2326.9-4130_daily_bin1707.fits scfile=/scratch/kocevski/551609/ft2_4FGL_J2326.9-4130_daily_bin1707.fits outfile=/scratch/kocevski/551609/cmap_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551609/ft1_filtered_4FGL_J2326.9-4130_daily_bin1707.fits scfile=/scratch/kocevski/551609/ft2_4FGL_J2326.9-4130_daily_bin1707.fits outfile=/scratch/kocevski/551609/cmap_HighResolution_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.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/551609/ft1_filtered_4FGL_J2326.9-4130_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551609/ft2_4FGL_J2326.9-4130_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551609/Model_4FGL_J2326.9-4130_daily_bin1707.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/551609/ft1_filtered_4FGL_J2326.9-4130_daily_bin1707.fits.....................!
real 38.63
user 37.43
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551609/ft1_filtered_4FGL_J2326.9-4130_daily_bin1707.fits', '/scratch/kocevski/551609/ft2_4FGL_J2326.9-4130_daily_bin1707.fits', expMap='/scratch/kocevski/551609/expmap_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.fits', expCube='/scratch/kocevski/551609/ltcube_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551609/Model_4FGL_J2326.9-4130_daily_bin1707.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/551609/ft1_filtered_4FGL_J2326.9-4130_daily_bin1707.fits
Spacecraft file(s): /scratch/kocevski/551609/ft2_4FGL_J2326.9-4130_daily_bin1707.fits
Exposure map: /scratch/kocevski/551609/expmap_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.fits
Exposure cube: /scratch/kocevski/551609/ltcube_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551609/Model_4FGL_J2326.9-4130_daily_bin1707.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) = 4900.9782593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.669       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.988       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9483       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.438       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .94175       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1030       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9604       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10431E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    13.617       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9821       1.0000         .10000E-03   10000.    
    21 'Prefactor '    31.757       1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.034       1.0000         .10000E-03   10000.    
    23 'norm      '    .15560E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .33595       1.0000         .10000E-03   10000.    
    26 'norm      '    2.6286       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    4.7121       1.0000         .10000E-03   10000.    
    30 'Prefactor '    1.6098       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.2943       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .69912       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=   4900.972     FROM MIGRAD    STATUS=CONVERGED    890 CALLS     4563 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.622        76.475       -.63644E-05   -.76001E-04
   2  Prefactor     26.031        27.724       -.77206E-06    .23975E-04
   3  Prefactor     2.8956        122.65       -.11990E-04   -.48397E-04
   4  Prefactor     .10000E-03    45.671        .70164E-06** at limit **
   5  Prefactor     12.435        9.2587        .12097E-06   -.61604E-05
   6  Prefactor     .94112        3.6756        .13035E-05   -.14444E-03
   7  Prefactor     .10000E-03    11.870        .98466E-06** at limit **
   8  Prefactor     1.1017        4.2916        .12030E-05   -.74651E-04
   9  Prefactor     .10000E-03    6.5101        .13312E-06** at limit **
  10  Prefactor     3.9602        8.7242        .45888E-05   -.21592E-03
  11  Prefactor     .10000E-03    8.8478        .76992E-07** at limit **
  12  Prefactor     .10000E-03    6.4432        .38708E-06** at limit **
  13  Prefactor     .10000E-03    35.918       -.56401E-06** at limit **
  14  Prefactor     .10000E-03    13.312       -.82118E-06** at limit **
  15  Prefactor     .10000E-03    6.7254       -.41489E-07** at limit **
  16  norm          .10000E-03    3.7861        .32430E-07** at limit **
  17  norm          .10000E-03    1.7630        .17618E-07** at limit **
  18  norm          .10000E-03    2.4933        .62240E-07** at limit **
  19  norm          13.616        9.0925        .22432E-06    .13631E-04
  20  Prefactor     2.9815        4.1989       -.23662E-06   -.15835E-03
  21  Prefactor     31.757        29.003       -.74923E-07   -.14052E-04
  22  Prefactor     20.999        49.556       -.42451E-05   -.72705E-04
  23  norm          .10000E-03    3.3394        .16329E-06** at limit **
  24  Prefactor     .10000E-03    15.786        .10584E-05** at limit **
  25  norm          .33559        .89014        .40451E-06   -.31639E-04
  26  norm          2.6281        2.7145       -.15574E-07   -.38937E-06
  27  Prefactor     .10000E-03    2.1305       -.13661E-07** at limit **
  28  Prefactor     .10000E-03    13.733       -.11062E-05** at limit **
  29  Prefactor     4.7073        6.6605        .41020E-06    .49597E-05
  30  Prefactor     1.5893        6.2199        .15212E-05   -.74131E-04
  31  Prefactor     .10000E-03    127.14        .26307E-05** at limit **
  32  Normalizat    1.2950        .20023        .88856E-06   -.25862E-03
  33  Prefactor     .69861        .20405       -.26359E-05   -.24284E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.6225
  Prefactor  = 26.0311
  Prefactor  = 2.89563
  Prefactor  = 0.0001
  Prefactor  = 12.435
  Prefactor  = 0.941118
  Prefactor  = 0.0001
  Prefactor  = 1.10169
  Prefactor  = 0.0001
  Prefactor  = 3.96023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 13.6163
  Prefactor  = 2.98147
  Prefactor  = 31.7572
  Prefactor  = 20.9993
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.335586
  norm       = 2.62807
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.70733
  Prefactor  = 1.5893
  Prefactor  = 0.0001
  Normalizat = 1.29503
  Prefactor  = 0.698615
 **********
 **   18 **HESSE 
 **********

 FCN=   4900.972     FROM HESSE     STATUS=OK           689 CALLS     5252 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.622        77.642        .68060E-04   -1.4530    
   2  Prefactor     26.031        27.269        .78581E-04   -1.4687    
   3  Prefactor     2.8956        128.74        .23652E-03   -1.5368    
   4  Prefactor     .10000E-03    45.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.435        9.2600        .11358E-03   -1.5003    
   6  Prefactor     .94112        3.7094        .24935E-03   -1.5514    
   7  Prefactor     .10000E-03    11.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1017        4.2430        .27614E-03   -1.5498    
   9  Prefactor     .10000E-03    6.5169        .17446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9602        8.8391        .10134E-02   -1.5310    
  11  Prefactor     .10000E-03    8.9133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.5099        .17344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    36.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.7370        .17729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.7869        .13304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.7631        .90779E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.4988        .10790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.616        9.0889        .10855E-03   -1.4970    
  20  Prefactor     2.9815        4.1732        .16339E-03   -1.5363    
  21  Prefactor     31.757        28.901        .71102E-04   -1.4580    
  22  Prefactor     20.999        50.151        .87333E-04   -1.4791    
  23  norm          .10000E-03    3.4272        .24868E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    15.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .33559        .86732        .10101E-03   -1.5592    
  26  norm          2.6281        2.7158        .11340E-03   -1.5384    
  27  Prefactor     .10000E-03    2.2115        .19940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    13.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     4.7073        6.6679        .18537E-03   -1.5274    
  30  Prefactor     1.5893        6.1910        .29292E-03   -1.5456    
  31  Prefactor     .10000E-03    127.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.2950        .23968        .20943E-03   -.83715    
  33  Prefactor     .69861        .24240        .29791E-03   -1.0358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.48027e-10
Minuit parameter uncertainties:
  1  77.8699
  2  27.2821
  3  38.7036
  4  0.000140524
  5  9.26104
  6  3.71035
  7  5.90024e-05
  8  4.24415
  9  1.99098e-06
  10  8.84196
  11  6.57678e-06
  12  7.65869e-06
  13  0.000106715
  14  6.26707e-05
  15  1.26893e-05
  16  1.52319e-07
  17  1.54203e-07
  18  1.75819e-06
  19  9.08985
  20  4.17358
  21  28.9134
  22  50.2518
  23  5.53937e-06
  24  7.12127e-05
  25  0.867357
  26  2.71596
  27  5.70838e-06
  28  6.68925e-05
  29  6.66898
  30  6.19351
  31  0.000470018
  32  0.239888
  33  0.242771
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.176e+01  2.891e+01  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:  6.986e-01  2.428e-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.295e+00  2.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.05
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 4.16e-08 +/- 3.78e-08
Energy Flux (Fixed Index): 9.46e-06 +/- 8.61e-06

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

Saving results to:
/scratch/kocevski/551609/likelihoodResults_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.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) = 4900.84777799
delta logL = 0.123866804038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4900.84698665
delta logL = 0.124658149004

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.784       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4003       1.0000          .0000       10.000    
     3 'Normalizat'    1.3051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69007       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=   4900.847     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      303 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.802        42.888        .60588E-04    .34451E-04
   2  Index         2.4001        .71359        .81268E-02    .11703E-03
   3  Normalizat    1.3050        .22142        .20872E-03    .43629E-04
   4  Prefactor     .69017        .23817        .29949E-03   -.36897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.8022
  Index      = 2.40012
  Normalizat = 1.30502
  Prefactor  = 0.690171
 **********
 **   18 **HESSE 
 **********

 FCN=   4900.847     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.802        42.287        .12118E-04   -1.4383    
   2  Index         2.4001        .70351        .16254E-02   -.54682    
   3  Normalizat    1.3050        .22157        .41745E-04   -.83417    
   4  Prefactor     .69017        .23834        .11980E-04   -1.0391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89019e-11
Minuit parameter uncertainties:
  1  42.3161
  2  0.706735
  3  0.221734
  4  0.238694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551609': 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) = 4900.84698639
delta logL = 0.124658408965

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  4.380e+01  4.232e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.400e+00  7.067e-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:  6.902e-01  2.387e-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.305e+00  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.30
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 2.40 +/- 0.71
Photon Flux (Free Index): 3.47e-08 +/- 3.49e-08
Energy Flux (Free Index): 1.14e-05 +/- 1.12e-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/551609/cmap_HighResolution_681782401_682041601_4FGL_J2326.9-4130_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.16e-08', energy_flux2='1.14e-05', photon_flux_error='3.78e-08', dlogl='1.25e-01', energy_flux='9.46e-06', photon_flux2='3.47e-08', job_status='DONE', time_completed='2022-08-13 00:51:10.766973', photon_index_error2='0.71', photon_index2='2.40', ts='2.05', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='1.12e-05', EG='1.30', time_epoch_completed='1660377070.77', return_code='0', job_id='551609', GAL2='0.69', EG2='1.31', return_code2='0', energy_flux_error='8.61e-06', photon_flux_error2='3.49e-08', ts2='2.30', photon_index='2.78' WHERE bin_id='1707' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:51:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 551609: <4FGL_J2326.9-4130_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1707> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 13 00:35:29 2022
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:35:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:35:30 2022
Terminated at Sat Aug 13 00:51:11 2022
Results reported at Sat Aug 13 00:51:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1707 351.737 -41.5089 681782401 682041601 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 :                                   825.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             313.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            942 sec.

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

