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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin93
RA = 15.969, Dec = 13.3536
tmin = 263433601, tmax = 263692801
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='318361', job_status='RUN', time_executed='2021-08-13 11:01:57.666178', time_epoch_executed='1628877717.67' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='93'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318361

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318361/ft1_4FGL_J0103.8+1321_daily_bin93.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318361/ft2_4FGL_J0103.8+1321_daily_bin93.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318361/ft1_4FGL_J0103.8+1321_daily_bin93.fits outfile=/scratch/kocevski/318361/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin93.fits ra=15.969 dec=13.3536 rad=12.0 tmin=263433601.0 tmax=263692801.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 6.71
user 2.61
sys 3.86

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318361/ft2_4FGL_J0103.8+1321_daily_bin93.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/318361/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin93.fits evtable="EVENTS" outfile="/scratch/kocevski/318361/ft1_filtered_4FGL_J0103.8+1321_daily_bin93.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.22
user 0.28
sys 3.75

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318361/ft1_filtered_4FGL_J0103.8+1321_daily_bin93.fits" evtable="EVENTS" scfile=/scratch/kocevski/318361/ft2_4FGL_J0103.8+1321_daily_bin93.fits sctable="SC_DATA" outfile=/scratch/kocevski/318361/ltcube_263433601_263692801_4FGL_J0103.8+1321_daily_bin93.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/318361/ft2_4FGL_J0103.8+1321_daily_bin93.fits
.....................!
real 16.60
user 11.38
sys 4.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318361/ft1_filtered_4FGL_J0103.8+1321_daily_bin93.fits evtable="EVENTS" scfile=/scratch/kocevski/318361/ft2_4FGL_J0103.8+1321_daily_bin93.fits sctable="SC_DATA" expcube=/scratch/kocevski/318361/ltcube_263433601_263692801_4FGL_J0103.8+1321_daily_bin93.fits outfile=/scratch/kocevski/318361/expmap_263433601_263692801_4FGL_J0103.8+1321_daily_bin93.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/318361/ltcube_263433601_263692801_4FGL_J0103.8+1321_daily_bin93.fits
.....................!
real 161.76
user 152.48
sys 8.67

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/318361/ft1_filtered_4FGL_J0103.8+1321_daily_bin93.fits scfile=/scratch/kocevski/318361/ft2_4FGL_J0103.8+1321_daily_bin93.fits outfile=/scratch/kocevski/318361/cmap_263433601_263692801_4FGL_J0103.8+1321_daily_bin93.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.20
user 0.30
sys 3.69

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318361/ft1_filtered_4FGL_J0103.8+1321_daily_bin93.fits scfile=/scratch/kocevski/318361/ft2_4FGL_J0103.8+1321_daily_bin93.fits outfile=/scratch/kocevski/318361/cmap_HighResolution_263433601_263692801_4FGL_J0103.8+1321_daily_bin93.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.17
user 0.31
sys 3.68

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50042       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11859E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10800E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.622       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.8629       1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.404       1.0000         .10000E-03   10000.    
    14 'norm      '    .75569       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .97384       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1617       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=   8874.290     FROM MIGRAD    STATUS=CONVERGED    363 CALLS     1719 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50067        2.1574        .11272E-01    .22936E-02
   2  norm          .10000E-03    2.8720        .90712E-02** at limit **
   3  Prefactor     .10000E-03    7.7043        .90712E-02** at limit **
   4  Prefactor     .10000E-03    11.569        .90712E-02** at limit **
   5  norm          .10000E-03    2.4384        .90712E-02** at limit **
   6  Prefactor     .10000E-03    3.5112        .63484E-01** at limit **
   7  Prefactor     .10000E-03    22.488        .90712E-02** at limit **
   8  Prefactor     .10000E-03    .81110        .90712E-02** at limit **
   9  norm          .10000E-03    12.509        .90712E-02** at limit **
  10  Prefactor     30.624        42.161        .18101E-02   -.14781E-02
  11  Prefactor     .10000E-03    44.661        .90712E-02** at limit **
  12  norm          5.8626        2.0554        .41464E-02    .14291E-03
  13  Prefactor     29.404        28.489        .18471E-02    .62770E-03
  14  norm          .75561        .46652        .11008E-01    .10119E-03
  15  Prefactor     .10000E-03    3.8622        .90712E-02** at limit **
  16  Prefactor     .10000E-03    12.200        .90712E-02** at limit **
  17  Normalizat    .97379        .16950        .67616E-01    .33774E-04
  18  Prefactor     1.1617        .12388        .35607E-01    .40718E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.500675
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 30.6238
  Prefactor  = 0.0001
  norm       = 5.86259
  Prefactor  = 29.4035
  norm       = 0.755608
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.973786
  Prefactor  = 1.16168
 **********
 **   18 **HESSE 
 **********

 FCN=   8874.290     FROM HESSE     STATUS=OK           238 CALLS     1957 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50067        2.0931        .26740E-03   -1.5566    
   2  norm          .10000E-03    2.8790        .15591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.7122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.4439        .14366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.317        .33885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    23.340        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .82158        .82830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    12.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.624        42.182        .72405E-04   -1.4601    
  11  Prefactor     .10000E-03    44.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.8626        2.0575        .77113E-04   -1.5224    
  13  Prefactor     29.404        28.409        .73885E-04   -1.4623    
  14  norm          .75561        .47068        .48032E-04   -1.5534    
  15  Prefactor     .10000E-03    3.8731        .18078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .97379        .19674        .29910E-03   -.93914    
  18  Prefactor     1.1617        .14387        .20304E-03   -.87519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39748e-08
Minuit parameter uncertainties:
  1  2.0473
  2  2.3935e-07
  3  6.92805e-06
  4  0.000159418
  5  3.79677e-07
  6  0.000170873
  7  3.7891e-05
  8  1.91076e-07
  9  0.000185912
  10  42.2233
  11  3.54948e-05
  12  2.05756
  13  28.4224
  14  0.470686
  15  2.38144e-06
  16  0.000185084
  17  0.196891
  18  0.143921
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  3.062e+01  4.222e+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.162e+00  1.439e-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:  9.738e-01  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/318361/likelihoodResults_263433601_263692801_4FGL_J0103.8+1321_daily_bin93.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) = 8873.05259569
delta logL = 1.23775307501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8873.04411858
delta logL = 1.24623018295

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8671       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4662       1.0000          .0000       10.000    
     3 'Normalizat'    .89181       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1964       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=   8873.044     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      311 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8469        37.282        .51301E-02    .79310E-03
   2  Index         3.4683        1.7838        .10124        .31860E-03
   3  Normalizat    .89170        .52587E-01    .70311E-01   -.17486E-04
   4  Prefactor     1.1965        .37190E-01    .34717E-01   -.42106E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.84691
  Index      = 3.46829
  Normalizat = 0.891696
  Prefactor  = 1.19645
 **********
 **   18 **HESSE 
 **********

 FCN=   8873.044     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      342 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8469        73.483        .11149E-03   -1.5316    
   2  Index         3.4683        3.0783        .34981E-02   -.31135    
   3  Normalizat    .89170        .19814        .31109E-03   -.96753    
   4  Prefactor     1.1965        .14135        .20036E-03   -.86441    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.07552e-09
Minuit parameter uncertainties:
  1  33.6738
  2  3.34757
  3  0.198301
  4  0.141397
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318361': 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) = 8873.04411567
delta logL = 1.24623309196

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  3.847e+00  3.367e+01  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  3.468e+00  3.348e+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.196e+00  1.414e-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:  8.917e-01  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.36
Ra Dec: 15.969 13.354
Photon Index (Free Index): 3.47 +/- 3.35
Photon Flux (Free Index): 8.33e-08 +/- 6.38e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.14e-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/318361/cmap_HighResolution_263433601_263692801_4FGL_J0103.8+1321_daily_bin93.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', comment='SUCCESS', energy_flux2='1.40e-05', dlogl='1.25e+00', photon_flux2='8.33e-08', job_status='DONE', time_completed='2021-08-13 11:12:03.261749', photon_index_error2='3.35', photon_index2='3.47', ts='0.70', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='8.21e-08', energy_flux_error2='1.14e-05', EG='0.97', time_epoch_completed='1628878323.26', return_code='0', job_id='318361', GAL2='1.20', EG2='0.89', return_code2='102', photon_flux_error2='6.38e-08', ts2='3.36', photon_index='2.08' WHERE bin_id='93' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 11:12:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 318361: <4FGL_J0103.8+1321_daily_bin93> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin93 15.969 13.3536 263433601 263692801 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 :                                   657.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            991 sec.

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

