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


Performing analysis on: 4FGL_J2323.5-0317_daily_bin449
RA = 350.888, Dec = -3.29
tmin = 355708801, tmax = 355968001
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='809364', job_status='RUN', time_executed='2021-09-29 14:31:16.079942', time_epoch_executed='1632951076.08' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='449'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/809364

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/809364/ft1_4FGL_J2323.5-0317_daily_bin449.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/809364/ft2_4FGL_J2323.5-0317_daily_bin449.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/809364/ft1_4FGL_J2323.5-0317_daily_bin449.fits outfile=/scratch/kocevski/809364/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin449.fits ra=350.888 dec=-3.29 rad=12.0 tmin=355708801.0 tmax=355968001.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 4.91
user 4.66
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/809364/ft2_4FGL_J2323.5-0317_daily_bin449.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/809364/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin449.fits evtable="EVENTS" outfile="/scratch/kocevski/809364/ft1_filtered_4FGL_J2323.5-0317_daily_bin449.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/809364/ft1_filtered_4FGL_J2323.5-0317_daily_bin449.fits" evtable="EVENTS" scfile=/scratch/kocevski/809364/ft2_4FGL_J2323.5-0317_daily_bin449.fits sctable="SC_DATA" outfile=/scratch/kocevski/809364/ltcube_355708801_355968001_4FGL_J2323.5-0317_daily_bin449.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/809364/ft2_4FGL_J2323.5-0317_daily_bin449.fits
.....................!
real 12.00
user 11.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/809364/ft1_filtered_4FGL_J2323.5-0317_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/809364/ft2_4FGL_J2323.5-0317_daily_bin449.fits sctable="SC_DATA" expcube=/scratch/kocevski/809364/ltcube_355708801_355968001_4FGL_J2323.5-0317_daily_bin449.fits outfile=/scratch/kocevski/809364/expmap_355708801_355968001_4FGL_J2323.5-0317_daily_bin449.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/809364/ltcube_355708801_355968001_4FGL_J2323.5-0317_daily_bin449.fits
.....................!
real 190.99
user 185.15
sys 5.38

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/809364/ft1_filtered_4FGL_J2323.5-0317_daily_bin449.fits scfile=/scratch/kocevski/809364/ft2_4FGL_J2323.5-0317_daily_bin449.fits outfile=/scratch/kocevski/809364/cmap_355708801_355968001_4FGL_J2323.5-0317_daily_bin449.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/809364/ft1_filtered_4FGL_J2323.5-0317_daily_bin449.fits scfile=/scratch/kocevski/809364/ft2_4FGL_J2323.5-0317_daily_bin449.fits outfile=/scratch/kocevski/809364/cmap_HighResolution_355708801_355968001_4FGL_J2323.5-0317_daily_bin449.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=350.888 yref=-3.29 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5642       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.944       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .40835E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7370       1.0000         .10000E-03   10000.    
     5 'norm      '    30.699       1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.676       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3242       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10786E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8592       1.0000         .10000E-03   10000.    
    10 'norm      '    .93434       1.0000         .10000E-03   10000.    
    11 'norm      '    4.5110       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.084       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.235       1.0000         .10000E-03   10000.    
    17 'norm      '    3.6849       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18391E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.2223       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.0164       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .79686       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96591       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=   6422.038     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2533 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5642        8.4001       -.15054E-06   -.70218E-04
   2  Prefactor     20.945        28.519       -.17580E-06   -.11989E-04
   3  Prefactor     .10011E-03    18.347       -.42413E-06** at limit **
   4  Prefactor     7.7355        7.6897       -.12297E-06   -.45087E-04
   5  norm          30.699        13.541        .56937E-07    .12293E-04
   6  Prefactor     33.675        30.932       -.10184E-06   -.95573E-05
   7  Prefactor     6.3257        14.335        .11968E-05   -.39558E-03
   8  Prefactor     .10000E-03    39.972        .67377E-05** at limit **
   9  Prefactor     1.8557        4.8294       -.35085E-07   -.28894E-03
  10  norm          .93449        .89200       -.39719E-07   -.36266E-03
  11  norm          4.5097        3.5730        .82702E-06   -.22015E-02
  12  Prefactor     .10000E-03    6.0379        .82963E-08** at limit **
  13  Prefactor     .10000E-03    66.593       -.56054E-06** at limit **
  14  Prefactor     .10001E-03    58.209       -.11139E-04** at limit **
  15  Prefactor     11.086        14.596       -.74284E-06   -.16558E-03
  16  Prefactor     17.235        14.623        .12203E-07   -.21414E-05
  17  norm          3.6830        26.311        .56934E-06   -.56159E-04
  18  Prefactor     .10000E-03    18.041        .74371E-07** at limit **
  19  Prefactor     .10000E-03    2.7820       -.40964E-07** at limit **
  20  Prefactor     .10001E-03    69.217        .10824E-04** at limit **
  21  Prefactor     .10000E-03    36.462       -.41924E-05** at limit **
  22  Prefactor     1.2176        59.924        .13349E-05   -.50045E-04
  23  Prefactor     9.0165        7.1252       -.66176E-07   -.77171E-04
  24  Normalizat    .79684        .18323       -.29180E-07   -.61029E-04
  25  Prefactor     .96592        .13171       -.19846E-06   -.55410E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.56423
  Prefactor  = 20.9452
  Prefactor  = 0.000100109
  Prefactor  = 7.73549
  norm       = 30.6989
  Prefactor  = 33.6755
  Prefactor  = 6.32574
  Prefactor  = 0.000100004
  Prefactor  = 1.85569
  norm       = 0.934494
  norm       = 4.50968
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 11.0865
  Prefactor  = 17.2351
  norm       = 3.68298
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 0.000100002
  Prefactor  = 1.21756
  Prefactor  = 9.01651
  Normalizat = 0.796836
  Prefactor  = 0.965922
 **********
 **   18 **HESSE 
 **********

 FCN=   6422.038     FROM HESSE     STATUS=OK           445 CALLS     2978 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5642        8.3977        .13698E-03   -1.5123    
   2  Prefactor     20.945        28.512        .87520E-04   -1.4792    
   3  Prefactor     .10011E-03    21.555        .10378       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7355        7.6904        .14416E-03   -1.5152    
   5  norm          30.699        13.539        .72314E-04   -1.4599    
   6  Prefactor     33.675        30.933        .69052E-04   -1.4547    
   7  Prefactor     6.3257        15.284        .79807E-03   -1.5205    
   8  Prefactor     .10000E-03    40.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8557        4.7716        .26914E-03   -1.5436    
  10  norm          .93449        .84827        .68310E-03   -1.5515    
  11  norm          4.5097        4.6135        .82488E-03   -1.5283    
  12  Prefactor     .10000E-03    6.1020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    66.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    59.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.086        14.515        .12033E-03   -1.5042    
  16  Prefactor     17.235        14.627        .96475E-04   -1.4877    
  17  norm          3.6830        26.135        .21040E-03   -1.5324    
  18  Prefactor     .10000E-03    18.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.8315        .25982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    71.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    37.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.2176        62.343        .40774E-03   -1.5487    
  23  Prefactor     9.0165        7.1532        .13348E-03   -1.5107    
  24  Normalizat    .79684        .21636        .28332E-03   -1.0019    
  25  Prefactor     .96592        .15670        .19788E-03   -.93874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46919e-09
Minuit parameter uncertainties:
  1  8.39881
  2  28.5306
  3  0.00306873
  4  7.69138
  5  13.5401
  6  30.9478
  7  15.2934
  8  0.000854937
  9  4.77257
  10  0.848278
  11  4.61384
  12  2.09002e-07
  13  6.22903e-05
  14  0.00177057
  15  14.52
  16  14.6297
  17  19.6338
  18  6.75503e-06
  19  1.02673e-05
  20  0.00175111
  21  0.000500238
  22  17.4434
  23  7.15392
  24  0.216598
  25  0.156769
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  9.345e-01  8.483e-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.659e-01  1.568e-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:  7.968e-01  2.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.92
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 3.62e-08 +/- 3.28e-08
Energy Flux (Fixed Index): 1.48e-05 +/- 1.34e-05

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

Saving results to:
/scratch/kocevski/809364/likelihoodResults_355708801_355968001_4FGL_J2323.5-0317_daily_bin449.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) = 6421.3749605
delta logL = 0.662995891361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6421.34800762
delta logL = 0.68994876896

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60750       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2662       1.0000          .0000       5.0000    
     3 'Normalizat'    .72877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99854       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=   6421.348     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      213 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60601        5.2424        .83624E-02    .10288E-02
   2  alpha         3.2677        4.1009        .35068        .54210E-04
   3  Normalizat    .72874        .47425E-01    .66613E-01    .38788E-05
   4  Prefactor     .99856        .36075E-01    .46249E-01   -.27063E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.606013
  alpha      = 3.26766
  Normalizat = 0.728737
  Prefactor  = 0.998562
 **********
 **   18 **HESSE 
 **********

 FCN=   6421.348     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60601        1.1489        .37752E-04   -1.5552    
   2  alpha         3.2677        1.4010        .13619E-01    .31211    
   3  Normalizat    .72874        .21161        .29474E-03   -1.0277    
   4  Prefactor     .99856        .15878        .19489E-03   -.92777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10401e-08
Minuit parameter uncertainties:
  1  1.14892
  2  1.49798
  3  0.211847
  4  0.158859
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/809364': 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) = 6421.34800584
delta logL = 0.689950548383

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  6.060e-01  1.149e+00  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  3.268e+00  1.498e+00  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.986e-01  1.589e-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:  7.287e-01  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.42
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 3.27 +/- 1.50
Photon Flux (Free Index): 8.72e-08 +/- 5.94e-08
Energy Flux (Free Index): 1.63e-05 +/- 1.13e-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/809364/cmap_HighResolution_355708801_355968001_4FGL_J2323.5-0317_daily_bin449.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-05', comment='SUCCESS', photon_flux='3.62e-08', energy_flux2='1.63e-05', photon_flux_error='3.28e-08', dlogl='6.90e-01', energy_flux='1.48e-05', photon_flux2='8.72e-08', job_status='DONE', time_completed='2021-09-29 14:42:23.879527', photon_index_error2='1.50', photon_index2='3.27', ts='1.92', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='1.13e-05', EG='0.80', time_epoch_completed='1632951743.88', return_code='0', job_id='809364', GAL2='1.00', EG2='0.73', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='5.94e-08', ts2='3.42', photon_index='2.16' WHERE bin_id='449' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:42:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 809364: <4FGL_J2323.5-0317_daily_bin449> in cluster <slac> Done

Job <4FGL_J2323.5-0317_daily_bin449> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 14:30:17 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 14:30:18 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:30:18 2021
Terminated at Wed Sep 29 14:42:24 2021
Results reported at Wed Sep 29 14:42:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin449 350.888 -3.29 355708801 355968001 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 :                                   659.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            727 sec.

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

