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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1669
RA = 351.737, Dec = -41.5089
tmin = 671932801, tmax = 672192001
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='693489', job_status='RUN', time_executed='2022-04-21 00:41:54.668436', time_epoch_executed='1650526914.67' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693489

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693489/ft1_4FGL_J2326.9-4130_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693489/ft2_4FGL_J2326.9-4130_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693489/ft1_4FGL_J2326.9-4130_daily_bin1669.fits outfile=/scratch/kocevski/693489/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1669.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=671932801.0 tmax=672192001.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.75
user 3.56
sys 0.17

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

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

Number of photons that the gtmktime cut: 581

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693489/ft1_filtered_4FGL_J2326.9-4130_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/693489/ft2_4FGL_J2326.9-4130_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/693489/ltcube_671932801_672192001_4FGL_J2326.9-4130_daily_bin1669.fits outfile=/scratch/kocevski/693489/expmap_671932801_672192001_4FGL_J2326.9-4130_daily_bin1669.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/693489/ltcube_671932801_672192001_4FGL_J2326.9-4130_daily_bin1669.fits
.....................!
real 190.75
user 185.25
sys 5.16

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/693489/ft1_filtered_4FGL_J2326.9-4130_daily_bin1669.fits scfile=/scratch/kocevski/693489/ft2_4FGL_J2326.9-4130_daily_bin1669.fits outfile=/scratch/kocevski/693489/cmap_671932801_672192001_4FGL_J2326.9-4130_daily_bin1669.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.57
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/693489/ft1_filtered_4FGL_J2326.9-4130_daily_bin1669.fits scfile=/scratch/kocevski/693489/ft2_4FGL_J2326.9-4130_daily_bin1669.fits outfile=/scratch/kocevski/693489/cmap_HighResolution_671932801_672192001_4FGL_J2326.9-4130_daily_bin1669.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/693489/ft1_filtered_4FGL_J2326.9-4130_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/693489/ft2_4FGL_J2326.9-4130_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/693489/Model_4FGL_J2326.9-4130_daily_bin1669.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/693489/ft1_filtered_4FGL_J2326.9-4130_daily_bin1669.fits.....................!
real 45.82
user 44.50
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.582       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .17727E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0348       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3600       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.715       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0747       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.020       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1957       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.4245       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    16.436       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    25.398       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.708       1.0000         .10000E-03   10000.    
    23 'norm      '    8.5197       1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.447       1.0000         .10000E-03   10000.    
    25 'norm      '    .85431       1.0000         .10000E-03   10000.    
    26 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    30.045       1.0000         .10000E-03   10000.    
    29 'Prefactor '    4.2572       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .11092E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .81373       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .98159       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=   6312.416     FROM MIGRAD    STATUS=CONVERGED    863 CALLS     3888 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    36.416       -.88177E-05** at limit **
   2  Prefactor     27.576        19.816       -.76906E-06   -.26538E-03
   3  Prefactor     .10001E-03    32.350        .55030E-05** at limit **
   4  Prefactor     .10000E-03    17.936       -.51352E-06** at limit **
   5  Prefactor     .10000E-03    4.4969        .86038E-06** at limit **
   6  Prefactor     2.0346        2.5739        .95915E-08   -.16880E-03
   7  Prefactor     .10000E-03    10.617        .14204E-05** at limit **
   8  Prefactor     3.3601        3.9971        .16804E-06   -.23647E-04
   9  Prefactor     12.715        16.252       -.14964E-06    .11360E-05
  10  Prefactor     7.0738        15.421        .20032E-05   -.32403E-03
  11  Prefactor     25.019        13.334        .74070E-07    .17054E-04
  12  Prefactor     1.1979        6.5119        .14946E-05   -.32995E-03
  13  Prefactor     .10000E-03    9.6010       -.14817E-05** at limit **
  14  Prefactor     .10000E-03    10.229        .78190E-06** at limit **
  15  Prefactor     .10000E-03    4.9527        .14261E-07** at limit **
  16  norm          3.4250        5.8016        .27229E-05   -.11907E-02
  17  norm          .10000E-03    1.8085       -.40546E-08** at limit **
  18  norm          .10000E-03    1.6194       -.13625E-07** at limit **
  19  norm          16.436        8.1010        .83579E-07   -.29647E-04
  20  Prefactor     .10015E-03    5.5604        .95157E-06** at limit **
  21  Prefactor     25.396        26.270       -.83297E-06   -.16694E-03
  22  Prefactor     16.700        27.023       -.29760E-05   -.23756E-03
  23  norm          8.5200        5.0120       -.98565E-07   -.44826E-03
  24  Prefactor     12.469        13.629       -.11656E-07   -.55837E-03
  25  norm          .85441        .82165        .39632E-07   -.68029E-03
  26  norm          .10000E-03    3.3429        .38106E-08** at limit **
  27  Prefactor     .10000E-03    .84833       -.99794E-08** at limit **
  28  Prefactor     30.045        19.671       -.15352E-06   -.17301E-03
  29  Prefactor     4.2566        4.5674        .48467E-06    .18005E-03
  30  Prefactor     .10000E-03    2.5101       -.26219E-08** at limit **
  31  Prefactor     .10000E-03    13.200       -.18826E-05** at limit **
  32  Normalizat    .81390        .16173        .83969E-07   -.27301E-03
  33  Prefactor     .98131        .17689       -.47029E-06   -.18055E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100023
  Prefactor  = 27.5762
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 2.03461
  Prefactor  = 0.000100001
  Prefactor  = 3.36011
  Prefactor  = 12.7149
  Prefactor  = 7.07376
  Prefactor  = 25.019
  Prefactor  = 1.19792
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.42496
  norm       = 0.0001
  norm       = 0.0001
  norm       = 16.4356
  Prefactor  = 0.000100146
  Prefactor  = 25.3959
  Prefactor  = 16.7005
  norm       = 8.51997
  Prefactor  = 12.4694
  norm       = 0.854414
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.0447
  Prefactor  = 4.25662
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.8139
  Prefactor  = 0.981306
 **********
 **   18 **HESSE 
 **********

 FCN=   6312.416     FROM HESSE     STATUS=OK           695 CALLS     4583 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    38.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.576        19.911        .76281E-04   -1.4657    
   3  Prefactor     .10001E-03    33.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.636        .32096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0346        2.5571        .13793E-03   -1.5423    
   7  Prefactor     .10000E-03    10.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.3601        3.9869        .16791E-03   -1.5341    
   9  Prefactor     12.715        16.241        .11234E-03   -1.4995    
  10  Prefactor     7.0738        15.713        .75410E-03   -1.5176    
  11  Prefactor     25.019        13.342        .80085E-04   -1.4707    
  12  Prefactor     1.1979        6.7085        .38890E-03   -1.5489    
  13  Prefactor     .10000E-03    9.6747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.9690        .17264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4250        6.3958        .10929E-02   -1.5338    
  17  norm          .10000E-03    1.8095        .10434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.6202        .98705E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          16.436        8.0989        .98793E-04   -1.4897    
  20  Prefactor     .10015E-03    33.435        .30554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     25.396        26.343        .79487E-04   -1.4700    
  22  Prefactor     16.700        27.451        .97984E-04   -1.4890    
  23  norm          8.5200        5.0143        .11806E-03   -1.5124    
  24  Prefactor     12.469        11.856        .11354E-03   -1.5002    
  25  norm          .85441        .80426        .65844E-04   -1.5523    
  26  norm          .10000E-03    3.4111        .28299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    .85105        .71415E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     30.045        19.664        .73096E-04   -1.4611    
  29  Prefactor     4.2566        4.5773        .16840E-03   -1.5295    
  30  Prefactor     .10000E-03    2.5780        .24527E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    13.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .81390        .19001        .23528E-03   -.99555    
  33  Prefactor     .98131        .20951        .24618E-03   -.93355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.28651e-09
Minuit parameter uncertainties:
  1  0.00188827
  2  19.9157
  3  0.00109635
  4  0.000102738
  5  0.000399223
  6  2.55723
  7  0.000157392
  8  3.98726
  9  16.2465
  10  15.7222
  11  13.3432
  12  5.67038
  13  0.000159774
  14  8.53456e-05
  15  2.73079e-06
  16  6.39707
  17  1.0692e-06
  18  1.91231e-06
  19  8.09946
  20  0.0044273
  21  26.3547
  22  27.4719
  23  5.01453
  24  11.858
  25  0.80427
  26  1.30585e-05
  27  1.12592e-07
  28  19.6685
  29  4.57764
  30  9.28201e-06
  31  0.000240624
  32  0.19017
  33  0.209682
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.540e+01  2.635e+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:  9.813e-01  2.097e-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.139e-01  1.902e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.29
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 3.33e-08 +/- 3.45e-08
Energy Flux (Fixed Index): 7.56e-06 +/- 7.85e-06

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

Saving results to:
/scratch/kocevski/693489/likelihoodResults_671932801_672192001_4FGL_J2326.9-4130_daily_bin1669.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) = 6311.69417417
delta logL = 0.721928346569

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6311.65827258
delta logL = 0.757829934529

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.032       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8721       1.0000          .0000       10.000    
     3 'Normalizat'    .83611       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96521       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=   6311.658     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      237 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.043        37.380        .68691E-04   -.15647E-03
   2  Index         1.8723        .69554        .97324E-02   -.33339E-04
   3  Normalizat    .83613        .18093        .23252E-03   -.11604E-02
   4  Prefactor     .96516        .20660        .24797E-03   -.91280E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.0428
  Index      = 1.87234
  Normalizat = 0.836135
  Prefactor  = 0.965162
 **********
 **   18 **HESSE 
 **********

 FCN=   6311.658     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.043        38.041        .13738E-04   -1.4540    
   2  Index         1.8723        .70787        .38930E-03   -.67581    
   3  Normalizat    .83613        .18110        .46503E-04   -.98742    
   4  Prefactor     .96516        .20679        .49594E-04   -.93900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29383e-09
Minuit parameter uncertainties:
  1  38.0681
  2  0.711811
  3  0.181233
  4  0.206959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693489': 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) = 6311.65827247
delta logL = 0.757830051962

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.404e+01  3.807e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  1.872e+00  7.118e-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:  9.652e-01  2.070e-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.361e-01  1.812e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.83
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 1.87 +/- 0.71
Photon Flux (Free Index): 1.53e-08 +/- 2.29e-08
Energy Flux (Free Index): 1.49e-05 +/- 1.98e-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/693489/cmap_HighResolution_671932801_672192001_4FGL_J2326.9-4130_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.50e-03', comment='SUCCESS', photon_flux='3.33e-08', energy_flux2='1.49e-05', photon_flux_error='3.45e-08', dlogl='7.58e-01', energy_flux='7.56e-06', photon_flux2='1.53e-08', job_status='DONE', time_completed='2022-04-21 00:56:32.718236', photon_index_error2='0.71', photon_index2='1.87', ts='2.29', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='1.98e-05', EG='0.81', time_epoch_completed='1650527792.72', return_code='0', job_id='693489', GAL2='0.97', EG2='0.84', return_code2='0', energy_flux_error='7.85e-06', photon_flux_error2='2.29e-08', ts2='3.83', photon_index='2.78' WHERE bin_id='1669' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:56:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 693489: <4FGL_J2326.9-4130_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1669> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Apr 21 00:40:17 2022
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:40:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:40:18 2022
Terminated at Thu Apr 21 00:56:33 2022
Results reported at Thu Apr 21 00:56:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1669 351.737 -41.5089 671932801 672192001 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 :                                   880.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            976 sec.

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

