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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1770
RA = 351.737, Dec = -41.5089
tmin = 698112001, tmax = 698371201
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='504290', job_status='RUN', time_executed='2023-02-18 02:05:52.173902', time_epoch_executed='1676714752.17' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/504290

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/504290/ft1_4FGL_J2326.9-4130_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/504290/ft2_4FGL_J2326.9-4130_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/504290/ft1_4FGL_J2326.9-4130_daily_bin1770.fits outfile=/scratch/kocevski/504290/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1770.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=698112001.0 tmax=698371201.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.41
user 3.19
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/504290/ft2_4FGL_J2326.9-4130_daily_bin1770.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/504290/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/504290/ft1_filtered_4FGL_J2326.9-4130_daily_bin1770.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.41
user 0.27
sys 0.13

Number of photons that the gtmktime cut: 389

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/504290/ft1_filtered_4FGL_J2326.9-4130_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/504290/ft2_4FGL_J2326.9-4130_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/504290/ltcube_698112001_698371201_4FGL_J2326.9-4130_daily_bin1770.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/504290/ft2_4FGL_J2326.9-4130_daily_bin1770.fits
.....................!
real 9.18
user 8.84
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/504290/ft1_filtered_4FGL_J2326.9-4130_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/504290/ft2_4FGL_J2326.9-4130_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/504290/ltcube_698112001_698371201_4FGL_J2326.9-4130_daily_bin1770.fits outfile=/scratch/kocevski/504290/expmap_698112001_698371201_4FGL_J2326.9-4130_daily_bin1770.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/504290/ltcube_698112001_698371201_4FGL_J2326.9-4130_daily_bin1770.fits
.....................!
real 148.05
user 144.10
sys 3.67

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/504290/ft1_filtered_4FGL_J2326.9-4130_daily_bin1770.fits scfile=/scratch/kocevski/504290/ft2_4FGL_J2326.9-4130_daily_bin1770.fits outfile=/scratch/kocevski/504290/cmap_698112001_698371201_4FGL_J2326.9-4130_daily_bin1770.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.46
user 0.32
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/504290/ft1_filtered_4FGL_J2326.9-4130_daily_bin1770.fits scfile=/scratch/kocevski/504290/ft2_4FGL_J2326.9-4130_daily_bin1770.fits outfile=/scratch/kocevski/504290/cmap_HighResolution_698112001_698371201_4FGL_J2326.9-4130_daily_bin1770.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.46
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/504290/ft1_filtered_4FGL_J2326.9-4130_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/504290/ft2_4FGL_J2326.9-4130_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/504290/Model_4FGL_J2326.9-4130_daily_bin1770.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/504290/ft1_filtered_4FGL_J2326.9-4130_daily_bin1770.fits.....................!
real 27.22
user 26.16
sys 0.97

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58563       1.0000          .0000       .10000E+07
     2 'Prefactor '    50.055       1.0000          .0000       .10000E+07
     3 'Prefactor '    19.535       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4172       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17866E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19898E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .22117E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    23.586       1.0000          .0000       .10000E+07
     9 'Prefactor '    52.009       1.0000          .0000       .10000E+07
    10 'Prefactor '    18.358       1.0000          .0000       .10000E+07
    11 'Prefactor '    .88587       1.0000          .0000       .10000E+07
    12 'Prefactor '    .51631E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2111       1.0000          .0000       .10000E+07
    14 'norm      '    .79381E-08   1.0000          .0000       .10000E+07
    15 'norm      '    .26930E-04   1.0000          .0000       .10000E+07
    16 'norm      '    3.4513       1.0000          .0000       .10000E+07
    17 'norm      '    .99649E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.820       1.0000          .0000       .10000E+07
    19 'Prefactor '    56.051       1.0000          .0000       .10000E+07
    20 'Prefactor '    5.5083       1.0000          .0000       .10000E+07
    21 'norm      '    4.1420       1.0000          .0000       .10000E+07
    22 'Prefactor '    .12854E-01   1.0000          .0000       .10000E+07
    23 'norm      '    .11313E-06   1.0000          .0000       .10000E+07
    24 'norm      '    .39283E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .16709E-07   1.0000          .0000       .10000E+07
    26 'Prefactor '    8.7296       1.0000          .0000       .10000E+07
    27 'Prefactor '    .60918E-04   1.0000          .0000       .10000E+07
    28 'Prefactor '    .69076       1.0000          .0000       .10000E+07
    29 'Prefactor '    .12393E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    .43058       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.3335       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=   4264.080     FROM MIGRAD    STATUS=CONVERGED    296 CALLS     3106 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28810E-07    229.68        .54673E-06** at limit **
   2  Prefactor     50.192        2.8802        .19364E-08    .54611E-02
   3  Prefactor     19.804        2.6601       -.10528E-07   -.51724E-02
   4  Prefactor     6.5727        6.8499        .12886E-07    .21722E-03
   5  Prefactor      .0000        1.0543        .14918E-07** at limit **
   6  Prefactor     .36082E-08    36.178        .78035E-08** at limit **
   7  Prefactor      .0000        4.0678        .28665E-07** at limit **
   8  Prefactor     23.295        14.790        .12156E-06   -.40553E-02
   9  Prefactor     53.425        31.596       -.16777E-06    .16586E-02
  10  Prefactor     18.013        18.847       -.49849E-07    .33048E-02
  11  Prefactor     .79371        11.642        .21502E-07    .29509E-03
  12  Prefactor     .47740E-07    27.889       -.81843E-07** at limit **
  13  Prefactor     1.2830        35.619       -.23852E-06    .11763E-03
  14  norm           .0000        6.3104       -.43468E-07** at limit **
  15  norm           .0000        2.5564        .51810E-07** at limit **
  16  norm          4.2456        7.5485        .40272E-07    .14288E-03
  17  norm           .0000        4.2957       -.80820E-07** at limit **
  18  Prefactor     10.841        7.8537       -.66525E-07   -.27170E-03
  19  Prefactor     70.378        83.482        .34540E-06   -.28980E-03
  20  Prefactor     4.7289        6.8038        .17290E-07    .14833E-01
  21  norm          2.0653        21.805       -.27244E-06    .28857E-03
  22  Prefactor     .67724E-08    211.49       -.12564E-05** at limit **
  23  norm           .0000        1.3575        .32485E-07** at limit **
  24  norm          .22204E-09    21.876        .11443E-06** at limit **
  25  Prefactor      .0000        .94609       -.99195E-08** at limit **
  26  Prefactor     8.4427        17.168        .31032E-07    .14901E-02
  27  Prefactor      .0000        2.7142       -.62285E-07** at limit **
  28  Prefactor     .68946        2.7758       -.74150E-07   -.17243E-03
  29  Prefactor      .0000        15.872       -.29583E-08** at limit **
  30  Normalizat    .42337        .22399       -.17084E-05    .24917E-06
  31  Prefactor     1.3392        .25593        .16056E-05   -.45532E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.88103e-08
  Prefactor  = 50.1923
  Prefactor  = 19.8037
  Prefactor  = 6.57269
  Prefactor  = 0
  Prefactor  = 3.60822e-09
  Prefactor  = 0
  Prefactor  = 23.2946
  Prefactor  = 53.4255
  Prefactor  = 18.0129
  Prefactor  = 0.793706
  Prefactor  = 4.77396e-08
  Prefactor  = 1.28299
  norm       = 0
  norm       = 0
  norm       = 4.24561
  norm       = 0
  Prefactor  = 10.8408
  Prefactor  = 70.3776
  Prefactor  = 4.7289
  norm       = 2.06529
  Prefactor  = 6.77236e-09
  norm       = 0
  norm       = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 8.44273
  Prefactor  = 0
  Prefactor  = 0.689462
  Prefactor  = 0
  Normalizat = 0.423367
  Prefactor  = 1.33921
 **********
 **   18 **HESSE 
 **********

 FCN=   4264.080     FROM HESSE     STATUS=OK           696 CALLS     3802 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28810E-07    228.32        .70525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     50.192        28.688        .14135E-03   -1.5566    
   3  Prefactor     19.804        29.482        .22633E-03   -1.5619    
   4  Prefactor     6.5727        6.8436        .39597E-03   -1.5657    
   5  Prefactor      .0000        1.0572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .36082E-08    36.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.0803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.295        28.548        .20596E-03   -1.5611    
   9  Prefactor     53.425        33.933        .13867E-03   -1.5562    
  10  Prefactor     18.013        19.096        .23348E-03   -1.5623    
  11  Prefactor     .79371        11.690        .46742E-03   -1.5690    
  12  Prefactor     .47740E-07    29.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2830        36.139        .10275E-02   -1.5685    
  14  norm           .0000        6.3069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        2.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.2456        8.1149        .54415E-03   -1.5667    
  17  norm           .0000        4.3183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.841        7.9917        .30433E-03   -1.5642    
  19  Prefactor     70.378        99.222        .13358E-03   -1.5540    
  20  Prefactor     4.7289        29.058        .42786E-03   -1.5664    
  21  norm          2.0653        30.706        .49503E-03   -1.5679    
  22  Prefactor     .67724E-08    208.35        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        .61863        .17825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .22204E-09    21.219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        .94498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     8.4427        17.609        .33902E-03   -1.5650    
  27  Prefactor      .0000        2.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .68946        2.9300        .61461E-03   -1.5691    
  29  Prefactor      .0000        15.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .42337        .19615        .68147E-01   -1.1611    
  31  Prefactor     1.3392        .21897        .47713E-01   -.82149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76604e-08
Minuit parameter uncertainties:
  1  0.00512728
  2  28.6877
  3  29.4818
  4  6.84362
  5  2.02055e-07
  6  0.000726348
  7  9.82217e-07
  8  28.5482
  9  33.9327
  10  19.0959
  11  6.0922
  12  0.0023849
  13  13.6185
  14  2.23558e-06
  15  3.04992e-08
  16  8.1149
  17  2.00031e-06
  18  7.99172
  19  99.2239
  20  23.4449
  21  15.9271
  22  0.00237422
  23  3.54678e-07
  24  0.000143628
  25  1.15654e-07
  26  17.6095
  27  1.38121e-07
  28  2.8426
  29  3.23748e-05
  30  0.196469
  31  0.219122
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.339e+00  2.191e-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:  4.234e-01  1.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.10
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 9.22e-08 +/- 1.30e-07
Energy Flux (Fixed Index): 2.10e-05 +/- 2.95e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4262.8725776
delta logL = 1.20755327804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4262.85778742
delta logL = 1.22234345097

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.897       1.0000          .0000       .10000E+07
     2 'Index     '    4.0573       1.0000          .0000       10.000    
     3 'Normalizat'    .36587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3891       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=   4262.858     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      261 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.843        118.39        .26843E-03   -.34108E-02
   2  Index         4.0597        3.0696        .80636E-01   -.23467E-04
   3  Normalizat    .36587        .79455E-01    .72992E-01   -.18873E-03
   4  Prefactor     1.3890        .92956E-01    .46948E-01   -.36934E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8429
  Index      = 4.05973
  Normalizat = 0.365874
  Prefactor  = 1.38905
 **********
 **   18 **HESSE 
 **********

 FCN=   4262.858     FROM HESSE     STATUS=OK            31 CALLS      292 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.843        43.105        .10737E-04   -1.5634    
   2  Index         4.0597        1.8160        .33821E-02   -.18918    
   3  Normalizat    .36587        .21744        .32318E-03   -1.1910    
   4  Prefactor     1.3890        .25552        .20752E-03   -.80696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16881e-10
Minuit parameter uncertainties:
  1  43.1055
  2  1.86022
  3  0.217939
  4  0.255756
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/504290': 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) = 4262.85778418
delta logL = 1.22234669775

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.384e+01  4.311e+01  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  4.060e+00  1.860e+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.389e+00  2.558e-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:  3.659e-01  2.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.90
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 4.06 +/- 1.86
Photon Flux (Free Index): 1.31e-07 +/- 6.38e-08
Energy Flux (Free Index): 1.94e-05 +/- 1.14e-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/504290/cmap_HighResolution_698112001_698371201_4FGL_J2326.9-4130_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.22e-08', energy_flux2='1.94e-05', photon_flux_error='1.30e-07', dlogl='1.22e+00', energy_flux='2.10e-05', photon_flux2='1.31e-07', job_status='DONE', time_completed='2023-02-18 02:13:17.426318', photon_index_error2='1.86', photon_index2='4.06', ts='4.10', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', energy_flux_error2='1.14e-05', EG='0.42', time_epoch_completed='1676715197.43', return_code='0', job_id='504290', GAL2='1.39', EG2='0.37', return_code2='0', energy_flux_error='2.95e-05', photon_flux_error2='6.38e-08', ts2='6.90', photon_index='2.78' WHERE bin_id='1770' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 02:13:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0175>
Subject: Job 504290: <4FGL_J2326.9-4130_daily_bin1770> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1770> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Feb 18 02:05:18 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 02:05:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 02:05:19 2023
Terminated at Sat Feb 18 02:13:18 2023
Results reported at Sat Feb 18 02:13:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1770 351.737 -41.5089 698112001 698371201 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 :                                   446.00 sec.
    Max Memory :                                 1237 MB
    Average Memory :                             375.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   478 sec.
    Turnaround time :                            480 sec.

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

