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


Performing analysis on: 4FGL_J2323.5-0317_daily_bin737
RA = 350.888, Dec = -3.29
tmin = 430358401, tmax = 430617601
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='810891', job_status='RUN', time_executed='2021-09-29 14:37:01.995145', time_epoch_executed='1632951422.0' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/810891

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/810891/ft1_4FGL_J2323.5-0317_daily_bin737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/810891/ft2_4FGL_J2323.5-0317_daily_bin737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/810891/ft1_4FGL_J2323.5-0317_daily_bin737.fits outfile=/scratch/kocevski/810891/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin737.fits ra=350.888 dec=-3.29 rad=12.0 tmin=430358401.0 tmax=430617601.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 5.96
user 5.72
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/810891/ft1_filtered_4FGL_J2323.5-0317_daily_bin737.fits" evtable="EVENTS" scfile=/scratch/kocevski/810891/ft2_4FGL_J2323.5-0317_daily_bin737.fits sctable="SC_DATA" outfile=/scratch/kocevski/810891/ltcube_430358401_430617601_4FGL_J2323.5-0317_daily_bin737.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/810891/ft2_4FGL_J2323.5-0317_daily_bin737.fits
.....................!
real 12.40
user 12.02
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/810891/ft1_filtered_4FGL_J2323.5-0317_daily_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/810891/ft2_4FGL_J2323.5-0317_daily_bin737.fits sctable="SC_DATA" expcube=/scratch/kocevski/810891/ltcube_430358401_430617601_4FGL_J2323.5-0317_daily_bin737.fits outfile=/scratch/kocevski/810891/expmap_430358401_430617601_4FGL_J2323.5-0317_daily_bin737.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/810891/ltcube_430358401_430617601_4FGL_J2323.5-0317_daily_bin737.fits
.....................!
real 190.39
user 185.09
sys 4.97

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/810891/ft1_filtered_4FGL_J2323.5-0317_daily_bin737.fits scfile=/scratch/kocevski/810891/ft2_4FGL_J2323.5-0317_daily_bin737.fits outfile=/scratch/kocevski/810891/cmap_430358401_430617601_4FGL_J2323.5-0317_daily_bin737.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/810891/ft1_filtered_4FGL_J2323.5-0317_daily_bin737.fits scfile=/scratch/kocevski/810891/ft2_4FGL_J2323.5-0317_daily_bin737.fits outfile=/scratch/kocevski/810891/cmap_HighResolution_430358401_430617601_4FGL_J2323.5-0317_daily_bin737.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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/810891/ft1_filtered_4FGL_J2323.5-0317_daily_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/810891/ft2_4FGL_J2323.5-0317_daily_bin737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/810891/Model_4FGL_J2323.5-0317_daily_bin737.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/810891/ft1_filtered_4FGL_J2323.5-0317_daily_bin737.fits......................!
real 37.18
user 35.89
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.899       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    75.813       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    47.121       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.554       1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.882       1.0000         .10000E-03   10000.    
    17 'norm      '    .14599E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    140.69       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2878       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.6011       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .80707       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94331       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=   3030.221     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2875 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.898        30.249       -.65796E-05   -.11130E-03
   2  Prefactor     .10001E-03    61.042        .40266E-05** at limit **
   3  Prefactor     .10000E-03    32.423       -.27077E-05** at limit **
   4  Prefactor     .10000E-03    20.092       -.75245E-06** at limit **
   5  norm          .10000E-03    15.090       -.17711E-05** at limit **
   6  Prefactor     .10000E-03    46.449       -.19665E-05** at limit **
   7  Prefactor     .10000E-03    9.0837       -.14006E-07** at limit **
   8  Prefactor     75.843        98.034        .36904E-05    .76085E-04
   9  Prefactor     .10000E-03    8.2045        .55747E-06** at limit **
  10  norm          .10000E-03    .70382        .27514E-06** at limit **
  11  norm          .10000E-03    2.7096        .11675E-06** at limit **
  12  Prefactor     .10000E-03    5.3461       -.26304E-07** at limit **
  13  Prefactor     47.117        78.279       -.11862E-07   -.23747E-04
  14  Prefactor     .10003E-03    117.00       -.90976E-05** at limit **
  15  Prefactor     20.565        34.313        .20524E-06   -.85561E-04
  16  Prefactor     48.873        38.582       -.19411E-06   -.75087E-04
  17  norm          .10000E-03    80.716        .59012E-05** at limit **
  18  Prefactor     140.71        104.45        .11055E-05    .66286E-04
  19  Prefactor     3.2837        10.861        .13770E-05   -.16209E-03
  20  Prefactor     .10000E-03    25.526        .12971E-05** at limit **
  21  Prefactor     .10000E-03    22.596        .13942E-05** at limit **
  22  Prefactor     .10000E-03    14.545        .14935E-05** at limit **
  23  Prefactor     4.6028        27.499        .14818E-04   -.13937E-03
  24  Normalizat    .80685        .29309       -.55413E-05    .85170E-05
  25  Prefactor     .94349        .19116        .19469E-05   -.22123E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8977
  Prefactor  = 0.000100006
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 75.8432
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.117
  Prefactor  = 0.000100028
  Prefactor  = 20.5654
  Prefactor  = 48.8731
  norm       = 0.000100004
  Prefactor  = 140.712
  Prefactor  = 3.28369
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 4.60275
  Normalizat = 0.806848
  Prefactor  = 0.943489
 **********
 **   18 **HESSE 
 **********

 FCN=   3030.221     FROM HESSE     STATUS=OK           413 CALLS     3288 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.898        30.564        .10045E-03   -1.4910    
   2  Prefactor     .10001E-03    61.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    15.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    46.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.0905        .16205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     75.843        98.945        .46116E-04   -1.3964    
   9  Prefactor     .10000E-03    8.2022        .15381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .86675        .88467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.7105        .88482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.3507        .12431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     47.117        78.297        .58412E-04   -1.4334    
  14  Prefactor     .10003E-03    120.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.565        33.044        .88347E-04   -1.4801    
  16  Prefactor     48.873        38.627        .57355E-04   -1.4309    
  17  norm          .10000E-03    81.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     140.71        104.76        .16981E-03   -1.3330    
  19  Prefactor     3.2837        10.511        .21098E-03   -1.5346    
  20  Prefactor     .10000E-03    25.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    22.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.6028        28.891        .93824E-03   -1.5279    
  24  Normalizat    .80685        .34223        .30083E-03   -.99815    
  25  Prefactor     .94349        .22554        .19851E-03   -.94638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31488e-09
Minuit parameter uncertainties:
  1  30.5943
  2  0.00117149
  3  0.000531109
  4  7.06986e-05
  5  0.000201981
  6  0.000397399
  7  5.51582e-06
  8  99.1606
  9  3.39731e-05
  10  1.14329e-05
  11  5.99547e-06
  12  4.93433e-06
  13  78.4686
  14  0.00368111
  15  33.0737
  16  38.6472
  17  0.00115705
  18  104.897
  19  10.5172
  20  0.000251847
  21  0.00026547
  22  0.000216737
  23  23.0795
  24  0.343151
  25  0.22576
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.000e-04  1.143e-05  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.435e-01  2.258e-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.068e-01  3.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/810891/likelihoodResults_430358401_430617601_4FGL_J2323.5-0317_daily_bin737.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) = 3030.22692115
delta logL = -0.00544017604625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3030.22147785
delta logL = 3.12114570988e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1960       1.0000          .0000       5.0000    
     3 'Normalizat'    .80685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94349       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=   3029.368     FROM MIGRAD    STATUS=CONVERGED    304 CALLS      455 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67315E-01    .63281E-01    .27884E-02    .79637E-02
   2  alpha         5.0000        3.2645        .41543    ** at limit **
   3  Normalizat    .67104        .28243        .73818E-01    .11244E-03
   4  Prefactor     1.0035        .19315        .45557E-01    .24552E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.067315
  alpha      = 5
  Normalizat = 0.671045
  Prefactor  = 1.00347
 **********
 **   18 **HESSE 
 **********

 FCN=   3029.368     FROM HESSE     STATUS=OK            33 CALLS      488 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67315E-01    .76583E-01    .12580E-04   -1.5760    
   2  alpha         5.0000        3.4044        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .67104        .32772        .32674E-03   -1.0505    
   4  Prefactor     1.0035        .22666        .19294E-03   -.92614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49539e-09
Minuit parameter uncertainties:
  1  0.0765834
  2  0.000263503
  3  0.328682
  4  0.22688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/810891': 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) = 3029.36772076
delta logL = 0.853760215016

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  6.731e-02  7.658e-02  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  5.000e+00  2.635e-04  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.003e+00  2.269e-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:  6.710e-01  3.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.89
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.26e-07 +/- 1.43e-07
Energy Flux (Free Index): 1.71e-05 +/- 1.94e-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/810891/cmap_HighResolution_430358401_430617601_4FGL_J2323.5-0317_daily_bin737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-05', comment='SUCCESS', energy_flux2='1.71e-05', dlogl='8.54e-01', photon_flux2='1.26e-07', job_status='DONE', time_completed='2021-09-29 14:45:21.262071', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='1.94e-05', EG='0.81', time_epoch_completed='1632951921.26', return_code='0', job_id='810891', GAL2='1.00', EG2='0.67', return_code2='0', photon_flux_error2='1.43e-07', ts2='1.89', photon_index='2.16' WHERE bin_id='737' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:45:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 810891: <4FGL_J2323.5-0317_daily_bin737> in cluster <slac> Done

Job <4FGL_J2323.5-0317_daily_bin737> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 14:35:18 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 14:35:20 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:20 2021
Terminated at Wed Sep 29 14:45:22 2021
Results reported at Wed Sep 29 14:45:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin737 350.888 -3.29 430358401 430617601 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 :                                   495.25 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             254.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   601 sec.
    Turnaround time :                            604 sec.

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

