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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin1765
RA = 351.575, Dec = 1.2216
tmin = 696816001, tmax = 697075201
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='649817', job_status='RUN', time_executed='2023-02-03 01:54:05.668570', time_epoch_executed='1675418045.67' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649817/ft1_4FGL_J2326.2+0113_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649817/ft1_4FGL_J2326.2+0113_daily_bin1765.fits outfile=/scratch/kocevski/649817/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1765.fits ra=351.575 dec=1.2216 rad=12.0 tmin=696816001.0 tmax=697075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.75
user 3.48
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.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/649817/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/649817/ft1_filtered_4FGL_J2326.2+0113_daily_bin1765.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.53
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 452

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649817/ft1_filtered_4FGL_J2326.2+0113_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/649817/ltcube_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.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/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.fits
.....................!
real 17.64
user 17.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649817/ft1_filtered_4FGL_J2326.2+0113_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/649817/ltcube_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.fits outfile=/scratch/kocevski/649817/expmap_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.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/649817/ltcube_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.fits
.....................!
real 193.26
user 187.67
sys 5.18

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J2326.2+0113 @ 351.575 1.2216

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/649817/ft1_filtered_4FGL_J2326.2+0113_daily_bin1765.fits scfile=/scratch/kocevski/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.fits outfile=/scratch/kocevski/649817/cmap_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.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.575 yref=1.2216 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.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649817/ft1_filtered_4FGL_J2326.2+0113_daily_bin1765.fits scfile=/scratch/kocevski/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.fits outfile=/scratch/kocevski/649817/cmap_HighResolution_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.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.575 yref=1.2216 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.59
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/649817/ft1_filtered_4FGL_J2326.2+0113_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/649817/Model_4FGL_J2326.2+0113_daily_bin1765.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/649817/ft1_filtered_4FGL_J2326.2+0113_daily_bin1765.fits.....................!
real 53.63
user 52.12
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/649817/ft1_filtered_4FGL_J2326.2+0113_daily_bin1765.fits', '/scratch/kocevski/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.fits', expMap='/scratch/kocevski/649817/expmap_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.fits', expCube='/scratch/kocevski/649817/ltcube_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/649817/Model_4FGL_J2326.2+0113_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.2+0113'

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.628e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/649817/ft1_filtered_4FGL_J2326.2+0113_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/649817/ft2_4FGL_J2326.2+0113_daily_bin1765.fits
Exposure map: /scratch/kocevski/649817/expmap_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.fits
Exposure cube: /scratch/kocevski/649817/ltcube_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/649817/Model_4FGL_J2326.2+0113_daily_bin1765.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) = 5125.79276683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20855E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .51295E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .98958E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.6579       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32394E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .24923E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .27234       1.0000          .0000       .10000E+07
     8 'norm      '    .19087E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9282       1.0000          .0000       .10000E+07
    10 'Prefactor '    42.750       1.0000          .0000       .10000E+07
    11 'norm      '    .38991E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.3668       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.0541       1.0000          .0000       .10000E+07
    14 'norm      '    11.361       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13185E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .36106E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    17.687       1.0000          .0000       .10000E+07
    18 'Normalizat'    .72661       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0071       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5125.775     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1427 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    6.3951        .29250E-06** at limit **
   2  norm           .0000        5.7490       -.32065E-06** at limit **
   3  Prefactor     .11102E-09    15.828       -.84320E-06** at limit **
   4  Prefactor     5.6132        4.2439        .12072E-07   -.55157E-01
   5  Prefactor     .77161E-08    44.353       -.37395E-05** at limit **
   6  Prefactor     .11102E-09    3.8048        .19991E-06** at limit **
   7  norm          .27256        .44657        .20446E-07    .22777E-03
   8  norm           .0000        1.9716       -.16552E-08** at limit **
   9  Prefactor     3.9492        8.7848        .85540E-06   -.18973E-02
  10  Prefactor     42.595        1.5679       -.61945E-07   -.20096E-01
  11  norm          .55511E-10    2.8302        .20537E-06** at limit **
  12  Prefactor     2.3728        5.5988        .59569E-06   -.20015E-02
  13  Prefactor     3.0479        1.4241        .43715E-07    .28817E-03
  14  norm          11.336        16.496       -.52496E-06   -.62033E-02
  15  Prefactor     .28666E-06    37.915       -.13180E-05** at limit **
  16  Prefactor     .11890E-06    103.19       -.55968E-05** at limit **
  17  Prefactor     17.675        3.3372       -.11183E-06   -.20715E-01
  18  Normalizat    .72678        .21108       -.22634E-05    .15910E-03
  19  Prefactor     1.0070        .14979       -.20827E-05    .22978E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 5.6132
  Prefactor  = 7.71605e-09
  Prefactor  = 1.11022e-10
  norm       = 0.272557
  norm       = 0
  Prefactor  = 3.94916
  Prefactor  = 42.5945
  norm       = 5.55112e-11
  Prefactor  = 2.37284
  Prefactor  = 3.04791
  norm       = 11.3362
  Prefactor  = 2.8666e-07
  Prefactor  = 1.18905e-07
  Prefactor  = 17.6751
  Normalizat = 0.726782
  Prefactor  = 1.007
 **********
 **   18 **HESSE 
 **********

 FCN=   5125.775     FROM HESSE     STATUS=OK           312 CALLS     1739 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    6.4060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        5.7479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    15.885        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.6132        20.237        .42208E-03   -1.5661    
   5  Prefactor     .77161E-08    44.458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    3.8145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27256        .56765        .15349E-02   -1.5698    
   8  norm           .0000        1.9703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.9492        8.9454        .50876E-03   -1.5668    
  10  Prefactor     42.595        45.844        .15296E-03   -1.5577    
  11  norm          .55511E-10    2.8368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.3728        5.6601        .66578E-03   -1.5677    
  13  Prefactor     3.0479        21.819        .58027E-03   -1.5673    
  14  norm          11.336        17.470        .29698E-03   -1.5641    
  15  Prefactor     .28666E-06    2.6090        .60953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11890E-06    102.85        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.675        16.367        .23788E-03   -1.5624    
  18  Normalizat    .72678        .18944        .66575E-01   -1.0285    
  19  Prefactor     1.0070        .13055        .43795E-01   -.92497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52034e-07
Minuit parameter uncertainties:
  1  7.38154e-05
  2  8.68074e-06
  3  8.92747e-05
  4  20.2374
  5  0.0011704
  6  3.74643e-05
  7  0.567654
  8  2.96928e-06
  9  8.94544
  10  45.8439
  11  2.00935e-05
  12  5.66015
  13  16.3097
  14  17.4697
  15  0.00172957
  16  0.0069935
  17  16.3671
  18  0.189615
  19  0.130587
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.259e+01  4.584e+01  0.000e+00  1.000e+06 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.007e+00  1.306e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  7.268e-01  1.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.59e-08 +/- 2.78e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 1.47e-05

TS (Fixed Index): 1.69
Ra Dec: 351.575 1.222
Photon Flux Upper Limit: 9.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/649817/likelihoodResults_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.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) = 5125.71803361
delta logL = 0.0571102801496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5125.71458433
delta logL = 0.0605595531306

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.694       1.0000          .0000       .10000E+07
     2 'Index     '    2.4088       1.0000          .0000       10.000    
     3 'Normalizat'    .71687       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0102       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   5125.715     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      289 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.656        58.264        .73416E-05    .10833E-02
   2  Index         2.4090        1.0025        .67138E-02    .10233E-03
   3  Normalizat    .71717        .21241        .29636E-03    .19081E-03
   4  Prefactor     1.0104        .14994        .17977E-03   -.20262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.6564
  Index      = 2.40895
  Normalizat = 0.717169
  Prefactor  = 1.01038
 **********
 **   18 **HESSE 
 **********

 FCN=   5125.715     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.656        49.689        .14683E-05   -1.5599    
   2  Index         2.4090        .85629        .26855E-03   -.54476    
   3  Normalizat    .71717        .21179        .11854E-04   -1.0322    
   4  Prefactor     1.0104        .14978        .35953E-04   -.92384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66889e-10
Minuit parameter uncertainties:
  1  49.6898
  2  0.862122
  3  0.212028
  4  0.149839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649817': 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) = 5125.71457487
delta logL = 0.0605690127713

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  2.966e+01  4.969e+01  0.000e+00  1.000e+06 ( 1.000e-14)
407        Index:  2.409e+00  8.621e-01  0.000e+00  1.000e+01 (-1.000e+00)
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.010e+00  1.498e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  7.172e-01  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.81
Ra Dec: 351.575 1.222
Photon Index (Free Index): 2.41 +/- 0.86
Photon Flux (Free Index): 3.49e-08 +/- 4.29e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.23e-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/649817/cmap_HighResolution_696816001_697075201_4FGL_J2326.2+0113_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.45e-03', comment='SUCCESS', photon_flux='2.59e-08', energy_flux2='1.13e-05', photon_flux_error='2.78e-08', dlogl='6.06e-02', energy_flux='1.36e-05', photon_flux2='3.49e-08', job_status='DONE', time_completed='2023-02-03 02:02:24.228709', photon_index_error2='0.86', photon_index2='2.41', ts='1.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='9.84e-08', energy_flux_error2='1.23e-05', EG='0.73', time_epoch_completed='1675418544.23', return_code='0', job_id='649817', GAL2='1.01', EG2='0.72', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='4.29e-08', ts2='1.81', photon_index='2.12' WHERE bin_id='1765' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:02:24 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 649817: <4FGL_J2326.2+0113_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:50:28 2023
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:51:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:51:23 2023
Terminated at Fri Feb  3 02:02:24 2023
Results reported at Fri Feb  3 02:02:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin1765 351.575 1.2216 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.2+0113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   500.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             269.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            716 sec.

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

