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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1302
RA = 200.976, Dec = 14.0871
tmin = 576806401, tmax = 577065601
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='532433', job_status='RUN', time_executed='2021-09-07 15:12:55.812077', time_epoch_executed='1631052775.81' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1302'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532433/ft1_4FGL_J1323.9+1405_daily_bin1302.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532433/ft2_4FGL_J1323.9+1405_daily_bin1302.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532433/ft1_4FGL_J1323.9+1405_daily_bin1302.fits outfile=/scratch/kocevski/532433/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1302.fits ra=200.976 dec=14.0871 rad=12.0 tmin=576806401.0 tmax=577065601.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.10
user 2.87
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532433/ft1_filtered_4FGL_J1323.9+1405_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/532433/ft2_4FGL_J1323.9+1405_daily_bin1302.fits sctable="SC_DATA" expcube=/scratch/kocevski/532433/ltcube_576806401_577065601_4FGL_J1323.9+1405_daily_bin1302.fits outfile=/scratch/kocevski/532433/expmap_576806401_577065601_4FGL_J1323.9+1405_daily_bin1302.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/532433/ltcube_576806401_577065601_4FGL_J1323.9+1405_daily_bin1302.fits
.....................!
real 191.88
user 186.70
sys 4.44

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/532433/ft1_filtered_4FGL_J1323.9+1405_daily_bin1302.fits scfile=/scratch/kocevski/532433/ft2_4FGL_J1323.9+1405_daily_bin1302.fits outfile=/scratch/kocevski/532433/cmap_576806401_577065601_4FGL_J1323.9+1405_daily_bin1302.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532433/ft1_filtered_4FGL_J1323.9+1405_daily_bin1302.fits scfile=/scratch/kocevski/532433/ft2_4FGL_J1323.9+1405_daily_bin1302.fits outfile=/scratch/kocevski/532433/cmap_HighResolution_576806401_577065601_4FGL_J1323.9+1405_daily_bin1302.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.073       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.268       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10663E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.6821       1.0000         .10000E-03   10000.    
     6 'norm      '    12.807       1.0000         .10000E-03   10000.    
     7 'norm      '    18.758       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .74252E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.101       1.0000         .10000E-03   10000.    
    10 'norm      '    15.529       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.3159       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .98963       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99063       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=   4424.025     FROM MIGRAD    STATUS=CONVERGED    319 CALLS     1581 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.169        143.53        .23385E-03    .53981E-04
   2  Prefactor     .10000E-03    7.0908       -.75274E-05** at limit **
   3  Prefactor     18.260        27.665       -.35438E-04   -.26294E-03
   4  Prefactor     .10000E-03    15.630        .97441E-06** at limit **
   5  norm          3.6820        3.2423       -.66182E-07    .20015E-03
   6  norm          12.808        12.583        .38962E-06    .33423E-04
   7  norm          18.757        10.529       -.97367E-06    .31043E-04
   8  Prefactor     .10000E-03    95.796        .57877E-05** at limit **
   9  Prefactor     28.073        28.422       -.88850E-05   -.37009E-05
  10  norm          15.531        12.634        .15352E-05   -.22061E-04
  11  Prefactor     .10000E-03    72.364       -.25582E-05** at limit **
  12  Prefactor     .10000E-03    6.8817       -.17984E-05** at limit **
  13  Prefactor     .10000E-03    9.4824        .91215E-06** at limit **
  14  Prefactor     .10000E-03    7.1790        .81992E-05** at limit **
  15  Prefactor     6.3212        15.793        .30946E-05   -.78717E-04
  16  Normalizat    .98980        .24125        .58557E-05   -.23645E-03
  17  Prefactor     .99034        .18891       -.51491E-05    .26014E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.1692
  Prefactor  = 0.0001
  Prefactor  = 18.2598
  Prefactor  = 0.000100004
  norm       = 3.68199
  norm       = 12.8075
  norm       = 18.7565
  Prefactor  = 0.000100001
  Prefactor  = 28.0729
  norm       = 15.5314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.32124
  Normalizat = 0.989799
  Prefactor  = 0.990344
 **********
 **   18 **HESSE 
 **********

 FCN=   4424.025     FROM HESSE     STATUS=OK           221 CALLS     1802 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.169        143.12        .11529E-03   -1.5010    
   2  Prefactor     .10000E-03    7.2443        .17273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.260        27.883        .93708E-04   -1.4853    
   4  Prefactor     .10000E-03    15.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.6820        3.2471        .10870E-03   -1.5324    
   6  norm          12.808        12.584        .11193E-03   -1.4992    
   7  norm          18.757        10.567        .92476E-04   -1.4842    
   8  Prefactor     .10000E-03    99.729        .37206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.073        28.419        .75575E-04   -1.4648    
  10  norm          15.531        12.646        .10164E-03   -1.4920    
  11  Prefactor     .10000E-03    72.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.9509        .17037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.6330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.1829        .17401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.3212        15.793        .15972E-03   -1.5205    
  16  Normalizat    .98980        .28278        .27722E-03   -.93373    
  17  Prefactor     .99034        .22086        .23207E-03   -.93052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22409e-09
Minuit parameter uncertainties:
  1  83.7178
  2  6.5706e-05
  3  27.9027
  4  0.00052468
  5  3.24723
  6  12.5866
  7  10.5682
  8  0.000514324
  9  28.4326
  10  12.6484
  11  8.61649e-05
  12  1.57401e-05
  13  2.22352e-05
  14  2.76199e-06
  15  15.8036
  16  0.283212
  17  0.221064
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.807e+01  2.843e+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:  9.903e-01  2.211e-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:  9.898e-01  2.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.01
Ra Dec: 200.976 14.087
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 2.04e-08 +/- 2.07e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.97e-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) = 4421.92415466
delta logL = 2.10063478206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4421.65390337
delta logL = 2.37088606925

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7292       1.0000         .10000E-03   10000.    
     2 'Index     '    .19909       1.0000          .0000       10.000    
     3 'Normalizat'    .99971       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99129       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=   4421.654     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      225 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7144        9.3180        .38670E-02   -.12491E-03
   2  Index         .19730        .60130        .35263        .60474E-04
   3  Normalizat    .99999        .22172        .46163E-01    .47012E-05
   4  Prefactor     .99108        .18671        .46158E-01    .36156E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.71443
  Index      = 0.197296
  Normalizat = 0.999994
  Prefactor  = 0.991083
 **********
 **   18 **HESSE 
 **********

 FCN=   4421.654     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7144        16.364        .15468E-03   -1.5190    
   2  Index         .19730        1.0807        .21002E-01   -1.2889    
   3  Normalizat    .99999        .25752        .27578E-03   -.93031    
   4  Prefactor     .99108        .21690        .23193E-03   -.93027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77073e-11
Minuit parameter uncertainties:
  1  16.375
  2  0.951397
  3  0.257843
  4  0.217095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532433': 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) = 4421.653899
delta logL = 2.37089044116

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  6.714e+00  1.637e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.973e-01  9.514e-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:  9.911e-01  2.171e-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.000e+00  2.578e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.75
Ra Dec: 200.976 14.087
Photon Index (Free Index): 0.20 +/- 0.95
Photon Flux (Free Index): 4.21e-09 +/- 4.24e-09
Energy Flux (Free Index): 1.88e-04 +/- 2.15e-04

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/532433/cmap_HighResolution_576806401_577065601_4FGL_J1323.9+1405_daily_bin1302.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.04e-08', energy_flux2='1.88e-04', photon_flux_error='2.07e-08', dlogl='2.37e+00', energy_flux='1.95e-05', photon_flux2='4.21e-09', job_status='DONE', time_completed='2021-09-07 15:20:46.863604', photon_index_error2='0.95', photon_index2='0.20', ts='4.01', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='2.15e-04', EG='0.99', time_epoch_completed='1631053246.86', return_code='0', job_id='532433', GAL2='0.99', EG2='1.00', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='4.24e-09', ts2='8.75', photon_index='1.88' WHERE bin_id='1302' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:20:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 532433: <4FGL_J1323.9+1405_daily_bin1302> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1302 200.976 14.0871 576806401 577065601 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 :                                   448.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   552 sec.
    Turnaround time :                            613 sec.

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

