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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin1623
RA = 17.1695, Dec = 1.5819
tmin = 660009601, tmax = 660268801
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='136648', job_status='RUN', time_executed='2021-12-07 11:55:41.241452', time_epoch_executed='1638906941.24' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='1623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/136648

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/136648/ft1_4FGL_J0108.6+0134_daily_bin1623.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/136648/ft2_4FGL_J0108.6+0134_daily_bin1623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/136648/ft1_4FGL_J0108.6+0134_daily_bin1623.fits outfile=/scratch/kocevski/136648/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1623.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=660009601.0 tmax=660268801.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 4.87
user 4.60
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/136648/ft2_4FGL_J0108.6+0134_daily_bin1623.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/136648/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1623.fits evtable="EVENTS" outfile="/scratch/kocevski/136648/ft1_filtered_4FGL_J0108.6+0134_daily_bin1623.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 0.49
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/136648/ft1_filtered_4FGL_J0108.6+0134_daily_bin1623.fits" evtable="EVENTS" scfile=/scratch/kocevski/136648/ft2_4FGL_J0108.6+0134_daily_bin1623.fits sctable="SC_DATA" outfile=/scratch/kocevski/136648/ltcube_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.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/136648/ft2_4FGL_J0108.6+0134_daily_bin1623.fits
.....................!
real 12.93
user 12.19
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/136648/ft1_filtered_4FGL_J0108.6+0134_daily_bin1623.fits evtable="EVENTS" scfile=/scratch/kocevski/136648/ft2_4FGL_J0108.6+0134_daily_bin1623.fits sctable="SC_DATA" expcube=/scratch/kocevski/136648/ltcube_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.fits outfile=/scratch/kocevski/136648/expmap_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.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/136648/ltcube_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.fits
.....................!
real 192.43
user 186.28
sys 4.83

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/136648/ft1_filtered_4FGL_J0108.6+0134_daily_bin1623.fits scfile=/scratch/kocevski/136648/ft2_4FGL_J0108.6+0134_daily_bin1623.fits outfile=/scratch/kocevski/136648/cmap_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.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 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/136648/ft1_filtered_4FGL_J0108.6+0134_daily_bin1623.fits scfile=/scratch/kocevski/136648/ft2_4FGL_J0108.6+0134_daily_bin1623.fits outfile=/scratch/kocevski/136648/cmap_HighResolution_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.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 0.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/136648/ft1_filtered_4FGL_J0108.6+0134_daily_bin1623.fits', '/scratch/kocevski/136648/ft2_4FGL_J0108.6+0134_daily_bin1623.fits', expMap='/scratch/kocevski/136648/expmap_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.fits', expCube='/scratch/kocevski/136648/ltcube_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/136648/Model_4FGL_J0108.6+0134_daily_bin1623.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/136648/ft1_filtered_4FGL_J0108.6+0134_daily_bin1623.fits
Spacecraft file(s): /scratch/kocevski/136648/ft2_4FGL_J0108.6+0134_daily_bin1623.fits
Exposure map: /scratch/kocevski/136648/expmap_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.fits
Exposure cube: /scratch/kocevski/136648/ltcube_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/136648/Model_4FGL_J0108.6+0134_daily_bin1623.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) = 5118.50688195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.7829       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .43615E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1760       1.0000         .10000E-03   10000.    
     6 'norm      '    5.4555       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    74.210       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    15.562       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.5307       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.9509       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8889       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.7122       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11839E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1040       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89153       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.

 FCN=   5118.497     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2368 TOTAL
                     EDM=   .83E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.951       -.16968E-07** at limit **
   2  norm          2.7834        9.2918        .22452E-06   -.18412E-05
   3  Prefactor     .10000E-03    1.3701       -.14545E-07** at limit **
   4  Prefactor     .10000E-03    2.0107       -.12995E-06** at limit **
   5  norm          1.1754        10.110        .16178E-06   -.17385E-03
   6  norm          5.4603        6.9414       -.40826E-07   -.77596E-04
   7  Prefactor     .10000E-03    46.927        .20295E-05** at limit **
   8  Prefactor     .10000E-03    20.297       -.43798E-07** at limit **
   9  norm          .10000E-03    6.1130       -.68819E-08** at limit **
  10  Prefactor     74.210        63.260        .11125E-06    .10946E-04
  11  Prefactor     .10000E-03    56.795       -.16128E-05** at limit **
  12  norm          15.562        2.8463       -.99893E-07    .59676E-03
  13  Prefactor     5.5293        140.29       -.12563E-04    .58938E-05
  14  Prefactor     2.9484        36.857        .30353E-06    .70342E-06
  15  Prefactor     2.8895        9.8993        .67877E-05    .25140E-04
  16  Prefactor     .10000E-03    40.713       -.15173E-05** at limit **
  17  Prefactor     8.7103        14.673        .27501E-06    .73356E-04
  18  Prefactor     .10000E-03    43.111        .62577E-06** at limit **
  19  Prefactor     .10000E-03    265.50        .80356E-06** at limit **
  20  Prefactor     .10000E-03    3.4341       -.21648E-07** at limit **
  21  Normalizat    1.1041        .21261       -.93271E-06    .66834E-04
  22  Prefactor     .89159        .16707        .36945E-06    .36214E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.78335
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.17541
  norm       = 5.46026
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 74.2102
  Prefactor  = 0.0001
  norm       = 15.5618
  Prefactor  = 5.52927
  Prefactor  = 2.94843
  Prefactor  = 2.88954
  Prefactor  = 0.0001
  Prefactor  = 8.71031
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10406
  Prefactor  = 0.891586
 **********
 **   18 **HESSE 
 **********

 FCN=   5118.497     FROM HESSE     STATUS=OK           340 CALLS     2708 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.7834        9.2784        .24392E-03   -1.5374    
   3  Prefactor     .10000E-03    1.4077        .16345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.030        .19143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1754        10.126        .42230E-03   -1.5491    
   6  norm          5.4603        6.7549        .17203E-03   -1.5241    
   7  Prefactor     .10000E-03    46.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.1217        .17276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     74.210        63.131        .46608E-04   -1.3983    
  11  Prefactor     .10000E-03    56.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          15.562        2.8577        .48344E-04   -1.4919    
  13  Prefactor     5.5293        141.39        .17084E-03   -1.5238    
  14  Prefactor     2.9484        36.640        .23642E-03   -1.5365    
  15  Prefactor     2.8895        9.9550        .11955E-02   -1.5368    
  16  Prefactor     .10000E-03    40.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.7103        14.669        .13580E-03   -1.5118    
  18  Prefactor     .10000E-03    43.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    265.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.4529        .12946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1041        .24676        .26848E-03   -.89622    
  22  Prefactor     .89159        .19406        .23949E-03   -.96436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6126e-10
Minuit parameter uncertainties:
  1  3.0429e-06
  2  9.28319
  3  1.30726e-06
  4  6.93488e-05
  5  6.90109
  6  6.75584
  7  5.95282e-05
  8  1.73366e-05
  9  1.17271e-06
  10  63.1878
  11  0.000118566
  12  2.85774
  13  56.0687
  14  20.8031
  15  9.96065
  16  8.55613e-05
  17  14.6753
  18  9.99747e-06
  19  5.88006e-05
  20  2.7329e-06
  21  0.247022
  22  0.19421
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.556e+01  2.858e+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

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  8.916e-01  1.942e-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:  1.104e+00  2.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 102.26
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 4.37e-07 +/- 8.02e-08
Energy Flux (Fixed Index): 1.47e-04 +/- 2.70e-05

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) = 5118.28401029
delta logL = 0.213288803284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5118.26682077
delta logL = 0.230478325645

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.945       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1520       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87465       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.

 FCN=   5118.267     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      204 TOTAL
                     EDM=   .46E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.946        3.1365        .25076E-02   -.71727E-05
   2  alpha         2.1520        .20332        .11841        .74092E-05
   3  Normalizat    1.1386        .20819        .59983E-01    .75613E-05
   4  Prefactor     .87420        .16578        .44681E-01    .87869E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.9456
  alpha      = 2.15197
  Normalizat = 1.1386
  Prefactor  = 0.874196
 **********
 **   18 **HESSE 
 **********

 FCN=   5118.267     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .42E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.946        2.9453        .49896E-04   -1.4909    
   2  alpha         2.1520        .19332        .51752E-03   -.13967    
   3  Normalizat    1.1386        .24414        .26528E-03   -.88522    
   4  Prefactor     .87420        .19355        .24164E-03   -.97049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.16112e-15
Minuit parameter uncertainties:
  1  2.94535
  2  0.193515
  3  0.244382
  4  0.193702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/136648': 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) = 5118.26681788
delta logL = 0.230481213016

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.595e+01  2.945e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.152e+00  1.935e-01  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:  8.742e-01  1.937e-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:  1.139e+00  2.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 102.41
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.15 +/- 0.19
Photon Flux (Free Index): 4.03e-07 +/- 8.96e-08
Energy Flux (Free Index): 1.58e-04 +/- 3.39e-05

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/136648/cmap_HighResolution_660009601_660268801_4FGL_J0108.6+0134_daily_bin1623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.37e-07', energy_flux2='1.58e-04', photon_flux_error='8.02e-08', dlogl='2.30e-01', energy_flux='1.47e-04', photon_flux2='4.03e-07', job_status='DONE', time_completed='2021-12-07 12:04:36.001578', photon_index_error2='0.19', photon_index2='2.15', ts='102.26', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='3.39e-05', EG='1.10', time_epoch_completed='1638907476.0', return_code='0', job_id='136648', GAL2='0.87', EG2='1.14', return_code2='0', energy_flux_error='2.70e-05', photon_flux_error2='8.96e-08', ts2='102.41', photon_index='2.28' WHERE bin_id='1623' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:04:36 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 136648: <4FGL_J0108.6+0134_daily_bin1623> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin1623> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec  7 11:55:14 2021
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 11:55:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 11:55:28 2021
Terminated at Tue Dec  7 12:04:36 2021
Results reported at Tue Dec  7 12:04:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin1623 17.1695 1.5819 660009601 660268801 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 :                                   532.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   548 sec.
    Turnaround time :                            562 sec.

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

