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


Performing analysis on: 4FGL_J2323.5-0317_daily_bin771
RA = 350.888, Dec = -3.29
tmin = 439171201, tmax = 439430401
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='810948', job_status='RUN', time_executed='2021-09-29 14:36:39.755059', time_epoch_executed='1632951399.76' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/810948

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/810948/ft1_4FGL_J2323.5-0317_daily_bin771.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/810948/ft2_4FGL_J2323.5-0317_daily_bin771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/810948/ft1_4FGL_J2323.5-0317_daily_bin771.fits outfile=/scratch/kocevski/810948/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin771.fits ra=350.888 dec=-3.29 rad=12.0 tmin=439171201.0 tmax=439430401.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.59
user 5.34
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/810948/ft1_filtered_4FGL_J2323.5-0317_daily_bin771.fits" evtable="EVENTS" scfile=/scratch/kocevski/810948/ft2_4FGL_J2323.5-0317_daily_bin771.fits sctable="SC_DATA" outfile=/scratch/kocevski/810948/ltcube_439171201_439430401_4FGL_J2323.5-0317_daily_bin771.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/810948/ft2_4FGL_J2323.5-0317_daily_bin771.fits
.....................!
real 11.82
user 11.31
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/810948/ft1_filtered_4FGL_J2323.5-0317_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/810948/ft2_4FGL_J2323.5-0317_daily_bin771.fits sctable="SC_DATA" expcube=/scratch/kocevski/810948/ltcube_439171201_439430401_4FGL_J2323.5-0317_daily_bin771.fits outfile=/scratch/kocevski/810948/expmap_439171201_439430401_4FGL_J2323.5-0317_daily_bin771.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/810948/ltcube_439171201_439430401_4FGL_J2323.5-0317_daily_bin771.fits
.....................!
real 190.40
user 184.81
sys 5.24

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/810948/ft1_filtered_4FGL_J2323.5-0317_daily_bin771.fits scfile=/scratch/kocevski/810948/ft2_4FGL_J2323.5-0317_daily_bin771.fits outfile=/scratch/kocevski/810948/cmap_439171201_439430401_4FGL_J2323.5-0317_daily_bin771.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/810948/ft1_filtered_4FGL_J2323.5-0317_daily_bin771.fits scfile=/scratch/kocevski/810948/ft2_4FGL_J2323.5-0317_daily_bin771.fits outfile=/scratch/kocevski/810948/cmap_HighResolution_439171201_439430401_4FGL_J2323.5-0317_daily_bin771.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10601E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10604E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .35902       1.0000         .10000E-03   10000.    
     6 'Prefactor '    68.046       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5892       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.7759       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .65595       1.0000         .10000E-03   10000.    
    11 'norm      '    3.6067       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.028       1.0000         .10000E-03   10000.    
    13 'Prefactor '    58.350       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .18405E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .47851E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    37.961       1.0000         .10000E-03   10000.    
    18 'Prefactor '    55.665       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.4233       1.0000         .10000E-03   10000.    
    20 'Prefactor '    41.058       1.0000         .10000E-03   10000.    
    21 'Prefactor '    65.219       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    27.819       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .28813       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0933       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=   2976.984     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2962 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0454        .86160E-07** at limit **
   2  Prefactor     .10000E-03    25.701        .23536E-05** at limit **
   3  Prefactor     .10000E-03    12.320       -.66790E-06** at limit **
   4  Prefactor     .10000E-03    3.8180        .11445E-07** at limit **
   5  norm          .39432        17.622       -.59332E-05    .38673E-03
   6  Prefactor     68.047        64.985        .11308E-05    .22906E-05
   7  Prefactor     3.5944        47.813        .86471E-06   -.83257E-06
   8  Prefactor     8.7887        133.69        .26295E-04   -.72303E-05
   9  Prefactor     .10000E-03    12.009       -.30962E-06** at limit **
  10  norm          .65581        .69287       -.15897E-06   -.21026E-03
  11  norm          3.6072        9.2658        .42244E-05   -.27898E-03
  12  Prefactor     22.012        20.093       -.76786E-05   -.32283E-04
  13  Prefactor     58.325        62.826       -.16212E-04   -.78374E-06
  14  Prefactor     .10000E-03    221.77       -.73579E-05** at limit **
  15  Prefactor     .10033E-03    23.920        .36960E-06** at limit **
  16  Prefactor     .10000E-03    26.680       -.14372E-05** at limit **
  17  norm          37.949        40.324        .15772E-05   -.59271E-04
  18  Prefactor     55.642        90.268       -.23838E-04   -.27475E-04
  19  Prefactor     7.4253        8.4075        .31777E-05   -.20997E-03
  20  Prefactor     41.012        67.649       -.38877E-04   -.31362E-04
  21  Prefactor     65.218        41.312        .56823E-05   -.30368E-04
  22  Prefactor     .10000E-03    10.809       -.33065E-06** at limit **
  23  Prefactor     27.817        14.479       -.26513E-05   -.74462E-04
  24  Normalizat    .28798        .34214        .15118E-04    .27138E-03
  25  Prefactor     1.0934        .22539       -.12429E-05    .31781E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.394321
  Prefactor  = 68.0468
  Prefactor  = 3.59438
  Prefactor  = 8.78874
  Prefactor  = 0.000100003
  norm       = 0.655807
  norm       = 3.60722
  Prefactor  = 22.0124
  Prefactor  = 58.325
  Prefactor  = 0.0001
  Prefactor  = 0.000100332
  Prefactor  = 0.0001
  norm       = 37.9487
  Prefactor  = 55.6422
  Prefactor  = 7.42534
  Prefactor  = 41.0119
  Prefactor  = 65.2182
  Prefactor  = 0.0001
  Prefactor  = 27.817
  Normalizat = 0.287983
  Prefactor  = 1.09338
 **********
 **   18 **HESSE 
 **********

 FCN=   2976.984     FROM HESSE     STATUS=OK           425 CALLS     3387 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0493        .11969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8189        .10413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .39432        232.19        .40816E-02   -1.5582    
   6  Prefactor     68.047        64.775        .48658E-04   -1.4056    
   7  Prefactor     3.5944        47.737        .21330E-03   -1.5329    
   8  Prefactor     8.7887        127.45        .13531E-03   -1.5115    
   9  Prefactor     .10000E-03    12.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .65581        .70001        .44909E-04   -1.5546    
  11  norm          3.6072        9.0864        .21276E-03   -1.5328    
  12  Prefactor     22.012        20.120        .85343E-04   -1.4769    
  13  Prefactor     58.325        62.719        .26260E-03   -1.4179    
  14  Prefactor     .10000E-03    221.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10033E-03    136.12        .39897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          37.949        35.220        .65051E-04   -1.4475    
  18  Prefactor     55.642        90.090        .53765E-04   -1.4215    
  19  Prefactor     7.4253        8.1213        .13754E-03   -1.5163    
  20  Prefactor     41.012        67.304        .62558E-04   -1.4426    
  21  Prefactor     65.218        41.282        .49694E-04   -1.4091    
  22  Prefactor     .10000E-03    10.823        .17520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     27.817        14.408        .75957E-04   -1.4653    
  24  Normalizat    .28798        .31984        .44198E-03   -1.2356    
  25  Prefactor     1.0934        .22120        .17759E-03   -.89678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59919e-08
Minuit parameter uncertainties:
  1  5.01637e-06
  2  5.61075e-06
  3  2.34675e-05
  4  6.2982e-06
  5  19.21
  6  64.8419
  7  26.2233
  8  67.1099
  9  0.000374766
  10  0.700023
  11  9.0899
  12  20.1262
  13  62.7905
  14  0.000505756
  15  0.0134713
  16  0.000212307
  17  35.2397
  18  90.3121
  19  8.12248
  20  67.4293
  21  41.2998
  22  9.06905e-06
  23  14.41
  24  0.321898
  25  0.221384
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  6.558e-01  7.000e-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:  1.093e+00  2.214e-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:  2.880e-01  3.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.28
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.54e-08 +/- 2.71e-08
Energy Flux (Fixed Index): 1.04e-05 +/- 1.11e-05

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

Saving results to:
/scratch/kocevski/810948/likelihoodResults_439171201_439430401_4FGL_J2323.5-0317_daily_bin771.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) = 2976.60334602
delta logL = 0.380403635158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2976.58276928
delta logL = 0.400980370261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51402       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2745       1.0000          .0000       5.0000    
     3 'Normalizat'    .29714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0900       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=   2976.583     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51516        .52946        .89858E-02   -.27792E-03
   2  alpha         1.2744        .60532        .39792       -.14623E-04
   3  Normalizat    .29701        .27600        .98310E-01    .31830E-04
   4  Prefactor     1.0900        .21125        .37980E-01   -.19969E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.515157
  alpha      = 1.27437
  Normalizat = 0.297005
  Prefactor  = 1.08995
 **********
 **   18 **HESSE 
 **********

 FCN=   2976.583     FROM HESSE     STATUS=OK            35 CALLS      240 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51516        .64519        .38585E-03   -1.5564    
   2  alpha         1.2744        .84624        .14738E-01   -.51238    
   3  Normalizat    .29701        .27764        .43541E-03   -1.2302    
   4  Prefactor     1.0900        .21310        .17786E-03   -.89788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40569e-10
Minuit parameter uncertainties:
  1  0.6452
  2  0.869102
  3  0.278934
  4  0.213271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/810948': 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) = 2976.58276615
delta logL = 0.400983495425

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  5.152e-01  6.452e-01  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  1.274e+00  8.691e-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:  1.090e+00  2.133e-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:  2.970e-01  2.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.08
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 1.27 +/- 0.87
Photon Flux (Free Index): 1.27e-08 +/- 1.52e-08
Energy Flux (Free Index): 3.21e-05 +/- 6.37e-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/810948/cmap_HighResolution_439171201_439430401_4FGL_J2323.5-0317_daily_bin771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-05', comment='SUCCESS', photon_flux='2.54e-08', energy_flux2='3.21e-05', photon_flux_error='2.71e-08', dlogl='4.01e-01', energy_flux='1.04e-05', photon_flux2='1.27e-08', job_status='DONE', time_completed='2021-09-29 14:45:02.533781', photon_index_error2='0.87', photon_index2='1.27', ts='3.28', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='6.37e-05', EG='0.29', time_epoch_completed='1632951902.53', return_code='0', job_id='810948', GAL2='1.09', EG2='0.30', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='1.52e-08', ts2='4.08', photon_index='2.16' WHERE bin_id='771' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:45:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 810948: <4FGL_J2323.5-0317_daily_bin771> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin771 350.888 -3.29 439171201 439430401 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 :                                   483.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   578 sec.
    Turnaround time :                            580 sec.

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

