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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1754
RA = 351.737, Dec = -41.5089
tmin = 693964801, tmax = 694224001
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='660003', job_status='RUN', time_executed='2023-01-01 02:09:10.829287', time_epoch_executed='1672567750.83' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/660003

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/660003/ft1_4FGL_J2326.9-4130_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/660003/ft2_4FGL_J2326.9-4130_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/660003/ft1_4FGL_J2326.9-4130_daily_bin1754.fits outfile=/scratch/kocevski/660003/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1754.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=693964801.0 tmax=694224001.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.97
user 3.74
sys 0.21

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

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

Number of photons that the gtmktime cut: 579

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/660003/ft1_filtered_4FGL_J2326.9-4130_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/660003/ft2_4FGL_J2326.9-4130_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/660003/ltcube_693964801_694224001_4FGL_J2326.9-4130_daily_bin1754.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/660003/ft2_4FGL_J2326.9-4130_daily_bin1754.fits
.....................!
real 16.15
user 15.72
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/660003/ft1_filtered_4FGL_J2326.9-4130_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/660003/ft2_4FGL_J2326.9-4130_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/660003/ltcube_693964801_694224001_4FGL_J2326.9-4130_daily_bin1754.fits outfile=/scratch/kocevski/660003/expmap_693964801_694224001_4FGL_J2326.9-4130_daily_bin1754.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/660003/ltcube_693964801_694224001_4FGL_J2326.9-4130_daily_bin1754.fits
.....................!
real 193.79
user 187.87
sys 5.27

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/660003/ft1_filtered_4FGL_J2326.9-4130_daily_bin1754.fits scfile=/scratch/kocevski/660003/ft2_4FGL_J2326.9-4130_daily_bin1754.fits outfile=/scratch/kocevski/660003/cmap_693964801_694224001_4FGL_J2326.9-4130_daily_bin1754.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.61
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/660003/ft1_filtered_4FGL_J2326.9-4130_daily_bin1754.fits scfile=/scratch/kocevski/660003/ft2_4FGL_J2326.9-4130_daily_bin1754.fits outfile=/scratch/kocevski/660003/cmap_HighResolution_693964801_694224001_4FGL_J2326.9-4130_daily_bin1754.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/660003/ft1_filtered_4FGL_J2326.9-4130_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/660003/ft2_4FGL_J2326.9-4130_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/660003/Model_4FGL_J2326.9-4130_daily_bin1754.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/660003/ft1_filtered_4FGL_J2326.9-4130_daily_bin1754.fits.....................!
real 47.49
user 46.08
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.729       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.984       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12437E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.4305       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34230E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22362E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .95585E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    14.792       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13015E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    45.325       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11418E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .28197E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    15.124       1.0000          .0000       .10000E+07
    14 'norm      '    .76572E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .50323E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .31635E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.6163       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.5575       1.0000          .0000       .10000E+07
    19 'Prefactor '    17.626       1.0000          .0000       .10000E+07
    20 'Prefactor '    18.496       1.0000          .0000       .10000E+07
    21 'norm      '    .37940E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .41206E-06   1.0000          .0000       .10000E+07
    23 'norm      '    .71094       1.0000          .0000       .10000E+07
    24 'norm      '    .58098E-06   1.0000          .0000       .10000E+07
    25 'Prefactor '    .21522E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    2.5212       1.0000          .0000       .10000E+07
    27 'Prefactor '    .51559E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .37541E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    .74730E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0160       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .73537       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=   6231.560     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2377 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.325        9.3291       -.23485E-06    .19581E-01
   2  Prefactor     14.986        3.0341        .63642E-07    .18576E-01
   3  Prefactor     .17764E-08    17.221        .80671E-06** at limit **
   4  Prefactor     9.4637        5.3133       -.12733E-06   -.40546E-03
   5  Prefactor     .54785E-04    42.044        .14604E-05** at limit **
   6  Prefactor     .46696E-06    29.432       -.13627E-05** at limit **
   7  Prefactor      .0000        3.2028       -.17534E-06** at limit **
   8  Prefactor     14.817        1.2540       -.33025E-07    .25313E-02
   9  Prefactor     .55511E-10    5.0532        .33713E-07** at limit **
  10  Prefactor     45.396        4.1549        .55586E-09    .77981E-01
  11  Prefactor      .0000        2.4438       -.10565E-06** at limit **
  12  Prefactor     .11386E-05    30.913       -.49066E-06** at limit **
  13  Prefactor     15.017        5.9501        .99851E-07   -.49497E-01
  14  norm          .55511E-10    4.8175        .74181E-07** at limit **
  15  norm           .0000        1.6395       -.68047E-08** at limit **
  16  norm          .68477E-05    16.015        .96173E-06** at limit **
  17  norm          4.6324        4.8260        .14985E-09   -.37563E-03
  18  Prefactor     7.6034        5.3978       -.46911E-07    .17085E-02
  19  Prefactor     17.434        7.5659       -.16526E-06    .24107E-01
  20  Prefactor     19.822        33.300       -.12192E-05    .23204E-01
  21  norm           .0000        2.1504       -.12311E-06** at limit **
  22  Prefactor     .44409E-08    7.7038        .27306E-06** at limit **
  23  norm          .71236        .84061       -.14388E-07    .97434E-03
  24  norm           .0000        .94316        .18533E-06** at limit **
  25  Prefactor      .0000        1.4655        .23219E-07** at limit **
  26  Prefactor     2.5549        11.264       -.71342E-06   -.16476E-01
  27  Prefactor     .12379E-07    6.9740       -.20602E-07** at limit **
  28  Prefactor      .0000        1.5673        .13561E-06** at limit **
  29  Prefactor     .98255E-08    13.585       -.35744E-06** at limit **
  30  Normalizat    1.0146        .17889        .88304E-05    .24113E-05
  31  Prefactor     .73587        .19580       -.63792E-05   -.87031E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.3254
  Prefactor  = 14.9862
  Prefactor  = 1.77636e-09
  Prefactor  = 9.46367
  Prefactor  = 5.47853e-05
  Prefactor  = 4.6696e-07
  Prefactor  = 0
  Prefactor  = 14.817
  Prefactor  = 5.55112e-11
  Prefactor  = 45.3956
  Prefactor  = 0
  Prefactor  = 1.13859e-06
  Prefactor  = 15.0165
  norm       = 5.55112e-11
  norm       = 0
  norm       = 6.84769e-06
  norm       = 4.63243
  Prefactor  = 7.60337
  Prefactor  = 17.4343
  Prefactor  = 19.8219
  norm       = 0
  Prefactor  = 4.44089e-09
  norm       = 0.71236
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.55487
  Prefactor  = 1.2379e-08
  Prefactor  = 0
  Prefactor  = 9.82547e-09
  Normalizat = 1.01456
  Prefactor  = 0.735868
 **********
 **   18 **HESSE 
 **********

 FCN=   6231.560     FROM HESSE     STATUS=OK           692 CALLS     3069 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.325        37.743        .14789E-03   -1.5572    
   2  Prefactor     14.986        10.619        .25848E-03   -1.5631    
   3  Prefactor     .17764E-08    18.633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.4637        5.3190        .32610E-03   -1.5646    
   5  Prefactor     .54785E-04    4.0448        .49421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .46696E-06    32.785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        3.2060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.817        16.204        .26016E-03   -1.5631    
   9  Prefactor     .55511E-10    5.0585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     45.396        17.762        .14855E-03   -1.5573    
  11  Prefactor      .0000        2.4427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11386E-05    38.237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.017        14.020        .25728E-03   -1.5630    
  14  norm          .55511E-10    4.8252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.6423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .68477E-05    4.5144        .54100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.6324        4.8381        .46822E-03   -1.5665    
  18  Prefactor     7.6034        5.4259        .36456E-03   -1.5653    
  19  Prefactor     17.434        20.957        .23829E-03   -1.5624    
  20  Prefactor     19.822        42.997        .23261E-03   -1.5619    
  21  norm           .0000        2.1433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .44409E-08    7.7867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .71236        .86836        .59825E-03   -1.5691    
  24  norm           .0000        .94200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        1.4616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.5549        14.146        .64312E-03   -1.5676    
  27  Prefactor     .12379E-07    7.0139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor      .0000        1.5589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .98255E-08    14.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0146        .15469        .44023E-01   -.92544    
  31  Prefactor     .73587        .16652        .42870E-01   -1.0214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48981e-07
Minuit parameter uncertainties:
  1  37.7428
  2  10.6188
  3  0.00036602
  4  5.31897
  5  0.0297721
  6  0.00782562
  7  2.48538e-06
  8  16.2037
  9  3.76705e-05
  10  17.7624
  11  2.59873e-06
  12  0.0131965
  13  14.0198
  14  3.83342e-05
  15  3.09836e-06
  16  0.0111199
  17  4.83806
  18  5.42587
  19  20.9574
  20  42.9978
  21  4.37065e-06
  22  0.000371894
  23  0.868357
  24  5.16569e-06
  25  2.70057e-06
  26  12.0238
  27  0.000589864
  28  5.26219e-06
  29  0.000753571
  30  0.154756
  31  0.166635
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.743e+01  2.096e+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:  7.359e-01  1.666e-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.015e+00  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 2.28e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 5.19e-06 +/- 6.24e-06

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

Saving results to:
/scratch/kocevski/660003/likelihoodResults_693964801_694224001_4FGL_J2326.9-4130_daily_bin1754.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) = 6230.52300104
delta logL = 1.03746569222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6230.493848
delta logL = 1.0666187349

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.012       1.0000          .0000       .10000E+07
     2 'Index     '    1.6068       1.0000          .0000       10.000    
     3 'Normalizat'    1.0364       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71825       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=   6230.494     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      210 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.012        25.516        .19999E-03    .27028E-02
   2  Index         1.6068        .43434        .25319       -.57978E-04
   3  Normalizat    1.0364        .14716        .41580E-01    .55047E-05
   4  Prefactor     .71823        .16568        .42644E-01    .20613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.012
  Index      = 1.60676
  Normalizat = 1.03635
  Prefactor  = 0.718235
 **********
 **   18 **HESSE 
 **********

 FCN=   6230.494     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.012        33.808        .79998E-05   -1.5608    
   2  Index         1.6068        .70681        .90882E-02   -.74592    
   3  Normalizat    1.0364        .17285        .20231E-03   -.91822    
   4  Prefactor     .71823        .19448        .26777E-03   -1.0282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26937e-09
Minuit parameter uncertainties:
  1  33.8085
  2  0.71125
  3  0.172945
  4  0.194667
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/660003': 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) = 6230.49384797
delta logL = 1.06661876027

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.501e+01  3.381e+01  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  1.607e+00  7.113e-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:  7.182e-01  1.947e-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.036e+00  1.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.20
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 1.61 +/- 0.71
Photon Flux (Free Index): 9.50e-09 +/- 1.49e-08
Energy Flux (Free Index): 2.10e-05 +/- 3.25e-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/660003/cmap_HighResolution_693964801_694224001_4FGL_J2326.9-4130_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.45e-03', comment='SUCCESS', photon_flux='2.28e-08', energy_flux2='2.10e-05', photon_flux_error='2.74e-08', dlogl='1.07e+00', energy_flux='5.19e-06', photon_flux2='9.50e-09', job_status='DONE', time_completed='2023-01-01 02:21:11.983798', photon_index_error2='0.71', photon_index2='1.61', ts='1.07', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='8.16e-08', energy_flux_error2='3.25e-05', EG='1.01', time_epoch_completed='1672568471.98', return_code='0', job_id='660003', GAL2='0.72', EG2='1.04', return_code2='0', energy_flux_error='6.24e-06', photon_flux_error2='1.49e-08', ts2='3.20', photon_index='2.78' WHERE bin_id='1754' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 02:21:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 660003: <4FGL_J2326.9-4130_daily_bin1754> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1754> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jan  1 02:05:16 2023
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 02:05:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 02:05:30 2023
Terminated at Sun Jan  1 02:21:12 2023
Results reported at Sun Jan  1 02:21:12 2023

Your job looked like:

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

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

