/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 43 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 = 7655
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2323.5-0317_daily_bin272
RA = 350.888, Dec = -3.29
tmin = 309830401, tmax = 310089601
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='808253', job_status='RUN', time_executed='2021-09-29 14:26:24.930203', time_epoch_executed='1632950784.93' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808253

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808253/ft1_4FGL_J2323.5-0317_daily_bin272.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808253/ft2_4FGL_J2323.5-0317_daily_bin272.fits


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

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/808253/ft2_4FGL_J2323.5-0317_daily_bin272.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/808253/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin272.fits evtable="EVENTS" outfile="/scratch/kocevski/808253/ft1_filtered_4FGL_J2323.5-0317_daily_bin272.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/808253/ft1_filtered_4FGL_J2323.5-0317_daily_bin272.fits" evtable="EVENTS" scfile=/scratch/kocevski/808253/ft2_4FGL_J2323.5-0317_daily_bin272.fits sctable="SC_DATA" outfile=/scratch/kocevski/808253/ltcube_309830401_310089601_4FGL_J2323.5-0317_daily_bin272.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/808253/ft2_4FGL_J2323.5-0317_daily_bin272.fits
.....................!
real 11.86
user 11.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808253/ft1_filtered_4FGL_J2323.5-0317_daily_bin272.fits evtable="EVENTS" scfile=/scratch/kocevski/808253/ft2_4FGL_J2323.5-0317_daily_bin272.fits sctable="SC_DATA" expcube=/scratch/kocevski/808253/ltcube_309830401_310089601_4FGL_J2323.5-0317_daily_bin272.fits outfile=/scratch/kocevski/808253/expmap_309830401_310089601_4FGL_J2323.5-0317_daily_bin272.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/808253/ltcube_309830401_310089601_4FGL_J2323.5-0317_daily_bin272.fits
.....................!
real 190.87
user 185.91
sys 4.64

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/808253/ft1_filtered_4FGL_J2323.5-0317_daily_bin272.fits scfile=/scratch/kocevski/808253/ft2_4FGL_J2323.5-0317_daily_bin272.fits outfile=/scratch/kocevski/808253/cmap_309830401_310089601_4FGL_J2323.5-0317_daily_bin272.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.53
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/808253/ft1_filtered_4FGL_J2323.5-0317_daily_bin272.fits evtable="EVENTS" scfile=/scratch/kocevski/808253/ft2_4FGL_J2323.5-0317_daily_bin272.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/808253/Model_4FGL_J2323.5-0317_daily_bin272.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/808253/ft1_filtered_4FGL_J2323.5-0317_daily_bin272.fits.....................!
real 67.77
user 66.51
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6790       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.166       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.9592       1.0000         .10000E-03   10000.    
     6 'Prefactor '    78.170       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.7126       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.0067       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.604       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    103.44       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.6402       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .25731E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0417       1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.286       1.0000         .10000E-03   10000.    
    21 'Prefactor '    25.567       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.7834       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .83104       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96123       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=   7229.692     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2917 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6793        7.2746       -.49273E-06   -.67734E-05
   2  Prefactor     15.158        30.302        .89474E-06   -.59985E-05
   3  Prefactor     .10000E-03    7.2446       -.31915E-08** at limit **
   4  Prefactor     .10000E-03    8.6598       -.15486E-06** at limit **
   5  norm          4.9589        9.5077        .25906E-06    .73155E-06
   6  Prefactor     78.171        41.497        .16471E-06   -.23533E-04
   7  Prefactor     .10000E-03    12.204        .22573E-08** at limit **
   8  Prefactor     7.7095        25.853        .51639E-06   -.76048E-05
   9  Prefactor     .10000E-03    2.6272       -.39600E-07** at limit **
  10  norm          1.0066        .73612        .16924E-06    .41391E-03
  11  norm          .10000E-03    1.5914        .83644E-08** at limit **
  12  Prefactor     16.607        9.9230        .20806E-06   -.21774E-03
  13  Prefactor     .10000E-03    72.906        .16508E-05** at limit **
  14  Prefactor     103.60        177.48       -.18026E-04    .13335E-04
  15  Prefactor     8.6404        7.8882        .20998E-06   -.35490E-04
  16  Prefactor     .10061E-03    22.701        .99539E-05** at limit **
  17  norm          .10000E-03    17.493       -.28708E-06** at limit **
  18  Prefactor     .10000E-03    24.697        .47233E-06** at limit **
  19  Prefactor     4.0407        4.5167        .78086E-06    .10470E-03
  20  Prefactor     20.281        39.338        .12972E-05   -.52658E-04
  21  Prefactor     25.573        24.557        .21996E-07   -.67870E-04
  22  Prefactor     .10000E-03    4.8676       -.49173E-07** at limit **
  23  Prefactor     2.7827        6.0158        .59941E-05    .96420E-03
  24  Normalizat    .83117        .17332       -.13065E-05   -.89677E-04
  25  Prefactor     .96116        .12710        .26446E-06   -.39636E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.67932
  Prefactor  = 15.1583
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.95893
  Prefactor  = 78.1714
  Prefactor  = 0.0001
  Prefactor  = 7.70951
  Prefactor  = 0.0001
  norm       = 1.0066
  norm       = 0.0001
  Prefactor  = 16.6068
  Prefactor  = 0.0001
  Prefactor  = 103.595
  Prefactor  = 8.64037
  Prefactor  = 0.000100615
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.04074
  Prefactor  = 20.2814
  Prefactor  = 25.5726
  Prefactor  = 0.0001
  Prefactor  = 2.78272
  Normalizat = 0.831174
  Prefactor  = 0.961159
 **********
 **   18 **HESSE 
 **********

 FCN=   7229.692     FROM HESSE     STATUS=OK           429 CALLS     3346 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6793        7.2784        .13606E-03   -1.5119    
   2  Prefactor     15.158        30.302        .10285E-03   -1.4929    
   3  Prefactor     .10000E-03    7.2493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.8410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.9589        9.5050        .18060E-03   -1.5263    
   6  Prefactor     78.171        41.510        .45421E-04   -1.3937    
   7  Prefactor     .10000E-03    12.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.7095        25.869        .14439E-03   -1.5153    
   9  Prefactor     .10000E-03    2.6288        .13421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0066        .70920        .58970E-03   -1.5507    
  11  norm          .10000E-03    1.6108        .10472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.607        9.8715        .98290E-04   -1.4893    
  13  Prefactor     .10000E-03    73.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     103.60        178.46        .19767E-03   -1.3669    
  15  Prefactor     8.6404        7.8394        .13637E-03   -1.5120    
  16  Prefactor     .10061E-03    68.458        .62553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    17.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.0407        4.4935        .16713E-03   -1.5306    
  20  Prefactor     20.281        39.323        .88927E-04   -1.4807    
  21  Prefactor     25.573        24.536        .79225E-04   -1.4696    
  22  Prefactor     .10000E-03    4.8840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.7827        6.2516        .12195E-02   -1.5374    
  24  Normalizat    .83117        .20489        .28398E-03   -.98923    
  25  Prefactor     .96116        .15075        .20106E-03   -.94036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00933e-08
Minuit parameter uncertainties:
  1  7.27918
  2  30.3325
  3  1.27663e-06
  4  1.13033e-05
  5  9.50791
  6  41.5258
  7  1.48754e-05
  8  25.9065
  9  3.72763e-06
  10  0.709207
  11  5.13519e-07
  12  9.87242
  13  0.000214145
  14  179.394
  15  7.8403
  16  0.0129889
  17  1.51424e-06
  18  6.15778e-06
  19  4.49387
  20  39.3737
  21  24.5459
  22  5.71394e-06
  23  6.25303
  24  0.205082
  25  0.15082
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.007e+00  7.092e-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.612e-01  1.508e-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.312e-01  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.76
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 3.90e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 1.12e-05

TS (Fixed Index): 3.76
Ra Dec: 350.888 -3.290
Photon Flux Upper Limit: 9.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.05e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/808253/likelihoodResults_309830401_310089601_4FGL_J2323.5-0317_daily_bin272.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) = 7229.65767361
delta logL = 0.0341173917604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7229.65636102
delta logL = 0.0354299794362

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97794       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3266       1.0000          .0000       5.0000    
     3 'Normalizat'    .82415       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96432       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=   7229.656     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      210 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97797        14.467        .12448E-01    .41507E-03
   2  alpha         2.3266        3.3373        .41277        .52412E-04
   3  Normalizat    .82415        .61532E-01    .64441E-01   -.41780E-04
   4  Prefactor     .96432        .43727E-01    .45820E-01   -.90796E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.977966
  alpha      = 2.32663
  Normalizat = 0.824146
  Prefactor  = 0.964316
 **********
 **   18 **HESSE 
 **********

 FCN=   7229.656     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97797        .70525        .56706E-03   -1.5510    
   2  alpha         2.3266        .64041        .16674E-01   -.69404E-01
   3  Normalizat    .82415        .19625        .28506E-03   -.99179    
   4  Prefactor     .96432        .14815        .20076E-03   -.93929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51221e-10
Minuit parameter uncertainties:
  1  0.705252
  2  0.64767
  3  0.196423
  4  0.148213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808253': 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) = 7229.65636102
delta logL = 0.0354299806822

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  9.780e-01  7.053e-01  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  2.327e+00  6.477e-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:  9.643e-01  1.482e-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.241e-01  1.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.83
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 2.33 +/- 0.65
Photon Flux (Free Index): 4.46e-08 +/- 3.60e-08
Energy Flux (Free Index): 1.50e-05 +/- 1.09e-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/808253/cmap_HighResolution_309830401_310089601_4FGL_J2323.5-0317_daily_bin272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.05e-05', comment='SUCCESS', photon_flux='3.90e-08', energy_flux2='1.50e-05', photon_flux_error='2.74e-08', dlogl='3.54e-02', energy_flux='1.60e-05', photon_flux2='4.46e-08', job_status='DONE', time_completed='2021-09-29 14:38:57.634034', photon_index_error2='0.65', photon_index2='2.33', ts='3.76', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.90e-08', energy_flux_error2='1.09e-05', EG='0.83', time_epoch_completed='1632951537.63', return_code='0', job_id='808253', GAL2='0.96', EG2='0.82', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='3.60e-08', ts2='3.83', photon_index='2.16' WHERE bin_id='272' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:38:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 808253: <4FGL_J2323.5-0317_daily_bin272> in cluster <slac> Done

Job <4FGL_J2323.5-0317_daily_bin272> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 14:25:24 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 14:25: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:25:26 2021
Terminated at Wed Sep 29 14:38:58 2021
Results reported at Wed Sep 29 14:38:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin272 350.888 -3.29 309830401 310089601 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 :                                   723.00 sec.
    Max Memory :                                 1029 MB
    Average Memory :                             322.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            814 sec.

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

