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 47 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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.2+0113_daily_bin1683
RA = 351.575, Dec = 1.2216
tmin = 675561601, tmax = 675820801
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='53014', job_status='RUN', time_executed='2022-06-02 01:39:04.567380', time_epoch_executed='1654159144.57' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53014

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53014/ft1_4FGL_J2326.2+0113_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53014/ft2_4FGL_J2326.2+0113_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53014/ft1_4FGL_J2326.2+0113_daily_bin1683.fits outfile=/scratch/kocevski/53014/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1683.fits ra=351.575 dec=1.2216 rad=12.0 tmin=675561601.0 tmax=675820801.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.45
user 3.23
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53014/ft2_4FGL_J2326.2+0113_daily_bin1683.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/53014/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1683.fits evtable="EVENTS" outfile="/scratch/kocevski/53014/ft1_filtered_4FGL_J2326.2+0113_daily_bin1683.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 675

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53014/ft1_filtered_4FGL_J2326.2+0113_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/53014/ft2_4FGL_J2326.2+0113_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/53014/ltcube_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.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/53014/ft2_4FGL_J2326.2+0113_daily_bin1683.fits
.....................!
real 13.10
user 12.73
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53014/ft1_filtered_4FGL_J2326.2+0113_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/53014/ft2_4FGL_J2326.2+0113_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/53014/ltcube_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.fits outfile=/scratch/kocevski/53014/expmap_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.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/53014/ltcube_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.fits
.....................!
real 193.11
user 186.33
sys 6.30

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/53014/ft1_filtered_4FGL_J2326.2+0113_daily_bin1683.fits scfile=/scratch/kocevski/53014/ft2_4FGL_J2326.2+0113_daily_bin1683.fits outfile=/scratch/kocevski/53014/cmap_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53014/ft1_filtered_4FGL_J2326.2+0113_daily_bin1683.fits scfile=/scratch/kocevski/53014/ft2_4FGL_J2326.2+0113_daily_bin1683.fits outfile=/scratch/kocevski/53014/cmap_HighResolution_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/53014/ft1_filtered_4FGL_J2326.2+0113_daily_bin1683.fits', '/scratch/kocevski/53014/ft2_4FGL_J2326.2+0113_daily_bin1683.fits', expMap='/scratch/kocevski/53014/expmap_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.fits', expCube='/scratch/kocevski/53014/ltcube_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/53014/Model_4FGL_J2326.2+0113_daily_bin1683.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  1.000e-04  1.000e+04 ( 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/53014/ft1_filtered_4FGL_J2326.2+0113_daily_bin1683.fits
Spacecraft file(s): /scratch/kocevski/53014/ft2_4FGL_J2326.2+0113_daily_bin1683.fits
Exposure map: /scratch/kocevski/53014/expmap_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.fits
Exposure cube: /scratch/kocevski/53014/ltcube_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/53014/Model_4FGL_J2326.2+0113_daily_bin1683.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) = 7497.98770789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.203       1.0000         .10000E-03   10000.    
     2 'norm      '    55.466       1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.589       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15907E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .64702E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.0026       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .36324       1.0000         .10000E-03   10000.    
     9 'norm      '    3.7400       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.0138       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    183.33       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.877       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.4997       1.0000         .10000E-03   10000.    
    20 'Prefactor '    31.768       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.584       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .53602       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89242       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=   7497.968     FROM MIGRAD    STATUS=CONVERGED    953 CALLS     3154 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.202        18.502        .25238E-03    .48830E-05
   2  norm          55.466        13.550        .53861E-04    .42215E-06
   3  Prefactor     32.586        31.676        .70191E-04    .16521E-04
   4  Prefactor     .10000E-03    27.048        .36285E-02** at limit **
   5  Prefactor     .10000E-03    10.769        .78147E-01** at limit **
   6  Prefactor     8.0017        25.896        .14173E-03    .23422E-04
   7  Prefactor     .10000E-03    7.2002        .36285E-03** at limit **
   8  norm          .36333        .54777        .83903E-03    .27178E-03
   9  norm          3.7401        3.9115        .16614E-03   -.15766E-03
  10  Prefactor     .10000E-03    3.0143        .14661E-02** at limit **
  11  Prefactor     .10000E-03    10.919        .18142E-02** at limit **
  12  norm          7.0137        6.5935        .15148E-03   -.48859E-04
  13  Prefactor     .10000E-03    2.8517        .14190E-02** at limit **
  14  Prefactor     183.38        148.79        .14908E-03   -.31235E-04
  15  Prefactor     15.877        10.880        .10052E-03   -.57004E-04
  16  Prefactor     .10000E-03    5.6110        .18142E-02** at limit **
  17  norm          .10000E-03    18.960        .18142E-02** at limit **
  18  Prefactor     .10000E-03    11.441        .18142E-02** at limit **
  19  Prefactor     5.4995        4.2454        .13212E-03   -.20437E-03
  20  Prefactor     31.769        27.834        .71091E-04   -.55971E-05
  21  Prefactor     .10000E-03    39.925        .36285E-03** at limit **
  22  Prefactor     19.586        14.490        .90506E-04    .80392E-05
  23  Normalizat    .53598        .19176        .32458E-03    .29422E-04
  24  Prefactor     .89244        .12671        .18126E-03   -.22539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.2017
  norm       = 55.4657
  Prefactor  = 32.5857
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.00173
  Prefactor  = 0.0001
  norm       = 0.363334
  norm       = 3.74013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.01369
  Prefactor  = 0.0001
  Prefactor  = 183.375
  Prefactor  = 15.8773
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.49953
  Prefactor  = 31.7695
  Prefactor  = 0.0001
  Prefactor  = 19.586
  Normalizat = 0.535977
  Prefactor  = 0.892437
 **********
 **   18 **HESSE 
 **********

 FCN=   7497.968     FROM HESSE     STATUS=OK           385 CALLS     3539 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.202        18.501        .50476E-04   -1.4116    
   2  norm          55.466        13.550        .21544E-05   -1.4217    
   3  Prefactor     32.586        31.681        .28077E-05   -1.4566    
   4  Prefactor     .10000E-03    27.249        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.9654        .82989E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.0017        25.897        .56693E-05   -1.5142    
   7  Prefactor     .10000E-03    7.2004        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .36333        .54685        .33561E-04   -1.5587    
   9  norm          3.7401        3.9107        .66456E-05   -1.5321    
  10  Prefactor     .10000E-03    3.0144        .29321E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.919        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.0137        6.5927        .60591E-05   -1.5178    
  13  Prefactor     .10000E-03    2.8523        .28380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     183.38        148.76        .29817E-04   -1.2991    
  15  Prefactor     15.877        10.876        .40206E-05   -1.4911    
  16  Prefactor     .10000E-03    5.6113        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    18.966        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.441        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.4995        4.2449        .52847E-05   -1.5239    
  20  Prefactor     31.769        27.829        .28436E-05   -1.4580    
  21  Prefactor     .10000E-03    39.928        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     19.586        14.490        .36202E-05   -1.4823    
  23  Normalizat    .53598        .19182        .12983E-04   -1.1078    
  24  Prefactor     .89244        .12677        .36252E-04   -.96406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4284e-10
Minuit parameter uncertainties:
  1  18.5031
  2  13.5508
  3  31.6974
  4  0.000100779
  5  5.90207e-05
  6  25.9329
  7  6.08768e-05
  8  0.546854
  9  3.91093
  10  3.37937e-06
  11  3.42076e-05
  12  6.59341
  13  7.23287e-06
  14  149.063
  15  10.8776
  16  3.07234e-06
  17  0.000191482
  18  2.46922e-05
  19  4.24509
  20  27.8405
  21  0.00014737
  22  14.4926
  23  0.192052
  24  0.126809
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  3.421e-05  1.000e-04  1.000e+04 ( 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:  8.924e-01  1.268e-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:  5.360e-01  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/53014/likelihoodResults_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.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): 102
logL (Free Index) = 7497.96855589
delta logL = -0.000435823411863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7497.96812022
delta logL = -1.60054696607e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0916       1.0000          .0000       10.000    
     3 'Normalizat'    .53607       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89236       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=   7497.968     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10131E-03    74.437        .18142E-02** at limit **
   2  Index         2.0397        5.2404        .50000        .17309E-04
   3  Normalizat    .53597        .96247E-02    .32458E-03    .98423E-05
   4  Prefactor     .89244        .68820E-02    .18126E-03    .14614E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101308
  Index      = 2.0397
  Normalizat = 0.535975
  Prefactor  = 0.892439
 **********
 **   18 **HESSE 
 **********

 FCN=   7497.968     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10131E-03    323.83        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0397        8.7480        .50000       -.63361    
   3  Normalizat    .53597        .20633E-01    .12983E-04   -1.1078    
   4  Prefactor     .89244        .14753E-01    .72505E-05   -.96406    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.27034e-08
Minuit parameter uncertainties:
  1  0.0413873
  2  423.272
  3  0.0206328
  4  0.0147532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53014': 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): 102
logL (Free Index) = 7497.96811975
delta logL = 3.16686055157e-07

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.013e-04  4.139e-02  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.040e+00  4.233e+02  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:  8.924e-01  1.475e-02  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:  5.360e-01  2.063e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.575 1.222

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/53014/cmap_HighResolution_675561601_675820801_4FGL_J2326.2+0113_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-03', job_status='DONE', photon_flux_upper_limit='3.44e-08', time_completed='2022-06-02 01:51:37.523142', job_id='53014', GAL2='0.89', fit_tolerance='1e-08', EG2='0.54', EG='0.54', time_epoch_completed='1654159897.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1683' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:51:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 53014: <4FGL_J2326.2+0113_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin1683> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun  2 01:35:34 2022
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:38:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:38:10 2022
Terminated at Thu Jun  2 01:51:37 2022
Results reported at Thu Jun  2 01:51:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin1683 351.575 1.2216 675561601 675820801 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 :                                   755.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            963 sec.

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

