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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1359
RA = 200.976, Dec = 14.0871
tmin = 591580801, tmax = 591840001
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='532513', job_status='RUN', time_executed='2021-09-07 15:12:13.667469', time_epoch_executed='1631052733.67' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1359'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532513

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532513/ft1_4FGL_J1323.9+1405_daily_bin1359.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532513/ft2_4FGL_J1323.9+1405_daily_bin1359.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532513/ft1_4FGL_J1323.9+1405_daily_bin1359.fits outfile=/scratch/kocevski/532513/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1359.fits ra=200.976 dec=14.0871 rad=12.0 tmin=591580801.0 tmax=591840001.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.90
user 3.62
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532513/ft2_4FGL_J1323.9+1405_daily_bin1359.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/532513/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1359.fits evtable="EVENTS" outfile="/scratch/kocevski/532513/ft1_filtered_4FGL_J1323.9+1405_daily_bin1359.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.52
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532513/ft1_filtered_4FGL_J1323.9+1405_daily_bin1359.fits" evtable="EVENTS" scfile=/scratch/kocevski/532513/ft2_4FGL_J1323.9+1405_daily_bin1359.fits sctable="SC_DATA" outfile=/scratch/kocevski/532513/ltcube_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.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/532513/ft2_4FGL_J1323.9+1405_daily_bin1359.fits
.....................!
real 16.14
user 15.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532513/ft1_filtered_4FGL_J1323.9+1405_daily_bin1359.fits evtable="EVENTS" scfile=/scratch/kocevski/532513/ft2_4FGL_J1323.9+1405_daily_bin1359.fits sctable="SC_DATA" expcube=/scratch/kocevski/532513/ltcube_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.fits outfile=/scratch/kocevski/532513/expmap_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.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/532513/ltcube_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.fits
.....................!
real 194.36
user 188.37
sys 5.46

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/532513/ft1_filtered_4FGL_J1323.9+1405_daily_bin1359.fits scfile=/scratch/kocevski/532513/ft2_4FGL_J1323.9+1405_daily_bin1359.fits outfile=/scratch/kocevski/532513/cmap_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.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.69
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532513/ft1_filtered_4FGL_J1323.9+1405_daily_bin1359.fits scfile=/scratch/kocevski/532513/ft2_4FGL_J1323.9+1405_daily_bin1359.fits outfile=/scratch/kocevski/532513/cmap_HighResolution_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.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.64
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/532513/ft1_filtered_4FGL_J1323.9+1405_daily_bin1359.fits', '/scratch/kocevski/532513/ft2_4FGL_J1323.9+1405_daily_bin1359.fits', expMap='/scratch/kocevski/532513/expmap_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.fits', expCube='/scratch/kocevski/532513/ltcube_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/532513/Model_4FGL_J1323.9+1405_daily_bin1359.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/532513/ft1_filtered_4FGL_J1323.9+1405_daily_bin1359.fits
Spacecraft file(s): /scratch/kocevski/532513/ft2_4FGL_J1323.9+1405_daily_bin1359.fits
Exposure map: /scratch/kocevski/532513/expmap_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.fits
Exposure cube: /scratch/kocevski/532513/ltcube_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/532513/Model_4FGL_J1323.9+1405_daily_bin1359.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) = 6655.95227127

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    55.886       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.1937       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4163       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10283E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.6595       1.0000         .10000E-03   10000.    
     6 'norm      '    44.720       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2668       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8205       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.409       1.0000         .10000E-03   10000.    
    10 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10951E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.3344       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3251       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3028       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0376       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6655.946     FROM MIGRAD    STATUS=CONVERGED    315 CALLS     1576 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     55.951        59.444       -.34390E-05   -.12920E-04
   2  Prefactor     6.1938        5.4761        .11348E-07   -.99689E-05
   3  Prefactor     3.3854        25.099        .57905E-05    .25253E-04
   4  Prefactor     .10000E-03    9.5457       -.13504E-05** at limit **
   5  norm          7.6596        4.6954        .48031E-07    .65110E-05
   6  norm          44.723        25.573       -.94874E-07   -.93474E-05
   7  norm          2.2665        5.2019        .88179E-06    .31930E-04
   8  Prefactor     2.8208        8.5417        .59204E-06   -.23446E-04
   9  Prefactor     15.406        30.527        .28939E-06   -.99128E-05
  10  norm          .10000E-03    9.4951        .23032E-06** at limit **
  11  Prefactor     .10000E-03    29.527        .64594E-07** at limit **
  12  Prefactor     .10002E-03    5.5292        .14688E-05** at limit **
  13  Prefactor     6.3343        3.8279        .63906E-08   -.12795E-03
  14  Prefactor     4.3246        6.5052        .15673E-06   -.11795E-04
  15  Prefactor     .10000E-03    16.361        .27526E-06** at limit **
  16  Normalizat    1.3026        .20817        .17008E-06   -.33036E-03
  17  Prefactor     1.0377        .17046       -.14191E-05   -.28998E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 55.9505
  Prefactor  = 6.19384
  Prefactor  = 3.38545
  Prefactor  = 0.0001
  norm       = 7.65962
  norm       = 44.7228
  norm       = 2.26648
  Prefactor  = 2.82078
  Prefactor  = 15.406
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 6.33428
  Prefactor  = 4.32463
  Prefactor  = 0.0001
  Normalizat = 1.30264
  Prefactor  = 1.03774
 **********
 **   18 **HESSE 
 **********

 FCN=   6655.946     FROM HESSE     STATUS=OK           227 CALLS     1803 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     55.951        59.061        .26829E-03   -1.4211    
   2  Prefactor     6.1938        5.4783        .16131E-03   -1.5210    
   3  Prefactor     3.3854        26.400        .21886E-03   -1.5340    
   4  Prefactor     .10000E-03    9.6350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.6596        4.6953        .13328E-03   -1.5154    
   6  norm          44.723        25.512        .59953E-04   -1.4369    
   7  norm          2.2665        5.1769        .26637E-03   -1.5407    
   8  Prefactor     2.8208        8.5096        .24218E-03   -1.5372    
   9  Prefactor     15.406        30.544        .10203E-03   -1.4923    
  10  norm          .10000E-03    9.6608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    29.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10002E-03    16.998        .33346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.3343        3.8271        .12063E-03   -1.5205    
  14  Prefactor     4.3246        6.4968        .19370E-03   -1.5292    
  15  Prefactor     .10000E-03    16.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3026        .24772        .26860E-03   -.83488    
  17  Prefactor     1.0377        .20090        .24586E-03   -.91482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30303e-09
Minuit parameter uncertainties:
  1  59.1228
  2  5.47877
  3  18.919
  4  3.88823e-05
  5  4.6955
  6  25.5186
  7  5.17795
  8  8.51328
  9  30.5747
  10  1.47926e-05
  11  1.38197e-05
  12  0.00116205
  13  3.82727
  14  6.49786
  15  3.80327e-05
  16  0.247949
  17  0.201049
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.541e+01  3.057e+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:  1.038e+00  2.010e-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.303e+00  2.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/532513/likelihoodResults_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.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) = 6655.94534974
delta logL = 0.000443298660684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6655.94524532
delta logL = 0.000547711257241

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.970       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9117       1.0000          .0000       10.000    
     3 'Normalizat'    1.3024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0375       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6655.945     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      273 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.935        35.182        .10352E-03   -.79952E-04
   2  Index         1.9091        .97723        .12108E-01    .26789E-03
   3  Normalizat    1.3022        .23822        .26863E-03    .25948E-03
   4  Prefactor     1.0379        .19901        .24585E-03   -.41877E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.9351
  Index      = 1.90913
  Normalizat = 1.3022
  Prefactor  = 1.03789
 **********
 **   18 **HESSE 
 **********

 FCN=   6655.945     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.935        33.450        .41407E-05   -1.4935    
   2  Index         1.9091        .93054        .24216E-02   -.66642    
   3  Normalizat    1.3022        .23829        .53727E-04   -.83501    
   4  Prefactor     1.0379        .19912        .49170E-04   -.91477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9822e-09
Minuit parameter uncertainties:
  1  33.4915
  2  0.939464
  3  0.238489
  4  0.199262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532513': 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) = 6655.94523551
delta logL = 0.000557522759664

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.494e+01  3.349e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.909e+00  9.395e-01  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:  1.038e+00  1.993e-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.302e+00  2.385e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
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/532513/cmap_HighResolution_591580801_591840001_4FGL_J1323.9+1405_daily_bin1359.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2021-09-07 15:21:43.402076', job_id='532513', GAL2='1.04', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1631053303.4', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='5.58e-04', ts2='0.33', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1359' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:21:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 532513: <4FGL_J1323.9+1405_daily_bin1359> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin1359> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 15:10:39 2021
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 15:12:01 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:12:01 2021
Terminated at Tue Sep  7 15:21:44 2021
Results reported at Tue Sep  7 15:21:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1359 200.976 14.0871 591580801 591840001 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 :                                   555.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   582 sec.
    Turnaround time :                            665 sec.

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

