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


Performing analysis on: 4FGL_J2323.5-0317_daily_bin346
RA = 350.888, Dec = -3.29
tmin = 329011201, tmax = 329270401
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='808364', job_status='RUN', time_executed='2021-09-29 14:27:21.090059', time_epoch_executed='1632950841.09' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='346'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808364

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808364/ft1_4FGL_J2323.5-0317_daily_bin346.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808364/ft2_4FGL_J2323.5-0317_daily_bin346.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808364/ft1_4FGL_J2323.5-0317_daily_bin346.fits outfile=/scratch/kocevski/808364/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin346.fits ra=350.888 dec=-3.29 rad=12.0 tmin=329011201.0 tmax=329270401.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.58
user 3.37
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/808364/ft1_filtered_4FGL_J2323.5-0317_daily_bin346.fits" evtable="EVENTS" scfile=/scratch/kocevski/808364/ft2_4FGL_J2323.5-0317_daily_bin346.fits sctable="SC_DATA" outfile=/scratch/kocevski/808364/ltcube_329011201_329270401_4FGL_J2323.5-0317_daily_bin346.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/808364/ft2_4FGL_J2323.5-0317_daily_bin346.fits
.....................!
real 11.86
user 11.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808364/ft1_filtered_4FGL_J2323.5-0317_daily_bin346.fits evtable="EVENTS" scfile=/scratch/kocevski/808364/ft2_4FGL_J2323.5-0317_daily_bin346.fits sctable="SC_DATA" expcube=/scratch/kocevski/808364/ltcube_329011201_329270401_4FGL_J2323.5-0317_daily_bin346.fits outfile=/scratch/kocevski/808364/expmap_329011201_329270401_4FGL_J2323.5-0317_daily_bin346.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/808364/ltcube_329011201_329270401_4FGL_J2323.5-0317_daily_bin346.fits
.....................!
real 190.35
user 184.83
sys 5.21

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/808364/ft1_filtered_4FGL_J2323.5-0317_daily_bin346.fits scfile=/scratch/kocevski/808364/ft2_4FGL_J2323.5-0317_daily_bin346.fits outfile=/scratch/kocevski/808364/cmap_329011201_329270401_4FGL_J2323.5-0317_daily_bin346.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/808364/ft1_filtered_4FGL_J2323.5-0317_daily_bin346.fits scfile=/scratch/kocevski/808364/ft2_4FGL_J2323.5-0317_daily_bin346.fits outfile=/scratch/kocevski/808364/cmap_HighResolution_329011201_329270401_4FGL_J2323.5-0317_daily_bin346.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/808364/ft1_filtered_4FGL_J2323.5-0317_daily_bin346.fits evtable="EVENTS" scfile=/scratch/kocevski/808364/ft2_4FGL_J2323.5-0317_daily_bin346.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/808364/Model_4FGL_J2323.5-0317_daily_bin346.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/808364/ft1_filtered_4FGL_J2323.5-0317_daily_bin346.fits.....................!
real 56.01
user 54.68
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.9251       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3399       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.606       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.0964       1.0000         .10000E-03   10000.    
    11 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.563       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.054       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.0121       1.0000         .10000E-03   10000.    
    20 'Prefactor '    27.458       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.382       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.5030       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .61424       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98414       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=   5772.931     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     3246 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0099       -.25752E-05** at limit **
   2  Prefactor     .10000E-03    37.851       -.53968E-05** at limit **
   3  Prefactor     .10000E-03    8.1550        .16006E-05** at limit **
   4  Prefactor     .10000E-03    2.6173        .34341E-07** at limit **
   5  norm          3.9253        6.3204       -.31247E-06   -.14073E-03
   6  Prefactor     2.3205        107.87       -.81588E-04   -.27037E-04
   7  Prefactor     .10000E-03    4.9837        .45885E-05** at limit **
   8  Prefactor     37.602        44.186       -.45515E-05    .55684E-04
   9  Prefactor     .10000E-03    4.5883       -.17885E-05** at limit **
  10  norm          2.0963        1.0515       -.75570E-06    .17568E-03
  11  norm          .10000E-03    3.2019        .52844E-08** at limit **
  12  Prefactor     .10000E-03    17.898        .23103E-04** at limit **
  13  Prefactor     .10000E-03    15.035       -.20070E-04** at limit **
  14  Prefactor     29.643        312.12        .14530E-03    .13052E-04
  15  Prefactor     .10000E-03    5.6515       -.30978E-05** at limit **
  16  Prefactor     20.055        25.654        .13564E-05   -.24088E-03
  17  norm          .10000E-03    7.9879        .26300E-05** at limit **
  18  Prefactor     .10000E-03    37.730       -.34846E-05** at limit **
  19  Prefactor     5.0115        4.2835       -.16160E-05   -.16299E-03
  20  Prefactor     27.460        33.763        .21289E-05    .96108E-05
  21  Prefactor     .10000E-03    16.508       -.56761E-07** at limit **
  22  Prefactor     11.382        14.871       -.82816E-06   -.64024E-05
  23  Prefactor     4.5026        6.1974       -.58674E-06   -.20904E-03
  24  Normalizat    .61431        .18211        .40051E-05    .53728E-04
  25  Prefactor     .98408        .13037       -.47322E-06    .21154E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.9253
  Prefactor  = 2.32051
  Prefactor  = 0.0001
  Prefactor  = 37.6019
  Prefactor  = 0.0001
  norm       = 2.0963
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 29.6433
  Prefactor  = 0.000100001
  Prefactor  = 20.0551
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.01146
  Prefactor  = 27.4598
  Prefactor  = 0.0001
  Prefactor  = 11.3823
  Prefactor  = 4.50258
  Normalizat = 0.614311
  Prefactor  = 0.984075
 **********
 **   18 **HESSE 
 **********

 FCN=   5772.931     FROM HESSE     STATUS=OK           417 CALLS     3663 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.0426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    37.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.1593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.6201        .12005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.9253        6.3094        .20363E-03   -1.5312    
   6  Prefactor     2.3205        109.69        .26803E-03   -1.5403    
   7  Prefactor     .10000E-03    4.9920        .16569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.602        44.211        .65357E-04   -1.4481    
   9  Prefactor     .10000E-03    4.5968        .15864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.0963        1.0481        .50815E-04   -1.5418    
  11  norm          .10000E-03    3.2237        .13261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.320        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.643        311.63        .73686E-04   -1.4619    
  15  Prefactor     .10000E-03    5.6949        .17653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.055        25.618        .89440E-04   -1.4812    
  17  norm          .10000E-03    7.9842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    37.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.0115        4.2792        .13247E-03   -1.5260    
  20  Prefactor     27.460        33.768        .76453E-04   -1.4659    
  21  Prefactor     .10000E-03    16.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.382        14.868        .11874E-03   -1.5033    
  23  Prefactor     4.5026        6.2003        .18973E-03   -1.5284    
  24  Normalizat    .61431        .21281        .30127E-03   -1.0738    
  25  Prefactor     .98408        .15389        .18242E-03   -.93262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72743e-10
Minuit parameter uncertainties:
  1  5.69239e-06
  2  2.15708e-05
  3  5.73323e-06
  4  1.77795e-06
  5  6.31049
  6  31.97
  7  1.44036e-05
  8  44.25
  9  1.797e-05
  10  1.04814
  11  2.90874e-06
  12  0.00030342
  13  9.96365e-06
  14  193.532
  15  0.000175205
  16  25.6323
  17  9.21956e-05
  18  6.71724e-05
  19  4.27947
  20  33.7913
  21  5.95571e-05
  22  14.8731
  23  6.2012
  24  0.213093
  25  0.153958
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  2.096e+00  1.048e+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

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  9.841e-01  1.540e-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.143e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.26
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 8.11e-08 +/- 4.06e-08
Energy Flux (Fixed Index): 3.32e-05 +/- 1.66e-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) = 5772.91155864
delta logL = 0.0194124629506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5772.91074747
delta logL = 0.0202236290033

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1070       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2538       1.0000          .0000       5.0000    
     3 'Normalizat'    .60508       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98765       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=   5772.911     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1069        20.354        .71062E-02    .21235E-03
   2  alpha         2.2538        3.3569        .29775        .19540E-04
   3  Normalizat    .60513        .13798        .68536E-01    .28693E-04
   4  Prefactor     .98762        .85631E-01    .46113E-01    .70175E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10688
  alpha      = 2.25381
  Normalizat = 0.605135
  Prefactor  = 0.987618
 **********
 **   18 **HESSE 
 **********

 FCN=   5772.911     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1069        .99146        .49286E-04   -1.5418    
   2  alpha         2.2538        .45885        .11600E-01   -.98635E-01
   3  Normalizat    .60513        .20664        .30333E-03   -1.0777    
   4  Prefactor     .98762        .15305        .18209E-03   -.93143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10177e-10
Minuit parameter uncertainties:
  1  0.991466
  2  0.461497
  3  0.206906
  4  0.153119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808364': 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) = 5772.91074742
delta logL = 0.0202236778778

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  2.107e+00  9.915e-01  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  2.254e+00  4.615e-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.876e-01  1.531e-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.051e-01  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.31
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 8.93e-08 +/- 5.67e-08
Energy Flux (Free Index): 3.26e-05 +/- 1.57e-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/808364/cmap_HighResolution_329011201_329270401_4FGL_J2323.5-0317_daily_bin346.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.11e-08', energy_flux2='3.26e-05', photon_flux_error='4.06e-08', dlogl='2.02e-02', energy_flux='3.32e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2021-09-29 14:37:35.485818', photon_index_error2='0.46', photon_index2='2.25', ts='13.26', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.57e-05', EG='0.61', time_epoch_completed='1632951455.49', return_code='0', job_id='808364', GAL2='0.99', EG2='0.61', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='5.67e-08', ts2='13.31', photon_index='2.16' WHERE bin_id='346' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:37:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 808364: <4FGL_J2323.5-0317_daily_bin346> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin346 350.888 -3.29 329011201 329270401 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 :                                   593.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            722 sec.

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

