/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 7 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 = 7426
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0108.6+0134_daily_bin1261
RA = 17.1695, Dec = 1.5819
tmin = 566179201, tmax = 566438401
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='360696', job_status='RUN', time_executed='2021-08-13 13:14:07.396067', time_epoch_executed='1628885647.4' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='1261'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/360696

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/360696/ft1_4FGL_J0108.6+0134_daily_bin1261.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/360696/ft1_4FGL_J0108.6+0134_daily_bin1261.fits outfile=/scratch/kocevski/360696/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1261.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=566179201.0 tmax=566438401.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 13.58
user 3.30
sys 9.85

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.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/360696/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1261.fits evtable="EVENTS" outfile="/scratch/kocevski/360696/ft1_filtered_4FGL_J0108.6+0134_daily_bin1261.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 9.89
user 0.36
sys 9.38

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/360696/ft1_filtered_4FGL_J0108.6+0134_daily_bin1261.fits" evtable="EVENTS" scfile=/scratch/kocevski/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.fits sctable="SC_DATA" outfile=/scratch/kocevski/360696/ltcube_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.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/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.fits
.....................!
real 23.46
user 12.59
sys 10.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/360696/ft1_filtered_4FGL_J0108.6+0134_daily_bin1261.fits evtable="EVENTS" scfile=/scratch/kocevski/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.fits sctable="SC_DATA" expcube=/scratch/kocevski/360696/ltcube_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.fits outfile=/scratch/kocevski/360696/expmap_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.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/360696/ltcube_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.fits
.....................!
real 204.58
user 186.58
sys 16.97

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J0108.6+0134 @ 17.1695 1.5819

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/360696/ft1_filtered_4FGL_J0108.6+0134_daily_bin1261.fits scfile=/scratch/kocevski/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.fits outfile=/scratch/kocevski/360696/cmap_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.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=17.1695 yref=1.5819 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 9.65
user 0.38
sys 9.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/360696/ft1_filtered_4FGL_J0108.6+0134_daily_bin1261.fits scfile=/scratch/kocevski/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.fits outfile=/scratch/kocevski/360696/cmap_HighResolution_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.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=17.1695 yref=1.5819 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 9.59
user 0.41
sys 9.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/360696/ft1_filtered_4FGL_J0108.6+0134_daily_bin1261.fits evtable="EVENTS" scfile=/scratch/kocevski/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/360696/Model_4FGL_J0108.6+0134_daily_bin1261.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/360696/ft1_filtered_4FGL_J0108.6+0134_daily_bin1261.fits......................!
real 33.01
user 20.14
sys 12.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/360696/ft1_filtered_4FGL_J0108.6+0134_daily_bin1261.fits', '/scratch/kocevski/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.fits', expMap='/scratch/kocevski/360696/expmap_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.fits', expCube='/scratch/kocevski/360696/ltcube_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/360696/Model_4FGL_J0108.6+0134_daily_bin1261.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0108.6+0134'

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  8.383e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.284e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.018e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  5.081e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/360696/ft1_filtered_4FGL_J0108.6+0134_daily_bin1261.fits
Spacecraft file(s): /scratch/kocevski/360696/ft2_4FGL_J0108.6+0134_daily_bin1261.fits
Exposure map: /scratch/kocevski/360696/expmap_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.fits
Exposure cube: /scratch/kocevski/360696/ltcube_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/360696/Model_4FGL_J0108.6+0134_daily_bin1261.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 872.188438932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 870.105707134

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .23267E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .96961E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    4.7558       1.0000         .10000E-03   10000.    
     6 'norm      '    .34044       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.3977       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0220       1.0000         .10000E-03   10000.    
     9 'norm      '    26.001       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .74745E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    201.26       1.0000         .10000E-03   10000.    
    12 'norm      '    .10441E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9207       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .42768E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.5706       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10058       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .40368E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.2536       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9652       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .76831       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   870.0919     FROM MIGRAD    STATUS=CONVERGED    182 CALLS      444 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.173        .16022E-06** at limit **
   2  norm          .10000E-03    65.528        .64811E-05** at limit **
   3  Prefactor     .10000E-03    9.7431       -.36504E-05** at limit **
   4  Prefactor     .10000E-03    117.72        .16303E-05** at limit **
   5  norm          4.7558        1.0056         .0000         .0000    
   6  norm          .36093E-01    615.72        .20551E-03   -.37810E-02
   7  Prefactor     8.3977        1.0018         .0000         .0000    
   8  Prefactor     .11306E-02    1150.5       -.23029E-04** at limit **
   9  norm          24.867        36.105        .99269E-05    .89738E-04
  10  Prefactor     .10000E-03    37.411        .31127E-06** at limit **
  11  Prefactor     214.30        331.09       -.19921E-03   -.29157E-02
  12  norm          .10000E-03    3.1699        .44151E-06** at limit **
  13  Prefactor     .10000E-03    171.79        .24360E-04** at limit **
  14  Prefactor     .10000E-03    21.725        .21309E-04** at limit **
  15  Prefactor     .10000E-03    17.612       -.96808E-05** at limit **
  16  Prefactor     4.5706        1.0061         .0000         .0000    
  17  Prefactor     .10000E-03    238.91       -.24858E-04** at limit **
  18  Prefactor     .10115E-03    356.51        .83467E-05** at limit **
  19  Prefactor     .41914E-02    963.51        .51498E-04    .26427E-02
  20  Prefactor     6.0187        22.345        .49677E-04   -.12009E-03
  21  Normalizat    .76375        .54418       -.52484E-06    .20409E-03
  22  Prefactor     .76742        .38543       -.30193E-04    .30625E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.75577
  norm       = 0.0360932
  Prefactor  = 8.39766
  Prefactor  = 0.0011306
  norm       = 24.8667
  Prefactor  = 0.0001
  Prefactor  = 214.297
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 4.57059
  Prefactor  = 0.000100001
  Prefactor  = 0.000101152
  Prefactor  = 0.00419144
  Prefactor  = 6.01866
  Normalizat = 0.763747
  Prefactor  = 0.767421
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   870.0919     FROM HESSE     STATUS=FAILED        27 CALLS      471 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.180        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    65.536        .91388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.5376        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    117.73        .94967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          533.99        529.19         .0000       -1.5272    
   6  norm          .36093E-01    .28095        .20551E-03   -1.5746    
   7  Prefactor     8.3977        1.0018         .0000       -1.5128    
   8  Prefactor     .11306E-02    .85153E-01   -.23029E-04   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          24.867        .97818        .99269E-05   -1.4710    
  10  Prefactor     .10000E-03    .21604        .31127E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     214.30        1.0312       -.19921E-03   -1.2770    
  12  norm          .10000E-03    .20571        .44151E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .88292E-01    .24360E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .21320        .21309E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .20571       -.96808E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.5706        1.0061         .0000       -1.5280    
  17  Prefactor     .10000E-03    .22629       -.24858E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10115E-03    .21266        .83467E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .41914E-02    .11704        .51498E-04   -1.5695    
  20  Prefactor     6.0187        1.0080        .49677E-04   -1.5217    
  21  Normalizat    .76375        1.1046       -.52484E-06   -1.0143    
  22  Prefactor     .76742        1.1162       -.30193E-04   -1.0094    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.95598e-09
Minuit parameter uncertainties:
  1  2.47396e-06
  2  0.00019405
  3  4.39092e-05
  4  7.28406e-05
  5  1.00563
  6  0.201121
  7  1.00178
  8  0.0187359
  9  0.978181
  10  4.36687e-07
  11  1.03119
  12  7.54661e-07
  13  1.3038e-05
  14  4.02401e-05
  15  1.65466e-05
  16  1.00611
  17  3.42987e-05
  18  0.00098987
  19  0.0437661
  20  1.00804
  21  1.13972
  22  1.15182
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 870.091902759

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.000e-04  7.547e-07  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.284e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.018e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  5.081e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  7.674e-01  1.152e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  7.637e-01  1.140e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 17.169 1.582
Photon Flux Upper Limit: 3.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.34e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/360696/likelihoodResults_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.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) = 870.093359212
delta logL = -0.00145645297323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 870.091902765
delta logL = -5.87704107602e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2821       1.0000          .0000       5.0000    
     3 'Normalizat'    .76375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   870.0919     FROM MIGRAD    STATUS=FAILED        81 CALLS      220 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10012E-03    3.9588        .50852E-03** at limit **
   2  alpha         2.2345        3.4161        .16540        .20658E-05
   3  Normalizat    .76375        .52357        .27167E-03   -.41742E-05
   4  Prefactor     .76742        .37905        .19431E-03   -.40516E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   870.0919     FROM SIMPLEX   STATUS=UNCHANGED    115 CALLS      335 TOTAL
                     EDM=   .63E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10012E-03    3.9588        .21606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2345        3.4161        .74670E-03   -.10641    
   3  Normalizat    .76375        .52357        .21528E-03   -1.0143    
   4  Prefactor     .76742        .37905        .20035E-03   -1.0094    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   870.0919     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      362 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.1415        .10170E-03** at limit **
   2  alpha         2.1777        3.5591        .66161E-02   -.99062E-07
   3  Normalizat    .76375        .52414        .10867E-04    .47601E-05
   4  Prefactor     .76742        .37947        .77725E-05    .55948E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.17774
  Normalizat = 0.763746
  Prefactor  = 0.767418
 **********
 **   18 **HESSE 
 **********

 FCN=   870.0919     FROM HESSE     STATUS=OK            23 CALLS      385 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.1415        .20341E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1777        3.5512        .13232E-02   -.12926    
   3  Normalizat    .76375        .52371        .21734E-05   -1.0143    
   4  Prefactor     .76742        .37912        .15545E-05   -1.0094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30454e-10
Minuit parameter uncertainties:
  1  7.10364e-05
  2  253.415
  3  0.527212
  4  0.380411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/360696': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 870.091902676
delta logL = 8.28634938443e-08

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.000e-04  7.104e-05  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.178e+00  2.534e+02  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  1.018e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  5.081e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  7.674e-01  3.804e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  7.637e-01  5.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 17.169 1.582

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/360696/cmap_HighResolution_566179201_566438401_4FGL_J0108.6+0134_daily_bin1261.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-04', job_status='DONE', photon_flux_upper_limit='3.99e-07', time_completed='2021-08-13 13:22:11.112840', job_id='360696', GAL2='0.77', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1628886131.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.77', dlogl='8.29e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1261' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:22:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 360696: <4FGL_J0108.6+0134_daily_bin1261> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin1261> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 13:10:42 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:11:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 13:11:03 2021
Terminated at Fri Aug 13 13:22:13 2021
Results reported at Fri Aug 13 13:22:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin1261 17.1695 1.5819 566179201 566438401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0108.6+0134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   619.11 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             322.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            691 sec.

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

