/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 143 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 = 7430
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1323.9+1405_daily_bin64
RA = 200.976, Dec = 14.0871
tmin = 255916801, tmax = 256176001
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='526150', job_status='RUN', time_executed='2021-09-07 14:55:43.478813', time_epoch_executed='1631051743.48' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='64'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526150

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526150/ft1_4FGL_J1323.9+1405_daily_bin64.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526150/ft2_4FGL_J1323.9+1405_daily_bin64.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526150/ft1_4FGL_J1323.9+1405_daily_bin64.fits outfile=/scratch/kocevski/526150/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin64.fits ra=200.976 dec=14.0871 rad=12.0 tmin=255916801.0 tmax=256176001.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 1.55
user 1.27
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526150/ft1_filtered_4FGL_J1323.9+1405_daily_bin64.fits" evtable="EVENTS" scfile=/scratch/kocevski/526150/ft2_4FGL_J1323.9+1405_daily_bin64.fits sctable="SC_DATA" outfile=/scratch/kocevski/526150/ltcube_255916801_256176001_4FGL_J1323.9+1405_daily_bin64.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/526150/ft2_4FGL_J1323.9+1405_daily_bin64.fits
.....................!
real 14.71
user 14.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526150/ft1_filtered_4FGL_J1323.9+1405_daily_bin64.fits evtable="EVENTS" scfile=/scratch/kocevski/526150/ft2_4FGL_J1323.9+1405_daily_bin64.fits sctable="SC_DATA" expcube=/scratch/kocevski/526150/ltcube_255916801_256176001_4FGL_J1323.9+1405_daily_bin64.fits outfile=/scratch/kocevski/526150/expmap_255916801_256176001_4FGL_J1323.9+1405_daily_bin64.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/526150/ltcube_255916801_256176001_4FGL_J1323.9+1405_daily_bin64.fits
.....................!
real 191.71
user 186.68
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/526150/ft1_filtered_4FGL_J1323.9+1405_daily_bin64.fits scfile=/scratch/kocevski/526150/ft2_4FGL_J1323.9+1405_daily_bin64.fits outfile=/scratch/kocevski/526150/cmap_255916801_256176001_4FGL_J1323.9+1405_daily_bin64.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526150/ft1_filtered_4FGL_J1323.9+1405_daily_bin64.fits scfile=/scratch/kocevski/526150/ft2_4FGL_J1323.9+1405_daily_bin64.fits outfile=/scratch/kocevski/526150/cmap_HighResolution_255916801_256176001_4FGL_J1323.9+1405_daily_bin64.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3887       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .84756E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.6500       1.0000         .10000E-03   10000.    
     6 'norm      '    11.640       1.0000         .10000E-03   10000.    
     7 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .31079E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    27.328       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10405E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.3291       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5982       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.308       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.610       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2691       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93800       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=   9590.382     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1364 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3823        18.311        .32698E-02    .18131E-02
   2  Prefactor     .10000E-03    3.5655        .63936E-01** at limit **
   3  Prefactor     .10000E-03    2.9117        .90712E-02** at limit **
   4  Prefactor     .10000E-03    3.8319        .90712E-02** at limit **
   5  norm          3.6525        3.8895        .52860E-02    .71336E-03
   6  norm          11.640        10.367        .29355E-02    .20530E-03
   7  norm          .10000E-03    2.8984        .90712E-02** at limit **
   8  Prefactor     .10062E-03    3.8224        .98949E-01** at limit **
   9  Prefactor     .10000E-03    6.7923        .90712E-02** at limit **
  10  norm          27.329        8.2706        .19158E-02    .13865E-02
  11  Prefactor     .10014E-03    42.839        .90712E-02** at limit **
  12  Prefactor     3.3289        3.0669        .55461E-02    .63711E-03
  13  Prefactor     1.5983        1.7338        .83857E-02   -.25901E-03
  14  Prefactor     11.305        14.027        .29784E-02    .11347E-02
  15  Prefactor     16.610        10.820        .24568E-02   -.28247E-03
  16  Normalizat    1.2692        .15878        .57293E-01   -.38087E-05
  17  Prefactor     .93799        .13075        .45488E-01    .24001E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.38228
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.65246
  norm       = 11.6404
  norm       = 0.0001
  Prefactor  = 0.000100622
  Prefactor  = 0.0001
  norm       = 27.3285
  Prefactor  = 0.000100138
  Prefactor  = 3.32893
  Prefactor  = 1.59832
  Prefactor  = 11.3054
  Prefactor  = 16.61
  Normalizat = 1.26919
  Prefactor  = 0.937993
 **********
 **   18 **HESSE 
 **********

 FCN=   9590.382     FROM HESSE     STATUS=OK           225 CALLS     1589 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3823        18.303        .13079E-03   -1.5095    
   2  Prefactor     .10000E-03    12.954        .35550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.9206        .16315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.6525        3.8560        .19113E-03   -1.5326    
   6  norm          11.640        10.364        .11742E-03   -1.5025    
   7  norm          .10000E-03    2.9698        .32515E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10062E-03    51.980        .36703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.7959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          27.329        8.2754        .76634E-04   -1.4662    
  11  Prefactor     .10014E-03    43.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3289        3.0595        .15775E-03   -1.5343    
  13  Prefactor     1.5983        1.7389        .13078E-03   -1.5455    
  14  Prefactor     11.305        14.013        .59568E-03   -1.5035    
  15  Prefactor     16.610        10.842        .98272E-04   -1.4893    
  16  Normalizat    1.2692        .18901        .25336E-03   -.84491    
  17  Prefactor     .93799        .15579        .24252E-03   -.94826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66965e-08
Minuit parameter uncertainties:
  1  18.3143
  2  0.000109715
  3  3.06854e-06
  4  7.70756e-07
  5  3.85623
  6  10.366
  7  6.97554e-06
  8  0.0113814
  9  6.396e-06
  10  8.27575
  11  0.00488471
  12  3.0596
  13  1.73898
  14  14.0175
  15  10.8433
  16  0.189115
  17  0.155862
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  6.396e-06  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.380e-01  1.559e-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.269e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/526150/likelihoodResults_255916801_256176001_4FGL_J1323.9+1405_daily_bin64.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): 102
logL (Free Index) = 9590.38244591
delta logL = -0.00069893942964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9590.38174701
delta logL = -3.67253960576e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8566       1.0000          .0000       10.000    
     3 'Normalizat'    1.2692       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93794       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=   9590.382     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      190 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    263.77        .90712E-02** at limit **
   2  Index         1.8357        5.2547        .50000        .22051E-04
   3  Normalizat    1.2692        .25190E-01    .57293E-01    .31464E-04
   4  Prefactor     .93799        .21202E-01    .45487E-01    .35518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.83571
  Normalizat = 1.26919
  Prefactor  = 0.937993
 **********
 **   18 **HESSE 
 **********

 FCN=   9590.382     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      223 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1022.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8357        5.6112        .50000       -.68524    
   3  Normalizat    1.2692        .62200E-01    .25336E-03   -.84491    
   4  Prefactor     .93799        .52364E-01    .24252E-03   -.94826    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.46028e-07
Minuit parameter uncertainties:
  1  0.00156996
  2  47.5401
  3  0.0622035
  4  0.0523666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526150': 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): 102
logL (Free Index) = 9590.38174671
delta logL = 2.55180566455e-07

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  1.570e-03  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.836e+00  4.754e+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.380e-01  5.237e-02  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.269e+00  6.220e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 200.976 14.087

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/526150/cmap_HighResolution_255916801_256176001_4FGL_J1323.9+1405_daily_bin64.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-03', job_status='DONE', photon_flux_upper_limit='2.62e-08', time_completed='2021-09-07 15:06:16.076365', job_id='526150', GAL2='0.94', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1631052376.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='64' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:06:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 526150: <4FGL_J1323.9+1405_daily_bin64> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin64 200.976 14.0871 255916801 256176001 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 :                                   630.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            953 sec.

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

