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


Performing analysis on: 4FGL_J2323.5-0317_daily_bin255
RA = 350.888, Dec = -3.29
tmin = 305424001, tmax = 305683201
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='808227', job_status='RUN', time_executed='2021-09-29 14:29:16.582824', time_epoch_executed='1632950956.58' WHERE source_name='4FGL J2323.5-0317' and cadence='daily' and bin_id='255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808227

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808227/ft1_4FGL_J2323.5-0317_daily_bin255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808227/ft2_4FGL_J2323.5-0317_daily_bin255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808227/ft1_4FGL_J2323.5-0317_daily_bin255.fits outfile=/scratch/kocevski/808227/ft1_filteredMKT_4FGL_J2323.5-0317_daily_bin255.fits ra=350.888 dec=-3.29 rad=12.0 tmin=305424001.0 tmax=305683201.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.46
user 3.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/808227/ft1_filtered_4FGL_J2323.5-0317_daily_bin255.fits" evtable="EVENTS" scfile=/scratch/kocevski/808227/ft2_4FGL_J2323.5-0317_daily_bin255.fits sctable="SC_DATA" outfile=/scratch/kocevski/808227/ltcube_305424001_305683201_4FGL_J2323.5-0317_daily_bin255.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/808227/ft2_4FGL_J2323.5-0317_daily_bin255.fits
.....................!
real 11.50
user 11.16
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808227/ft1_filtered_4FGL_J2323.5-0317_daily_bin255.fits evtable="EVENTS" scfile=/scratch/kocevski/808227/ft2_4FGL_J2323.5-0317_daily_bin255.fits sctable="SC_DATA" expcube=/scratch/kocevski/808227/ltcube_305424001_305683201_4FGL_J2323.5-0317_daily_bin255.fits outfile=/scratch/kocevski/808227/expmap_305424001_305683201_4FGL_J2323.5-0317_daily_bin255.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/808227/ltcube_305424001_305683201_4FGL_J2323.5-0317_daily_bin255.fits
.....................!
real 189.79
user 184.96
sys 4.52

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/808227/ft1_filtered_4FGL_J2323.5-0317_daily_bin255.fits scfile=/scratch/kocevski/808227/ft2_4FGL_J2323.5-0317_daily_bin255.fits outfile=/scratch/kocevski/808227/cmap_305424001_305683201_4FGL_J2323.5-0317_daily_bin255.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/808227/ft1_filtered_4FGL_J2323.5-0317_daily_bin255.fits scfile=/scratch/kocevski/808227/ft2_4FGL_J2323.5-0317_daily_bin255.fits outfile=/scratch/kocevski/808227/cmap_HighResolution_305424001_305683201_4FGL_J2323.5-0317_daily_bin255.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/808227/ft1_filtered_4FGL_J2323.5-0317_daily_bin255.fits evtable="EVENTS" scfile=/scratch/kocevski/808227/ft2_4FGL_J2323.5-0317_daily_bin255.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/808227/Model_4FGL_J2323.5-0317_daily_bin255.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/808227/ft1_filtered_4FGL_J2323.5-0317_daily_bin255.fits.....................!
real 59.76
user 58.55
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.785       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    16.837       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    66.247       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .78964       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.106       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    223.85       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.982       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.535       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.505       1.0000         .10000E-03   10000.    
    20 'Prefactor '    51.549       1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.858       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.9382       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .53942       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1537       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=   6499.489     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     3024 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0380       -.32439E-07** at limit **
   2  Prefactor     41.793        56.056        .10963E-04    .79598E-06
   3  Prefactor     .10000E-03    30.431        .25897E-05** at limit **
   4  Prefactor     .10000E-03    4.8429        .26121E-07** at limit **
   5  norm          16.837        15.286        .12084E-05   -.35820E-04
   6  Prefactor     .10000E-03    6.9921       -.16479E-05** at limit **
   7  Prefactor     .10000E-03    8.6989        .31664E-06** at limit **
   8  Prefactor     66.258        46.479        .10750E-04   -.51983E-05
   9  Prefactor     .10000E-03    4.3946       -.38253E-06** at limit **
  10  norm          .78956        .89857        .12118E-06   -.10411E-02
  11  norm          .10000E-03    1.3100       -.14814E-07** at limit **
  12  Prefactor     18.106        13.129        .64993E-06   -.40897E-05
  13  Prefactor     .10000E-03    39.235        .10239E-05** at limit **
  14  Prefactor     223.83        177.71       -.10316E-04   -.69082E-05
  15  Prefactor     .10000E-03    6.8000        .14872E-05** at limit **
  16  Prefactor     22.979        27.887       -.41646E-05   -.60713E-05
  17  norm          .10000E-03    10.519       -.10332E-07** at limit **
  18  Prefactor     10.536        29.957        .11629E-05   -.83325E-05
  19  Prefactor     11.506        4.9794       -.37972E-06   -.22414E-03
  20  Prefactor     51.573        48.531        .26788E-04    .26536E-05
  21  Prefactor     30.854        23.006       -.40178E-05   -.96692E-05
  22  Prefactor     .10000E-03    28.693       -.26254E-05** at limit **
  23  Prefactor     6.9381        5.8082       -.10431E-05   -.26513E-02
  24  Normalizat    .53935        .19694       -.78441E-05   -.47295E-04
  25  Prefactor     1.1538        .14414        .32933E-06   -.89584E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 41.7934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.8371
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 66.2578
  Prefactor  = 0.0001
  norm       = 0.789561
  norm       = 0.0001
  Prefactor  = 18.1058
  Prefactor  = 0.0001
  Prefactor  = 223.833
  Prefactor  = 0.0001
  Prefactor  = 22.9786
  norm       = 0.0001
  Prefactor  = 10.5361
  Prefactor  = 11.5057
  Prefactor  = 51.573
  Prefactor  = 30.8539
  Prefactor  = 0.0001
  Prefactor  = 6.93807
  Normalizat = 0.539354
  Prefactor  = 1.15379
 **********
 **   18 **HESSE 
 **********

 FCN=   6499.489     FROM HESSE     STATUS=OK           425 CALLS     3449 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0450        .13720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     41.793        56.047        .62014E-04   -1.4414    
   3  Prefactor     .10000E-03    30.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.8697        .17326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          16.837        15.281        .97609E-04   -1.4887    
   6  Prefactor     .10000E-03    6.9918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.7295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     66.258        46.356        .49310E-04   -1.4078    
   9  Prefactor     .10000E-03    4.4169        .16480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .78956        .86172        .76236E-03   -1.5530    
  11  norm          .10000E-03    1.3116        .90092E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.106        13.120        .94125E-04   -1.4857    
  13  Prefactor     .10000E-03    39.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     223.83        177.15        .13520E-03   -1.2704    
  15  Prefactor     .10000E-03    6.8534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.979        27.879        .83554E-04   -1.4749    
  17  norm          .10000E-03    10.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.536        29.942        .12344E-03   -1.5059    
  19  Prefactor     11.506        4.9708        .11055E-03   -1.5029    
  20  Prefactor     51.573        47.856        .55859E-04   -1.4270    
  21  Prefactor     30.854        22.998        .72128E-04   -1.4596    
  22  Prefactor     .10000E-03    29.414        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.9381        5.9257        .76154E-03   -1.5181    
  24  Normalizat    .53935        .21458        .35243E-03   -1.1062    
  25  Prefactor     1.1538        .16023        .19112E-03   -.87765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7225e-09
Minuit parameter uncertainties:
  1  3.03787e-06
  2  56.1177
  3  0.000117165
  4  1.35025e-05
  5  15.2849
  6  4.60498e-06
  7  1.47697e-05
  8  46.3817
  9  8.32685e-05
  10  0.861737
  11  5.62434e-06
  12  13.1217
  13  0.000151338
  14  177.579
  15  3.22591e-06
  16  27.895
  17  9.91443e-06
  18  29.9844
  19  4.97094
  20  47.892
  21  23.0047
  22  0.000122496
  23  5.92619
  24  0.21491
  25  0.160294
Done.

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

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  7.896e-01  8.617e-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.154e+00  1.603e-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:  5.394e-01  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.12
Ra Dec: 350.888 -3.290
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 3.06e-08 +/- 3.33e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 1.37e-05

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

Saving results to:
/scratch/kocevski/808227/likelihoodResults_305424001_305683201_4FGL_J2323.5-0317_daily_bin255.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) = 6499.4889798
delta logL = 0.000217152461119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6499.48896815
delta logL = 0.000228803664868

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .79301       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1427       1.0000          .0000       5.0000    
     3 'Normalizat'    .53983       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1535       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=   6499.489     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      207 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79304        28.798        .12414E-01    .10755E-02
   2  alpha         2.1422        2.5219        .41696        .66629E-05
   3  Normalizat    .53985        .59845E-01    .79549E-01    .39051E-04
   4  Prefactor     1.1535        .52217E-01    .35834E-01   -.19652E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.793036
  alpha      = 2.14218
  Normalizat = 0.539849
  Prefactor  = 1.15353
 **********
 **   18 **HESSE 
 **********

 FCN=   6499.489     FROM HESSE     STATUS=OK            35 CALLS      242 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79304        .88143        .76474E-03   -1.5530    
   2  alpha         2.1422        .83549        .20484E-01   -.14362    
   3  Normalizat    .53985        .20351        .35229E-03   -1.1060    
   4  Prefactor     1.1535        .15778        .19114E-03   -.87773    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71114e-09
Minuit parameter uncertainties:
  1  0.881449
  2  0.85224
  3  0.203791
  4  0.157842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808227': 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) = 6499.48896795
delta logL = 0.000228997244449

Extracting fit parameters...

4FGL J2323.5-0317
   Spectrum: LogParabola
373         norm:  7.930e-01  8.814e-01  1.000e-04  1.000e+04 ( 1.000e-11)
374        alpha:  2.142e+00  8.522e-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.154e+00  1.578e-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:  5.398e-01  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.12
Ra Dec: 350.888 -3.290
Photon Index (Free Index): 2.14 +/- 0.85
Photon Flux (Free Index): 3.02e-08 +/- 3.61e-08
Energy Flux (Free Index): 1.27e-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/808227/cmap_HighResolution_305424001_305683201_4FGL_J2323.5-0317_daily_bin255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-05', comment='SUCCESS', photon_flux='3.06e-08', energy_flux2='1.27e-05', photon_flux_error='3.33e-08', dlogl='2.29e-04', energy_flux='1.25e-05', photon_flux2='3.02e-08', job_status='DONE', time_completed='2021-09-29 14:40:35.639164', photon_index_error2='0.85', photon_index2='2.14', ts='1.12', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.57e-05', EG='0.54', time_epoch_completed='1632951635.64', return_code='0', job_id='808227', GAL2='1.15', EG2='0.54', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='3.61e-08', ts2='1.12', photon_index='2.16' WHERE bin_id='255' AND source_name='4FGL J2323.5-0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 14:40:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 808227: <4FGL_J2323.5-0317_daily_bin255> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.5-0317_daily_bin255 350.888 -3.29 305424001 305683201 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 :                                   677.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            915 sec.

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

