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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin977
RA = 200.976, Dec = 14.0871
tmin = 492566401, tmax = 492825601
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='530905', job_status='RUN', time_executed='2021-09-07 15:06:14.785765', time_epoch_executed='1631052374.79' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='977'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530905

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530905/ft1_4FGL_J1323.9+1405_daily_bin977.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530905/ft2_4FGL_J1323.9+1405_daily_bin977.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530905/ft1_4FGL_J1323.9+1405_daily_bin977.fits outfile=/scratch/kocevski/530905/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin977.fits ra=200.976 dec=14.0871 rad=12.0 tmin=492566401.0 tmax=492825601.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.59
user 3.33
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/530905/ft2_4FGL_J1323.9+1405_daily_bin977.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/530905/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin977.fits evtable="EVENTS" outfile="/scratch/kocevski/530905/ft1_filtered_4FGL_J1323.9+1405_daily_bin977.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530905/ft1_filtered_4FGL_J1323.9+1405_daily_bin977.fits" evtable="EVENTS" scfile=/scratch/kocevski/530905/ft2_4FGL_J1323.9+1405_daily_bin977.fits sctable="SC_DATA" outfile=/scratch/kocevski/530905/ltcube_492566401_492825601_4FGL_J1323.9+1405_daily_bin977.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/530905/ft2_4FGL_J1323.9+1405_daily_bin977.fits
.....................!
real 16.41
user 15.97
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530905/ft1_filtered_4FGL_J1323.9+1405_daily_bin977.fits evtable="EVENTS" scfile=/scratch/kocevski/530905/ft2_4FGL_J1323.9+1405_daily_bin977.fits sctable="SC_DATA" expcube=/scratch/kocevski/530905/ltcube_492566401_492825601_4FGL_J1323.9+1405_daily_bin977.fits outfile=/scratch/kocevski/530905/expmap_492566401_492825601_4FGL_J1323.9+1405_daily_bin977.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/530905/ltcube_492566401_492825601_4FGL_J1323.9+1405_daily_bin977.fits
.....................!
real 194.12
user 187.12
sys 5.10

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/530905/ft1_filtered_4FGL_J1323.9+1405_daily_bin977.fits scfile=/scratch/kocevski/530905/ft2_4FGL_J1323.9+1405_daily_bin977.fits outfile=/scratch/kocevski/530905/cmap_492566401_492825601_4FGL_J1323.9+1405_daily_bin977.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.60
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530905/ft1_filtered_4FGL_J1323.9+1405_daily_bin977.fits scfile=/scratch/kocevski/530905/ft2_4FGL_J1323.9+1405_daily_bin977.fits outfile=/scratch/kocevski/530905/cmap_HighResolution_492566401_492825601_4FGL_J1323.9+1405_daily_bin977.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.58
user 0.41
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44036       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.7199       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8933       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.6268       1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.7114       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7968       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10253E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .44147       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.9741       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .98833       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94439       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=   5217.640     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1639 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46152E-01    58.621        .14715        .31713E-04
   2  Prefactor     8.7199        7.5340        .33935E-02    .23522E-02
   3  Prefactor     7.9479        13.434        .35680E-02   -.83530E-04
   4  Prefactor     7.6189        9.7845        .36303E-02   -.75930E-04
   5  norm          .10000E-03    1.5911        .90712E-02** at limit **
   6  norm          .10000E-03    6.1911        .90712E-02** at limit **
   7  norm          4.7108        4.5750        .46347E-02    .48988E-03
   8  Prefactor     .10000E-03    3.3502        .90712E-02** at limit **
   9  Prefactor     .10000E-03    8.8710        .90712E-02** at limit **
  10  norm          1.7957        3.4982        .77983E-02    .28091E-03
  11  Prefactor     .10000E-03    220.26        .10373E-01** at limit **
  12  Prefactor     .43713        2.3638        .57749E-01    .67613E-03
  13  Prefactor     .10000E-03    .98140        .90712E-02** at limit **
  14  Prefactor     .10000E-03    7.6077        .90712E-02** at limit **
  15  Prefactor     7.9816        9.4237        .35497E-02    .96651E-04
  16  Normalizat    .98839        .18351        .46021E-01   -.32443E-03
  17  Prefactor     .94452        .15394        .45568E-01   -.32644E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0461521
  Prefactor  = 8.71988
  Prefactor  = 7.94792
  Prefactor  = 7.61892
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.71083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.79566
  Prefactor  = 0.000100004
  Prefactor  = 0.437132
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.98161
  Normalizat = 0.988385
  Prefactor  = 0.944524
 **********
 **   18 **HESSE 
 **********

 FCN=   5217.640     FROM HESSE     STATUS=OK           231 CALLS     1870 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46152E-01    64.201        .13834       -1.5665    
   2  Prefactor     8.7199        7.5455        .67871E-03   -1.5117    
   3  Prefactor     7.9479        13.434        .14272E-03   -1.5144    
   4  Prefactor     7.6189        9.7748        .14521E-03   -1.5156    
   5  norm          .10000E-03    1.5999        .88965E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.1969        .17553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.7108        4.5702        .14596E-03   -1.5274    
   8  Prefactor     .10000E-03    3.3542        .12912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.8723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7957        3.4577        .18200E-03   -1.5440    
  11  Prefactor     .10000E-03    226.60        .41492E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .43713        7.6695        .20948E-02   -1.5576    
  13  Prefactor     .10000E-03    .98194        .69883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.6300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.9816        9.4222        .14199E-03   -1.5143    
  16  Normalizat    .98839        .21659        .23892E-03   -.93421    
  17  Prefactor     .94452        .18193        .21138E-03   -.94602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00673e-10
Minuit parameter uncertainties:
  1  3.44265
  2  7.54635
  3  13.4388
  4  9.77681
  5  5.04902e-06
  6  1.4847e-05
  7  4.57057
  8  4.15394e-06
  9  3.7505e-05
  10  3.45805
  11  0.00179803
  12  3.66213
  13  9.82842e-07
  14  4.889e-05
  15  9.42393
  16  0.216779
  17  0.182043
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  3.750e-05  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.445e-01  1.820e-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.884e-01  2.168e-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: 3.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530905/likelihoodResults_492566401_492825601_4FGL_J1323.9+1405_daily_bin977.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) = 5217.64035346
delta logL = -0.000532844857844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5217.63982065
delta logL = -3.78386175726e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8561       1.0000          .0000       10.000    
     3 'Normalizat'    .98837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94454       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=   5217.640     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      195 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    739.85        .90712E-02** at limit **
   2  Index         1.8338        7.4291        .50000        .18081E-04
   3  Normalizat    .98839        .45242E-01    .46021E-01   -.15017E-05
   4  Prefactor     .94452        .39427E-01    .45570E-01    .15380E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.83383
  Normalizat = 0.988386
  Prefactor  = 0.944525
 **********
 **   18 **HESSE 
 **********

 FCN=   5217.640     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      226 TOTAL
                     EDM=   .10E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    494.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8338        9.0378        .20000       -.68573    
   3  Normalizat    .98839        .35289E-01    .23892E-03   -.93421    
   4  Prefactor     .94452        .30753E-01    .21138E-03   -.94602    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.000101616
Minuit parameter uncertainties:
  1  0.00140721
  2  2178.85
  3  0.0352896
  4  0.0307535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530905': 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) = 5217.6398204
delta logL = 2.17221895582e-07

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  1.407e-03  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.834e+00  2.179e+03  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.445e-01  3.075e-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:  9.884e-01  3.529e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/530905/cmap_HighResolution_492566401_492825601_4FGL_J1323.9+1405_daily_bin977.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-03', job_status='DONE', photon_flux_upper_limit='3.64e-08', time_completed='2021-09-07 15:14:54.072186', job_id='530905', GAL2='0.94', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1631052894.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='977' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:14:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 530905: <4FGL_J1323.9+1405_daily_bin977> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin977> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 15:05:48 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 15:05:59 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:05:59 2021
Terminated at Tue Sep  7 15:14:54 2021
Results reported at Tue Sep  7 15:14:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin977 200.976 14.0871 492566401 492825601 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 :                                   514.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             338.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   535 sec.
    Turnaround time :                            546 sec.

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

