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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1325
RA = 200.976, Dec = 14.0871
tmin = 582768001, tmax = 583027201
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='532465', job_status='RUN', time_executed='2021-09-07 15:15:07.037745', time_epoch_executed='1631052907.04' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1325'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532465

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532465/ft1_4FGL_J1323.9+1405_daily_bin1325.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532465/ft2_4FGL_J1323.9+1405_daily_bin1325.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532465/ft1_4FGL_J1323.9+1405_daily_bin1325.fits outfile=/scratch/kocevski/532465/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1325.fits ra=200.976 dec=14.0871 rad=12.0 tmin=582768001.0 tmax=583027201.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.70
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532465/ft2_4FGL_J1323.9+1405_daily_bin1325.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/532465/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1325.fits evtable="EVENTS" outfile="/scratch/kocevski/532465/ft1_filtered_4FGL_J1323.9+1405_daily_bin1325.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.61
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532465/ft1_filtered_4FGL_J1323.9+1405_daily_bin1325.fits" evtable="EVENTS" scfile=/scratch/kocevski/532465/ft2_4FGL_J1323.9+1405_daily_bin1325.fits sctable="SC_DATA" outfile=/scratch/kocevski/532465/ltcube_582768001_583027201_4FGL_J1323.9+1405_daily_bin1325.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/532465/ft2_4FGL_J1323.9+1405_daily_bin1325.fits
.....................!
real 16.91
user 16.48
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532465/ft1_filtered_4FGL_J1323.9+1405_daily_bin1325.fits evtable="EVENTS" scfile=/scratch/kocevski/532465/ft2_4FGL_J1323.9+1405_daily_bin1325.fits sctable="SC_DATA" expcube=/scratch/kocevski/532465/ltcube_582768001_583027201_4FGL_J1323.9+1405_daily_bin1325.fits outfile=/scratch/kocevski/532465/expmap_582768001_583027201_4FGL_J1323.9+1405_daily_bin1325.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/532465/ltcube_582768001_583027201_4FGL_J1323.9+1405_daily_bin1325.fits
.....................!
real 194.98
user 188.84
sys 4.73

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/532465/ft1_filtered_4FGL_J1323.9+1405_daily_bin1325.fits scfile=/scratch/kocevski/532465/ft2_4FGL_J1323.9+1405_daily_bin1325.fits outfile=/scratch/kocevski/532465/cmap_582768001_583027201_4FGL_J1323.9+1405_daily_bin1325.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.40
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.409       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.7134       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11140E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.1265       1.0000         .10000E-03   10000.    
     6 'norm      '    15.837       1.0000         .10000E-03   10000.    
     7 'norm      '    9.8899       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1139       1.0000         .10000E-03   10000.    
     9 'Prefactor '    64.506       1.0000         .10000E-03   10000.    
    10 'norm      '    2.6371       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7858       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1985       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .74204       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.4900       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=   6417.078     FROM MIGRAD    STATUS=CONVERGED    329 CALLS     1639 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.320        58.875        .25167E-04    .16491E-04
   2  Prefactor     .10000E-03    2.9155       -.31757E-07** at limit **
   3  Prefactor     6.6997        19.001       -.71741E-05   -.20904E-03
   4  Prefactor     .10000E-03    12.917        .12678E-05** at limit **
   5  norm          7.1264        4.6647        .16018E-06    .71371E-06
   6  norm          15.836        14.933        .18134E-06   -.81745E-06
   7  norm          9.8894        6.0307        .15504E-06    .27444E-05
   8  Prefactor     4.1133        10.505        .86215E-06    .12735E-04
   9  Prefactor     64.508        37.959        .19794E-06    .66311E-05
  10  norm          2.6372        5.2682        .31335E-06   -.10695E-04
  11  Prefactor     .10000E-03    14.381        .30200E-06** at limit **
  12  Prefactor     .10000E-03    2.4569       -.16498E-07** at limit **
  13  Prefactor     1.7875        6.6512        .13074E-04   -.16699E-03
  14  Prefactor     .10000E-03    9.8026        .11958E-06** at limit **
  15  Prefactor     3.1965        11.715        .57395E-05   -.37517E-04
  16  Normalizat    .74252        .21993       -.52185E-05   -.17901E-04
  17  Prefactor     1.4896        .18028        .95042E-06    .24429E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3196
  Prefactor  = 0.0001
  Prefactor  = 6.6997
  Prefactor  = 0.000100001
  norm       = 7.12643
  norm       = 15.8361
  norm       = 9.88939
  Prefactor  = 4.11331
  Prefactor  = 64.5082
  norm       = 2.63723
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.78749
  Prefactor  = 0.0001
  Prefactor  = 3.19649
  Normalizat = 0.742521
  Prefactor  = 1.48958
 **********
 **   18 **HESSE 
 **********

 FCN=   6417.078     FROM HESSE     STATUS=OK           225 CALLS     1864 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.320        58.939        .95991E-04   -1.4875    
   2  Prefactor     .10000E-03    2.9264        .13357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.6997        19.143        .15486E-03   -1.5190    
   4  Prefactor     .10000E-03    13.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.1264        4.6651        .13583E-03   -1.5174    
   6  norm          15.836        14.933        .10064E-03   -1.4912    
   7  norm          9.8894        6.0235        .12742E-03   -1.5079    
   8  Prefactor     4.1133        10.489        .19875E-03   -1.5302    
   9  Prefactor     64.508        37.976        .49966E-04   -1.4100    
  10  norm          2.6372        5.2428        .24744E-03   -1.5383    
  11  Prefactor     .10000E-03    14.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.5137        .12255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7875        6.6935        .15654E-02   -1.5441    
  14  Prefactor     .10000E-03    9.8414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.1965        11.730        .11328E-02   -1.5350    
  16  Normalizat    .74252        .26079        .33793E-03   -1.0224    
  17  Prefactor     1.4896        .21779        .21446E-03   -.77832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.70356e-10
Minuit parameter uncertainties:
  1  59.1382
  2  1.94132e-06
  3  19.1609
  4  0.00027507
  5  4.6653
  6  14.937
  7  6.02386
  8  10.4941
  9  37.99
  10  5.24368
  11  5.88266e-06
  12  6.02499e-06
  13  6.69629
  14  1.42457e-05
  15  11.7382
  16  0.261233
  17  0.217922
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  6.451e+01  3.799e+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.490e+00  2.179e-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:  7.425e-01  2.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.93
Ra Dec: 200.976 14.087
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 4.69e-08 +/- 2.76e-08
Energy Flux (Fixed Index): 4.47e-05 +/- 2.64e-05

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) = 6417.06833155
delta logL = 0.00992303871863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6417.06038324
delta logL = 0.0178713414789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.098       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9496       1.0000          .0000       10.000    
     3 'Normalizat'    .73954       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4904       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=   6417.060     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      243 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.095        47.286        .52189E-04    .31735E-03
   2  Index         1.9496        .39434        .46139E-02    .18675E-03
   3  Normalizat    .73952        .24657        .33857E-03   -.10369E-03
   4  Prefactor     1.4904        .21439        .21440E-03   -.25717E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.0953
  Index      = 1.94957
  Normalizat = 0.739518
  Prefactor  = 1.49039
 **********
 **   18 **HESSE 
 **********

 FCN=   6417.060     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.095        45.505        .10438E-04   -1.4169    
   2  Index         1.9496        .37942        .18456E-03   -.65617    
   3  Normalizat    .73952        .24670        .13543E-04   -1.0235    
   4  Prefactor     1.4904        .21455        .42880E-04   -.77809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10584e-10
Minuit parameter uncertainties:
  1  45.5317
  2  0.38
  3  0.247069
  4  0.214683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532465': 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) = 6417.06038323
delta logL = 0.0178713562982

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  5.910e+01  4.553e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.950e+00  3.800e-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.490e+00  2.147e-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:  7.395e-01  2.471e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.95
Ra Dec: 200.976 14.087
Photon Index (Free Index): 1.95 +/- 0.38
Photon Flux (Free Index): 5.09e-08 +/- 3.60e-08
Energy Flux (Free Index): 4.00e-05 +/- 3.30e-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/532465/cmap_HighResolution_582768001_583027201_4FGL_J1323.9+1405_daily_bin1325.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.69e-08', energy_flux2='4.00e-05', photon_flux_error='2.76e-08', dlogl='1.79e-02', energy_flux='4.47e-05', photon_flux2='5.09e-08', job_status='DONE', time_completed='2021-09-07 15:23:48.626044', photon_index_error2='0.38', photon_index2='1.95', ts='7.93', fit_tolerance='1e-08', GAL='1.49', photon_index_error='0.00', energy_flux_error2='3.30e-05', EG='0.74', time_epoch_completed='1631053428.63', return_code='0', job_id='532465', GAL2='1.49', EG2='0.74', return_code2='0', energy_flux_error='2.64e-05', photon_flux_error2='3.60e-08', ts2='7.95', photon_index='1.88' WHERE bin_id='1325' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:23:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 532465: <4FGL_J1323.9+1405_daily_bin1325> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1325 200.976 14.0871 582768001 583027201 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 :                                   517.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             280.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            793 sec.

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

