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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1049
RA = 200.976, Dec = 14.0871
tmin = 511228801, tmax = 511488001
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='531010', job_status='RUN', time_executed='2021-09-07 15:09:03.066569', time_epoch_executed='1631052543.07' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1049'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/531010

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/531010/ft1_4FGL_J1323.9+1405_daily_bin1049.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/531010/ft1_4FGL_J1323.9+1405_daily_bin1049.fits outfile=/scratch/kocevski/531010/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1049.fits ra=200.976 dec=14.0871 rad=12.0 tmin=511228801.0 tmax=511488001.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.51
user 3.26
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.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/531010/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1049.fits evtable="EVENTS" outfile="/scratch/kocevski/531010/ft1_filtered_4FGL_J1323.9+1405_daily_bin1049.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/531010/ft1_filtered_4FGL_J1323.9+1405_daily_bin1049.fits" evtable="EVENTS" scfile=/scratch/kocevski/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.fits sctable="SC_DATA" outfile=/scratch/kocevski/531010/ltcube_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.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/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.fits
.....................!
real 17.01
user 16.54
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/531010/ft1_filtered_4FGL_J1323.9+1405_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.fits sctable="SC_DATA" expcube=/scratch/kocevski/531010/ltcube_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.fits outfile=/scratch/kocevski/531010/expmap_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.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/531010/ltcube_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.fits
.....................!
real 192.49
user 186.57
sys 5.40

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1323.9+1405 @ 200.976 14.0871

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/531010/ft1_filtered_4FGL_J1323.9+1405_daily_bin1049.fits scfile=/scratch/kocevski/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.fits outfile=/scratch/kocevski/531010/cmap_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.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=200.976 yref=14.0871 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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/531010/ft1_filtered_4FGL_J1323.9+1405_daily_bin1049.fits scfile=/scratch/kocevski/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.fits outfile=/scratch/kocevski/531010/cmap_HighResolution_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.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=200.976 yref=14.0871 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.60
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/531010/ft1_filtered_4FGL_J1323.9+1405_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/531010/Model_4FGL_J1323.9+1405_daily_bin1049.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/531010/ft1_filtered_4FGL_J1323.9+1405_daily_bin1049.fits.....................!
real 50.47
user 48.70
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/531010/ft1_filtered_4FGL_J1323.9+1405_daily_bin1049.fits', '/scratch/kocevski/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.fits', expMap='/scratch/kocevski/531010/expmap_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.fits', expCube='/scratch/kocevski/531010/ltcube_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/531010/Model_4FGL_J1323.9+1405_daily_bin1049.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1323.9+1405'

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  5.083e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/531010/ft1_filtered_4FGL_J1323.9+1405_daily_bin1049.fits
Spacecraft file(s): /scratch/kocevski/531010/ft2_4FGL_J1323.9+1405_daily_bin1049.fits
Exposure map: /scratch/kocevski/531010/expmap_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.fits
Exposure cube: /scratch/kocevski/531010/ltcube_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/531010/Model_4FGL_J1323.9+1405_daily_bin1049.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) = 5876.10300482

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6278       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.725       1.0000         .10000E-03   10000.    
     5 'norm      '    3.3301       1.0000         .10000E-03   10000.    
     6 'norm      '    14.296       1.0000         .10000E-03   10000.    
     7 'norm      '    .33907E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1393       1.0000         .10000E-03   10000.    
    10 'norm      '    .10391E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    51.360       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15426       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.5383       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.163       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.6848       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .61756       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5876.101     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1629 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    86.888        .90712E-02** at limit **
   2  Prefactor     .10000E-03    2.7748        .90712E-02** at limit **
   3  Prefactor     3.6072        13.810        .53029E-02    .30829E-03
   4  Prefactor     19.731        15.027        .22546E-02    .29549E-02
   5  norm          3.3303        3.4088        .55452E-02    .42698E-03
   6  norm          14.299        16.989        .26484E-02    .25372E-03
   7  norm          .10001E-03    3.6078        .77914E-01** at limit **
   8  Prefactor     .10000E-03    3.1428        .90712E-02** at limit **
   9  Prefactor     2.1331        65.953        .70452E-02    .22654E-03
  10  norm          .10000E-03    6.4628        .68393E-01** at limit **
  11  Prefactor     51.360        47.668        .13990E-02   -.15584E-03
  12  Prefactor     .16125        2.1396        .70723E-01    .63010E-03
  13  Prefactor     .10000E-03    5.3052        .90712E-02** at limit **
  14  Prefactor     6.5388        12.770        .39237E-02   -.63337E-03
  15  Prefactor     16.163        11.337        .24906E-02   -.13865E-02
  16  Normalizat    1.6848        .20223        .50557E-01   -.14937E-04
  17  Prefactor     .61756        .16097        .64813E-01    .17192E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 3.60719
  Prefactor  = 19.7312
  norm       = 3.33031
  norm       = 14.2986
  norm       = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 2.13313
  norm       = 0.0001
  Prefactor  = 51.3601
  Prefactor  = 0.161254
  Prefactor  = 0.0001
  Prefactor  = 6.53883
  Prefactor  = 16.1628
  Normalizat = 1.68482
  Prefactor  = 0.617562
 **********
 **   18 **HESSE 
 **********

 FCN=   5876.101     FROM HESSE     STATUS=OK           225 CALLS     1854 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    87.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.7833        .12470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.6072        13.729        .21211E-03   -1.5328    
   4  Prefactor     19.731        14.985        .90183E-04   -1.4819    
   5  norm          3.3303        3.4110        .69496E-03   -1.5343    
   6  norm          14.299        16.902        .10593E-03   -1.4952    
   7  norm          .10001E-03    31.113        .26742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.1478        .13271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1331        66.309        .28181E-03   -1.5416    
  10  norm          .10000E-03    37.064        .35888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     51.360        47.645        .55961E-04   -1.4273    
  12  Prefactor     .16125        26.249        .21335E-02   -1.5628    
  13  Prefactor     .10000E-03    5.4976        .34452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.5388        12.763        .15695E-03   -1.5196    
  15  Prefactor     16.163        11.346        .99622E-04   -1.4904    
  16  Normalizat    1.6848        .23477        .22350E-03   -.72709    
  17  Prefactor     .61756        .18677        .28678E-03   -1.0685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47011e-08
Minuit parameter uncertainties:
  1  0.00104172
  2  3.09396e-06
  3  13.7408
  4  14.9878
  5  3.41116
  6  16.9074
  7  0.000874387
  8  2.51646e-06
  9  23.8146
  10  0.000102325
  11  47.6807
  12  4.11529
  13  5.10014e-06
  14  12.7679
  15  11.3478
  16  0.234924
  17  0.186958
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.133e+00  2.381e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  6.176e-01  1.870e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.685e+00  2.349e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 200.976 14.087
Photon Flux Upper Limit: 5.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/531010/likelihoodResults_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.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) = 5876.10124012
delta logL = 2.92063486995e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5876.10124012
delta logL = 2.92081222142e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1331       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8573       1.0000          .0000       10.000    
     3 'Normalizat'    1.6849       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61758       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5876.101     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      267 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1926        76.335        .14113E-02    .45444E-04
   2  Index         1.8553        2.6464        .53718E-02   -.34793E-05
   3  Normalizat    1.6849        .22342        .22349E-03   -.37134E-05
   4  Prefactor     .61753        .18544        .28679E-03   -.19821E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.19257
  Index      = 1.85533
  Normalizat = 1.68488
  Prefactor  = 0.617528
 **********
 **   18 **HESSE 
 **********

 FCN=   5876.101     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1926        72.592        .28227E-03   -1.5412    
   2  Index         1.8553        2.5933        .21487E-03   -.68018    
   3  Normalizat    1.6849        .22356        .89397E-05   -.72708    
   4  Prefactor     .61753        .18552        .11471E-04   -1.0685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.55758e-12
Minuit parameter uncertainties:
  1  25.2649
  2  2.83906
  3  0.223691
  4  0.185706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/531010': 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) = 5876.10123733
delta logL = 3.19992341247e-05

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.193e+00  2.526e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.855e+00  2.839e+00  0.000e+00  1.000e+01 (-1.000e+00)
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  6.175e-01  1.857e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.685e+00  2.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 200.976 14.087

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/531010/cmap_HighResolution_511228801_511488001_4FGL_J1323.9+1405_daily_bin1049.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-03', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2021-09-07 15:18:07.571768', job_id='531010', GAL2='0.62', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1631053087.57', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='3.20e-05', ts2='0.01', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1049' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:18:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 531010: <4FGL_J1323.9+1405_daily_bin1049> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin1049> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 15:05:55 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 15:06:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 15:06:13 2021
Terminated at Tue Sep  7 15:18:08 2021
Results reported at Tue Sep  7 15:18:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1049 200.976 14.0871 511228801 511488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1323.9+1405 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   544.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            733 sec.

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

