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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin241
RA = 15.969, Dec = 13.3536
tmin = 301795201, tmax = 302054401
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='319773', job_status='RUN', time_executed='2021-08-13 11:04:26.273430', time_epoch_executed='1628877866.27' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='241'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319773

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319773/ft1_4FGL_J0103.8+1321_daily_bin241.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319773/ft2_4FGL_J0103.8+1321_daily_bin241.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319773/ft1_4FGL_J0103.8+1321_daily_bin241.fits outfile=/scratch/kocevski/319773/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin241.fits ra=15.969 dec=13.3536 rad=12.0 tmin=301795201.0 tmax=302054401.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.34
user 3.79
sys 4.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319773/ft1_filtered_4FGL_J0103.8+1321_daily_bin241.fits" evtable="EVENTS" scfile=/scratch/kocevski/319773/ft2_4FGL_J0103.8+1321_daily_bin241.fits sctable="SC_DATA" outfile=/scratch/kocevski/319773/ltcube_301795201_302054401_4FGL_J0103.8+1321_daily_bin241.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/319773/ft2_4FGL_J0103.8+1321_daily_bin241.fits
.....................!
real 18.48
user 13.41
sys 4.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319773/ft1_filtered_4FGL_J0103.8+1321_daily_bin241.fits evtable="EVENTS" scfile=/scratch/kocevski/319773/ft2_4FGL_J0103.8+1321_daily_bin241.fits sctable="SC_DATA" expcube=/scratch/kocevski/319773/ltcube_301795201_302054401_4FGL_J0103.8+1321_daily_bin241.fits outfile=/scratch/kocevski/319773/expmap_301795201_302054401_4FGL_J0103.8+1321_daily_bin241.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/319773/ltcube_301795201_302054401_4FGL_J0103.8+1321_daily_bin241.fits
.....................!
real 198.67
user 186.16
sys 10.62

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/319773/ft1_filtered_4FGL_J0103.8+1321_daily_bin241.fits scfile=/scratch/kocevski/319773/ft2_4FGL_J0103.8+1321_daily_bin241.fits outfile=/scratch/kocevski/319773/cmap_301795201_302054401_4FGL_J0103.8+1321_daily_bin241.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 4.71
user 0.38
sys 4.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319773/ft1_filtered_4FGL_J0103.8+1321_daily_bin241.fits scfile=/scratch/kocevski/319773/ft2_4FGL_J0103.8+1321_daily_bin241.fits outfile=/scratch/kocevski/319773/cmap_HighResolution_301795201_302054401_4FGL_J0103.8+1321_daily_bin241.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 4.64
user 0.38
sys 4.22

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67470E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    9.9647       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.4842       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.5418       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9099       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.371       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .52711E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.7134       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7158       1.0000         .10000E-03   10000.    
    14 'norm      '    1.5858       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4218       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2339       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .74397       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=   5650.091     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1487 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    1.8832        .10915E-06** at limit **
   2  norm          9.9653        10.228        .13023E-06   -.22669E-05
   3  Prefactor     5.5450        28.873       -.22471E-05    .36029E-04
   4  Prefactor     .10000E-03    5.3511        .38004E-07** at limit **
   5  norm          4.5422        4.8407       -.80275E-07   -.12321E-05
   6  Prefactor     2.9088        3.8822        .11300E-06    .10324E-04
   7  Prefactor     .10000E-03    3.1199        .11595E-06** at limit **
   8  Prefactor     .10000E-03    .78481       -.29695E-07** at limit **
   9  norm          14.372        13.541        .12977E-06   -.83813E-06
  10  Prefactor     .10000E-03    137.27       -.91226E-05** at limit **
  11  Prefactor     .10000E-03    51.933        .24870E-05** at limit **
  12  norm          3.7135        2.1747        .13917E-06   -.45277E-04
  13  Prefactor     2.7177        120.45        .18818E-05    .29259E-05
  14  norm          1.5859        .83521        .33759E-07   -.60103E-05
  15  Prefactor     5.4172        7.2891        .42498E-06    .30049E-04
  16  Prefactor     .10000E-03    30.489        .28292E-06** at limit **
  17  Normalizat    1.2339        .19124       -.23156E-05    .36402E-04
  18  Prefactor     .74385        .13246        .34600E-06   -.11555E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001001
  norm       = 9.96529
  Prefactor  = 5.54498
  Prefactor  = 0.0001
  norm       = 4.54224
  Prefactor  = 2.90883
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.3715
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.71352
  Prefactor  = 2.71775
  norm       = 1.58592
  Prefactor  = 5.41722
  Prefactor  = 0.0001
  Normalizat = 1.23391
  Prefactor  = 0.743854
 **********
 **   18 **HESSE 
 **********

 FCN=   5650.091     FROM HESSE     STATUS=OK           248 CALLS     1735 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10010E-03    30.872        .19366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.9653        10.228        .12694E-03   -1.5077    
   3  Prefactor     5.5450        28.897        .17157E-03   -1.5237    
   4  Prefactor     .10000E-03    5.3605        .16983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.5422        4.8426        .16660E-03   -1.5282    
   6  Prefactor     2.9088        3.8745        .16628E-03   -1.5367    
   7  Prefactor     .10000E-03    3.1272        .12970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .78763        .65017E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.372        13.546        .10566E-03   -1.4950    
  10  Prefactor     .10000E-03    136.27        .21131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    52.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.7135        2.1717        .81990E-04   -1.5323    
  13  Prefactor     2.7177        123.86        .24714E-03   -1.5378    
  14  norm          1.5859        .83907        .41400E-04   -1.5456    
  15  Prefactor     5.4172        7.2944        .17258E-03   -1.5242    
  16  Prefactor     .10000E-03    30.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2339        .21528        .23992E-03   -.85561    
  18  Prefactor     .74385        .15390        .21739E-03   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18829e-09
Minuit parameter uncertainties:
  1  0.00350909
  2  10.2295
  3  25.3356
  4  7.98917e-06
  5  4.84306
  6  3.87485
  7  3.97006e-06
  8  1.02384e-06
  9  13.5484
  10  6.61857e-05
  11  0.000141081
  12  2.17173
  13  36.7745
  14  0.839075
  15  7.29556
  16  2.75051e-05
  17  0.215439
  18  0.15399
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.000e-04  6.619e-05  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:  7.439e-01  1.540e-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.234e+00  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/319773/likelihoodResults_301795201_302054401_4FGL_J0103.8+1321_daily_bin241.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) = 5650.09076858
delta logL = -3.48304874933e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5650.09073372
delta logL = 2.95858626487e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1163       1.0000          .0000       10.000    
     3 'Normalizat'    1.2339       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74385       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=   5650.091     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      248 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    6697.1        .90712E-02** at limit **
   2  Index         2.1953        8.6647        .50000       -.47778E-05
   3  Normalizat    1.2339        .22276E-01    .54261E-01    .10212E-04
   4  Prefactor     .74386        .16170E-01    .42982E-01    .13120E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100034
  Index      = 2.19526
  Normalizat = 1.23391
  Prefactor  = 0.743855
 **********
 **   18 **HESSE 
 **********

 FCN=   5650.091     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      281 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    8780.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1953        5.9030        .50000       -.59553    
   3  Normalizat    1.2339        .39184E-01    .23993E-03   -.85561    
   4  Prefactor     .74386        .28445E-01    .21739E-03   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.70674e-08
Minuit parameter uncertainties:
  1  0.0386502
  2  31.6885
  3  0.0391851
  4  0.0284452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319773': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5650.09073363
delta logL = 1.21613993542e-07

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.000e-04  3.865e-02  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.195e+00  3.169e+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:  7.439e-01  2.845e-02  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.234e+00  3.919e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/319773/cmap_HighResolution_301795201_302054401_4FGL_J0103.8+1321_daily_bin241.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', job_status='DONE', photon_flux_upper_limit='8.22e-08', time_completed='2021-08-13 11:14:25.843401', job_id='319773', GAL2='0.74', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1628878465.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.22e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='241' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 11:14:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 319773: <4FGL_J0103.8+1321_daily_bin241> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin241> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Aug 13 11:00:25 2021
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 11:00:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 11:00:39 2021
Terminated at Fri Aug 13 11:14:27 2021
Results reported at Fri Aug 13 11:14:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin241 15.969 13.3536 301795201 302054401 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 :                                   660.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            842 sec.

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

