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


Performing analysis on: 4FGL_J2323.5-0317_daily_bin164
RA = 350.888, Dec = -3.29
tmin = 281836801, tmax = 282096001
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='808090', job_status='RUN', time_executed='2021-09-29 14:27:53.117334', time_epoch_executed='1632950873.12' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='164'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808090

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808090/ft1_4FGL_J2323.5-0317_daily_bin164.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808090/ft2_4FGL_J2323.5-0317_daily_bin164.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808090/ft1_4FGL_J2323.5-0317_daily_bin164.fits outfile=/scratch/kocevski/808090/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin164.fits ra=350.888 dec=-3.29 rad=12.0 tmin=281836801.0 tmax=282096001.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.04
user 3.81
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/808090/ft1_filtered_4FGL_J2323.5-0317_daily_bin164.fits" evtable="EVENTS" scfile=/scratch/kocevski/808090/ft2_4FGL_J2323.5-0317_daily_bin164.fits sctable="SC_DATA" outfile=/scratch/kocevski/808090/ltcube_281836801_282096001_4FGL_J2323.5-0317_daily_bin164.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/808090/ft2_4FGL_J2323.5-0317_daily_bin164.fits
.....................!
real 12.89
user 12.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808090/ft1_filtered_4FGL_J2323.5-0317_daily_bin164.fits evtable="EVENTS" scfile=/scratch/kocevski/808090/ft2_4FGL_J2323.5-0317_daily_bin164.fits sctable="SC_DATA" expcube=/scratch/kocevski/808090/ltcube_281836801_282096001_4FGL_J2323.5-0317_daily_bin164.fits outfile=/scratch/kocevski/808090/expmap_281836801_282096001_4FGL_J2323.5-0317_daily_bin164.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/808090/ltcube_281836801_282096001_4FGL_J2323.5-0317_daily_bin164.fits
.....................!
real 190.43
user 185.47
sys 4.47

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/808090/ft1_filtered_4FGL_J2323.5-0317_daily_bin164.fits scfile=/scratch/kocevski/808090/ft2_4FGL_J2323.5-0317_daily_bin164.fits outfile=/scratch/kocevski/808090/cmap_281836801_282096001_4FGL_J2323.5-0317_daily_bin164.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/808090/ft1_filtered_4FGL_J2323.5-0317_daily_bin164.fits scfile=/scratch/kocevski/808090/ft2_4FGL_J2323.5-0317_daily_bin164.fits outfile=/scratch/kocevski/808090/cmap_HighResolution_281836801_282096001_4FGL_J2323.5-0317_daily_bin164.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7657       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5182       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.4719       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.574       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.580       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .48312       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.704       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.427       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.247       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.202       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.470       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12353       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.082       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.7504       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.9538       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2225       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .64128       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=   7919.511     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2883 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7655        7.4526       -.59681E-07   -.11749E-04
   2  Prefactor     .10000E-03    50.364        .46235E-06** at limit **
   3  Prefactor     2.5184        9.0756       -.10479E-07   -.14042E-04
   4  Prefactor     4.4720        4.7361       -.20431E-07   -.10829E-04
   5  norm          .10000E-03    3.9690        .27685E-08** at limit **
   6  Prefactor     .10000E-03    13.210        .35658E-07** at limit **
   7  Prefactor     12.575        13.121       -.15475E-06   -.48296E-05
   8  Prefactor     22.584        26.309        .37832E-05    .13401E-04
   9  Prefactor     .10000E-03    4.1221       -.30364E-06** at limit **
  10  norm          .48324        .56958        .16067E-07   -.10956E-03
  11  norm          .10000E-03    1.3842       -.70094E-07** at limit **
  12  Prefactor     12.704        8.3771        .11345E-07   -.27484E-05
  13  Prefactor     26.428        28.049        .30723E-06   -.12222E-05
  14  Prefactor     35.244        81.210       -.48215E-05   -.18361E-05
  15  Prefactor     .10000E-03    1.8704        .38666E-07** at limit **
  16  Prefactor     11.203        15.361        .16030E-06   -.12381E-05
  17  norm          .10000E-03    3.3179        .32826E-07** at limit **
  18  Prefactor     16.471        30.477        .19729E-05    .13421E-06
  19  Prefactor     .12739        1.4912        .28431E-07   -.89371E-04
  20  Prefactor     .10000E-03    10.697       -.19983E-06** at limit **
  21  Prefactor     16.080        18.081       -.49891E-06   -.36404E-05
  22  Prefactor     8.7517        15.988        .42192E-06   -.68101E-05
  23  Prefactor     2.9538        1.0981        .22171E-07   -.85118E-03
  24  Normalizat    1.2224        .15349       -.40379E-06    .35359E-04
  25  Prefactor     .64128        .11027        .15729E-06   -.30261E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.76549
  Prefactor  = 0.0001
  Prefactor  = 2.51841
  Prefactor  = 4.47195
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5749
  Prefactor  = 22.5837
  Prefactor  = 0.0001
  norm       = 0.483239
  norm       = 0.0001
  Prefactor  = 12.7039
  Prefactor  = 26.4275
  Prefactor  = 35.2441
  Prefactor  = 0.0001
  Prefactor  = 11.2026
  norm       = 0.0001
  Prefactor  = 16.4715
  Prefactor  = 0.127388
  Prefactor  = 0.0001
  Prefactor  = 16.0799
  Prefactor  = 8.75171
  Prefactor  = 2.95382
  Normalizat = 1.22244
  Prefactor  = 0.641281
 **********
 **   18 **HESSE 
 **********

 FCN=   7919.511     FROM HESSE     STATUS=OK           435 CALLS     3318 TOTAL
                     EDM=   .69E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7655        7.4771        .12823E-03   -1.5083    
   2  Prefactor     .10000E-03    50.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.5184        9.0572        .25745E-03   -1.5391    
   4  Prefactor     4.4720        4.7322        .19041E-03   -1.5285    
   5  norm          .10000E-03    4.0002        .17312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.575        13.127        .11296E-03   -1.4999    
   8  Prefactor     22.584        26.350        .84293E-04   -1.4757    
   9  Prefactor     .10000E-03    4.2177        .17726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .48324        .53585        .69572E-03   -1.5569    
  11  norm          .10000E-03    1.3946        .10228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.704        8.3757        .11239E-03   -1.4995    
  13  Prefactor     26.428        28.050        .77927E-04   -1.4679    
  14  Prefactor     35.244        80.928        .67501E-04   -1.4520    
  15  Prefactor     .10000E-03    1.8730        .11884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.203        15.358        .11970E-03   -1.5038    
  17  norm          .10000E-03    3.3189        .15831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.471        30.450        .98690E-04   -1.4896    
  19  Prefactor     .12739        4.4936        .20914E-02   -1.5637    
  20  Prefactor     .10000E-03    10.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.080        18.087        .99874E-04   -1.4906    
  22  Prefactor     8.7517        16.043        .13550E-03   -1.5116    
  23  Prefactor     2.9538        4.2857        .10723E-02   -1.5364    
  24  Normalizat    1.2224        .17910        .22913E-03   -.85912    
  25  Prefactor     .64128        .12815        .22531E-03   -1.0588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91781e-08
Minuit parameter uncertainties:
  1  7.47779
  2  9.24027e-06
  3  9.06216
  4  4.7326
  5  6.78776e-07
  6  2.31739e-06
  7  13.1297
  8  26.364
  9  4.69961e-05
  10  0.535854
  11  4.0515e-06
  12  8.3765
  13  28.0637
  14  81.1812
  15  6.74414e-07
  16  15.3632
  17  6.66551e-07
  18  30.4786
  19  1.51271
  20  2.57285e-06
  21  18.0931
  22  16.0505
  23  4.28616
  24  0.179192
  25  0.128206
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  4.832e-01  5.359e-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:  6.413e-01  1.282e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.222e+00  1.792e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.17
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.87e-08 +/- 2.07e-08
Energy Flux (Fixed Index): 7.66e-06 +/- 8.50e-06

TS (Fixed Index): 1.17
Ra Dec: 350.888 -3.290
Photon Flux Upper Limit: 6.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.77e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/808090/likelihoodResults_281836801_282096001_4FGL_J2323.5-0317_daily_bin164.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) = 7918.18653228
delta logL = 1.32458882564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7918.13049656
delta logL = 1.38062454563

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10144       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.4564       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1330       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68558       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=   7918.130     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      233 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10120        .96082        .35156E-02    .23031E-02
   2  alpha         4.4579        4.4413        .47983        .28342E-04
   3  Normalizat    1.1329        .49037E-01    .53493E-01   -.18627E-04
   4  Prefactor     .68561        .36379E-01    .42209E-01   -.39015E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.101205
  alpha      = 4.45792
  Normalizat = 1.13294
  Prefactor  = 0.685611
 **********
 **   18 **HESSE 
 **********

 FCN=   7918.130     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10120        1.6624        .15907E-04   -1.5644    
   2  alpha         4.4579        4.0911        .25674E-01    .89975    
   3  Normalizat    1.1329        .16641        .23652E-03   -.88701    
   4  Prefactor     .68561        .12205        .21854E-03   -1.0409    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.33608e-07
Minuit parameter uncertainties:
  1  0.819966
  2  5.48678
  3  0.166483
  4  0.122101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808090': 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): 102
logL (Free Index) = 7918.13049609
delta logL = 1.3806250127

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  1.012e-01  8.200e-01  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  4.458e+00  5.487e+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:  6.856e-01  1.221e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.133e+00  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.15
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 4.46 +/- 5.49
Photon Flux (Free Index): 8.20e-08 +/- 5.19e-08
Energy Flux (Free Index): 1.18e-05 +/- 8.59e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/808090/cmap_HighResolution_281836801_282096001_4FGL_J2323.5-0317_daily_bin164.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.77e-05', comment='SUCCESS', photon_flux='1.87e-08', energy_flux2='1.18e-05', photon_flux_error='2.07e-08', dlogl='1.38e+00', energy_flux='7.66e-06', photon_flux2='8.20e-08', job_status='DONE', time_completed='2021-09-29 14:40:55.768749', photon_index_error2='5.49', photon_index2='4.46', ts='1.17', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', photon_flux_upper_limit='6.77e-08', energy_flux_error2='8.59e-06', EG='1.22', time_epoch_completed='1632951655.77', return_code='0', job_id='808090', GAL2='0.69', EG2='1.13', return_code2='102', energy_flux_error='8.50e-06', photon_flux_error2='5.19e-08', ts2='4.15', photon_index='2.16' WHERE bin_id='164' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:40:55 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin164 350.888 -3.29 281836801 282096001 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 :                                   772.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            945 sec.

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

