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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin19
RA = 15.969, Dec = 13.3536
tmin = 244252801, tmax = 244512001
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='318252', job_status='RUN', time_executed='2021-08-13 10:59:15.535319', time_epoch_executed='1628877555.54' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318252

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318252/ft1_4FGL_J0103.8+1321_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318252/ft2_4FGL_J0103.8+1321_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318252/ft1_4FGL_J0103.8+1321_daily_bin19.fits outfile=/scratch/kocevski/318252/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin19.fits ra=15.969 dec=13.3536 rad=12.0 tmin=244252801.0 tmax=244512001.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 5.83
user 2.20
sys 3.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318252/ft2_4FGL_J0103.8+1321_daily_bin19.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/318252/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin19.fits evtable="EVENTS" outfile="/scratch/kocevski/318252/ft1_filtered_4FGL_J0103.8+1321_daily_bin19.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 3.95
user 0.33
sys 3.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318252/ft1_filtered_4FGL_J0103.8+1321_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/318252/ft2_4FGL_J0103.8+1321_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/318252/ltcube_244252801_244512001_4FGL_J0103.8+1321_daily_bin19.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/318252/ft2_4FGL_J0103.8+1321_daily_bin19.fits
.....................!
real 19.20
user 14.91
sys 4.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318252/ft1_filtered_4FGL_J0103.8+1321_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/318252/ft2_4FGL_J0103.8+1321_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/318252/ltcube_244252801_244512001_4FGL_J0103.8+1321_daily_bin19.fits outfile=/scratch/kocevski/318252/expmap_244252801_244512001_4FGL_J0103.8+1321_daily_bin19.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/318252/ltcube_244252801_244512001_4FGL_J0103.8+1321_daily_bin19.fits
.....................!
real 199.06
user 187.80
sys 10.13

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/318252/ft1_filtered_4FGL_J0103.8+1321_daily_bin19.fits scfile=/scratch/kocevski/318252/ft2_4FGL_J0103.8+1321_daily_bin19.fits outfile=/scratch/kocevski/318252/cmap_244252801_244512001_4FGL_J0103.8+1321_daily_bin19.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 3.84
user 0.38
sys 3.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318252/ft1_filtered_4FGL_J0103.8+1321_daily_bin19.fits scfile=/scratch/kocevski/318252/ft2_4FGL_J0103.8+1321_daily_bin19.fits outfile=/scratch/kocevski/318252/cmap_HighResolution_244252801_244512001_4FGL_J0103.8+1321_daily_bin19.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 3.82
user 0.39
sys 3.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4443       1.0000         .10000E-03   10000.    
     2 'norm      '    3.9567       1.0000         .10000E-03   10000.    
     3 'Prefactor '    44.296       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5821       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.953       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.213       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.7702       1.0000         .10000E-03   10000.    
    12 'norm      '    .42954       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3782       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.777       1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.396       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .79264       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0269       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=   8628.816     FROM MIGRAD    STATUS=CONVERGED    347 CALLS     1727 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4472        3.0165        .67096E-06    .93955E-04
   2  norm          3.9569        4.2932       -.11423E-07    .13363E-04
   3  Prefactor     44.282        27.161       -.21309E-05   -.20722E-03
   4  Prefactor     .10000E-03    8.2780       -.14892E-06** at limit **
   5  norm          .10000E-03    1.5685       -.48097E-07** at limit **
   6  Prefactor     2.5822        3.0062        .28885E-07   -.10722E-04
   7  Prefactor     11.952        8.6931        .17367E-06   -.10676E-04
   8  Prefactor     .10000E-03    .68240        .57119E-07** at limit **
   9  norm          .10000E-03    6.7585        .12301E-06** at limit **
  10  Prefactor     16.213        34.494        .12071E-06   -.52761E-05
  11  Prefactor     8.8050        69.122        .30472E-06    .52243E-05
  12  norm          .42845        1.3571        .19185E-05   -.14415E-03
  13  Prefactor     .10000E-03    12.032        .15783E-06** at limit **
  14  norm          1.3782        .54521        .23650E-07    .48427E-04
  15  Prefactor     13.777        10.621        .70201E-07   -.14106E-04
  16  Prefactor     24.388        32.060       -.19472E-05   -.62091E-04
  17  Normalizat    .79258        .15359       -.68325E-06   -.12047E-03
  18  Prefactor     1.0270        .11100        .36577E-07   -.18403E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44722
  norm       = 3.95686
  Prefactor  = 44.2821
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.58223
  Prefactor  = 11.9524
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.2131
  Prefactor  = 8.80496
  norm       = 0.428451
  Prefactor  = 0.0001
  norm       = 1.37818
  Prefactor  = 13.777
  Prefactor  = 24.3877
  Normalizat = 0.79258
  Prefactor  = 1.02701
 **********
 **   18 **HESSE 
 **********

 FCN=   8628.816     FROM HESSE     STATUS=OK           248 CALLS     1975 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4472        2.9782        .21504E-03   -1.5467    
   2  norm          3.9569        4.2964        .19556E-03   -1.5310    
   3  Prefactor     44.282        27.428        .60238E-04   -1.4376    
   4  Prefactor     .10000E-03    8.3703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.5689        .11361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5822        3.0008        .16880E-03   -1.5387    
   7  Prefactor     11.952        8.6945        .11587E-03   -1.5016    
   8  Prefactor     .10000E-03    1.1342        .14934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.8044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.213        34.487        .99468E-04   -1.4902    
  11  Prefactor     8.8050        70.459        .13535E-03   -1.5114    
  12  norm          .42845        1.3702        .17145E-03   -1.5577    
  13  Prefactor     .10000E-03    12.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3782        .54055        .41620E-04   -1.5473    
  15  Prefactor     13.777        10.620        .10791E-03   -1.4965    
  16  Prefactor     24.388        32.178        .81101E-04   -1.4720    
  17  Normalizat    .79258        .17769        .29190E-03   -1.0034    
  18  Prefactor     1.0270        .12914        .19266E-03   -.91835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52542e-10
Minuit parameter uncertainties:
  1  2.97851
  2  4.29675
  3  27.436
  4  8.25263e-06
  5  8.66656e-08
  6  3.00102
  7  8.69542
  8  1.29435e-05
  9  1.66124e-06
  10  34.5296
  11  49.8956
  12  1.37028
  13  6.62681e-06
  14  0.540554
  15  10.6215
  16  32.2004
  17  0.177825
  18  0.129176
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.621e+01  3.453e+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.027e+00  1.292e-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:  7.926e-01  1.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/318252/likelihoodResults_244252801_244512001_4FGL_J0103.8+1321_daily_bin19.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) = 8628.36096759
delta logL = 0.454590585345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8628.35984685
delta logL = 0.455711322798

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1728       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4494       1.0000          .0000       10.000    
     3 'Normalizat'    .74833       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0459       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=   8628.360     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      326 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1601        35.587        .69837E-02    .71635E-03
   2  Index         3.4518        1.9580        .12817        .14796E-03
   3  Normalizat    .74830        .36435E-01    .67732E-01   -.14354E-05
   4  Prefactor     1.0459        .26486E-01    .40158E-01   -.56075E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.16014
  Index      = 3.45177
  Normalizat = 0.748302
  Prefactor  = 1.04589
 **********
 **   18 **HESSE 
 **********

 FCN=   8628.360     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      357 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1601        99.955        .12919E-03   -1.5414    
   2  Index         3.4518        6.7022        .45891E-02   -.31482    
   3  Normalizat    .74830        .16503        .29970E-03   -1.0202    
   4  Prefactor     1.0459        .11627        .19108E-03   -.91215    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.04477e-07
Minuit parameter uncertainties:
  1  29.4399
  2  5.31623
  3  0.165138
  4  0.116298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318252': 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) = 8628.35984613
delta logL = 0.455712048342

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  2.160e+00  2.944e+01  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  3.452e+00  5.316e+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.046e+00  1.163e-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:  7.483e-01  1.651e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 15.969 13.354
Photon Index (Free Index): 3.45 +/- 5.32
Photon Flux (Free Index): 4.47e-08 +/- 6.00e-08
Energy Flux (Free Index): 7.54e-06 +/- 8.53e-06

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/318252/cmap_HighResolution_244252801_244512001_4FGL_J0103.8+1321_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.90e-03', comment='SUCCESS', energy_flux2='7.54e-06', dlogl='4.56e-01', photon_flux2='4.47e-08', job_status='DONE', time_completed='2021-08-13 11:11:06.869349', photon_index_error2='5.32', photon_index2='3.45', ts='0.28', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='6.49e-08', energy_flux_error2='8.53e-06', EG='0.79', time_epoch_completed='1628878266.87', return_code='0', job_id='318252', GAL2='1.05', EG2='0.75', return_code2='102', photon_flux_error2='6.00e-08', ts2='1.27', photon_index='2.08' WHERE bin_id='19' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 11:11:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 318252: <4FGL_J0103.8+1321_daily_bin19> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin19> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Aug 13 10:55:27 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 10:56:06 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:06 2021
Terminated at Fri Aug 13 11:11:07 2021
Results reported at Fri Aug 13 11:11:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin19 15.969 13.3536 244252801 244512001 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 :                                   760.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            940 sec.

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

