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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1762
RA = 351.737, Dec = -41.5089
tmin = 696038401, tmax = 696297601
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='123370', job_status='RUN', time_executed='2023-01-25 01:48:28.838410', time_epoch_executed='1674640108.84' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123370

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123370/ft1_4FGL_J2326.9-4130_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123370/ft2_4FGL_J2326.9-4130_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123370/ft1_4FGL_J2326.9-4130_daily_bin1762.fits outfile=/scratch/kocevski/123370/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1762.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=696038401.0 tmax=696297601.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.71
user 3.46
sys 0.21

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

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

Number of photons that the gtmktime cut: 379

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123370/ft1_filtered_4FGL_J2326.9-4130_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/123370/ft2_4FGL_J2326.9-4130_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/123370/ltcube_696038401_696297601_4FGL_J2326.9-4130_daily_bin1762.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/123370/ft2_4FGL_J2326.9-4130_daily_bin1762.fits
.....................!
real 13.99
user 13.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123370/ft1_filtered_4FGL_J2326.9-4130_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/123370/ft2_4FGL_J2326.9-4130_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/123370/ltcube_696038401_696297601_4FGL_J2326.9-4130_daily_bin1762.fits outfile=/scratch/kocevski/123370/expmap_696038401_696297601_4FGL_J2326.9-4130_daily_bin1762.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/123370/ltcube_696038401_696297601_4FGL_J2326.9-4130_daily_bin1762.fits
.....................!
real 193.72
user 187.78
sys 5.50

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/123370/ft1_filtered_4FGL_J2326.9-4130_daily_bin1762.fits scfile=/scratch/kocevski/123370/ft2_4FGL_J2326.9-4130_daily_bin1762.fits outfile=/scratch/kocevski/123370/cmap_696038401_696297601_4FGL_J2326.9-4130_daily_bin1762.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123370/ft1_filtered_4FGL_J2326.9-4130_daily_bin1762.fits scfile=/scratch/kocevski/123370/ft2_4FGL_J2326.9-4130_daily_bin1762.fits outfile=/scratch/kocevski/123370/cmap_HighResolution_696038401_696297601_4FGL_J2326.9-4130_daily_bin1762.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123370/ft1_filtered_4FGL_J2326.9-4130_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/123370/ft2_4FGL_J2326.9-4130_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123370/Model_4FGL_J2326.9-4130_daily_bin1762.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/123370/ft1_filtered_4FGL_J2326.9-4130_daily_bin1762.fits......................!
real 36.84
user 35.52
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26624E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .16253E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    85.480       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.4267       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10926E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19212E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.9597       1.0000          .0000       .10000E+07
     8 'Prefactor '    40.335       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.743       1.0000          .0000       .10000E+07
    10 'Prefactor '    25.574       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18149E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .16889E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.663       1.0000          .0000       .10000E+07
    14 'norm      '    .13767E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .14974E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .19605E-05   1.0000          .0000       .10000E+07
    17 'norm      '    5.3567       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.4021       1.0000          .0000       .10000E+07
    19 'Prefactor '    27.156       1.0000          .0000       .10000E+07
    20 'Prefactor '    .28900E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .12061E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .13223E-06   1.0000          .0000       .10000E+07
    23 'norm      '    .88478       1.0000          .0000       .10000E+07
    24 'norm      '    .67103E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .71110E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .53593       1.0000          .0000       .10000E+07
    27 'Prefactor '    .35570E-01   1.0000          .0000       .10000E+07
    28 'Prefactor '    18.542       1.0000          .0000       .10000E+07
    29 'Prefactor '    43.293       1.0000          .0000       .10000E+07
    30 'Normalizat'    .97459       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0419       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=   4299.936     FROM MIGRAD    STATUS=CONVERGED    233 CALLS     2974 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12888E-05    77.158       -.19868E-05** at limit **
   2  Prefactor     .49960E-09    37.138       -.30845E-06** at limit **
   3  Prefactor     89.323        70.320       -.48764E-06    .62373E-02
   4  Prefactor     3.4932        5.7762       -.22687E-07   -.86553E-04
   5  Prefactor      .0000        1.2005       -.61244E-07** at limit **
   6  Prefactor     .55511E-10    32.079        .21217E-06** at limit **
   7  Prefactor     5.0311        5.4935       -.59759E-07   -.23366E-05
   8  Prefactor     40.841        6.8788        .45829E-08   -.80567E-02
   9  Prefactor     13.739        2.6227       -.46565E-07   -.38829E-01
  10  Prefactor     25.639        2.8528       -.15216E-07   -.66958E-02
  11  Prefactor      .0000        4.7595        .16350E-07** at limit **
  12  Prefactor     .22204E-09    19.668       -.53438E-07** at limit **
  13  Prefactor     12.654        13.817       -.39329E-07   -.66688E-03
  14  norm           .0000        4.2956        .58199E-07** at limit **
  15  norm           .0000        5.6480        .13447E-07** at limit **
  16  norm           .0000        1.9913        .24117E-07** at limit **
  17  norm          5.3512        6.6376       -.48013E-08   -.12299E-03
  18  Prefactor     3.4364        6.0790        .12749E-06   -.20066E-03
  19  Prefactor     29.288        36.688        .73672E-07   -.14139E-02
  20  Prefactor     .22204E-09    22.513        .34770E-07** at limit **
  21  norm           .0000        2.2790        .55403E-07** at limit **
  22  Prefactor      .0000        5.7642       -.43585E-08** at limit **
  23  norm          .88926        1.2421        .52953E-09   -.48238E-04
  24  norm           .0000        2.8523        .80076E-07** at limit **
  25  Prefactor      .0000        2.4852       -.12405E-06** at limit **
  26  Prefactor     .25292E-04    33.825       -.14404E-05** at limit **
  27  Prefactor      .0000        21.829        .31761E-06** at limit **
  28  Prefactor     18.521        8.5521        .89035E-07   -.14347E-02
  29  Prefactor     46.527        88.052        .87783E-07   -.21584E-02
  30  Normalizat    .96897        .28001        .33198E-05   -.74575E-05
  31  Prefactor     1.0440        .28965       -.27880E-05   -.27571E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.2888e-06
  Prefactor  = 4.996e-10
  Prefactor  = 89.3229
  Prefactor  = 3.49318
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 5.03114
  Prefactor  = 40.8415
  Prefactor  = 13.7386
  Prefactor  = 25.6394
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 12.6544
  norm       = 0
  norm       = 0
  norm       = 0
  norm       = 5.35121
  Prefactor  = 3.43638
  Prefactor  = 29.2884
  Prefactor  = 2.22045e-10
  norm       = 0
  Prefactor  = 0
  norm       = 0.889264
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.52916e-05
  Prefactor  = 0
  Prefactor  = 18.5211
  Prefactor  = 46.5273
  Normalizat = 0.968967
  Prefactor  = 1.04397
 **********
 **   18 **HESSE 
 **********

 FCN=   4299.936     FROM HESSE     STATUS=OK           690 CALLS     3664 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12888E-05    86.757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .49960E-09    37.101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     89.323        70.521        .10817E-03   -1.5519    
   4  Prefactor     3.4932        5.7901        .54618E-03   -1.5671    
   5  Prefactor      .0000        1.2010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    32.063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0311        5.4962        .45135E-03   -1.5663    
   8  Prefactor     40.841        35.091        .15747E-03   -1.5580    
   9  Prefactor     13.739        23.481        .26993E-03   -1.5634    
  10  Prefactor     25.639        25.999        .19778E-03   -1.5607    
  11  Prefactor      .0000        4.7516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22204E-09    19.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.654        13.849        .28124E-03   -1.5637    
  14  norm           .0000        4.2948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        5.6450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        1.9892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.3512        6.6428        .43398E-03   -1.5662    
  18  Prefactor     3.4364        6.1213        .54825E-03   -1.5671    
  19  Prefactor     29.288        37.334        .19193E-03   -1.5600    
  20  Prefactor     .22204E-09    22.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        2.2803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        5.7593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .88926        1.2572        .46818E-03   -1.5689    
  24  norm           .0000        2.8452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        2.4736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .25292E-04    238.17        .75174E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        6.4856        .84727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     18.521        8.5576        .23232E-03   -1.5622    
  29  Prefactor     46.527        96.545        .15200E-03   -1.5572    
  30  Normalizat    .96897        .23180        .45848E-01   -.94077    
  31  Prefactor     1.0440        .23817        .60738E-01   -.91278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81993e-07
Minuit parameter uncertainties:
  1  0.0211485
  2  0.000273765
  3  70.5218
  4  5.79011
  5  8.63075e-07
  6  9.4776e-05
  7  5.49623
  8  35.091
  9  23.4813
  10  25.9995
  11  1.26215e-06
  12  0.000127698
  13  13.8486
  14  1.48156e-07
  15  1.42634e-06
  16  1.2797e-08
  17  6.64278
  18  6.12129
  19  37.3343
  20  0.00013352
  21  4.28069e-07
  22  2.32981e-06
  23  1.25721
  24  8.43889e-07
  25  2.26194e-06
  26  0.155231
  27  1.59454e-06
  28  8.55765
  29  96.5484
  30  0.232044
  31  0.238409
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.929e+01  3.733e+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.044e+00  2.384e-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:  9.690e-01  2.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/123370/likelihoodResults_696038401_696297601_4FGL_J2326.9-4130_daily_bin1762.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) = 4299.43643494
delta logL = 0.49923436396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4299.39949396
delta logL = 0.536175340176

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4834       1.0000          .0000       .10000E+07
     2 'Index     '    4.0599       1.0000          .0000       10.000    
     3 'Normalizat'    .91596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0835       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=   4299.399     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      317 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4725        53.721        .13757E-04    .11734E-03
   2  Index         4.0610        2.8777        .54385E-02    .16717E-04
   3  Normalizat    .91614        .27220        .26123E-03   -.33815E-04
   4  Prefactor     1.0833        .29224        .26424E-03    .27191E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.47252
  Index      = 4.06097
  Normalizat = 0.916141
  Prefactor  = 1.08334
 **********
 **   18 **HESSE 
 **********

 FCN=   4299.399     FROM HESSE     STATUS=OK            25 CALLS      342 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4725        20.319        .55030E-06   -1.5650    
   2  Index         4.0610        1.4410        .21754E-03   -.18893    
   3  Normalizat    .91614        .27234        .10449E-04   -.95895    
   4  Prefactor     1.0833        .29169        .10570E-04   -.90001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26802e-11
Minuit parameter uncertainties:
  1  20.3193
  2  1.46254
  3  0.272751
  4  0.292119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123370': 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) = 4299.39949329
delta logL = 0.536176011872

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  8.473e+00  2.032e+01  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  4.061e+00  1.463e+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.083e+00  2.921e-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:  9.161e-01  2.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.99
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 4.06 +/- 1.46
Photon Flux (Free Index): 8.02e-08 +/- 7.10e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.04e-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/123370/cmap_HighResolution_696038401_696297601_4FGL_J2326.9-4130_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='5.36e-01', photon_flux2='8.02e-08', job_status='DONE', time_completed='2023-01-25 01:58:46.260824', photon_index_error2='1.46', photon_index2='4.06', ts='0.84', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.52e-07', energy_flux_error2='1.04e-05', EG='0.97', time_epoch_completed='1674640726.26', return_code='0', job_id='123370', GAL2='1.08', EG2='0.92', return_code2='0', photon_flux_error2='7.10e-08', ts2='1.99', photon_index='2.78' WHERE bin_id='1762' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:58:46 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 123370: <4FGL_J2326.9-4130_daily_bin1762> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1762> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan 25 01:45:20 2023
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:46:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:46:25 2023
Terminated at Wed Jan 25 01:58:47 2023
Results reported at Wed Jan 25 01:58:47 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1762 351.737 -41.5089 696038401 696297601 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 :                                   619.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            807 sec.

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

