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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin1676
RA = 351.575, Dec = 1.2216
tmin = 673747201, tmax = 674006401
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='68808', job_status='RUN', time_executed='2022-05-12 01:32:59.057950', time_epoch_executed='1652344379.06' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68808

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68808/ft1_4FGL_J2326.2+0113_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68808/ft2_4FGL_J2326.2+0113_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68808/ft1_4FGL_J2326.2+0113_daily_bin1676.fits outfile=/scratch/kocevski/68808/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1676.fits ra=351.575 dec=1.2216 rad=12.0 tmin=673747201.0 tmax=674006401.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 4.01
user 3.61
sys 0.23

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

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

Number of photons that the gtmktime cut: 563

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68808/ft1_filtered_4FGL_J2326.2+0113_daily_bin1676.fits" evtable="EVENTS" scfile=/scratch/kocevski/68808/ft2_4FGL_J2326.2+0113_daily_bin1676.fits sctable="SC_DATA" outfile=/scratch/kocevski/68808/ltcube_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.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/68808/ft2_4FGL_J2326.2+0113_daily_bin1676.fits
.....................!
real 13.67
user 13.12
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68808/ft1_filtered_4FGL_J2326.2+0113_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68808/ft2_4FGL_J2326.2+0113_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/68808/ltcube_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.fits outfile=/scratch/kocevski/68808/expmap_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.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/68808/ltcube_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.fits
.....................!
real 191.21
user 185.73
sys 5.07

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/68808/ft1_filtered_4FGL_J2326.2+0113_daily_bin1676.fits scfile=/scratch/kocevski/68808/ft2_4FGL_J2326.2+0113_daily_bin1676.fits outfile=/scratch/kocevski/68808/cmap_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68808/ft1_filtered_4FGL_J2326.2+0113_daily_bin1676.fits scfile=/scratch/kocevski/68808/ft2_4FGL_J2326.2+0113_daily_bin1676.fits outfile=/scratch/kocevski/68808/cmap_HighResolution_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.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.57
user 0.39
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/68808/ft1_filtered_4FGL_J2326.2+0113_daily_bin1676.fits', '/scratch/kocevski/68808/ft2_4FGL_J2326.2+0113_daily_bin1676.fits', expMap='/scratch/kocevski/68808/expmap_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.fits', expCube='/scratch/kocevski/68808/ltcube_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/68808/Model_4FGL_J2326.2+0113_daily_bin1676.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/68808/ft1_filtered_4FGL_J2326.2+0113_daily_bin1676.fits
Spacecraft file(s): /scratch/kocevski/68808/ft2_4FGL_J2326.2+0113_daily_bin1676.fits
Exposure map: /scratch/kocevski/68808/expmap_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.fits
Exposure cube: /scratch/kocevski/68808/ltcube_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/68808/Model_4FGL_J2326.2+0113_daily_bin1676.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) = 6143.27326459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.133       1.0000         .10000E-03   10000.    
     2 'norm      '    6.9866       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.624       1.0000         .10000E-03   10000.    
     6 'Prefactor '    84.938       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .48708       1.0000         .10000E-03   10000.    
     9 'norm      '    2.7431       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.251       1.0000         .10000E-03   10000.    
    12 'norm      '    73.663       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.887       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.940       1.0000         .10000E-03   10000.    
    17 'norm      '    .11011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    41.804       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10455E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    26.297       1.0000         .10000E-03   10000.    
    21 'Prefactor '    64.342       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .72926       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98416       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.

 FCN=   6143.195     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     3244 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.135        21.609        .12932E-06    .11379E-04
   2  norm          6.9871        15.034        .44864E-05   -.31727E-04
   3  Prefactor     .10000E-03    11.735        .37534E-06** at limit **
   4  Prefactor     .10000E-03    4.5671        .12954E-06** at limit **
   5  Prefactor     17.624        15.507        .23426E-06   -.12959E-04
   6  Prefactor     84.946        63.681        .62350E-06    .24672E-04
   7  Prefactor     .10000E-03    4.6279        .32661E-08** at limit **
   8  norm          .48655        .78866       -.45608E-07   -.28501E-03
   9  norm          2.7442        3.6270        .49873E-07   -.22841E-05
  10  Prefactor     .10000E-03    16.265       -.87504E-06** at limit **
  11  Prefactor     43.252        36.621        .68567E-08   -.22428E-05
  12  norm          73.660        15.114       -.25653E-07    .78175E-04
  13  Prefactor     .10000E-03    7.7221        .56827E-07** at limit **
  14  Prefactor     .10000E-03    70.193       -.19397E-06** at limit **
  15  Prefactor     25.896        13.189        .27791E-07   -.69980E-04
  16  Prefactor     17.927        26.873       -.66652E-06   -.48647E-04
  17  norm          .10000E-03    18.417        .22929E-06** at limit **
  18  Prefactor     41.767        58.109       -.34059E-05   -.11370E-03
  19  Prefactor     .10000E-03    3.1509       -.36666E-06** at limit **
  20  Prefactor     26.297        28.577        .11580E-06    .33590E-05
  21  Prefactor     64.344        30.039        .24082E-06    .19816E-04
  22  Prefactor     .10000E-03    6.9495        .14318E-06** at limit **
  23  Normalizat    .72895        .21996        .54409E-06   -.25195E-04
  24  Prefactor     .98435        .14053       -.97461E-06    .60069E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.1355
  norm       = 6.98706
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6238
  Prefactor  = 84.9461
  Prefactor  = 0.0001
  norm       = 0.486552
  norm       = 2.7442
  Prefactor  = 0.0001
  Prefactor  = 43.2519
  norm       = 73.6602
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.8964
  Prefactor  = 17.9271
  norm       = 0.0001
  Prefactor  = 41.767
  Prefactor  = 0.0001
  Prefactor  = 26.2975
  Prefactor  = 64.3437
  Prefactor  = 0.0001
  Normalizat = 0.728949
  Prefactor  = 0.984353
 **********
 **   18 **HESSE 
 **********

 FCN=   6143.195     FROM HESSE     STATUS=OK           395 CALLS     3639 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.135        21.669        .72989E-04   -1.4609    
   2  norm          6.9871        15.264        .75888E-03   -1.5179    
   3  Prefactor     .10000E-03    11.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.5829        .16360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.624        15.510        .47702E-03   -1.4868    
   6  Prefactor     84.946        64.071        .43588E-04   -1.3862    
   7  Prefactor     .10000E-03    4.6307        .16446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .48655        .67048        .83541E-03   -1.5568    
   9  norm          2.7442        3.6108        .16523E-03   -1.5377    
  10  Prefactor     .10000E-03    16.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     43.252        36.618        .60958E-04   -1.4392    
  12  norm          73.660        15.069        .46779E-04   -1.3989    
  13  Prefactor     .10000E-03    7.8564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    70.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.896        13.119        .78734E-04   -1.4690    
  16  Prefactor     17.927        26.978        .94559E-04   -1.4861    
  17  norm          .10000E-03    18.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     41.767        60.107        .62000E-04   -1.4415    
  19  Prefactor     .10000E-03    3.2174        .27041E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     26.297        28.583        .78120E-04   -1.4682    
  21  Prefactor     64.344        30.061        .50030E-04   -1.4102    
  22  Prefactor     .10000E-03    6.9654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .72895        .25194        .33987E-03   -1.0276    
  24  Prefactor     .98435        .16094        .20425E-03   -.93253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36985e-09
Minuit parameter uncertainties:
  1  21.6743
  2  15.2722
  3  3.09092e-05
  4  6.03827e-06
  5  15.5131
  6  64.123
  7  3.85412e-06
  8  0.670486
  9  3.61109
  10  7.18062e-05
  11  36.6366
  12  15.0699
  13  3.03267e-07
  14  1.90184e-05
  15  13.1203
  16  26.996
  17  9.57226e-05
  18  60.1946
  19  5.39999e-06
  20  28.5981
  21  30.0679
  22  9.45634e-06
  23  0.252339
  24  0.161015
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.325e+01  3.664e+01  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:  9.844e-01  1.610e-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.289e-01  2.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.62
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.63e-08 +/- 2.23e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 1.17e-05

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

Saving results to:
/scratch/kocevski/68808/likelihoodResults_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.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) = 6143.11532581
delta logL = 0.0800393297086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6143.11236907
delta logL = 0.0829960703968

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.683       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8635       1.0000          .0000       10.000    
     3 'Normalizat'    .73497       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98224       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=   6143.112     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      300 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.729        57.147        .26641E-03    .23300E-04
   2  Index         1.8642        .61741        .86546E-02    .26565E-03
   3  Normalizat    .73493        .22665        .33862E-03   -.11012E-04
   4  Prefactor     .98222        .15735        .20446E-03    .66169E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.7288
  Index      = 1.86419
  Normalizat = 0.734928
  Prefactor  = 0.982218
 **********
 **   18 **HESSE 
 **********

 FCN=   6143.112     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.729        55.846        .10656E-04   -1.4200    
   2  Index         1.8642        .60353        .17309E-02   -.67790    
   3  Normalizat    .73493        .22675        .13545E-04   -1.0253    
   4  Prefactor     .98222        .15744        .81783E-05   -.93325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54959e-12
Minuit parameter uncertainties:
  1  55.8971
  2  0.605977
  3  0.227038
  4  0.15751
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68808': 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) = 6143.11236695
delta logL = 0.0829981858187

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  5.673e+01  5.590e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  1.864e+00  6.060e-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:  9.822e-01  1.575e-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.349e-01  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.78
Ra Dec: 351.575 1.222
Photon Index (Free Index): 1.86 +/- 0.61
Photon Flux (Free Index): 2.03e-08 +/- 2.23e-08
Energy Flux (Free Index): 2.01e-05 +/- 2.71e-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/68808/cmap_HighResolution_673747201_674006401_4FGL_J2326.2+0113_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.57e-03', comment='SUCCESS', photon_flux='2.63e-08', energy_flux2='2.01e-05', photon_flux_error='2.23e-08', dlogl='8.30e-02', energy_flux='1.38e-05', photon_flux2='2.03e-08', job_status='DONE', time_completed='2022-05-12 01:44:38.072887', photon_index_error2='0.61', photon_index2='1.86', ts='3.62', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='8.67e-08', energy_flux_error2='2.71e-05', EG='0.73', time_epoch_completed='1652345078.07', return_code='0', job_id='68808', GAL2='0.98', EG2='0.73', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='2.23e-08', ts2='3.78', photon_index='2.12' WHERE bin_id='1676' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:44:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 68808: <4FGL_J2326.2+0113_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin1676> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu May 12 01:30:29 2022
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:31:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:31:02 2022
Terminated at Thu May 12 01:44:38 2022
Results reported at Thu May 12 01:44:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin1676 351.575 1.2216 673747201 674006401 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 :                                   699.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            849 sec.

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

