/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 28 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 = 7664
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2323.5-0317_daily_bin393
RA = 350.888, Dec = -3.29
tmin = 341193601, tmax = 341452801
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='808448', job_status='RUN', time_executed='2021-09-29 14:26:26.479585', time_epoch_executed='1632950786.48' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='393'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808448

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808448/ft1_4FGL_J2323.5-0317_daily_bin393.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808448/ft2_4FGL_J2323.5-0317_daily_bin393.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808448/ft1_4FGL_J2323.5-0317_daily_bin393.fits outfile=/scratch/kocevski/808448/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin393.fits ra=350.888 dec=-3.29 rad=12.0 tmin=341193601.0 tmax=341452801.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.48
user 3.22
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/808448/ft2_4FGL_J2323.5-0317_daily_bin393.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/808448/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin393.fits evtable="EVENTS" outfile="/scratch/kocevski/808448/ft1_filtered_4FGL_J2323.5-0317_daily_bin393.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.52
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/808448/ft1_filtered_4FGL_J2323.5-0317_daily_bin393.fits" evtable="EVENTS" scfile=/scratch/kocevski/808448/ft2_4FGL_J2323.5-0317_daily_bin393.fits sctable="SC_DATA" outfile=/scratch/kocevski/808448/ltcube_341193601_341452801_4FGL_J2323.5-0317_daily_bin393.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/808448/ft2_4FGL_J2323.5-0317_daily_bin393.fits
.....................!
real 12.48
user 12.07
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808448/ft1_filtered_4FGL_J2323.5-0317_daily_bin393.fits evtable="EVENTS" scfile=/scratch/kocevski/808448/ft2_4FGL_J2323.5-0317_daily_bin393.fits sctable="SC_DATA" expcube=/scratch/kocevski/808448/ltcube_341193601_341452801_4FGL_J2323.5-0317_daily_bin393.fits outfile=/scratch/kocevski/808448/expmap_341193601_341452801_4FGL_J2323.5-0317_daily_bin393.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/808448/ltcube_341193601_341452801_4FGL_J2323.5-0317_daily_bin393.fits
.....................!
real 191.30
user 185.25
sys 5.61

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/808448/ft1_filtered_4FGL_J2323.5-0317_daily_bin393.fits scfile=/scratch/kocevski/808448/ft2_4FGL_J2323.5-0317_daily_bin393.fits outfile=/scratch/kocevski/808448/cmap_341193601_341452801_4FGL_J2323.5-0317_daily_bin393.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/808448/ft1_filtered_4FGL_J2323.5-0317_daily_bin393.fits scfile=/scratch/kocevski/808448/ft2_4FGL_J2323.5-0317_daily_bin393.fits outfile=/scratch/kocevski/808448/cmap_HighResolution_341193601_341452801_4FGL_J2323.5-0317_daily_bin393.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/808448/ft1_filtered_4FGL_J2323.5-0317_daily_bin393.fits evtable="EVENTS" scfile=/scratch/kocevski/808448/ft2_4FGL_J2323.5-0317_daily_bin393.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/808448/Model_4FGL_J2323.5-0317_daily_bin393.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/808448/ft1_filtered_4FGL_J2323.5-0317_daily_bin393.fits.....................!
real 57.31
user 55.82
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2361       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.5947       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.4156       1.0000         .10000E-03   10000.    
     6 'Prefactor '    57.191       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.616       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.825       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7719       1.0000         .10000E-03   10000.    
    11 'norm      '    8.2106       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11415E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    89.253       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6598       1.0000         .10000E-03   10000.    
    20 'Prefactor '    55.707       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.051       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.5057       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .86340       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .70809       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=   5957.276     FROM MIGRAD    STATUS=CONVERGED    590 CALLS     3349 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2353        6.0619       -.12869E-05   -.12201E-03
   2  Prefactor     8.5831        34.103        .57558E-05    .15571E-04
   3  Prefactor     .10000E-03    7.7609        .10554E-06** at limit **
   4  Prefactor     .10000E-03    4.4316        .25544E-06** at limit **
   5  norm          2.4144        2.5535        .72547E-06   -.21847E-02
   6  Prefactor     57.192        35.783       -.33401E-06   -.12691E-04
   7  Prefactor     23.616        17.335        .46272E-07    .44777E-06
   8  Prefactor     16.825        27.483       -.28957E-06    .28797E-05
   9  Prefactor     .10000E-03    2.4003       -.95505E-07** at limit **
  10  norm          1.7719        .94571       -.15699E-06   -.21110E-03
  11  norm          8.2104        5.1647        .32257E-05    .39429E-03
  12  Prefactor     .10000E-03    6.1108        .19922E-06** at limit **
  13  Prefactor     .10010E-03    31.871       -.41227E-06** at limit **
  14  Prefactor     89.246        95.825       -.46642E-05   -.17992E-04
  15  Prefactor     .10000E-03    3.0572       -.72108E-08** at limit **
  16  Prefactor     .10000E-03    10.835       -.41123E-06** at limit **
  17  norm          .10000E-03    5.7966        .28593E-07** at limit **
  18  Prefactor     .10000E-03    20.360       -.32332E-06** at limit **
  19  Prefactor     6.6605        3.8185        .16906E-07   -.25469E-04
  20  Prefactor     55.706        39.646        .23886E-06    .55306E-05
  21  Prefactor     12.051        13.335        .11490E-06    .49435E-06
  22  Prefactor     .10000E-03    3.8966       -.18378E-07** at limit **
  23  Prefactor     6.5059        6.8122       -.58228E-06   -.81439E-04
  24  Normalizat    .86330        .16459       -.57240E-06   -.72620E-05
  25  Prefactor     .70820        .11797       -.16604E-06   -.41622E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.23535
  Prefactor  = 8.58309
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.41445
  Prefactor  = 57.1916
  Prefactor  = 23.6159
  Prefactor  = 16.8247
  Prefactor  = 0.0001
  norm       = 1.7719
  norm       = 8.21037
  Prefactor  = 0.0001
  Prefactor  = 0.0001001
  Prefactor  = 89.2462
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.66049
  Prefactor  = 55.7061
  Prefactor  = 12.0508
  Prefactor  = 0.0001
  Prefactor  = 6.50592
  Normalizat = 0.863297
  Prefactor  = 0.708199
 **********
 **   18 **HESSE 
 **********

 FCN=   5957.276     FROM HESSE     STATUS=OK           441 CALLS     3790 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2353        6.0392        .22517E-03   -1.5348    
   2  Prefactor     8.5831        34.077        .13673E-03   -1.5122    
   3  Prefactor     .10000E-03    7.7652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.613        .31598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4144        6.1291        .13169E-02   -1.5397    
   6  Prefactor     57.192        35.785        .53047E-04   -1.4194    
   7  Prefactor     23.616        17.340        .82427E-04   -1.4736    
   8  Prefactor     16.825        27.502        .97643E-04   -1.4887    
   9  Prefactor     .10000E-03    2.4056        .11676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7719        .93708        .51684E-04   -1.5442    
  11  norm          8.2104        5.1751        .13248E-03   -1.5135    
  12  Prefactor     .10000E-03    48.623        .36861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10010E-03    32.625        .14167       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     89.246        95.840        .42531E-04   -1.3816    
  15  Prefactor     .10000E-03    3.0610        .13174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.8003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    20.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6605        3.8239        .10802E-03   -1.5192    
  20  Prefactor     55.706        39.677        .53745E-04   -1.4214    
  21  Prefactor     12.051        13.334        .11540E-03   -1.5014    
  22  Prefactor     .10000E-03    3.9018        .14879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.5059        6.8168        .15734E-03   -1.5198    
  24  Normalizat    .86330        .18699        .24922E-03   -.97762    
  25  Prefactor     .70820        .13387        .20287E-03   -1.0321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.4457e-09
Minuit parameter uncertainties:
  1  6.04034
  2  34.1539
  3  1.64255e-06
  4  0.00012884
  5  6.13073
  6  35.7987
  7  17.3434
  8  27.5225
  9  1.9429e-05
  10  0.937088
  11  5.17538
  12  0.000171473
  13  0.00360758
  14  96.0071
  15  1.62151e-06
  16  2.29178e-06
  17  1.77355e-06
  18  2.07145e-05
  19  3.824
  20  39.6956
  21  13.337
  22  8.09712e-07
  23  6.81763
  24  0.187126
  25  0.133932
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.772e+00  9.371e-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:  7.082e-01  1.339e-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.633e-01  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.94
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 6.86e-08 +/- 3.63e-08
Energy Flux (Fixed Index): 2.81e-05 +/- 1.49e-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) = 5957.25639107
delta logL = 0.0201042809522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5957.25574405
delta logL = 0.0207512997149

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7915       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0570       1.0000          .0000       5.0000    
     3 'Normalizat'    .86976       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70521       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=   5957.256     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      196 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7915        24.236        .78121E-02   -.11976E-02
   2  alpha         2.0570        2.9092        .33874       -.73363E-04
   3  Normalizat    .86976        .16578        .44514E-01    .23688E-04
   4  Prefactor     .70521        .12191        .42471E-01    .47587E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.79151
  alpha      = 2.05702
  Normalizat = 0.869756
  Prefactor  = 0.70521
 **********
 **   18 **HESSE 
 **********

 FCN=   5957.256     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7915        .94337        .52518E-04   -1.5440    
   2  alpha         2.0570        .49655        .12919E-01   -.17813    
   3  Normalizat    .86976        .17964        .24843E-03   -.97531    
   4  Prefactor     .70521        .13295        .20326E-03   -1.0332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06693e-10
Minuit parameter uncertainties:
  1  0.943375
  2  0.499987
  3  0.179764
  4  0.133013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808448': 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) = 5957.25574405
delta logL = 0.0207513006799

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.792e+00  9.434e-01  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  2.057e+00  5.000e-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.052e-01  1.330e-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.698e-01  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.01
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 2.06 +/- 0.50
Photon Flux (Free Index): 6.32e-08 +/- 4.21e-08
Energy Flux (Free Index): 2.99e-05 +/- 1.85e-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/808448/cmap_HighResolution_341193601_341452801_4FGL_J2323.5-0317_daily_bin393.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.86e-08', energy_flux2='2.99e-05', photon_flux_error='3.63e-08', dlogl='2.08e-02', energy_flux='2.81e-05', photon_flux2='6.32e-08', job_status='DONE', time_completed='2021-09-29 14:37:19.044286', photon_index_error2='0.50', photon_index2='2.06', ts='5.94', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='1.85e-05', EG='0.86', time_epoch_completed='1632951439.04', return_code='0', job_id='808448', GAL2='0.71', EG2='0.87', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='4.21e-08', ts2='6.01', photon_index='2.16' WHERE bin_id='393' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:37:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 808448: <4FGL_J2323.5-0317_daily_bin393> in cluster <slac> Done

Job <4FGL_J2323.5-0317_daily_bin393> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 14:25:41 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 14:25:43 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:25:43 2021
Terminated at Wed Sep 29 14:37:19 2021
Results reported at Wed Sep 29 14:37:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin393 350.888 -3.29 341193601 341452801 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 :                                   624.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            698 sec.

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

