/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 93 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 = 7433
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2323.5-0317_daily_bin584
RA = 350.888, Dec = -3.29
tmin = 390700801, tmax = 390960001
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='809568', job_status='RUN', time_executed='2021-09-29 14:32:19.319083', time_epoch_executed='1632951139.32' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='584'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/809568

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/809568/ft1_4FGL_J2323.5-0317_daily_bin584.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/809568/ft2_4FGL_J2323.5-0317_daily_bin584.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/809568/ft1_4FGL_J2323.5-0317_daily_bin584.fits outfile=/scratch/kocevski/809568/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin584.fits ra=350.888 dec=-3.29 rad=12.0 tmin=390700801.0 tmax=390960001.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 7.21
user 6.95
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/809568/ft2_4FGL_J2323.5-0317_daily_bin584.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/809568/ft2_4FGL_J2323.5-0317_daily_bin584.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/809568/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin584.fits evtable="EVENTS" outfile="/scratch/kocevski/809568/ft1_filtered_4FGL_J2323.5-0317_daily_bin584.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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/809568/ft1_filtered_4FGL_J2323.5-0317_daily_bin584.fits" evtable="EVENTS" scfile=/scratch/kocevski/809568/ft2_4FGL_J2323.5-0317_daily_bin584.fits sctable="SC_DATA" outfile=/scratch/kocevski/809568/ltcube_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.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/809568/ft2_4FGL_J2323.5-0317_daily_bin584.fits
.....................!
real 11.45
user 11.05
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/809568/ft1_filtered_4FGL_J2323.5-0317_daily_bin584.fits evtable="EVENTS" scfile=/scratch/kocevski/809568/ft2_4FGL_J2323.5-0317_daily_bin584.fits sctable="SC_DATA" expcube=/scratch/kocevski/809568/ltcube_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.fits outfile=/scratch/kocevski/809568/expmap_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.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/809568/ltcube_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.fits
.....................!
real 191.40
user 186.26
sys 4.83

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

Setting source of interest to:
4FGL J2323.5-0317 @ 350.888 -3.29

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/809568/ft1_filtered_4FGL_J2323.5-0317_daily_bin584.fits scfile=/scratch/kocevski/809568/ft2_4FGL_J2323.5-0317_daily_bin584.fits outfile=/scratch/kocevski/809568/cmap_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.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=350.888 yref=-3.29 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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/809568/ft1_filtered_4FGL_J2323.5-0317_daily_bin584.fits scfile=/scratch/kocevski/809568/ft2_4FGL_J2323.5-0317_daily_bin584.fits outfile=/scratch/kocevski/809568/cmap_HighResolution_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.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=350.888 yref=-3.29 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/809568/ft1_filtered_4FGL_J2323.5-0317_daily_bin584.fits evtable="EVENTS" scfile=/scratch/kocevski/809568/ft2_4FGL_J2323.5-0317_daily_bin584.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/809568/Model_4FGL_J2323.5-0317_daily_bin584.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/809568/ft1_filtered_4FGL_J2323.5-0317_daily_bin584.fits.....................!
real 47.12
user 45.93
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/809568/ft1_filtered_4FGL_J2323.5-0317_daily_bin584.fits', '/scratch/kocevski/809568/ft2_4FGL_J2323.5-0317_daily_bin584.fits', expMap='/scratch/kocevski/809568/expmap_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.fits', expCube='/scratch/kocevski/809568/ltcube_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/809568/Model_4FGL_J2323.5-0317_daily_bin584.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2323.5-0317'

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.648e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
375         beta:  9.598e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
376           Eb:  6.247e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/809568/ft1_filtered_4FGL_J2323.5-0317_daily_bin584.fits
Spacecraft file(s): /scratch/kocevski/809568/ft2_4FGL_J2323.5-0317_daily_bin584.fits
Exposure map: /scratch/kocevski/809568/expmap_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.fits
Exposure cube: /scratch/kocevski/809568/ltcube_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/809568/Model_4FGL_J2323.5-0317_daily_bin584.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) = 4585.28246014

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7766       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1419       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.013       1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.095       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.9922       1.0000         .10000E-03   10000.    
    10 'norm      '    4.7260       1.0000         .10000E-03   10000.    
    11 'norm      '    2.8848       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.972       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .43717E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.428       1.0000         .10000E-03   10000.    
    17 'norm      '    15.065       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.707       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .50581E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.930       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.380       1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.480       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .32126       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1452       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+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=   4585.273     FROM MIGRAD    STATUS=CONVERGED   1031 CALLS     3442 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7769        6.9655        .12211E-02    .29663E-03
   2  Prefactor     .10000E-03    18.858        .18142E-02** at limit **
   3  Prefactor     .10000E-03    14.356        .18142E-02** at limit **
   4  Prefactor     5.1417        8.6269        .88648E-03    .14453E-04
   5  norm          .10000E-03    8.6410        .18142E-02** at limit **
   6  Prefactor     19.012        38.155        .91854E-04    .39235E-04
   7  Prefactor     19.096        18.756        .91656E-04    .66607E-04
   8  Prefactor     .10000E-03    22.843        .18142E-02** at limit **
   9  Prefactor     6.9940        8.4226        .15171E-03   -.46909E-04
  10  norm          4.7256        1.4416        .42028E-04    .26807E-03
  11  norm          2.8839        6.1889        .22456E-03   -.97204E-05
  12  Prefactor     .10000E-03    16.621        .36285E-03** at limit **
  13  Prefactor     10.970        27.224        .12095E-03    .16731E-04
  14  Prefactor     .10000E-03    127.35        .18142E-02** at limit **
  15  Prefactor     .10017E-03    22.868        .61425E-01** at limit **
  16  Prefactor     11.423        26.004        .11851E-03    .81351E-04
  17  norm          15.041        24.349        .10319E-03    .96291E-04
  18  Prefactor     24.701        53.338        .80589E-04   -.42321E-06
  19  Prefactor     .10003E-03    68.757        .19514E-02** at limit **
  20  Prefactor     15.929        27.500        .10035E-03    .34328E-04
  21  Prefactor     .10000E-03    10.285        .18142E-02** at limit **
  22  Prefactor     17.377        18.086        .96071E-04    .49464E-04
  23  Prefactor     11.480        8.3070        .11824E-03    .46057E-04
  24  Normalizat    .32131        .23739        .41431E-03    .34355E-04
  25  Prefactor     1.1452        .18183        .17530E-03    .31453E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.7769
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.14169
  norm       = 0.0001
  Prefactor  = 19.0121
  Prefactor  = 19.0956
  Prefactor  = 0.0001
  Prefactor  = 6.99396
  norm       = 4.72556
  norm       = 2.8839
  Prefactor  = 0.0001
  Prefactor  = 10.9699
  Prefactor  = 0.000100001
  Prefactor  = 0.000100167
  Prefactor  = 11.4233
  norm       = 15.0409
  Prefactor  = 24.701
  Prefactor  = 0.00010003
  Prefactor  = 15.9288
  Prefactor  = 0.0001
  Prefactor  = 17.3775
  Prefactor  = 11.4796
  Normalizat = 0.321311
  Prefactor  = 1.14517
 **********
 **   18 **HESSE 
 **********

 FCN=   4585.273     FROM HESSE     STATUS=OK           415 CALLS     3857 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7769        6.9633        .24422E-03   -1.5375    
   2  Prefactor     .10000E-03    18.859        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.356        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1417        8.6265        .35459E-04   -1.5254    
   5  norm          .10000E-03    8.6433        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.012        38.164        .36742E-05   -1.4836    
   7  Prefactor     19.096        18.757        .36663E-05   -1.4834    
   8  Prefactor     .10000E-03    22.843        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.9940        8.4209        .60686E-05   -1.5179    
  10  norm          4.7256        1.4415        .16811E-05   -1.5273    
  11  norm          2.8839        6.1874        .89823E-05   -1.5368    
  12  Prefactor     .10000E-03    16.621        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.970        27.225        .48381E-05   -1.5045    
  14  Prefactor     .10000E-03    127.35        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10017E-03    20.640        .64906E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.423        26.006        .47403E-05   -1.5032    
  17  norm          15.041        24.086        .41276E-05   -1.4932    
  18  Prefactor     24.701        53.364        .32236E-05   -1.4714    
  19  Prefactor     .10003E-03    70.393        .78054E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.929        27.503        .40139E-05   -1.4910    
  21  Prefactor     .10000E-03    10.285        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.377        18.084        .38429E-05   -1.4874    
  23  Prefactor     11.480        8.3059        .47295E-05   -1.5030    
  24  Normalizat    .32131        .23731        .16572E-04   -1.2159    
  25  Prefactor     1.1452        .18185        .70122E-05   -.88036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33689e-10
Minuit parameter uncertainties:
  1  6.96531
  2  1.53356e-05
  3  3.80773e-05
  4  8.62856
  5  1.65403e-05
  6  38.2126
  7  18.7625
  8  7.42556e-05
  9  8.42237
  10  1.44153
  11  6.18877
  12  0.000113661
  13  27.2558
  14  0.000523401
  15  0.00371521
  16  26.0319
  17  24.1015
  18  53.467
  19  0.00289911
  20  27.5249
  21  2.0042e-05
  22  18.09
  23  8.30674
  24  0.238051
  25  0.181951
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  4.726e+00  1.442e+00  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
375         beta:  9.598e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
376           Eb:  6.247e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.145e+00  1.820e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  3.213e-01  2.381e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 32.06
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.83e-07 +/- 5.58e-08
Energy Flux (Fixed Index): 7.49e-05 +/- 2.29e-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) = 4585.27324344
delta logL = 1.33865660246e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4585.27324306
delta logL = 1.37612660183e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7256       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1587       1.0000          .0000       5.0000    
     3 'Normalizat'    .32133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1452       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4585.273     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      190 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7276        2.3764        .46276E-02    .14781E-03
   2  alpha         2.1585        .47036        .16825        .22375E-04
   3  Normalizat    .32155        .23028        .93498E-01    .87329E-04
   4  Prefactor     1.1451        .17599        .36076E-01    .76692E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.72764
  alpha      = 2.15852
  Normalizat = 0.321548
  Prefactor  = 1.14505
 **********
 **   18 **HESSE 
 **********

 FCN=   4585.273     FROM HESSE     STATUS=OK            31 CALLS      221 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7276        1.4683        .42050E-04   -1.5273    
   2  alpha         2.1585        .29882        .72005E-02   -.13702    
   3  Normalizat    .32155        .23250        .41416E-03   -1.2157    
   4  Prefactor     1.1451        .17859        .17531E-03   -.88039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27145e-12
Minuit parameter uncertainties:
  1  1.46831
  2  0.299546
  3  0.233199
  4  0.178687
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/809568': 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) = 4585.27324154
delta logL = 1.52818092829e-05

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  4.728e+00  1.468e+00  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  2.159e+00  2.995e-01  0.000e+00  5.000e+00 ( 1.000e+00)
375         beta:  9.598e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
376           Eb:  6.247e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.145e+00  1.787e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  3.215e-01  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 32.01
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 2.16 +/- 0.30
Photon Flux (Free Index): 1.83e-07 +/- 6.52e-08
Energy Flux (Free Index): 7.50e-05 +/- 2.68e-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/809568/cmap_HighResolution_390700801_390960001_4FGL_J2323.5-0317_daily_bin584.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.83e-07', energy_flux2='7.50e-05', photon_flux_error='5.58e-08', dlogl='1.53e-05', energy_flux='7.49e-05', photon_flux2='1.83e-07', job_status='DONE', time_completed='2021-09-29 14:41:42.403675', photon_index_error2='0.30', photon_index2='2.16', ts='32.06', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='2.68e-05', EG='0.32', time_epoch_completed='1632951702.4', return_code='0', job_id='809568', GAL2='1.15', EG2='0.32', return_code2='0', energy_flux_error='2.29e-05', photon_flux_error2='6.52e-08', ts2='32.01', photon_index='2.16' WHERE bin_id='584' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:41:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 809568: <4FGL_J2323.5-0317_daily_bin584> in cluster <slac> Done

Job <4FGL_J2323.5-0317_daily_bin584> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 14:30:33 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 14:30:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 14:30:35 2021
Terminated at Wed Sep 29 14:41:43 2021
Results reported at Wed Sep 29 14:41:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin584 350.888 -3.29 390700801 390960001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2323.5-0317 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   559.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            670 sec.

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

