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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin11
RA = 15.969, Dec = 13.3536
tmin = 242179201, tmax = 242438401
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='318240', job_status='RUN', time_executed='2021-08-13 10:59:06.440861', time_epoch_executed='1628877546.44' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='11'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318240

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318240/ft1_4FGL_J0103.8+1321_daily_bin11.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318240/ft2_4FGL_J0103.8+1321_daily_bin11.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318240/ft1_4FGL_J0103.8+1321_daily_bin11.fits outfile=/scratch/kocevski/318240/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin11.fits ra=15.969 dec=13.3536 rad=12.0 tmin=242179201.0 tmax=242438401.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.26
user 1.26
sys 4.85

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318240/ft2_4FGL_J0103.8+1321_daily_bin11.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/318240/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin11.fits evtable="EVENTS" outfile="/scratch/kocevski/318240/ft1_filtered_4FGL_J0103.8+1321_daily_bin11.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 5.79
user 0.35
sys 5.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318240/ft1_filtered_4FGL_J0103.8+1321_daily_bin11.fits" evtable="EVENTS" scfile=/scratch/kocevski/318240/ft2_4FGL_J0103.8+1321_daily_bin11.fits sctable="SC_DATA" outfile=/scratch/kocevski/318240/ltcube_242179201_242438401_4FGL_J0103.8+1321_daily_bin11.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/318240/ft2_4FGL_J0103.8+1321_daily_bin11.fits
.....................!
real 21.37
user 15.60
sys 5.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318240/ft1_filtered_4FGL_J0103.8+1321_daily_bin11.fits evtable="EVENTS" scfile=/scratch/kocevski/318240/ft2_4FGL_J0103.8+1321_daily_bin11.fits sctable="SC_DATA" expcube=/scratch/kocevski/318240/ltcube_242179201_242438401_4FGL_J0103.8+1321_daily_bin11.fits outfile=/scratch/kocevski/318240/expmap_242179201_242438401_4FGL_J0103.8+1321_daily_bin11.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/318240/ltcube_242179201_242438401_4FGL_J0103.8+1321_daily_bin11.fits
.....................!
real 198.15
user 185.71
sys 11.87

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/318240/ft1_filtered_4FGL_J0103.8+1321_daily_bin11.fits scfile=/scratch/kocevski/318240/ft2_4FGL_J0103.8+1321_daily_bin11.fits outfile=/scratch/kocevski/318240/cmap_242179201_242438401_4FGL_J0103.8+1321_daily_bin11.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 5.79
user 0.39
sys 5.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318240/ft1_filtered_4FGL_J0103.8+1321_daily_bin11.fits scfile=/scratch/kocevski/318240/ft2_4FGL_J0103.8+1321_daily_bin11.fits outfile=/scratch/kocevski/318240/cmap_HighResolution_242179201_242438401_4FGL_J0103.8+1321_daily_bin11.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 5.68
user 0.40
sys 5.26

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    10.230       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5534       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4839       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5270       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12948E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.2117       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.0342       1.0000         .10000E-03   10000.    
    13 'Prefactor '    66.242       1.0000         .10000E-03   10000.    
    14 'norm      '    .54671       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.312       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .92344       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .88811       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=   5180.287     FROM MIGRAD    STATUS=CONVERGED    362 CALLS     1737 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6874       -.96469E-09** at limit **
   2  norm          10.230        10.931        .27848E-06   -.15383E-03
   3  Prefactor     .10000E-03    7.9012       -.14368E-07** at limit **
   4  Prefactor     5.5523        12.835        .32943E-05   -.43173E-03
   5  norm          .10000E-03    2.9525       -.35773E-07** at limit **
   6  Prefactor     1.4839        5.2925        .16379E-06   -.22208E-03
   7  Prefactor     7.5252        9.4405        .11994E-05   -.42017E-03
   8  Prefactor     .10000E-03    1.3002        .40638E-07** at limit **
   9  norm          7.2113        11.645        .91693E-06   -.17944E-03
  10  Prefactor     .10000E-03    18.046        .12906E-06** at limit **
  11  Prefactor     .10000E-03    58.389        .15450E-06** at limit **
  12  norm          4.0340        1.9890        .30657E-07   -.28652E-04
  13  Prefactor     66.258        39.425        .41103E-05    .51559E-03
  14  norm          .54605        .64074       -.98683E-07   -.69990E-03
  15  Prefactor     13.311        12.095        .19978E-06    .78387E-05
  16  Prefactor     .10000E-03    19.074       -.13954E-06** at limit **
  17  Normalizat    .92351        .18352       -.52650E-06   -.21141E-04
  18  Prefactor     .88811        .13782       -.52665E-06   -.27491E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 10.2298
  Prefactor  = 0.0001
  Prefactor  = 5.55231
  norm       = 0.0001
  Prefactor  = 1.48388
  Prefactor  = 7.52518
  Prefactor  = 0.0001
  norm       = 7.21134
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.03396
  Prefactor  = 66.2582
  norm       = 0.546049
  Prefactor  = 13.3112
  Prefactor  = 0.0001
  Normalizat = 0.923509
  Prefactor  = 0.888107
 **********
 **   18 **HESSE 
 **********

 FCN=   5180.287     FROM HESSE     STATUS=OK           250 CALLS     1987 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7195        .91282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.230        10.942        .62638E-03   -1.5068    
   3  Prefactor     .10000E-03    7.9107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5523        13.538        .85243E-03   -1.5237    
   5  norm          .10000E-03    2.9555        .12078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.4839        5.2305        .29115E-03   -1.5464    
   7  Prefactor     7.5252        9.7181        .73089E-03   -1.5159    
   8  Prefactor     .10000E-03    2.4410        .15948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.2113        11.728        .74683E-03   -1.5171    
  10  Prefactor     .10000E-03    18.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    58.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.0340        1.9884        .68977E-04   -1.5306    
  13  Prefactor     66.258        43.348        .49312E-04   -1.4078    
  14  norm          .54605        .62046        .57977E-03   -1.5560    
  15  Prefactor     13.311        12.097        .10978E-03   -1.4978    
  16  Prefactor     .10000E-03    19.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .92351        .21180        .26017E-03   -.95639    
  18  Prefactor     .88811        .15964        .19745E-03   -.96558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76698e-09
Minuit parameter uncertainties:
  1  9.03997e-07
  2  10.9441
  3  2.24557e-07
  4  13.5453
  5  1.97766e-06
  6  5.23215
  7  9.72009
  8  6.90362e-06
  9  11.7319
  10  2.04399e-05
  11  5.222e-05
  12  1.98848
  13  43.3684
  14  0.620463
  15  12.0993
  16  1.85924e-05
  17  0.211995
  18  0.159727
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.000e-04  2.044e-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:  8.881e-01  1.597e-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.235e-01  2.120e-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: 5.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318240/likelihoodResults_242179201_242438401_4FGL_J0103.8+1321_daily_bin11.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) = 5180.2870266
delta logL = -0.000263717775852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5180.28676456
delta logL = -1.67547841556e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3190       1.0000          .0000       10.000    
     3 'Normalizat'    .92350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88811       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5180.287     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      276 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10439E-03    3.1268        .18142E-01** at limit **
   2  Index         2.2284        7.0607        .50000        .31562E-04
   3  Normalizat    .92351        .23049E-02    .26017E-03    .10487E-04
   4  Prefactor     .88811        .17283E-02    .19745E-03    .11516E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104392
  Index      = 2.22836
  Normalizat = 0.923509
  Prefactor  = 0.888107
 **********
 **   18 **HESSE 
 **********

 FCN=   5180.287     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10439E-03    49.850        .25670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2284        8.0855        .50000       -.58755    
   3  Normalizat    .92351        .92323E-02    .10407E-04   -.95639    
   4  Prefactor     .88811        .69229E-02    .78980E-05   -.96558    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.15388e-09
Minuit parameter uncertainties:
  1  0.0296187
  2  151.328
  3  0.00923234
  4  0.00692289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318240': 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) = 5180.28676402
delta logL = -1.13726855488e-06

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.044e-04  2.962e-02  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.228e+00  1.513e+02  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:  8.881e-01  6.923e-03  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.235e-01  9.232e-03  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/318240/cmap_HighResolution_242179201_242438401_4FGL_J0103.8+1321_daily_bin11.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.99e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2021-08-13 11:08:52.178249', job_id='318240', GAL2='0.89', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1628878132.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-1.14e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='11' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 11:08:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 318240: <4FGL_J0103.8+1321_daily_bin11> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin11 15.969 13.3536 242179201 242438401 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 :                                   666.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             280.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            807 sec.

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

