aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 2 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 = 17203
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1323.9+1405_weekly_bin554
RA = 200.976, Dec = 14.0871
tmin = 574041601, tmax = 574646401
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='856767', job_status='RUN', time_executed='2021-07-20 12:45:39.366282', time_epoch_executed='1626810339.37' WHERE source_name='4FGL J1323.9+1405' and cadence='weekly' and bin_id='554'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/856767

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/856767/ft1_4FGL_J1323.9+1405_weekly_bin554.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/856767/ft2_4FGL_J1323.9+1405_weekly_bin554.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/856767/ft1_4FGL_J1323.9+1405_weekly_bin554.fits outfile=/scratch/kocevski/856767/ft1_filteredMKT_4FGL_J1323.9+1405_weekly_bin554.fits ra=200.976 dec=14.0871 rad=12.0 tmin=574041601.0 tmax=574646401.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 7.62
user 7.27
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/856767/ft1_filtered_4FGL_J1323.9+1405_weekly_bin554.fits" evtable="EVENTS" scfile=/scratch/kocevski/856767/ft2_4FGL_J1323.9+1405_weekly_bin554.fits sctable="SC_DATA" outfile=/scratch/kocevski/856767/ltcube_574041601_574646401_4FGL_J1323.9+1405_weekly_bin554.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/856767/ft2_4FGL_J1323.9+1405_weekly_bin554.fits
.....................!
real 29.33
user 28.96
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/856767/ft1_filtered_4FGL_J1323.9+1405_weekly_bin554.fits evtable="EVENTS" scfile=/scratch/kocevski/856767/ft2_4FGL_J1323.9+1405_weekly_bin554.fits sctable="SC_DATA" expcube=/scratch/kocevski/856767/ltcube_574041601_574646401_4FGL_J1323.9+1405_weekly_bin554.fits outfile=/scratch/kocevski/856767/expmap_574041601_574646401_4FGL_J1323.9+1405_weekly_bin554.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/856767/ltcube_574041601_574646401_4FGL_J1323.9+1405_weekly_bin554.fits
.....................!
real 192.38
user 187.34
sys 4.64

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/856767/ft1_filtered_4FGL_J1323.9+1405_weekly_bin554.fits scfile=/scratch/kocevski/856767/ft2_4FGL_J1323.9+1405_weekly_bin554.fits outfile=/scratch/kocevski/856767/cmap_574041601_574646401_4FGL_J1323.9+1405_weekly_bin554.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15461E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .57896E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8133       1.0000         .10000E-03   10000.    
     5 'norm      '    2.4539       1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.6511       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .41948       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.009       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2991       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .67034       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .90901       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1954       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=   12908.86     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1627 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0746       -.94731E-06** at limit **
   2  Prefactor     .10002E-03    1.7833       -.59073E-06** at limit **
   3  Prefactor     .10001E-03    3.3744       -.38138E-06** at limit **
   4  Prefactor     3.8069        8.0795       -.17580E-05   -.21337E-03
   5  norm          2.4537        1.9729        .19091E-06    .28997E-03
   6  norm          .10000E-03    7.6281        .17635E-05** at limit **
   7  norm          8.6522        4.1582        .61985E-06   -.10516E-02
   8  Prefactor     .10000E-03    2.5281       -.10982E-06** at limit **
   9  Prefactor     .10000E-03    8.0810        .36230E-06** at limit **
  10  norm          .42129        3.6382       -.67491E-06   -.18794E-03
  11  Prefactor     21.010        37.662        .83171E-06    .52295E-04
  12  Prefactor     2.2991        2.1680       -.10882E-06   -.24851E-03
  13  Prefactor     .67011        1.6242       -.38307E-06   -.44219E-03
  14  Prefactor     .10000E-03    4.3459        .20501E-06** at limit **
  15  Prefactor     .10000E-03    2.6282        .71738E-07** at limit **
  16  Normalizat    .90895        .13242        .47813E-06    .34871E-03
  17  Prefactor     1.1954        .11341       -.18730E-06    .41224E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100021
  Prefactor  = 0.000100009
  Prefactor  = 3.80688
  norm       = 2.45366
  norm       = 0.0001
  norm       = 8.6522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.421294
  Prefactor  = 21.0103
  Prefactor  = 2.29913
  Prefactor  = 0.67011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.908952
  Prefactor  = 1.19544
 **********
 **   18 **HESSE 
 **********

 FCN=   12908.86     FROM HESSE     STATUS=OK           231 CALLS     1858 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.0992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10002E-03    10.896        .28144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    12.041        .39103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8069        8.3504        .20669E-03   -1.5318    
   5  norm          2.4537        1.9679        .13915E-03   -1.5395    
   6  norm          .10000E-03    7.6977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.6522        5.4094        .68142E-03   -1.5120    
   8  Prefactor     .10000E-03    2.5407        .17644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.0967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .42129        11.485        .36256E-02   -1.5578    
  11  Prefactor     21.010        37.599        .87384E-04   -1.4791    
  12  Prefactor     2.2991        2.1735        .15747E-03   -1.5405    
  13  Prefactor     .67011        1.8888        .22423E-02   -1.5544    
  14  Prefactor     .10000E-03    4.3713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.6674        .17982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .90895        .15462        .27069E-03   -.96146    
  17  Prefactor     1.1954        .13206        .20913E-03   -.86472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45649e-07
Minuit parameter uncertainties:
  1  4.73157e-05
  2  0.000952932
  3  0.000643524
  4  8.35291
  5  1.96795
  6  9.28581e-05
  7  5.40971
  8  4.3586e-06
  9  2.08706e-05
  10  4.39972
  11  37.6414
  12  2.17356
  13  1.88899
  14  8.25966e-06
  15  7.12629e-07
  16  0.1547
  17  0.132093
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  2.087e-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:  1.195e+00  1.321e-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.090e-01  1.547e-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.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/856767/likelihoodResults_574041601_574646401_4FGL_J1323.9+1405_weekly_bin554.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) = 12908.8622049
delta logL = -0.000588623655858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12908.8616164
delta logL = -1.05270373751e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8769       1.0000          .0000       10.000    
     3 'Normalizat'    .90902       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1954       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=   12908.86     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      200 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    117.51        .90712E-02** at limit **
   2  Index         1.8756        9.0066        .50000        .12050E-05
   3  Normalizat    .90895        .12103E-01    .45017E-01    .32823E-04
   4  Prefactor     1.1954        .10613E-01    .34741E-01    .30703E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.87559
  Normalizat = 0.908951
  Prefactor  = 1.19544
 **********
 **   18 **HESSE 
 **********

 FCN=   12908.86     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.9135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8756        5.8816        .50000       -.67498    
   3  Normalizat    .90895        .14882        .27069E-03   -.96146    
   4  Prefactor     1.1954        .13059        .20913E-03   -.86472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82338e-12
Minuit parameter uncertainties:
  1  5.11245e-07
  2  4.32624
  3  0.148889
  4  0.130625
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/856767': 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) = 12908.8616163
delta logL = 8.98580765352e-10

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  5.112e-07  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.876e+00  4.326e+00  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.195e+00  1.306e-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.090e-01  1.489e-01  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/856767/cmap_HighResolution_574041601_574646401_4FGL_J1323.9+1405_weekly_bin554.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.91e-03', job_status='DONE', photon_flux_upper_limit='2.57e-08', time_completed='2021-07-20 12:59:31.672259', job_id='856767', GAL2='1.20', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1626811171.67', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='8.99e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='554' AND source_name='4FGL J1323.9+1405' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 20 12:59:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 856767: <4FGL_J1323.9+1405_weekly_bin554> in cluster <slac> Done

Job <4FGL_J1323.9+1405_weekly_bin554> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Jul 20 12:45:20 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 20 12:45:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 20 12:45:27 2021
Terminated at Tue Jul 20 12:59:32 2021
Results reported at Tue Jul 20 12:59:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_weekly_bin554 200.976 14.0871 574041601 574646401 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 :                                   817.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            852 sec.

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

