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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1778
RA = 351.737, Dec = -41.5089
tmin = 700185601, tmax = 700444801
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='983692', job_status='RUN', time_executed='2023-03-14 02:27:28.973069', time_epoch_executed='1678786048.97' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/983692

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/983692/ft1_4FGL_J2326.9-4130_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/983692/ft2_4FGL_J2326.9-4130_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/983692/ft1_4FGL_J2326.9-4130_daily_bin1778.fits outfile=/scratch/kocevski/983692/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1778.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=700185601.0 tmax=700444801.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 4.31
user 3.72
sys 0.21

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

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

Number of photons that the gtmktime cut: 399

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/983692/ft1_filtered_4FGL_J2326.9-4130_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/983692/ft2_4FGL_J2326.9-4130_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/983692/ltcube_700185601_700444801_4FGL_J2326.9-4130_daily_bin1778.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/983692/ft2_4FGL_J2326.9-4130_daily_bin1778.fits
.....................!
real 12.01
user 11.67
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/983692/ft1_filtered_4FGL_J2326.9-4130_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/983692/ft2_4FGL_J2326.9-4130_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/983692/ltcube_700185601_700444801_4FGL_J2326.9-4130_daily_bin1778.fits outfile=/scratch/kocevski/983692/expmap_700185601_700444801_4FGL_J2326.9-4130_daily_bin1778.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/983692/ltcube_700185601_700444801_4FGL_J2326.9-4130_daily_bin1778.fits
.....................!
real 191.04
user 185.39
sys 5.33

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/983692/ft1_filtered_4FGL_J2326.9-4130_daily_bin1778.fits scfile=/scratch/kocevski/983692/ft2_4FGL_J2326.9-4130_daily_bin1778.fits outfile=/scratch/kocevski/983692/cmap_700185601_700444801_4FGL_J2326.9-4130_daily_bin1778.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/983692/ft1_filtered_4FGL_J2326.9-4130_daily_bin1778.fits scfile=/scratch/kocevski/983692/ft2_4FGL_J2326.9-4130_daily_bin1778.fits outfile=/scratch/kocevski/983692/cmap_HighResolution_700185601_700444801_4FGL_J2326.9-4130_daily_bin1778.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/983692/ft1_filtered_4FGL_J2326.9-4130_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/983692/ft2_4FGL_J2326.9-4130_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/983692/Model_4FGL_J2326.9-4130_daily_bin1778.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/983692/ft1_filtered_4FGL_J2326.9-4130_daily_bin1778.fits.....................!
real 36.46
user 35.22
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    157.89       1.0000          .0000       .10000E+07
     2 'Prefactor '    29.018       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.253       1.0000          .0000       .10000E+07
     4 'Prefactor '    18.747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .95773       1.0000          .0000       .10000E+07
     6 'Prefactor '    67.257       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10013E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.512       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.189       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.7893       1.0000          .0000       .10000E+07
    11 'Prefactor '    .31047E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .51671E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.483       1.0000          .0000       .10000E+07
    14 'norm      '    .27253E-03   1.0000          .0000       .10000E+07
    15 'norm      '    8.3766       1.0000          .0000       .10000E+07
    16 'norm      '    .46551E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .57264E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .61066E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .26780       1.0000          .0000       .10000E+07
    20 'Prefactor '    .47296       1.0000          .0000       .10000E+07
    21 'norm      '    3.1409       1.0000          .0000       .10000E+07
    22 'Prefactor '    .18314       1.0000          .0000       .10000E+07
    23 'norm      '    .13489E-07   1.0000          .0000       .10000E+07
    24 'norm      '    2.5101       1.0000          .0000       .10000E+07
    25 'Prefactor '    .48528E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .78042E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    4.8449       1.0000          .0000       .10000E+07
    28 'Prefactor '    .45650E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    .37626E-01   1.0000          .0000       .10000E+07
    30 'Normalizat'    .81697       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1613       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=   4401.870     FROM MIGRAD    STATUS=CONVERGED    231 CALLS     3132 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     158.10        6.7352        .19132E-06   -.23432    
   2  Prefactor     29.040        3.6812       -.75938E-07    .35625E-03
   3  Prefactor     12.297        1.3839        .10374E-06   -.11553E-01
   4  Prefactor     18.743        11.188        .74921E-07    .10123E-01
   5  Prefactor     .96877        2.1307        .55519E-07   -.30645E-03
   6  Prefactor     67.459        4.2201        .14492E-06   -.44061E-01
   7  Prefactor      .0000        1.5126        .35027E-07** at limit **
   8  Prefactor     22.516        9.0475        .44745E-06    .14541E-01
   9  Prefactor     19.140        3.1755        .51252E-07   -.18591E-02
  10  Prefactor     8.7760        18.105        .14060E-05    .98078E-02
  11  Prefactor      .0000        2.9192       -.98917E-07** at limit **
  12  Prefactor     .20872E-07    9.1045        .64986E-06** at limit **
  13  Prefactor     17.433        3.6113       -.50387E-07   -.33868E-01
  14  norm          .11102E-09    7.6092        .90970E-07** at limit **
  15  norm          8.3726        7.6867       -.63148E-06   -.36972E-02
  16  norm           .0000        2.3673       -.27010E-07** at limit **
  17  norm          .55511E-10    5.6798        .17568E-06** at limit **
  18  Prefactor     .16354E-06    51.876       -.20538E-05** at limit **
  19  Prefactor     .10090E-05    3.5509       -.34398E-06** at limit **
  20  Prefactor     .23537E-07    112.11       -.38155E-05** at limit **
  21  norm          3.1468        5.8981       -.23819E-07   -.44249E-03
  22  Prefactor     .18270        139.28       -.58886E-05** at limit **
  23  norm           .0000        .77662        .32519E-06** at limit **
  24  norm          2.5207        5.5302       -.20279E-07    .11114E-03
  25  Prefactor      .0000        1.3769       -.81062E-07** at limit **
  26  Prefactor     .33862E-08    10.406       -.10799E-07** at limit **
  27  Prefactor     4.8463        7.7112        .23450E-06   -.32838E-02
  28  Prefactor      .0000        1.9085        .56852E-07** at limit **
  29  Prefactor      .0000        30.113        .18061E-06** at limit **
  30  Normalizat    .81806        .25141        .13896E-04   -.10944E-04
  31  Prefactor     1.1606        .27360       -.74751E-05    .17181E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 158.104
  Prefactor  = 29.04
  Prefactor  = 12.2966
  Prefactor  = 18.7428
  Prefactor  = 0.968769
  Prefactor  = 67.4593
  Prefactor  = 0
  Prefactor  = 22.5158
  Prefactor  = 19.1404
  Prefactor  = 8.776
  Prefactor  = 0
  Prefactor  = 2.08722e-08
  Prefactor  = 17.4333
  norm       = 1.11022e-10
  norm       = 8.37263
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 1.63536e-07
  Prefactor  = 1.00897e-06
  Prefactor  = 2.35367e-08
  norm       = 3.14675
  Prefactor  = 0.182702
  norm       = 0
  norm       = 2.5207
  Prefactor  = 0
  Prefactor  = 3.38618e-09
  Prefactor  = 4.84627
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.818058
  Prefactor  = 1.16056
 **********
 **   18 **HESSE 
 **********

 FCN=   4401.870     FROM HESSE     STATUS=OK           692 CALLS     3824 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     158.10        87.921        .79589E-04   -1.5456    
   2  Prefactor     29.040        26.005        .18567E-03   -1.5600    
   3  Prefactor     12.297        37.923        .28592E-03   -1.5638    
   4  Prefactor     18.743        11.210        .23104E-03   -1.5621    
   5  Prefactor     .96877        2.1509        .42263E-03   -1.5688    
   6  Prefactor     67.459        54.295        .12194E-03   -1.5544    
   7  Prefactor      .0000        1.5131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.516        22.222        .21082E-03   -1.5613    
   9  Prefactor     19.140        28.864        .22837E-03   -1.5620    
  10  Prefactor     8.7760        21.287        .33786E-03   -1.5649    
  11  Prefactor      .0000        2.9292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .20872E-07    9.3555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.433        15.359        .23926E-03   -1.5624    
  14  norm          .11102E-09    7.6072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.3726        7.8257        .34614E-03   -1.5650    
  16  norm           .0000        2.3728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    5.6920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16354E-06    6.2011        .54509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10090E-05    63.910        .10675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23537E-07    111.72        .81477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.1468        6.0391        .57174E-03   -1.5672    
  22  Prefactor     .18270        13.022        .72052E-02   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        .76544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.5207        5.6440        .64467E-03   -1.5676    
  25  Prefactor      .0000        1.3761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .33862E-08    10.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.8463        7.7366        .45678E-03   -1.5664    
  28  Prefactor      .0000        1.9123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor      .0000        30.034        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .81806        .21352        .43831E-01   -.99402    
  31  Prefactor     1.1606        .22743        .55832E-01   -.87554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88256e-06
Minuit parameter uncertainties:
  1  87.922
  2  26.005
  3  37.924
  4  11.2101
  5  2.15095
  6  54.2952
  7  8.97881e-07
  8  22.2221
  9  28.8638
  10  21.2868
  11  3.4933e-06
  12  0.000883301
  13  15.3594
  14  5.80795e-05
  15  7.82567
  16  1.25804e-05
  17  2.62155e-05
  18  0.00201415
  19  0.0160605
  20  0.00324375
  21  6.03912
  22  3.08485
  23  9.12503e-07
  24  5.64398
  25  2.81218e-06
  26  0.000384641
  27  7.73664
  28  7.0934e-06
  29  3.1031e-05
  30  0.213739
  31  0.227625
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.009e-06  1.606e-02  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:  1.161e+00  2.276e-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.181e-01  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/983692/likelihoodResults_700185601_700444801_4FGL_J2326.9-4130_daily_bin1778.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) = 4401.86987394
delta logL = 6.26512846793e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4400.56317198
delta logL = 1.30676460835

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4400.563     FROM MIGRAD    STATUS=CONVERGED    208 CALLS      511 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10544E-02    .33522E-01    .42118E-04** at limit **
   2  Index         9.1502        6.9427        .20368        .62262E-04
   3  Normalizat    .70211        .23077        .62252E-01    .20312E-03
   4  Prefactor     1.2504        .22487        .54047E-01    .61640E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0010544
  Index      = 9.15025
  Normalizat = 0.702108
  Prefactor  = 1.25037
 **********
 **   18 **HESSE 
 **********

 FCN=   4400.563     FROM HESSE     STATUS=OK            33 CALLS      544 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10544E-02    .95197E-02    .15865E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.1502        5.0480        .92469E-02   -48.103    
   3  Normalizat    .70211        .25078        .27539E-03   -1.0381    
   4  Prefactor     1.2504        .27898        .23896E-03   -.84795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65895e-10
Minuit parameter uncertainties:
  1  0.00633642
  2  3.20076
  3  0.251193
  4  0.279311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/983692': 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) = 4400.56314596
delta logL = 1.30679063622

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.054e-03  6.336e-03  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  9.150e+00  3.201e+00  0.000e+00  1.000e+01 (-1.000e+00)
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
578   Normalization:  7.021e-01  2.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.80
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 9.15 +/- 3.20
Photon Flux (Free Index): 8.31e-08 +/- 9.62e-07
Energy Flux (Free Index): 9.42e-06 +/- 1.09e-04

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/983692/cmap_HighResolution_700185601_700444801_4FGL_J2326.9-4130_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.60e-03', comment='SUCCESS', energy_flux2='9.42e-06', dlogl='1.31e+00', photon_flux2='8.31e-08', job_status='DONE', time_completed='2023-03-14 02:38:16.560162', photon_index_error2='3.20', photon_index2='9.15', ts='-0.00', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='1.09e-04', EG='0.82', time_epoch_completed='1678786696.56', return_code='0', job_id='983692', GAL2='1.25', EG2='0.70', return_code2='0', photon_flux_error2='9.62e-07', ts2='2.80', photon_index='2.78' WHERE bin_id='1778' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 02:38:16 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0015>
Subject: Job 983692: <4FGL_J2326.9-4130_daily_bin1778> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1778> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Mar 14 02:25:14 2023
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 02:25:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 02:25:15 2023
Terminated at Tue Mar 14 02:38:17 2023
Results reported at Tue Mar 14 02:38:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1778 351.737 -41.5089 700185601 700444801 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 :                                   649.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            783 sec.

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

