/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 4 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7401
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0108.6+0134_daily_bin1360
RA = 17.1695, Dec = 1.5819
tmin = 591840001, tmax = 592099201
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='360837', job_status='RUN', time_executed='2021-08-13 13:13:33.671432', time_epoch_executed='1628885613.67' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='1360'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/360837

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/360837/ft1_4FGL_J0108.6+0134_daily_bin1360.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/360837/ft2_4FGL_J0108.6+0134_daily_bin1360.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/360837/ft1_4FGL_J0108.6+0134_daily_bin1360.fits outfile=/scratch/kocevski/360837/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1360.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=591840001.0 tmax=592099201.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 10.03
user 4.96
sys 4.85

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/360837/ft2_4FGL_J0108.6+0134_daily_bin1360.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/360837/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1360.fits evtable="EVENTS" outfile="/scratch/kocevski/360837/ft1_filtered_4FGL_J0108.6+0134_daily_bin1360.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.13
user 0.34
sys 4.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/360837/ft1_filtered_4FGL_J0108.6+0134_daily_bin1360.fits" evtable="EVENTS" scfile=/scratch/kocevski/360837/ft2_4FGL_J0108.6+0134_daily_bin1360.fits sctable="SC_DATA" outfile=/scratch/kocevski/360837/ltcube_591840001_592099201_4FGL_J0108.6+0134_daily_bin1360.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/360837/ft2_4FGL_J0108.6+0134_daily_bin1360.fits
.....................!
real 19.32
user 13.65
sys 5.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/360837/ft1_filtered_4FGL_J0108.6+0134_daily_bin1360.fits evtable="EVENTS" scfile=/scratch/kocevski/360837/ft2_4FGL_J0108.6+0134_daily_bin1360.fits sctable="SC_DATA" expcube=/scratch/kocevski/360837/ltcube_591840001_592099201_4FGL_J0108.6+0134_daily_bin1360.fits outfile=/scratch/kocevski/360837/expmap_591840001_592099201_4FGL_J0108.6+0134_daily_bin1360.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/360837/ltcube_591840001_592099201_4FGL_J0108.6+0134_daily_bin1360.fits
.....................!
real 199.40
user 186.16
sys 10.77

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/360837/ft1_filtered_4FGL_J0108.6+0134_daily_bin1360.fits scfile=/scratch/kocevski/360837/ft2_4FGL_J0108.6+0134_daily_bin1360.fits outfile=/scratch/kocevski/360837/cmap_591840001_592099201_4FGL_J0108.6+0134_daily_bin1360.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 5.11
user 0.39
sys 4.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/360837/ft1_filtered_4FGL_J0108.6+0134_daily_bin1360.fits scfile=/scratch/kocevski/360837/ft2_4FGL_J0108.6+0134_daily_bin1360.fits outfile=/scratch/kocevski/360837/cmap_HighResolution_591840001_592099201_4FGL_J0108.6+0134_daily_bin1360.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 5.05
user 0.38
sys 4.54

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11106E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    19.537       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6017       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .90841       1.0000         .10000E-03   10000.    
     7 'Prefactor '    57.992       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    236.87       1.0000         .10000E-03   10000.    
    12 'norm      '    .60372       1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.245       1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.543       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21065E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.710       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .17642E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.8618       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .59992       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2796       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=   4596.584     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2418 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.863        .24693E-06** at limit **
   2  norm          19.532        11.685        .19673E-06   -.14422E-04
   3  Prefactor     2.6011        3.3424        .11075E-06   -.88637E-04
   4  Prefactor     .10000E-03    2.0229       -.11922E-06** at limit **
   5  norm          .10000E-03    8.0574       -.48780E-06** at limit **
   6  norm          .90730        12.027        .41227E-05   -.83371E-04
   7  Prefactor     57.964        53.149       -.35654E-05   -.43077E-04
   8  Prefactor     .10000E-03    83.132        .79052E-06** at limit **
   9  norm          .10000E-03    9.9762        .11285E-06** at limit **
  10  Prefactor     .10000E-03    23.778        .58008E-07** at limit **
  11  Prefactor     236.95        121.93        .36632E-05    .26577E-04
  12  norm          .60265        1.7768        .62217E-06   -.58307E-03
  13  Prefactor     36.270        60.197       -.40252E-05   -.73951E-04
  14  Prefactor     28.540        26.881        .77942E-06   -.57256E-05
  15  Prefactor     .10002E-03    9.7753        .20651E-05** at limit **
  16  Prefactor     .10000E-03    23.329       -.27405E-06** at limit **
  17  Prefactor     17.699        15.110       -.10140E-06   -.44327E-04
  18  Prefactor     .10000E-03    19.091        .80959E-07** at limit **
  19  Prefactor     .10000E-03    114.97        .19224E-05** at limit **
  20  Prefactor     1.8619        4.3528        .52493E-06   -.30705E-04
  21  Normalizat    .59991        .24679       -.54436E-05   -.99066E-04
  22  Prefactor     1.2796        .19705        .66253E-06   -.27939E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 19.5317
  Prefactor  = 2.60114
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.907297
  Prefactor  = 57.9644
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 236.948
  norm       = 0.602645
  Prefactor  = 36.2705
  Prefactor  = 28.5404
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 17.6991
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.86189
  Normalizat = 0.599908
  Prefactor  = 1.27963
 **********
 **   18 **HESSE 
 **********

 FCN=   4596.584     FROM HESSE     STATUS=OK           346 CALLS     2764 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.040        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          19.532        11.684        .90614E-04   -1.4824    
   3  Prefactor     2.6011        3.3259        .13131E-03   -1.5385    
   4  Prefactor     .10000E-03    2.0461        .93937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.2638        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .90730        12.497        .44588E-02   -1.5517    
   7  Prefactor     57.964        53.194        .26341E-03   -1.4184    
   8  Prefactor     .10000E-03    83.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.9867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     236.95        121.95        .13152E-03   -1.2617    
  12  norm          .60265        1.6943        .12996E-03   -1.5553    
  13  Prefactor     36.270        57.577        .66568E-04   -1.4503    
  14  Prefactor     28.540        26.890        .74988E-04   -1.4639    
  15  Prefactor     .10002E-03    80.790        .35951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.699        15.112        .95172E-04   -1.4866    
  18  Prefactor     .10000E-03    19.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    115.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.8619        4.3220        .20959E-03   -1.5435    
  21  Normalizat    .59991        .26929        .34540E-03   -1.0799    
  22  Prefactor     1.2796        .22000        .20654E-03   -.83915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.61024e-08
Minuit parameter uncertainties:
  1  0.000132086
  2  11.6854
  3  3.3261
  4  7.07998e-06
  5  2.95022e-05
  6  6.73592
  7  53.2378
  8  6.40599e-05
  9  3.78795e-06
  10  1.1221e-05
  11  122.079
  12  1.69443
  13  57.6658
  14  26.9012
  15  0.00253221
  16  1.69999e-05
  17  15.1155
  18  8.66494e-06
  19  0.000204308
  20  4.32275
  21  0.269883
  22  0.220156
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.026e-01  1.694e+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:  1.280e+00  2.202e-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:  5.999e-01  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 17.169 1.582
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/360837/likelihoodResults_591840001_592099201_4FGL_J0108.6+0134_daily_bin1360.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) = 4595.49653745
delta logL = 1.0874663994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4595.49407003
delta logL = 1.08993382001

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40180       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.2980       1.0000          .0000       5.0000    
     3 'Normalizat'    .48863       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3407       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=   4595.494     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      215 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .40091        6.1385        .67779E-02    .33846E-03
   2  alpha         4.2997        3.6167        .46396        .11763E-04
   3  Normalizat    .48848        .70488E-01    .85665E-01    .12942E-04
   4  Prefactor     1.3408        .59931E-01    .45749E-01   -.25501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.400914
  alpha      = 4.2997
  Normalizat = 0.488483
  Prefactor  = 1.34077
 **********
 **   18 **HESSE 
 **********

 FCN=   4595.494     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .40091        3.0322        .30637E-04   -1.5581    
   2  alpha         4.2997        4.6498        .23332E-01    .80363    
   3  Normalizat    .48848        .26775        .37949E-03   -1.1295    
   4  Prefactor     1.3408        .22392        .20222E-03   -.82103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.72412e-11
Minuit parameter uncertainties:
  1  2.20503
  2  4.1214
  3  0.26846
  4  0.22408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/360837': 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) = 4595.49406928
delta logL = 1.08993456679

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  4.009e-01  2.205e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  4.300e+00  4.121e+00  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:  1.341e+00  2.241e-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:  4.885e-01  2.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.57
Ra Dec: 17.169 1.582
Photon Index (Free Index): 4.30 +/- 4.12
Photon Flux (Free Index): 1.10e-07 +/- 8.34e-08
Energy Flux (Free Index): 1.61e-05 +/- 1.62e-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/360837/cmap_HighResolution_591840001_592099201_4FGL_J0108.6+0134_daily_bin1360.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-05', comment='SUCCESS', energy_flux2='1.61e-05', dlogl='1.09e+00', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-08-13 13:24:15.380053', photon_index_error2='4.12', photon_index2='4.30', ts='0.17', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='1.62e-05', EG='0.60', time_epoch_completed='1628886255.38', return_code='0', job_id='360837', GAL2='1.34', EG2='0.49', return_code2='0', photon_flux_error2='8.34e-08', ts2='2.57', photon_index='2.28' WHERE bin_id='1360' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:24:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 360837: <4FGL_J0108.6+0134_daily_bin1360> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin1360> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 13:10:52 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:11:50 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:50 2021
Terminated at Fri Aug 13 13:24:17 2021
Results reported at Fri Aug 13 13:24:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin1360 17.1695 1.5819 591840001 592099201 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 :                                   697.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            805 sec.

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

