/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 231 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 = 7399
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2326.2+0113_daily_bin155
RA = 351.575, Dec = 1.2216
tmin = 279504001, tmax = 279763201
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='889863', job_status='RUN', time_executed='2021-09-29 18:49:12.792244', time_epoch_executed='1632966552.79' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889863

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889863/ft1_4FGL_J2326.2+0113_daily_bin155.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889863/ft2_4FGL_J2326.2+0113_daily_bin155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889863/ft1_4FGL_J2326.2+0113_daily_bin155.fits outfile=/scratch/kocevski/889863/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin155.fits ra=351.575 dec=1.2216 rad=12.0 tmin=279504001.0 tmax=279763201.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.55
user 3.32
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889863/ft1_filtered_4FGL_J2326.2+0113_daily_bin155.fits" evtable="EVENTS" scfile=/scratch/kocevski/889863/ft2_4FGL_J2326.2+0113_daily_bin155.fits sctable="SC_DATA" outfile=/scratch/kocevski/889863/ltcube_279504001_279763201_4FGL_J2326.2+0113_daily_bin155.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/889863/ft2_4FGL_J2326.2+0113_daily_bin155.fits
.....................!
real 12.04
user 11.68
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889863/ft1_filtered_4FGL_J2326.2+0113_daily_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/889863/ft2_4FGL_J2326.2+0113_daily_bin155.fits sctable="SC_DATA" expcube=/scratch/kocevski/889863/ltcube_279504001_279763201_4FGL_J2326.2+0113_daily_bin155.fits outfile=/scratch/kocevski/889863/expmap_279504001_279763201_4FGL_J2326.2+0113_daily_bin155.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/889863/ltcube_279504001_279763201_4FGL_J2326.2+0113_daily_bin155.fits
.....................!
real 191.50
user 186.12
sys 4.74

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/889863/ft1_filtered_4FGL_J2326.2+0113_daily_bin155.fits scfile=/scratch/kocevski/889863/ft2_4FGL_J2326.2+0113_daily_bin155.fits outfile=/scratch/kocevski/889863/cmap_279504001_279763201_4FGL_J2326.2+0113_daily_bin155.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889863/ft1_filtered_4FGL_J2326.2+0113_daily_bin155.fits scfile=/scratch/kocevski/889863/ft2_4FGL_J2326.2+0113_daily_bin155.fits outfile=/scratch/kocevski/889863/cmap_HighResolution_279504001_279763201_4FGL_J2326.2+0113_daily_bin155.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.56
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.3220       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.9445       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    114.17       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .63988       1.0000         .10000E-03   10000.    
     9 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.4211       1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.010       1.0000         .10000E-03   10000.    
    12 'norm      '    .10611E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.9412       1.0000         .10000E-03   10000.    
    14 'Prefactor '    520.27       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    72.461       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12708E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.1937       1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.430       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.194       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .85913       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .75956       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=   5149.822     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2711 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.039        .16480E-05** at limit **
   2  norm          7.3249        12.331        .45168E-07   -.65921E-04
   3  Prefactor     .10000E-03    54.516        .14628E-05** at limit **
   4  Prefactor     9.9461        10.701       -.40499E-06   -.42576E-04
   5  Prefactor     .10000E-03    5.9631       -.18347E-06** at limit **
   6  Prefactor     114.15        65.510       -.10474E-04   -.20793E-04
   7  Prefactor     .10000E-03    6.5975        .39857E-06** at limit **
   8  norm          .63949        .65349        .89150E-07    .80456E-04
   9  norm          .10000E-03    4.0368        .60845E-06** at limit **
  10  Prefactor     7.4208        7.8186        .15307E-06   -.17020E-04
  11  Prefactor     38.008        35.123       -.99640E-06    .21274E-05
  12  norm          .10000E-03    10.566       -.41029E-06** at limit **
  13  Prefactor     9.9420        7.2151        .96083E-07   -.83844E-04
  14  Prefactor     520.27        278.78        .13330E-05   -.21799E-05
  15  Prefactor     .10000E-03    7.5950       -.45191E-07** at limit **
  16  Prefactor     72.472        29.010       -.18750E-05    .16819E-04
  17  norm          .10000E-03    25.753       -.18199E-06** at limit **
  18  Prefactor     .10000E-03    206.50        .73414E-05** at limit **
  19  Prefactor     6.1984        5.6708       -.25776E-06   -.27589E-03
  20  Prefactor     21.441        33.643       -.25378E-06    .20240E-05
  21  Prefactor     .10000E-03    11.889       -.20676E-05** at limit **
  22  Prefactor     29.199        20.029       -.20266E-05   -.48980E-05
  23  Normalizat    .85895        .21041        .29478E-05   -.86623E-04
  24  Prefactor     .75965        .13286       -.45724E-06    .57704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 7.32495
  Prefactor  = 0.0001
  Prefactor  = 9.94613
  Prefactor  = 0.0001
  Prefactor  = 114.151
  Prefactor  = 0.000100001
  norm       = 0.63949
  norm       = 0.0001
  Prefactor  = 7.42078
  Prefactor  = 38.008
  norm       = 0.0001
  Prefactor  = 9.94201
  Prefactor  = 520.274
  Prefactor  = 0.0001
  Prefactor  = 72.4716
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.19841
  Prefactor  = 21.4413
  Prefactor  = 0.0001
  Prefactor  = 29.1991
  Normalizat = 0.858952
  Prefactor  = 0.759653
 **********
 **   18 **HESSE 
 **********

 FCN=   5149.822     FROM HESSE     STATUS=OK           397 CALLS     3108 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.3249        12.331        .14823E-03   -1.5167    
   3  Prefactor     .10000E-03    55.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.9461        10.703        .12707E-03   -1.5077    
   5  Prefactor     .10000E-03    5.9709        .17115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     114.15        65.669        .37652E-04   -1.3567    
   7  Prefactor     .10000E-03    6.6649        .18025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .63949        .62662        .56220E-03   -1.5548    
   9  norm          .10000E-03    4.1659        .28221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.4208        7.8049        .14722E-03   -1.5163    
  11  Prefactor     38.008        35.120        .65009E-04   -1.4474    
  12  norm          .10000E-03    10.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.9420        7.2017        .12709E-03   -1.5077    
  14  Prefactor     520.27        278.14        .90057E-04   -1.1106    
  15  Prefactor     .10000E-03    7.6332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     72.472        28.934        .47163E-04   -1.4003    
  17  norm          .10000E-03    26.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    214.94        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.1984        5.6656        .14566E-03   -1.5210    
  20  Prefactor     21.441        33.661        .86524E-04   -1.4782    
  21  Prefactor     .10000E-03    11.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     29.199        20.082        .74150E-04   -1.4627    
  23  Normalizat    .85895        .23994        .27965E-03   -.97918    
  24  Prefactor     .75965        .15233        .20145E-03   -1.0123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6593e-10
Minuit parameter uncertainties:
  1  6.00181e-06
  2  12.3351
  3  0.000156188
  4  10.7049
  5  5.20679e-06
  6  65.7113
  7  0.000119461
  8  0.626623
  9  5.76121e-05
  10  7.80593
  11  35.1391
  12  1.00762e-05
  13  7.20229
  14  278.877
  15  2.11449e-06
  16  28.9398
  17  9.15871e-06
  18  0.000210443
  19  5.66604
  20  33.6912
  21  4.26622e-06
  22  20.0867
  23  0.240233
  24  0.152416
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  3.801e+01  3.514e+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:  7.597e-01  1.524e-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:  8.590e-01  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.13
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.31e-08 +/- 2.13e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.12e-05

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) = 5149.36567036
delta logL = 0.456075519746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5149.36556505
delta logL = 0.456180829397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.958       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4271       1.0000          .0000       10.000    
     3 'Normalizat'    .87212       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75667       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.

 FCN=   5149.366     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      239 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.170        68.371        .14184E-02   -.28686E-04
   2  Index         1.4277        .79349        .22300       -.29652E-03
   3  Normalizat    .87226        .19322        .44544E-01    .20224E-04
   4  Prefactor     .75657        .13162        .43151E-01    .14387E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.1695
  Index      = 1.42767
  Normalizat = 0.872261
  Prefactor  = 0.756566
 **********
 **   18 **HESSE 
 **********

 FCN=   5149.366     FROM HESSE     STATUS=OK            31 CALLS      270 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.170        50.169        .56737E-04   -1.4290    
   2  Index         1.4277        .66420        .58014E-01   -.79586    
   3  Normalizat    .87226        .21900        .27772E-03   -.97442    
   4  Prefactor     .75657        .15001        .20184E-03   -1.0135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69938e-09
Minuit parameter uncertainties:
  1  50.211
  2  0.668257
  3  0.219221
  4  0.150094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889863': 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) = 5149.36555635
delta logL = 0.456189532375

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  5.017e+01  5.021e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  1.428e+00  6.683e-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:  7.566e-01  1.501e-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:  8.723e-01  2.192e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.04
Ra Dec: 351.575 1.222
Photon Index (Free Index): 1.43 +/- 0.67
Photon Flux (Free Index): 9.00e-09 +/- 1.17e-08
Energy Flux (Free Index): 3.63e-05 +/- 6.21e-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/889863/cmap_HighResolution_279504001_279763201_4FGL_J2326.2+0113_daily_bin155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.31e-08', energy_flux2='3.63e-05', photon_flux_error='2.13e-08', dlogl='4.56e-01', energy_flux='1.22e-05', photon_flux2='9.00e-09', job_status='DONE', time_completed='2021-09-29 18:58:19.259251', photon_index_error2='0.67', photon_index2='1.43', ts='5.13', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='6.21e-05', EG='0.86', time_epoch_completed='1632967099.26', return_code='0', job_id='889863', GAL2='0.76', EG2='0.87', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='1.17e-08', ts2='6.04', photon_index='2.12' WHERE bin_id='155' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:58:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 889863: <4FGL_J2326.2+0113_daily_bin155> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin155> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:45:12 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:45:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:45:13 2021
Terminated at Wed Sep 29 18:58:20 2021
Results reported at Wed Sep 29 18:58:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin155 351.575 1.2216 279504001 279763201 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 :                                   545.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             211.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            788 sec.

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

