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


Performing analysis on: 4FGL_J1323.9+1405_weekly_bin632
RA = 200.976, Dec = 14.0871
tmin = 621216001, tmax = 621820801
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='856889', job_status='RUN', time_executed='2021-07-20 12:46:59.289995', time_epoch_executed='1626810419.29' WHERE source_name='4FGL J1323.9+1405' and cadence='weekly' and bin_id='632'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/856889

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/856889/ft1_4FGL_J1323.9+1405_weekly_bin632.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/856889/ft2_4FGL_J1323.9+1405_weekly_bin632.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/856889/ft1_4FGL_J1323.9+1405_weekly_bin632.fits outfile=/scratch/kocevski/856889/ft1_filteredMKT_4FGL_J1323.9+1405_weekly_bin632.fits ra=200.976 dec=14.0871 rad=12.0 tmin=621216001.0 tmax=621820801.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 8.09
user 7.77
sys 0.29

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/856889/ft1_filtered_4FGL_J1323.9+1405_weekly_bin632.fits evtable="EVENTS" scfile=/scratch/kocevski/856889/ft2_4FGL_J1323.9+1405_weekly_bin632.fits sctable="SC_DATA" expcube=/scratch/kocevski/856889/ltcube_621216001_621820801_4FGL_J1323.9+1405_weekly_bin632.fits outfile=/scratch/kocevski/856889/expmap_621216001_621820801_4FGL_J1323.9+1405_weekly_bin632.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/856889/ltcube_621216001_621820801_4FGL_J1323.9+1405_weekly_bin632.fits
.....................!
real 192.27
user 186.59
sys 5.33

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/856889/ft1_filtered_4FGL_J1323.9+1405_weekly_bin632.fits scfile=/scratch/kocevski/856889/ft2_4FGL_J1323.9+1405_weekly_bin632.fits outfile=/scratch/kocevski/856889/cmap_621216001_621820801_4FGL_J1323.9+1405_weekly_bin632.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/856889/ft1_filtered_4FGL_J1323.9+1405_weekly_bin632.fits scfile=/scratch/kocevski/856889/ft2_4FGL_J1323.9+1405_weekly_bin632.fits outfile=/scratch/kocevski/856889/cmap_HighResolution_621216001_621820801_4FGL_J1323.9+1405_weekly_bin632.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.62
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.476       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7080       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7820       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9262       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.1720       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    55.452       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .40857E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.9269       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2263       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3262       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0295       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=   11714.49     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     1651 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.477        29.225        .16263E-05   -.92163E-05
   2  Prefactor     2.7081        2.8226        .17693E-07    .94542E-05
   3  Prefactor     1.7844        7.1858        .14909E-05   -.26347E-03
   4  Prefactor     1.9101        23.165       -.12767E-05   -.30091E-04
   5  norm          .10000E-03    1.3781       -.16904E-08** at limit **
   6  norm          .10000E-03    15.290        .95377E-07** at limit **
   7  norm          .10000E-03    4.3724       -.12542E-07** at limit **
   8  Prefactor     .10000E-03    10.366       -.15116E-07** at limit **
   9  Prefactor     8.1668        18.666        .13254E-04    .72984E-06
  10  norm          .10000E-03    3.8645        .25346E-07** at limit **
  11  Prefactor     55.550        39.613        .15323E-05   -.81898E-05
  12  Prefactor     .10000E-03    1.1506        .95363E-07** at limit **
  13  Prefactor     3.9262        2.8687        .88566E-08   -.17590E-04
  14  Prefactor     1.2283        4.2327       -.10607E-05   -.37190E-03
  15  Prefactor     .10000E-03    3.2359        .53044E-07** at limit **
  16  Normalizat    1.3262        .14915       -.10881E-06   -.68743E-04
  17  Prefactor     1.0295        .12118       -.65875E-06   -.11879E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.4765
  Prefactor  = 2.70813
  Prefactor  = 1.78442
  Prefactor  = 1.91014
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.16679
  norm       = 0.0001
  Prefactor  = 55.5499
  Prefactor  = 0.0001
  Prefactor  = 3.92622
  Prefactor  = 1.22831
  Prefactor  = 0.0001
  Normalizat = 1.32617
  Prefactor  = 1.02948
 **********
 **   18 **HESSE 
 **********

 FCN=   11714.49     FROM HESSE     STATUS=OK           223 CALLS     1874 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.477        29.253        .77855E-04   -1.4678    
   2  Prefactor     2.7081        2.8289        .18113E-03   -1.5379    
   3  Prefactor     1.7844        9.4891        .15674E-02   -1.5441    
   4  Prefactor     1.9101        22.734        .29933E-03   -1.5432    
   5  norm          .10000E-03    1.3920        .12406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    15.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.5009        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.1668        18.664        .14025E-03   -1.5136    
  10  norm          .10000E-03    3.9171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     55.550        39.602        .53868E-04   -1.4216    
  12  Prefactor     .10000E-03    6.2063        .22168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9262        2.8653        .15118E-03   -1.5312    
  14  Prefactor     1.2283        14.082        .20330E-02   -1.5486    
  15  Prefactor     .10000E-03    3.2537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3262        .17732        .25942E-03   -.82788    
  17  Prefactor     1.0295        .14479        .23851E-03   -.91753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.08802e-10
Minuit parameter uncertainties:
  1  29.2693
  2  2.829
  3  8.23162
  4  13.1855
  5  1.0891e-06
  6  1.1286e-05
  7  7.26757e-06
  8  5.79354e-07
  9  18.6778
  10  4.6718e-06
  11  39.6207
  12  1.38337e-05
  13  2.8654
  14  8.31995
  15  4.08816e-06
  16  0.177397
  17  0.144849
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  8.167e+00  1.868e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.029e+00  1.448e-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.326e+00  1.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/856889/likelihoodResults_621216001_621820801_4FGL_J1323.9+1405_weekly_bin632.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): 0
logL (Free Index) = 11714.426519
delta logL = 0.0652653275029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11714.4163267
delta logL = 0.0754576632226

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9515       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2544       1.0000          .0000       10.000    
     3 'Normalizat'    1.3226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0299       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11714.42     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      275 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9269        20.276        .82300E-03   -.15590E-03
   2  Index         2.2574        1.3216        .12248E-01    .74794E-04
   3  Normalizat    1.3225        .17425        .25972E-03    .83432E-04
   4  Prefactor     1.0300        .14396        .23843E-03   -.18605E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.92695
  Index      = 2.2574
  Normalizat = 1.32247
  Prefactor  = 1.02999
 **********
 **   18 **HESSE 
 **********

 FCN=   11714.42     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9269        14.960        .32920E-04   -1.5221    
   2  Index         2.2574        .98369        .48992E-03   -.58059    
   3  Normalizat    1.3225        .17408        .10389E-04   -.82898    
   4  Prefactor     1.0300        .14386        .95373E-05   -.91736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81752e-10
Minuit parameter uncertainties:
  1  14.9697
  2  0.992996
  3  0.17416
  4  0.14391
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/856889': 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) = 11714.4163214
delta logL = 0.0754629404564

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  5.927e+00  1.497e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  2.257e+00  9.930e-01  0.000e+00  1.000e+01 (-1.000e+00)
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.030e+00  1.439e-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.322e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
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/856889/cmap_HighResolution_621216001_621820801_4FGL_J1323.9+1405_weekly_bin632.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.29e-08', time_completed='2021-07-20 13:00:35.873389', job_id='856889', GAL2='1.03', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1626811235.87', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='7.55e-02', ts2='0.39', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='632' AND source_name='4FGL J1323.9+1405' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 20 13:00:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 856889: <4FGL_J1323.9+1405_weekly_bin632> in cluster <slac> Done

Job <4FGL_J1323.9+1405_weekly_bin632> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Jul 20 12:45:30 2021
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 20 12:46:51 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:46:51 2021
Terminated at Tue Jul 20 13:00:36 2021
Results reported at Tue Jul 20 13:00:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_weekly_bin632 200.976 14.0871 621216001 621820801 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 :                                   789.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            906 sec.

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

