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


Performing analysis on: 4FGL_J2323.5-0317_daily_bin774
RA = 350.888, Dec = -3.29
tmin = 439948801, tmax = 440208001
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='810952', job_status='RUN', time_executed='2021-09-29 14:37:40.227133', time_epoch_executed='1632951460.23' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/810952

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/810952/ft1_4FGL_J2323.5-0317_daily_bin774.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/810952/ft2_4FGL_J2323.5-0317_daily_bin774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/810952/ft1_4FGL_J2323.5-0317_daily_bin774.fits outfile=/scratch/kocevski/810952/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin774.fits ra=350.888 dec=-3.29 rad=12.0 tmin=439948801.0 tmax=440208001.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.41
user 3.15
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/810952/ft1_filtered_4FGL_J2323.5-0317_daily_bin774.fits" evtable="EVENTS" scfile=/scratch/kocevski/810952/ft2_4FGL_J2323.5-0317_daily_bin774.fits sctable="SC_DATA" outfile=/scratch/kocevski/810952/ltcube_439948801_440208001_4FGL_J2323.5-0317_daily_bin774.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/810952/ft2_4FGL_J2323.5-0317_daily_bin774.fits
.....................!
real 11.92
user 11.54
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/810952/ft1_filtered_4FGL_J2323.5-0317_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/810952/ft2_4FGL_J2323.5-0317_daily_bin774.fits sctable="SC_DATA" expcube=/scratch/kocevski/810952/ltcube_439948801_440208001_4FGL_J2323.5-0317_daily_bin774.fits outfile=/scratch/kocevski/810952/expmap_439948801_440208001_4FGL_J2323.5-0317_daily_bin774.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/810952/ltcube_439948801_440208001_4FGL_J2323.5-0317_daily_bin774.fits
.....................!
real 190.72
user 185.11
sys 5.06

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/810952/ft1_filtered_4FGL_J2323.5-0317_daily_bin774.fits scfile=/scratch/kocevski/810952/ft2_4FGL_J2323.5-0317_daily_bin774.fits outfile=/scratch/kocevski/810952/cmap_439948801_440208001_4FGL_J2323.5-0317_daily_bin774.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/810952/ft1_filtered_4FGL_J2323.5-0317_daily_bin774.fits scfile=/scratch/kocevski/810952/ft2_4FGL_J2323.5-0317_daily_bin774.fits outfile=/scratch/kocevski/810952/cmap_HighResolution_439948801_440208001_4FGL_J2323.5-0317_daily_bin774.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/810952/ft1_filtered_4FGL_J2323.5-0317_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/810952/ft2_4FGL_J2323.5-0317_daily_bin774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/810952/Model_4FGL_J2323.5-0317_daily_bin774.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/810952/ft1_filtered_4FGL_J2323.5-0317_daily_bin774.fits.....................!
real 51.22
user 49.95
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10449E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    86.324       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .65681       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12597E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    43.689       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.875       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .21112E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.2289       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .81712       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0805       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.

 FCN=   4979.277     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2886 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7083       -.32778E-06** at limit **
   2  Prefactor     86.312        73.447       -.93939E-06   -.40173E-04
   3  Prefactor     .10000E-03    73.459        .12274E-05** at limit **
   4  Prefactor     .10000E-03    16.763       -.76989E-06** at limit **
   5  norm          .10000E-03    9.5246       -.37305E-07** at limit **
   6  Prefactor     .10000E-03    36.183       -.26501E-06** at limit **
   7  Prefactor     .10000E-03    9.9184        .28591E-06** at limit **
   8  Prefactor     .10000E-03    12.437       -.25834E-07** at limit **
   9  Prefactor     .10000E-03    2.3908        .10124E-08** at limit **
  10  norm          .65684        .88506        .10854E-06    .32747E-03
  11  norm          .10000E-03    4.6451        .13632E-07** at limit **
  12  Prefactor     .10000E-03    19.585        .14764E-06** at limit **
  13  Prefactor     .10000E-03    14.371        .24887E-06** at limit **
  14  Prefactor     .10001E-03    88.357        .18694E-05** at limit **
  15  Prefactor     .10000E-03    4.7219       -.10195E-06** at limit **
  16  Prefactor     43.689        30.663        .16837E-06    .11442E-04
  17  norm          .10000E-03    13.440        .16174E-06** at limit **
  18  Prefactor     .10000E-03    40.201       -.14328E-05** at limit **
  19  Prefactor     12.875        6.1477        .20456E-07    .56311E-04
  20  Prefactor     .10000E-03    30.200        .13026E-05** at limit **
  21  Prefactor     .10000E-03    11.750       -.26406E-06** at limit **
  22  Prefactor     .10211E-03    25.201       -.49232E-05** at limit **
  23  Prefactor     8.2315        9.4512        .32180E-05    .66873E-03
  24  Normalizat    .81671        .22054       -.20863E-06    .20466E-03
  25  Prefactor     1.0808        .15795       -.34561E-06    .20392E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 86.3118
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.656836
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 43.6894
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 12.8751
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000102108
  Prefactor  = 8.23155
  Normalizat = 0.81671
  Prefactor  = 1.08075
 **********
 **   18 **HESSE 
 **********

 FCN=   4979.277     FROM HESSE     STATUS=OK           417 CALLS     3303 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7581        .16472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     86.312        73.446        .43240E-04   -1.3847    
   3  Prefactor     .10000E-03    74.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.507        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    9.6002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    36.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.9469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.3927        .10655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .65684        .84146        .73360E-03   -1.5546    
  11  norm          .10000E-03    4.7924        .29690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.154        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    88.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.7266        .14969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.689        30.637        .60653E-04   -1.4385    
  17  norm          .10000E-03    13.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    40.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.875        6.1525        .11163E-03   -1.4990    
  20  Prefactor     .10000E-03    30.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10211E-03    129.34        .52315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     8.2315        9.6612        .69879E-03   -1.5134    
  24  Normalizat    .81671        .25635        .30371E-03   -.99452    
  25  Prefactor     1.0808        .18479        .19781E-03   -.90084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59809e-08
Minuit parameter uncertainties:
  1  2.98711e-05
  2  73.5239
  3  0.000857426
  4  0.000202813
  5  2.65743e-05
  6  0.000206755
  7  7.61268e-05
  8  1.18622e-05
  9  3.40189e-07
  10  0.841477
  11  1.38242e-06
  12  2.69169e-05
  13  9.24211e-05
  14  0.00181604
  15  4.39084e-06
  16  30.6482
  17  9.29572e-05
  18  0.000879446
  19  6.15282
  20  0.000687509
  21  9.55185e-05
  22  0.0330939
  23  9.66302
  24  0.256727
  25  0.184898
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  6.568e-01  8.415e-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:  1.081e+00  1.849e-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:  8.167e-01  2.567e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.54e-08 +/- 3.26e-08
Energy Flux (Fixed Index): 1.04e-05 +/- 1.33e-05

TS (Fixed Index): 1.01
Ra Dec: 350.888 -3.290
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/810952/likelihoodResults_439948801_440208001_4FGL_J2323.5-0317_daily_bin774.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4979.12012068
delta logL = 0.15695948036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4979.09525007
delta logL = 0.181830089931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44634       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4794       1.0000          .0000       5.0000    
     3 'Normalizat'    .83221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0757       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=   4979.095     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44572        .60131        .11050E-01    .83232E-03
   2  alpha         1.4811        .60402        .46646       -.50446E-04
   3  Normalizat    .83207        .21134        .68071E-01    .33913E-05
   4  Prefactor     1.0755        .15700        .38593E-01   -.13713E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.445722
  alpha      = 1.48109
  Normalizat = 0.832073
  Prefactor  = 1.07555
 **********
 **   18 **HESSE 
 **********

 FCN=   4979.095     FROM HESSE     STATUS=OK            35 CALLS      246 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44572        .76476        .61381E-03   -1.5574    
   2  alpha         1.4811        .98593        .18295E-01   -.41978    
   3  Normalizat    .83207        .24603        .30117E-03   -.98890    
   4  Prefactor     1.0755        .18318        .19821E-03   -.90252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.16446e-11
Minuit parameter uncertainties:
  1  0.764772
  2  1.01948
  3  0.246361
  4  0.183287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/810952': 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) = 4979.09524135
delta logL = 0.181838811071

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  4.457e-01  7.648e-01  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  1.481e+00  1.019e+00  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.076e+00  1.833e-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:  8.321e-01  2.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.38
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 1.48 +/- 1.02
Photon Flux (Free Index): 1.12e-08 +/- 2.11e-08
Energy Flux (Free Index): 1.66e-05 +/- 2.75e-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/810952/cmap_HighResolution_439948801_440208001_4FGL_J2323.5-0317_daily_bin774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-05', comment='SUCCESS', photon_flux='2.54e-08', energy_flux2='1.66e-05', photon_flux_error='3.26e-08', dlogl='1.82e-01', energy_flux='1.04e-05', photon_flux2='1.12e-08', job_status='DONE', time_completed='2021-09-29 14:47:37.822717', photon_index_error2='1.02', photon_index2='1.48', ts='1.01', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='2.75e-05', EG='0.82', time_epoch_completed='1632952057.82', return_code='0', job_id='810952', GAL2='1.08', EG2='0.83', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='2.11e-08', ts2='1.38', photon_index='2.16' WHERE bin_id='774' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:47:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 810952: <4FGL_J2323.5-0317_daily_bin774> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin774 350.888 -3.29 439948801 440208001 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 :                                   594.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            735 sec.

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

