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


Performing analysis on: 4FGL_J2323.5-0317_daily_bin668
RA = 350.888, Dec = -3.29
tmin = 412473601, tmax = 412732801
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='810793', job_status='RUN', time_executed='2021-09-29 14:35:54.118068', time_epoch_executed='1632951354.12' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/810793

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/810793/ft1_4FGL_J2323.5-0317_daily_bin668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/810793/ft2_4FGL_J2323.5-0317_daily_bin668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/810793/ft1_4FGL_J2323.5-0317_daily_bin668.fits outfile=/scratch/kocevski/810793/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin668.fits ra=350.888 dec=-3.29 rad=12.0 tmin=412473601.0 tmax=412732801.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.47
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/810793/ft1_filtered_4FGL_J2323.5-0317_daily_bin668.fits" evtable="EVENTS" scfile=/scratch/kocevski/810793/ft2_4FGL_J2323.5-0317_daily_bin668.fits sctable="SC_DATA" outfile=/scratch/kocevski/810793/ltcube_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.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/810793/ft2_4FGL_J2323.5-0317_daily_bin668.fits
.....................!
real 12.05
user 11.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/810793/ft1_filtered_4FGL_J2323.5-0317_daily_bin668.fits evtable="EVENTS" scfile=/scratch/kocevski/810793/ft2_4FGL_J2323.5-0317_daily_bin668.fits sctable="SC_DATA" expcube=/scratch/kocevski/810793/ltcube_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.fits outfile=/scratch/kocevski/810793/expmap_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.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/810793/ltcube_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.fits
.....................!
real 192.07
user 186.79
sys 4.67

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/810793/ft1_filtered_4FGL_J2323.5-0317_daily_bin668.fits scfile=/scratch/kocevski/810793/ft2_4FGL_J2323.5-0317_daily_bin668.fits outfile=/scratch/kocevski/810793/cmap_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/810793/ft1_filtered_4FGL_J2323.5-0317_daily_bin668.fits scfile=/scratch/kocevski/810793/ft2_4FGL_J2323.5-0317_daily_bin668.fits outfile=/scratch/kocevski/810793/cmap_HighResolution_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/810793/ft1_filtered_4FGL_J2323.5-0317_daily_bin668.fits evtable="EVENTS" scfile=/scratch/kocevski/810793/ft2_4FGL_J2323.5-0317_daily_bin668.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/810793/Model_4FGL_J2323.5-0317_daily_bin668.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/810793/ft1_filtered_4FGL_J2323.5-0317_daily_bin668.fits.....................!
real 74.62
user 72.49
sys 1.75

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/810793/ft1_filtered_4FGL_J2323.5-0317_daily_bin668.fits', '/scratch/kocevski/810793/ft2_4FGL_J2323.5-0317_daily_bin668.fits', expMap='/scratch/kocevski/810793/expmap_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.fits', expCube='/scratch/kocevski/810793/ltcube_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/810793/Model_4FGL_J2323.5-0317_daily_bin668.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/810793/ft1_filtered_4FGL_J2323.5-0317_daily_bin668.fits
Spacecraft file(s): /scratch/kocevski/810793/ft2_4FGL_J2323.5-0317_daily_bin668.fits
Exposure map: /scratch/kocevski/810793/expmap_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.fits
Exposure cube: /scratch/kocevski/810793/ltcube_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/810793/Model_4FGL_J2323.5-0317_daily_bin668.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) = 8223.54847632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.188       1.0000         .10000E-03   10000.    
     2 'Prefactor '    101.27       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.417       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.023       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.475       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8734       1.0000         .10000E-03   10000.    
    11 'norm      '    6.8746       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.0683       1.0000         .10000E-03   10000.    
    14 'Prefactor '    59.573       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1268       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.689       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6571       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16025E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.0989       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10118       1.0000         .10000E-03   10000.    
    22 'Prefactor '    36.865       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .70361       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99881       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=   8223.536     FROM MIGRAD    STATUS=CONVERGED   1052 CALLS     3417 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.186        11.600        .91434E-04   -.77089E-05
   2  Prefactor     101.28        60.026        .39952E-04   -.13659E-05
   3  Prefactor     12.425        39.432        .11368E-03   -.34603E-04
   4  Prefactor     .10000E-03    45.311        .49788E-02** at limit **
   5  norm          .10000E-03    11.368        .36285E-03** at limit **
   6  Prefactor     30.019        23.663        .73122E-04   -.93286E-05
   7  Prefactor     14.475        12.087        .10528E-03   -.63714E-04
   8  Prefactor     .10000E-03    69.329        .18142E-02** at limit **
   9  Prefactor     .10000E-03    4.2953        .18142E-02** at limit **
  10  norm          1.8732        .81237        .51301E-04   -.35901E-04
  11  norm          6.8732        4.3279        .14433E-03   -.21646E-03
  12  Prefactor     .10000E-03    2.5200        .13966E-02** at limit **
  13  Prefactor     5.0672        18.777        .17860E-03    .35646E-05
  14  Prefactor     59.481        112.66        .25991E-03   -.23795E-04
  15  Prefactor     5.1384        14.208        .17756E-03   -.11294E-03
  16  Prefactor     14.690        14.614        .10451E-03   -.84852E-05
  17  norm          2.6411        105.47        .25007E-03   -.30005E-04
  18  Prefactor     .10001E-03    215.98        .18142E-02** at limit **
  19  Prefactor     6.1002        4.7221        .13512E-03    .45938E-04
  20  Prefactor     .10000E-03    9.6327        .18142E-02** at limit **
  21  Prefactor     .10000E-03    12.296        .84138E-01** at limit **
  22  Prefactor     36.864        15.494        .66007E-04   -.24113E-04
  23  Prefactor     .10000E-03    2.7970        .14759E-02** at limit **
  24  Normalizat    .70358        .19398        .31148E-03   -.15680E-03
  25  Prefactor     .99888        .14039        .19627E-03   -.34301E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1856
  Prefactor  = 101.276
  Prefactor  = 12.425
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.0193
  Prefactor  = 14.4752
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.87319
  norm       = 6.87325
  Prefactor  = 0.0001
  Prefactor  = 5.06723
  Prefactor  = 59.4813
  Prefactor  = 5.13836
  Prefactor  = 14.6899
  norm       = 2.64109
  Prefactor  = 0.000100008
  Prefactor  = 6.10015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.8642
  Prefactor  = 0.0001
  Normalizat = 0.70358
  Prefactor  = 0.998878
 **********
 **   18 **HESSE 
 **********

 FCN=   8223.536     FROM HESSE     STATUS=OK           411 CALLS     3828 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.186        11.600        .36574E-05   -1.4832    
   2  Prefactor     101.28        60.022        .79903E-05   -1.3692    
   3  Prefactor     12.425        39.372        .45471E-05   -1.5003    
   4  Prefactor     .10000E-03    46.155        .99576E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    11.369        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     30.019        23.659        .29249E-05   -1.4612    
   7  Prefactor     14.475        12.088        .42110E-05   -1.4947    
   8  Prefactor     .10000E-03    69.344        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.2964        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8732        .81231        .20520E-05   -1.5434    
  11  norm          6.8732        4.3277        .57732E-05   -1.5184    
  12  Prefactor     .10000E-03    2.5208        .27931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.0672        18.776        .71441E-05   -1.5258    
  14  Prefactor     59.481        112.65        .10396E-04   -1.4164    
  15  Prefactor     5.1384        14.106        .71025E-05   -1.5255    
  16  Prefactor     14.690        14.612        .41802E-05   -1.4941    
  17  norm          2.6411        103.70        .10003E-04   -1.5383    
  18  Prefactor     .10001E-03    216.15        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.1002        4.7156        .54049E-05   -1.5214    
  20  Prefactor     .10000E-03    9.6334        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.683        .87151E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     36.864        15.494        .26403E-05   -1.4493    
  23  Prefactor     .10000E-03    2.7975        .29519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .70358        .19407        .12459E-04   -1.0375    
  25  Prefactor     .99888        .14044        .39253E-04   -.92767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40175e-10
Minuit parameter uncertainties:
  1  11.6016
  2  60.0582
  3  39.4547
  4  0.000245908
  5  0.000108234
  6  23.666
  7  12.0896
  8  0.000588581
  9  5.16457e-05
  10  0.812316
  11  4.3279
  12  2.63983e-07
  13  18.7981
  14  113.052
  15  14.115
  16  14.6152
  17  33.16
  18  0.00258359
  19  4.71586
  20  1.00769e-05
  21  0.000150661
  22  15.4955
  23  7.29437e-06
  24  0.19426
  25  0.140489
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.873e+00  8.123e-01  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:  9.989e-01  1.405e-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:  7.036e-01  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.34
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 7.25e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 1.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) = 8223.35837336
delta logL = 0.177601863208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8223.35757999
delta logL = 0.178395234871

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7251       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3889       1.0000          .0000       5.0000    
     3 'Normalizat'    .68983       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0055       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=   8223.358     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      231 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7251        12.954        .79936E-02   -.10709E-03
   2  alpha         2.3889        3.6743        .27611        .36280E-04
   3  Normalizat    .68983        .85613E-01    .71004E-01    .31257E-05
   4  Prefactor     1.0055        .64102E-01    .44084E-01   -.12922E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72509
  alpha      = 2.38894
  Normalizat = 0.689827
  Prefactor  = 1.00552
 **********
 **   18 **HESSE 
 **********

 FCN=   8223.358     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7251        .81865        .47917E-04   -1.5445    
   2  alpha         2.3889        .39817        .11344E-01   -.44439E-01
   3  Normalizat    .68983        .18468        .31425E-03   -1.0430    
   4  Prefactor     1.0055        .13673        .19566E-03   -.92546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95819e-10
Minuit parameter uncertainties:
  1  0.818658
  2  0.399881
  3  0.18485
  4  0.136781
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/810793': 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) = 8223.35757999
delta logL = 0.178395234894

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.725e+00  8.187e-01  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  2.389e+00  3.999e-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.006e+00  1.368e-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:  6.898e-01  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.71
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 2.39 +/- 0.40
Photon Flux (Free Index): 8.41e-08 +/- 3.88e-08
Energy Flux (Free Index): 2.66e-05 +/- 1.22e-05

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/810793/cmap_HighResolution_412473601_412732801_4FGL_J2323.5-0317_daily_bin668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.25e-08', energy_flux2='2.66e-05', photon_flux_error='3.14e-08', dlogl='1.78e-01', energy_flux='2.97e-05', photon_flux2='8.41e-08', job_status='DONE', time_completed='2021-09-29 14:48:25.444830', photon_index_error2='0.40', photon_index2='2.39', ts='10.34', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.22e-05', EG='0.70', time_epoch_completed='1632952105.44', return_code='0', job_id='810793', GAL2='1.01', EG2='0.69', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='3.88e-08', ts2='10.71', photon_index='2.16' WHERE bin_id='668' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:48:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 810793: <4FGL_J2323.5-0317_daily_bin668> in cluster <slac> Done

Job <4FGL_J2323.5-0317_daily_bin668> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 14:35:11 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 14:35:12 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:35:12 2021
Terminated at Wed Sep 29 14:48:26 2021
Results reported at Wed Sep 29 14:48:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin668 350.888 -3.29 412473601 412732801 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 :                                   742.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            795 sec.

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

