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 5 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 = 17277
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0103.8+1321_weekly_bin84
RA = 15.969, Dec = 13.3536
tmin = 289785601, tmax = 290390401
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='52570', job_status='RUN', time_executed='2021-07-03 15:06:36.897530', time_epoch_executed='1625349996.9' WHERE source_name='4FGL J0103.8+1321' and cadence='weekly' and bin_id='84'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52570

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52570/ft1_4FGL_J0103.8+1321_weekly_bin84.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52570/ft1_4FGL_J0103.8+1321_weekly_bin84.fits outfile=/scratch/kocevski/52570/ft1_filteredMKT_4FGL_J0103.8+1321_weekly_bin84.fits ra=15.969 dec=13.3536 rad=12.0 tmin=289785601.0 tmax=290390401.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.39
user 7.03
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.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/52570/ft1_filteredMKT_4FGL_J0103.8+1321_weekly_bin84.fits evtable="EVENTS" outfile="/scratch/kocevski/52570/ft1_filtered_4FGL_J0103.8+1321_weekly_bin84.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52570/ft1_filtered_4FGL_J0103.8+1321_weekly_bin84.fits" evtable="EVENTS" scfile=/scratch/kocevski/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.fits sctable="SC_DATA" outfile=/scratch/kocevski/52570/ltcube_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.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/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.fits
.....................!
real 26.41
user 26.01
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52570/ft1_filtered_4FGL_J0103.8+1321_weekly_bin84.fits evtable="EVENTS" scfile=/scratch/kocevski/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.fits sctable="SC_DATA" expcube=/scratch/kocevski/52570/ltcube_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.fits outfile=/scratch/kocevski/52570/expmap_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.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/52570/ltcube_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.fits
.....................!
real 192.29
user 185.32
sys 6.57

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0103.8+1321 @ 15.969 13.3536

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/52570/ft1_filtered_4FGL_J0103.8+1321_weekly_bin84.fits scfile=/scratch/kocevski/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.fits outfile=/scratch/kocevski/52570/cmap_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.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=15.969 yref=13.3536 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.82
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52570/ft1_filtered_4FGL_J0103.8+1321_weekly_bin84.fits scfile=/scratch/kocevski/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.fits outfile=/scratch/kocevski/52570/cmap_HighResolution_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.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=15.969 yref=13.3536 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/52570/ft1_filtered_4FGL_J0103.8+1321_weekly_bin84.fits evtable="EVENTS" scfile=/scratch/kocevski/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/52570/Model_4FGL_J0103.8+1321_weekly_bin84.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/52570/ft1_filtered_4FGL_J0103.8+1321_weekly_bin84.fits.....................!
real 157.81
user 154.31
sys 2.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/52570/ft1_filtered_4FGL_J0103.8+1321_weekly_bin84.fits', '/scratch/kocevski/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.fits', expMap='/scratch/kocevski/52570/expmap_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.fits', expCube='/scratch/kocevski/52570/ltcube_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/52570/Model_4FGL_J0103.8+1321_weekly_bin84.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0103.8+1321'

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  4.686e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/52570/ft1_filtered_4FGL_J0103.8+1321_weekly_bin84.fits
Spacecraft file(s): /scratch/kocevski/52570/ft2_4FGL_J0103.8+1321_weekly_bin84.fits
Exposure map: /scratch/kocevski/52570/expmap_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.fits
Exposure cube: /scratch/kocevski/52570/ltcube_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/52570/Model_4FGL_J0103.8+1321_weekly_bin84.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) = 16219.7375911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32720E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.270       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.6368       1.0000         .10000E-03   10000.    
     5 'norm      '    2.8424       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .97985       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.0546       1.0000         .10000E-03   10000.    
     9 'norm      '    8.0957       1.0000         .10000E-03   10000.    
    10 'Prefactor '    76.277       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1271       1.0000         .10000E-03   10000.    
    12 'norm      '    5.8912       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.066       1.0000         .10000E-03   10000.    
    14 'norm      '    .31048       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6040       1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.183       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0026       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0409       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16219.73     FROM MIGRAD    STATUS=CONVERGED    358 CALLS     2085 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10106E-03    .74671        .48122E-06** at limit **
   2  norm          .10000E-03    5.2618        .14561E-06** at limit **
   3  Prefactor     17.264        15.014        .65415E-07   -.21402E-03
   4  Prefactor     9.6346        8.9445       -.67106E-07   -.13178E-03
   5  norm          2.8420        4.0236        .37006E-06   -.22227E-03
   6  Prefactor     .97473        2.2399        .96979E-06   -.61350E-03
   7  Prefactor     .10000E-03    10.231        .42898E-06** at limit **
   8  Prefactor     5.0547        1.8512        .13858E-07    .18089E-03
   9  norm          8.0954        7.3616        .94809E-07    .67910E-05
  10  Prefactor     76.283        36.603        .15657E-06    .45628E-05
  11  Prefactor     5.0326        129.90       -.20232E-05   -.70331E-04
  12  norm          5.8909        1.7225       -.56125E-07    .86904E-03
  13  Prefactor     17.083        30.504       -.86756E-05   -.78741E-04
  14  norm          .31021        .42974        .13781E-05    .25431E-04
  15  Prefactor     6.6036        7.0583        .26802E-06   -.58926E-04
  16  Prefactor     39.183        27.053        .11506E-06    .13688E-04
  17  Normalizat    1.0024        .12804       -.49809E-06   -.56095E-03
  18  Prefactor     1.0410        .90644E-01   -.96848E-06   -.36738E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101064
  norm       = 0.0001
  Prefactor  = 17.2641
  Prefactor  = 9.63458
  norm       = 2.84203
  Prefactor  = 0.974729
  Prefactor  = 0.0001
  Prefactor  = 5.05468
  norm       = 8.09539
  Prefactor  = 76.2829
  Prefactor  = 5.03265
  norm       = 5.89091
  Prefactor  = 17.0827
  norm       = 0.310208
  Prefactor  = 6.60359
  Prefactor  = 39.1833
  Normalizat = 1.00244
  Prefactor  = 1.041
 **********
 **   18 **HESSE 
 **********

 FCN=   16219.73     FROM HESSE     STATUS=OK           264 CALLS     2349 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10106E-03    1.4572        .38324E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.3869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.264        15.018        .96377E-04   -1.4877    
   4  Prefactor     9.6346        8.8637        .12909E-03   -1.5087    
   5  norm          2.8420        4.0081        .24118E-03   -1.5371    
   6  Prefactor     .97473        2.4570        .27191E-02   -1.5511    
   7  Prefactor     .10000E-03    10.612        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.0547        1.8513        .10150E-03   -1.5258    
   9  norm          8.0954        7.3638        .14091E-03   -1.5139    
  10  Prefactor     76.283        36.593        .45977E-04   -1.3959    
  11  Prefactor     5.0326        129.83        .17756E-03   -1.5259    
  12  norm          5.8909        1.7143        .79421E-04   -1.5222    
  13  Prefactor     17.083        30.604        .96952E-04   -1.4881    
  14  norm          .31021        .43237        .84717E-03   -1.5597    
  15  Prefactor     6.6036        7.0522        .15616E-03   -1.5194    
  16  Prefactor     39.183        27.058        .64033E-04   -1.4455    
  17  Normalizat    1.0024        .15054        .29892E-03   -.92949    
  18  Prefactor     1.0410        .10603        .20976E-03   -.91375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12199e-09
Minuit parameter uncertainties:
  1  0.00249
  2  7.19512e-06
  3  15.0215
  4  8.8649
  5  4.00851
  6  2.45721
  7  2.51535e-05
  8  1.85128
  9  7.36461
  10  36.6039
  11  51.2468
  12  1.71429
  13  30.632
  14  0.432375
  15  7.05307
  16  27.0664
  17  0.150604
  18  0.106054
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  7.628e+01  3.660e+01  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.041e+00  1.061e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.002e+00  1.506e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.57
Ra Dec: 15.969 13.354
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 4.85e-08 +/- 2.32e-08
Energy Flux (Fixed Index): 2.77e-05 +/- 1.33e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16219.7250259
delta logL = 0.00450828719113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16219.7198346
delta logL = 0.00969960234033

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    81.492       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0267       1.0000          .0000       10.000    
     3 'Normalizat'    1.0052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0399       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16219.72     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      238 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     81.492        674.00        .11123E-02    .31404E-03
   2  Index         2.0266        2.6327        .11973        .28753E-03
   3  Normalizat    1.0055        .84921E-01    .67485E-01    .26528E-04
   4  Prefactor     1.0397        .40030E-01    .40538E-01    .29815E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 81.4923
  Index      = 2.02656
  Normalizat = 1.00546
  Prefactor  = 1.03973
 **********
 **   18 **HESSE 
 **********

 FCN=   16219.72     FROM HESSE     STATUS=OK            31 CALLS      269 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     81.492        56.994        .44493E-04   -1.3900    
   2  Index         2.0266        .42056        .70509E-02   -.63688    
   3  Normalizat    1.0055        .14794        .29851E-03   -.92848    
   4  Prefactor     1.0397        .10523        .20987E-03   -.91417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24145e-08
Minuit parameter uncertainties:
  1  57.0327
  2  0.42133
  3  0.148001
  4  0.105253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52570': 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) = 16219.7198323
delta logL = 0.00970189233703

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  8.149e+01  5.703e+01  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.027e+00  4.213e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.040e+00  1.053e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.005e+00  1.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.57
Ra Dec: 15.969 13.354
Photon Index (Free Index): 2.03 +/- 0.42
Photon Flux (Free Index): 4.59e-08 +/- 2.86e-08
Energy Flux (Free Index): 2.97e-05 +/- 2.28e-05

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/52570/cmap_HighResolution_289785601_290390401_4FGL_J0103.8+1321_weekly_bin84.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.85e-08', energy_flux2='2.97e-05', photon_flux_error='2.32e-08', dlogl='9.70e-03', energy_flux='2.77e-05', photon_flux2='4.59e-08', job_status='DONE', time_completed='2021-07-03 15:22:28.485260', photon_index_error2='0.42', photon_index2='2.03', ts='7.57', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.00', time_epoch_completed='1625350948.49', return_code='0', job_id='52570', GAL2='1.04', EG2='1.01', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='2.86e-08', ts2='7.57', photon_index='2.08' WHERE bin_id='84' AND source_name='4FGL J0103.8+1321' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 15:22:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 52570: <4FGL_J0103.8+1321_weekly_bin84> in cluster <slac> Done

Job <4FGL_J0103.8+1321_weekly_bin84> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Jul  3 15:05:52 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 15:05:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 15:05:53 2021
Terminated at Sat Jul  3 15:22:31 2021
Results reported at Sat Jul  3 15:22:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_weekly_bin84 15.969 13.3536 289785601 290390401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0103.8+1321 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   943.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   998 sec.
    Turnaround time :                            999 sec.

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

