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


Performing analysis on: 4FGL_J2323.5-0317_daily_bin281
RA = 350.888, Dec = -3.29
tmin = 312163201, tmax = 312422401
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='808268', job_status='RUN', time_executed='2021-09-29 14:27:31.918199', time_epoch_executed='1632950851.92' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='281'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808268

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808268/ft1_4FGL_J2323.5-0317_daily_bin281.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808268/ft2_4FGL_J2323.5-0317_daily_bin281.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808268/ft1_4FGL_J2323.5-0317_daily_bin281.fits outfile=/scratch/kocevski/808268/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin281.fits ra=350.888 dec=-3.29 rad=12.0 tmin=312163201.0 tmax=312422401.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.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/808268/ft1_filtered_4FGL_J2323.5-0317_daily_bin281.fits" evtable="EVENTS" scfile=/scratch/kocevski/808268/ft2_4FGL_J2323.5-0317_daily_bin281.fits sctable="SC_DATA" outfile=/scratch/kocevski/808268/ltcube_312163201_312422401_4FGL_J2323.5-0317_daily_bin281.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/808268/ft2_4FGL_J2323.5-0317_daily_bin281.fits
.....................!
real 12.88
user 12.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808268/ft1_filtered_4FGL_J2323.5-0317_daily_bin281.fits evtable="EVENTS" scfile=/scratch/kocevski/808268/ft2_4FGL_J2323.5-0317_daily_bin281.fits sctable="SC_DATA" expcube=/scratch/kocevski/808268/ltcube_312163201_312422401_4FGL_J2323.5-0317_daily_bin281.fits outfile=/scratch/kocevski/808268/expmap_312163201_312422401_4FGL_J2323.5-0317_daily_bin281.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/808268/ltcube_312163201_312422401_4FGL_J2323.5-0317_daily_bin281.fits
.....................!
real 190.89
user 185.54
sys 4.94

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/808268/ft1_filtered_4FGL_J2323.5-0317_daily_bin281.fits scfile=/scratch/kocevski/808268/ft2_4FGL_J2323.5-0317_daily_bin281.fits outfile=/scratch/kocevski/808268/cmap_312163201_312422401_4FGL_J2323.5-0317_daily_bin281.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/808268/ft1_filtered_4FGL_J2323.5-0317_daily_bin281.fits scfile=/scratch/kocevski/808268/ft2_4FGL_J2323.5-0317_daily_bin281.fits outfile=/scratch/kocevski/808268/cmap_HighResolution_312163201_312422401_4FGL_J2323.5-0317_daily_bin281.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3475       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.9768       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    54.003       1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.421       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7286       1.0000         .10000E-03   10000.    
    11 'norm      '    4.4129       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1790       1.0000         .10000E-03   10000.    
    14 'Prefactor '    121.49       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6948       1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.393       1.0000         .10000E-03   10000.    
    17 'norm      '    57.926       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.6088       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.1354       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.604       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.455       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .61863       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0302       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .76496       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=   5475.796     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2864 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3264        12.953        .61079E-06   -.95824E-04
   2  Prefactor     .10000E-03    23.198        .12089E-05** at limit **
   3  Prefactor     .10000E-03    25.277       -.64509E-06** at limit **
   4  Prefactor     9.9781        11.564        .18960E-06    .30999E-05
   5  norm          .10000E-03    5.3774        .69845E-07** at limit **
   6  Prefactor     54.006        39.878       -.30520E-06   -.15085E-04
   7  Prefactor     32.423        19.268       -.17125E-06   -.21703E-04
   8  Prefactor     .10000E-03    26.286       -.11008E-05** at limit **
   9  Prefactor     .10000E-03    4.8215       -.51304E-07** at limit **
  10  norm          1.7287        .97811       -.33388E-07   -.11816E-03
  11  norm          4.4144        4.7714        .21839E-06    .10817E-04
  12  Prefactor     .10000E-03    6.9672       -.16311E-07** at limit **
  13  Prefactor     5.1308        95.868        .18429E-04    .18952E-04
  14  Prefactor     121.47        147.21        .86241E-06    .26530E-05
  15  Prefactor     2.7021        12.257        .31161E-05   -.20602E-04
  16  Prefactor     36.392        26.578        .11174E-06   -.56925E-05
  17  norm          57.918        30.720        .13330E-06    .24017E-04
  18  Prefactor     .10000E-03    24.186        .19076E-06** at limit **
  19  Prefactor     9.6082        5.3973       -.13079E-06   -.41123E-04
  20  Prefactor     4.1202        42.106        .40773E-05    .80266E-05
  21  Prefactor     17.604        27.849       -.16222E-06   -.13075E-04
  22  Prefactor     12.457        17.619        .83343E-07   -.20120E-04
  23  Prefactor     .64400        12.488        .16745E-05   -.26665E-03
  24  Normalizat    1.0301        .21106       -.12999E-05   -.11816E-03
  25  Prefactor     .76502        .14522        .27129E-07   -.12331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.3264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.97814
  norm       = 0.0001
  Prefactor  = 54.0063
  Prefactor  = 32.4226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.72869
  norm       = 4.41436
  Prefactor  = 0.0001
  Prefactor  = 5.13085
  Prefactor  = 121.474
  Prefactor  = 2.70213
  Prefactor  = 36.392
  norm       = 57.9177
  Prefactor  = 0.0001
  Prefactor  = 9.60823
  Prefactor  = 4.12023
  Prefactor  = 17.604
  Prefactor  = 12.4568
  Prefactor  = 0.643997
  Normalizat = 1.03009
  Prefactor  = 0.765021
 **********
 **   18 **HESSE 
 **********

 FCN=   5475.796     FROM HESSE     STATUS=OK           437 CALLS     3301 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3264        12.667        .22120E-03   -1.5343    
   2  Prefactor     .10000E-03    23.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.9781        11.564        .12686E-03   -1.5076    
   5  norm          .10000E-03    5.3936        .16757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     54.006        39.911        .54582E-04   -1.4237    
   7  Prefactor     32.423        19.275        .70373E-04   -1.4569    
   8  Prefactor     .10000E-03    26.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.8437        .15849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7287        .97404        .52232E-04   -1.5445    
  11  norm          4.4144        4.7604        .16185E-03   -1.5288    
  12  Prefactor     .10000E-03    7.0895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1308        96.050        .17665E-03   -1.5255    
  14  Prefactor     121.47        147.24        .18257E-03   -1.3499    
  15  Prefactor     2.7021        12.456        .12409E-02   -1.5379    
  16  Prefactor     36.392        26.581        .66433E-04   -1.4501    
  17  norm          57.918        30.830        .52711E-04   -1.4184    
  18  Prefactor     .10000E-03    24.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.6082        5.4063        .11703E-03   -1.5088    
  20  Prefactor     4.1202        42.001        .19822E-03   -1.5302    
  21  Prefactor     17.604        27.838        .95459E-04   -1.4869    
  22  Prefactor     12.457        17.650        .11350E-03   -1.5002    
  23  Prefactor     .64400        45.635        .42341E-02   -1.5547    
  24  Normalizat    1.0301        .23997        .26599E-03   -.92029    
  25  Prefactor     .76502        .16574        .22234E-03   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.48771e-10
Minuit parameter uncertainties:
  1  12.6768
  2  2.34223e-05
  3  6.62595e-06
  4  11.5661
  5  4.38084e-06
  6  39.9308
  7  19.2791
  8  2.25286e-05
  9  1.50242e-06
  10  0.974046
  11  4.76078
  12  1.65348e-06
  13  44.4814
  14  147.684
  15  11.6066
  16  26.59
  17  30.8382
  18  5.545e-06
  19  5.4066
  20  26.3334
  21  27.8588
  22  17.6576
  23  10.8501
  24  0.24022
  25  0.165849
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.729e+00  9.740e-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.650e-01  1.658e-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.030e+00  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.96
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 6.69e-08 +/- 3.77e-08
Energy Flux (Fixed Index): 2.74e-05 +/- 1.54e-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) = 5475.79618003
delta logL = 4.29351066487e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5475.79617851
delta logL = 4.44531315225e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7286       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1647       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0298       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76513       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5475.796     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      225 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7279        .96556        .26088E-03   -.17702E-03
   2  alpha         2.1649        .50090        .12862E-01    .21753E-04
   3  Normalizat    1.0298        .22347        .26602E-03    .38866E-03
   4  Prefactor     .76513        .16283        .22232E-03    .50259E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72789
  alpha      = 2.16493
  Normalizat = 1.02983
  Prefactor  = 0.765125
 **********
 **   18 **HESSE 
 **********

 FCN=   5475.796     FROM HESSE     STATUS=OK            25 CALLS      250 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7279        .96232        .10435E-04   -1.5445    
   2  alpha         2.1649        .49912        .51447E-03   -.13443    
   3  Normalizat    1.0298        .22361        .53203E-04   -.92038    
   4  Prefactor     .76513        .16293        .44464E-04   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63142e-10
Minuit parameter uncertainties:
  1  0.96233
  2  0.502564
  3  0.223817
  4  0.163037
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808268': 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) = 5475.79617817
delta logL = 4.47927413916e-05

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.728e+00  9.623e-01  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  2.165e+00  5.026e-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.651e-01  1.630e-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.030e+00  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.97
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 2.16 +/- 0.50
Photon Flux (Free Index): 6.72e-08 +/- 4.68e-08
Energy Flux (Free Index): 2.73e-05 +/- 1.64e-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/808268/cmap_HighResolution_312163201_312422401_4FGL_J2323.5-0317_daily_bin281.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.69e-08', energy_flux2='2.73e-05', photon_flux_error='3.77e-08', dlogl='4.48e-05', energy_flux='2.74e-05', photon_flux2='6.72e-08', job_status='DONE', time_completed='2021-09-29 14:37:25.930505', photon_index_error2='0.50', photon_index2='2.16', ts='7.96', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.64e-05', EG='1.03', time_epoch_completed='1632951445.93', return_code='0', job_id='808268', GAL2='0.77', EG2='1.03', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='4.68e-08', ts2='7.97', photon_index='2.16' WHERE bin_id='281' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:37:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 808268: <4FGL_J2323.5-0317_daily_bin281> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin281 350.888 -3.29 312163201 312422401 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 :                                   566.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            719 sec.

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

