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


Performing analysis on: 4FGL_J2323.5-0317_daily_bin535
RA = 350.888, Dec = -3.29
tmin = 378000001, tmax = 378259201
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='809491', job_status='RUN', time_executed='2021-09-29 14:33:37.758499', time_epoch_executed='1632951217.76' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/809491

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/809491/ft1_4FGL_J2323.5-0317_daily_bin535.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/809491/ft2_4FGL_J2323.5-0317_daily_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/809491/ft1_4FGL_J2323.5-0317_daily_bin535.fits outfile=/scratch/kocevski/809491/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin535.fits ra=350.888 dec=-3.29 rad=12.0 tmin=378000001.0 tmax=378259201.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.25
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/809491/ft2_4FGL_J2323.5-0317_daily_bin535.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/809491/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin535.fits evtable="EVENTS" outfile="/scratch/kocevski/809491/ft1_filtered_4FGL_J2323.5-0317_daily_bin535.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.48
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/809491/ft1_filtered_4FGL_J2323.5-0317_daily_bin535.fits" evtable="EVENTS" scfile=/scratch/kocevski/809491/ft2_4FGL_J2323.5-0317_daily_bin535.fits sctable="SC_DATA" outfile=/scratch/kocevski/809491/ltcube_378000001_378259201_4FGL_J2323.5-0317_daily_bin535.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/809491/ft2_4FGL_J2323.5-0317_daily_bin535.fits
.....................!
real 11.84
user 11.44
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/809491/ft1_filtered_4FGL_J2323.5-0317_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/809491/ft2_4FGL_J2323.5-0317_daily_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/809491/ltcube_378000001_378259201_4FGL_J2323.5-0317_daily_bin535.fits outfile=/scratch/kocevski/809491/expmap_378000001_378259201_4FGL_J2323.5-0317_daily_bin535.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/809491/ltcube_378000001_378259201_4FGL_J2323.5-0317_daily_bin535.fits
.....................!
real 190.20
user 184.86
sys 5.01

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/809491/ft1_filtered_4FGL_J2323.5-0317_daily_bin535.fits scfile=/scratch/kocevski/809491/ft2_4FGL_J2323.5-0317_daily_bin535.fits outfile=/scratch/kocevski/809491/cmap_378000001_378259201_4FGL_J2323.5-0317_daily_bin535.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/809491/ft1_filtered_4FGL_J2323.5-0317_daily_bin535.fits scfile=/scratch/kocevski/809491/ft2_4FGL_J2323.5-0317_daily_bin535.fits outfile=/scratch/kocevski/809491/cmap_HighResolution_378000001_378259201_4FGL_J2323.5-0317_daily_bin535.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/809491/ft1_filtered_4FGL_J2323.5-0317_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/809491/ft2_4FGL_J2323.5-0317_daily_bin535.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/809491/Model_4FGL_J2323.5-0317_daily_bin535.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/809491/ft1_filtered_4FGL_J2323.5-0317_daily_bin535.fits.....................!
real 60.77
user 59.34
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4398       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8378       1.0000         .10000E-03   10000.    
     5 'norm      '    2.8539       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.119       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.007       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6210       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8280       1.0000         .10000E-03   10000.    
    11 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21368E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.036       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12414E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.147       1.0000         .10000E-03   10000.    
    16 'Prefactor '    43.182       1.0000         .10000E-03   10000.    
    17 'norm      '    .10567E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6080       1.0000         .10000E-03   10000.    
    20 'Prefactor '    54.450       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10379E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.7238       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0911       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .76819       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=   6608.219     FROM MIGRAD    STATUS=CONVERGED   1029 CALLS     3412 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4366        7.6506        .26194E-03   -.32552E-05
   2  Prefactor     .10000E-03    17.319        .18142E-02** at limit **
   3  Prefactor     .10000E-03    8.5104        .18142E-02** at limit **
   4  Prefactor     1.8368        5.7253        .15387E-02    .38627E-04
   5  norm          2.8526        8.7020        .24066E-03   -.39681E-05
   6  Prefactor     25.120        24.951        .79926E-04    .71120E-06
   7  Prefactor     20.007        19.338        .89544E-04    .63481E-06
   8  Prefactor     5.6169        27.423        .16944E-03   -.13419E-05
   9  Prefactor     .10000E-03    2.5738        .12703E-02** at limit **
  10  norm          1.8277        1.0557        .59055E-04    .31379E-04
  11  norm          .10000E-03    2.1896        .11668E-02** at limit **
  12  Prefactor     .10000E-03    15.518        .74366E-01** at limit **
  13  Prefactor     41.047        53.017        .62575E-04    .21802E-05
  14  Prefactor     .10000E-03    179.05        .18142E-02** at limit **
  15  Prefactor     16.115        14.606        .99671E-04   -.39922E-05
  16  Prefactor     43.247        33.761        .61007E-04    .50315E-05
  17  norm          .10000E-03    11.464        .18142E-02** at limit **
  18  Prefactor     .10000E-03    19.485        .18142E-02** at limit **
  19  Prefactor     1.6168        4.6020        .24102E-03   -.38868E-04
  20  Prefactor     54.453        40.651        .54358E-04   -.29280E-05
  21  Prefactor     .10000E-03    38.523        .18142E-02** at limit **
  22  Prefactor     .10000E-03    3.6122        .15082E-02** at limit **
  23  Prefactor     4.7241        5.6031        .18514E-03    .15352E-05
  24  Normalizat    1.0910        .20703        .25328E-03    .47085E-04
  25  Prefactor     .76839        .15158        .22046E-03   -.30374E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.43664
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.83683
  norm       = 2.85263
  Prefactor  = 25.1196
  Prefactor  = 20.0068
  Prefactor  = 5.61688
  Prefactor  = 0.0001
  norm       = 1.8277
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.0469
  Prefactor  = 0.0001
  Prefactor  = 16.115
  Prefactor  = 43.2468
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.61676
  Prefactor  = 54.4532
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.7241
  Normalizat = 1.09097
  Prefactor  = 0.768386
 **********
 **   18 **HESSE 
 **********

 FCN=   6608.219     FROM HESSE     STATUS=OK           413 CALLS     3825 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4366        7.6491        .10477E-04   -1.5396    
   2  Prefactor     .10000E-03    17.319        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.5107        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8368        5.7234        .61547E-04   -1.5437    
   5  norm          2.8526        8.7010        .96264E-05   -1.5370    
   6  Prefactor     25.120        24.953        .31970E-05   -1.4705    
   7  Prefactor     20.007        19.337        .35818E-05   -1.4813    
   8  Prefactor     5.6169        27.418        .67776E-05   -1.5234    
   9  Prefactor     .10000E-03    2.5740        .25406E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8277        1.0556        .23622E-05   -1.5438    
  11  norm          .10000E-03    2.1900        .23337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.981        .79553E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     41.047        53.012        .25030E-05   -1.4426    
  14  Prefactor     .10000E-03    179.06        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.115        14.589        .39868E-05   -1.4905    
  16  Prefactor     43.247        33.746        .24403E-05   -1.4392    
  17  norm          .10000E-03    11.464        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.486        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.6168        4.5957        .96407E-05   -1.5454    
  20  Prefactor     54.453        40.656        .21743E-05   -1.4231    
  21  Prefactor     .10000E-03    38.544        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.6123        .30164E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.7241        5.6024        .74056E-05   -1.5273    
  24  Normalizat    1.0910        .20721        .10131E-04   -.90042    
  25  Prefactor     .76839        .15171        .88182E-05   -1.0090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95871e-11
Minuit parameter uncertainties:
  1  7.6522
  2  5.56116e-06
  3  1.2612e-06
  4  5.72506
  5  8.70488
  6  24.9636
  7  19.3433
  8  24.8378
  9  1.20145e-06
  10  1.05565
  11  3.29575e-06
  12  7.88425e-06
  13  53.0731
  14  0.000499021
  15  14.5927
  16  33.761
  17  2.68645e-05
  18  3.20978e-07
  19  4.59669
  20  40.6769
  21  2.76633e-05
  22  1.44703e-06
  23  5.60301
  24  0.207366
  25  0.151794
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.828e+00  1.056e+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:  7.684e-01  1.518e-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:  1.091e+00  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.30
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 7.07e-08 +/- 4.08e-08
Energy Flux (Fixed Index): 2.90e-05 +/- 1.67e-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) = 6606.9208829
delta logL = 1.29797809926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6606.91481804
delta logL = 1.30404296116

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4474       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8857       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79073       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=   6606.915     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      238 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4474        9.5533        .89565E-02    .60881E-03
   2  alpha         2.8857        3.9109        .23792        .52448E-04
   3  Normalizat    1.0352        .69789E-01    .41686E-01    .12126E-04
   4  Prefactor     .79069        .52588E-01    .43596E-01    .12289E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.44738
  alpha      = 2.88572
  Normalizat = 1.03516
  Prefactor  = 0.790691
 **********
 **   18 **HESSE 
 **********

 FCN=   6606.915     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4474        .92000        .41079E-04   -1.5467    
   2  alpha         2.8857        .48687        .99583E-02    .15491    
   3  Normalizat    1.0352        .20338        .25843E-03   -.91862    
   4  Prefactor     .79069        .14954        .21732E-03   -1.0007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7333e-09
Minuit parameter uncertainties:
  1  0.920013
  2  0.49008
  3  0.203533
  4  0.149617
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/809491': 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) = 6606.91481799
delta logL = 1.30404300234

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.447e+00  9.200e-01  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  2.886e+00  4.901e-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:  7.907e-01  1.496e-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:  1.035e+00  2.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.99
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 2.89 +/- 0.49
Photon Flux (Free Index): 1.26e-07 +/- 5.92e-08
Energy Flux (Free Index): 2.78e-05 +/- 1.26e-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/809491/cmap_HighResolution_378000001_378259201_4FGL_J2323.5-0317_daily_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.07e-08', energy_flux2='2.78e-05', photon_flux_error='4.08e-08', dlogl='1.30e+00', energy_flux='2.90e-05', photon_flux2='1.26e-07', job_status='DONE', time_completed='2021-09-29 14:44:33.056910', photon_index_error2='0.49', photon_index2='2.89', ts='5.30', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.09', time_epoch_completed='1632951873.06', return_code='0', job_id='809491', GAL2='0.79', EG2='1.04', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='5.92e-08', ts2='7.99', photon_index='2.16' WHERE bin_id='535' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:44:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0129>
Subject: Job 809491: <4FGL_J2323.5-0317_daily_bin535> in cluster <slac> Done

Job <4FGL_J2323.5-0317_daily_bin535> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 14:30:26 2021
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 14:30:28 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:28 2021
Terminated at Wed Sep 29 14:44:36 2021
Results reported at Wed Sep 29 14:44:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin535 350.888 -3.29 378000001 378259201 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 :                                   653.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            850 sec.

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

