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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin28
RA = 15.969, Dec = 13.3536
tmin = 246585601, tmax = 246844801
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='318264', job_status='RUN', time_executed='2021-08-13 10:57:50.470608', time_epoch_executed='1628877470.47' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='28'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318264

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318264/ft1_4FGL_J0103.8+1321_daily_bin28.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318264/ft2_4FGL_J0103.8+1321_daily_bin28.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318264/ft1_4FGL_J0103.8+1321_daily_bin28.fits outfile=/scratch/kocevski/318264/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin28.fits ra=15.969 dec=13.3536 rad=12.0 tmin=246585601.0 tmax=246844801.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 2.35
user 1.22
sys 1.06

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318264/ft2_4FGL_J0103.8+1321_daily_bin28.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/318264/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin28.fits evtable="EVENTS" outfile="/scratch/kocevski/318264/ft1_filtered_4FGL_J0103.8+1321_daily_bin28.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 1.37
user 0.32
sys 1.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318264/ft1_filtered_4FGL_J0103.8+1321_daily_bin28.fits" evtable="EVENTS" scfile=/scratch/kocevski/318264/ft2_4FGL_J0103.8+1321_daily_bin28.fits sctable="SC_DATA" outfile=/scratch/kocevski/318264/ltcube_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.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/318264/ft2_4FGL_J0103.8+1321_daily_bin28.fits
.....................!
real 14.45
user 13.06
sys 1.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318264/ft1_filtered_4FGL_J0103.8+1321_daily_bin28.fits evtable="EVENTS" scfile=/scratch/kocevski/318264/ft2_4FGL_J0103.8+1321_daily_bin28.fits sctable="SC_DATA" expcube=/scratch/kocevski/318264/ltcube_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.fits outfile=/scratch/kocevski/318264/expmap_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.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/318264/ltcube_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.fits
.....................!
real 192.54
user 185.73
sys 6.39

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/318264/ft1_filtered_4FGL_J0103.8+1321_daily_bin28.fits scfile=/scratch/kocevski/318264/ft2_4FGL_J0103.8+1321_daily_bin28.fits outfile=/scratch/kocevski/318264/cmap_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.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 1.41
user 0.39
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318264/ft1_filtered_4FGL_J0103.8+1321_daily_bin28.fits scfile=/scratch/kocevski/318264/ft2_4FGL_J0103.8+1321_daily_bin28.fits outfile=/scratch/kocevski/318264/cmap_HighResolution_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.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 1.39
user 0.36
sys 1.02

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/318264/ft1_filtered_4FGL_J0103.8+1321_daily_bin28.fits', '/scratch/kocevski/318264/ft2_4FGL_J0103.8+1321_daily_bin28.fits', expMap='/scratch/kocevski/318264/expmap_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.fits', expCube='/scratch/kocevski/318264/ltcube_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/318264/Model_4FGL_J0103.8+1321_daily_bin28.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/318264/ft1_filtered_4FGL_J0103.8+1321_daily_bin28.fits
Spacecraft file(s): /scratch/kocevski/318264/ft2_4FGL_J0103.8+1321_daily_bin28.fits
Exposure map: /scratch/kocevski/318264/expmap_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.fits
Exposure cube: /scratch/kocevski/318264/ltcube_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/318264/Model_4FGL_J0103.8+1321_daily_bin28.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) = 5954.18325021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    3.2660       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .41946E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.507       1.0000         .10000E-03   10000.    
     5 'norm      '    .14729E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6035       1.0000         .10000E-03   10000.    
     7 'Prefactor '    56.478       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.326       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.286       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .67672E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.0784       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .38532E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.4645       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.870       1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.645       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .67676       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2525       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=   5954.183     FROM MIGRAD    STATUS=CONVERGED    376 CALLS     1720 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1567       -.84106E-07** at limit **
   2  norm          3.2621        7.0883       -.18663E-05   -.20960E-03
   3  Prefactor     .10000E-03    17.126        .57271E-06** at limit **
   4  Prefactor     12.506        10.077       -.23639E-06    .24838E-04
   5  norm          .10000E-03    7.9255       -.69621E-06** at limit **
   6  Prefactor     1.6040        4.1176       -.66303E-06   -.66547E-03
   7  Prefactor     56.399        19.361        .56296E-05    .41701E-04
   8  Prefactor     .10000E-03    1.5571       -.67683E-07** at limit **
   9  norm          12.312        11.629        .74130E-05    .13826E-04
  10  Prefactor     17.174        45.650       -.32701E-04    .14337E-04
  11  Prefactor     .10000E-03    43.319        .11821E-04** at limit **
  12  norm          6.0781        2.3029       -.10275E-06   -.14659E-03
  13  Prefactor     .10000E-03    25.482       -.47031E-05** at limit **
  14  norm          1.4645        .76195       -.15430E-06   -.13711E-03
  15  Prefactor     14.840        14.787       -.17249E-04    .12027E-04
  16  Prefactor     36.623        49.972       -.97497E-05   -.98499E-07
  17  Normalizat    .67695        .20329        .29125E-05    .93982E-05
  18  Prefactor     1.2525        .15290        .15825E-05    .15005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.26215
  Prefactor  = 0.0001
  Prefactor  = 12.5056
  norm       = 0.000100001
  Prefactor  = 1.60405
  Prefactor  = 56.3988
  Prefactor  = 0.0001
  norm       = 12.312
  Prefactor  = 17.1743
  Prefactor  = 0.0001
  norm       = 6.07814
  Prefactor  = 0.0001
  norm       = 1.46454
  Prefactor  = 14.8397
  Prefactor  = 36.6232
  Normalizat = 0.676954
  Prefactor  = 1.25253
 **********
 **   18 **HESSE 
 **********

 FCN=   5954.183     FROM HESSE     STATUS=OK           250 CALLS     1970 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1622        .81037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.2621        7.0799        .22408E-03   -1.5347    
   3  Prefactor     .10000E-03    17.209        .21242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.506        10.071        .11327E-03   -1.5001    
   5  norm          .10000E-03    7.9804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6040        4.0857        .24264E-03   -1.5455    
   7  Prefactor     56.399        19.362        .53379E-04   -1.4205    
   8  Prefactor     .10000E-03    1.6042        .18795E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.312        11.632        .11410E-03   -1.5006    
  10  Prefactor     17.174        45.597        .96334E-04   -1.4879    
  11  Prefactor     .10000E-03    43.354        .20999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.0781        2.3045        .69560E-04   -1.5215    
  13  Prefactor     .10000E-03    25.575        .21281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4645        .75696        .46756E-04   -1.5466    
  15  Prefactor     14.840        14.780        .10387E-03   -1.4937    
  16  Prefactor     36.623        49.975        .66205E-04   -1.4497    
  17  Normalizat    .67695        .22579        .34011E-03   -1.0481    
  18  Prefactor     1.2525        .17091        .19677E-03   -.84730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.54571e-10
Minuit parameter uncertainties:
  1  8.97443e-06
  2  7.08176
  3  0.000120305
  4  10.0726
  5  0.000139932
  6  4.08637
  7  19.3637
  8  1.03976e-05
  9  11.634
  10  45.6893
  11  4.10683e-05
  12  2.30454
  13  6.70174e-05
  14  0.756966
  15  14.7834
  16  50.0327
  17  0.226103
  18  0.170989
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.717e+01  4.569e+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.253e+00  1.710e-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:  6.770e-01  2.261e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 15.969 13.354
Photon Flux Upper Limit: 8.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318264/likelihoodResults_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.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) = 5954.03945705
delta logL = 0.143701575314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5954.0348627
delta logL = 0.148295926834

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5228       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7988       1.0000          .0000       10.000    
     3 'Normalizat'    .65638       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2588       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=   5954.035     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      296 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5228        504.76        .34328E-02    .61971E-03
   2  Index         2.7989        6.3961        .11107        .14729E-03
   3  Normalizat    .65599        .68370E-01    .77954E-01    .30039E-04
   4  Prefactor     1.2591        .46217E-01    .33369E-01   -.15777E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.52283
  Index      = 2.79891
  Normalizat = 0.655994
  Prefactor  = 1.25914
 **********
 **   18 **HESSE 
 **********

 FCN=   5954.035     FROM HESSE     STATUS=OK            33 CALLS      329 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5228        201.94        .13731E-03   -1.5124    
   2  Index         2.7989        3.5813        .78816E-02   -.45584    
   3  Normalizat    .65599        .23997        .34516E-03   -1.0566    
   4  Prefactor     1.2591        .17772        .19629E-03   -.84530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50186e-07
Minuit parameter uncertainties:
  1  83.2895
  2  4.14601
  3  0.240355
  4  0.1778
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318264': 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) = 5954.03486109
delta logL = 0.148297531888

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  8.523e+00  8.329e+01  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.799e+00  4.146e+00  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.259e+00  1.778e-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:  6.560e-01  2.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 15.969 13.354

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/318264/cmap_HighResolution_246585601_246844801_4FGL_J0103.8+1321_daily_bin28.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.63e-03', job_status='DONE', photon_flux_upper_limit='8.79e-08', time_completed='2021-08-13 11:07:01.522454', job_id='318264', GAL2='1.26', fit_tolerance='1e-08', EG2='0.66', EG='0.68', time_epoch_completed='1628878021.52', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='1.48e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='28' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 11:07:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 318264: <4FGL_J0103.8+1321_daily_bin28> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin28> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Aug 13 10:55:28 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 10:56:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 10:56:13 2021
Terminated at Fri Aug 13 11:07:02 2021
Results reported at Fri Aug 13 11:07:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin28 15.969 13.3536 246585601 246844801 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 :                                   563.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             319.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            694 sec.

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

