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


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1057
RA = 18.2227, Dec = 32.1399
tmin = 513302401, tmax = 513561601
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='426410', job_status='RUN', time_executed='2021-08-13 16:44:00.102845', time_epoch_executed='1628898240.1' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1057'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/426410

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/426410/ft1_4FGL_J0112.8+3208_daily_bin1057.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/426410/ft1_4FGL_J0112.8+3208_daily_bin1057.fits outfile=/scratch/kocevski/426410/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1057.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=513302401.0 tmax=513561601.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 8.28
user 5.14
sys 3.04

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.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/426410/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1057.fits evtable="EVENTS" outfile="/scratch/kocevski/426410/ft1_filtered_4FGL_J0112.8+3208_daily_bin1057.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 3.30
user 0.34
sys 2.92

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/426410/ft1_filtered_4FGL_J0112.8+3208_daily_bin1057.fits" evtable="EVENTS" scfile=/scratch/kocevski/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.fits sctable="SC_DATA" outfile=/scratch/kocevski/426410/ltcube_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.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/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.fits
.....................!
real 15.45
user 11.90
sys 3.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/426410/ft1_filtered_4FGL_J0112.8+3208_daily_bin1057.fits evtable="EVENTS" scfile=/scratch/kocevski/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.fits sctable="SC_DATA" expcube=/scratch/kocevski/426410/ltcube_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.fits outfile=/scratch/kocevski/426410/expmap_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.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/426410/ltcube_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.fits
.....................!
real 194.55
user 185.43
sys 8.57

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

Setting source of interest to:
4FGL J0112.8+3208 @ 18.2227 32.1399

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/426410/ft1_filtered_4FGL_J0112.8+3208_daily_bin1057.fits scfile=/scratch/kocevski/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.fits outfile=/scratch/kocevski/426410/cmap_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.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=18.2227 yref=32.1399 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 3.35
user 0.38
sys 2.93

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/426410/ft1_filtered_4FGL_J0112.8+3208_daily_bin1057.fits scfile=/scratch/kocevski/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.fits outfile=/scratch/kocevski/426410/cmap_HighResolution_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.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=18.2227 yref=32.1399 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 3.32
user 0.39
sys 2.90

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/426410/ft1_filtered_4FGL_J0112.8+3208_daily_bin1057.fits evtable="EVENTS" scfile=/scratch/kocevski/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/426410/Model_4FGL_J0112.8+3208_daily_bin1057.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/426410/ft1_filtered_4FGL_J0112.8+3208_daily_bin1057.fits.....................!
real 69.52
user 64.41
sys 4.84

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/426410/ft1_filtered_4FGL_J0112.8+3208_daily_bin1057.fits', '/scratch/kocevski/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.fits', expMap='/scratch/kocevski/426410/expmap_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.fits', expCube='/scratch/kocevski/426410/ltcube_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/426410/Model_4FGL_J0112.8+3208_daily_bin1057.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0112.8+3208'

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.942e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.252e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  6.695e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/426410/ft1_filtered_4FGL_J0112.8+3208_daily_bin1057.fits
Spacecraft file(s): /scratch/kocevski/426410/ft2_4FGL_J0112.8+3208_daily_bin1057.fits
Exposure map: /scratch/kocevski/426410/expmap_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.fits
Exposure cube: /scratch/kocevski/426410/ltcube_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/426410/Model_4FGL_J0112.8+3208_daily_bin1057.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) = 6794.48916085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.223       1.0000         .10000E-03   10000.    
     2 'norm      '    3.3224       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.1295       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.042       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2377       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    54.158       1.0000         .10000E-03   10000.    
    10 'norm      '    .73024       1.0000         .10000E-03   10000.    
    11 'norm      '    8.0148       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.102       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1945       1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.506       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .65115E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.8477       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12673E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .55478       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.1407       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.8373       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .46334       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2765       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6794.463     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     3095 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.229        28.489        .57143E-06    .49774E-04
   2  norm          3.3232        2.7773        .17638E-06    .31789E-04
   3  Prefactor     .10000E-03    9.2659        .33957E-06** at limit **
   4  Prefactor     8.1315        7.5915       -.33294E-06   -.52418E-04
   5  Prefactor     21.045        12.870        .21432E-06    .14989E-04
   6  Prefactor     4.2355        9.3368        .90722E-05   -.18754E-03
   7  Prefactor     .10000E-03    34.379       -.99949E-06** at limit **
   8  Prefactor     .10000E-03    45.816        .11168E-05** at limit **
   9  Prefactor     54.167        53.159       -.15474E-05    .59855E-04
  10  norm          .73036        .52651        .69603E-07    .19689E-03
  11  norm          8.0146        1.9775        .81127E-07    .22010E-04
  12  Prefactor     .10000E-03    34.147       -.69058E-06** at limit **
  13  Prefactor     11.101        6.7272        .18515E-06    .71018E-05
  14  Prefactor     .10000E-03    4.6157        .27193E-06** at limit **
  15  Prefactor     .10000E-03    20.281       -.17317E-05** at limit **
  16  norm          1.1944        .89038       -.12345E-07   -.60287E-04
  17  Prefactor     29.450        48.711       -.22783E-05   -.33838E-03
  18  Prefactor     .10012E-03    250.68       -.11588E-04** at limit **
  19  norm          1.8455        .76539       -.63225E-07    .46675E-03
  20  Prefactor     .10000E-03    40.812        .70696E-06** at limit **
  21  Prefactor     .55036        3.4595        .32467E-05   -.86307E-04
  22  Prefactor     .10000E-03    7.9439        .37387E-07** at limit **
  23  norm          4.1409        4.1123        .12664E-06   -.99487E-06
  24  Prefactor     3.8377        6.8563        .56867E-06   -.19945E-04
  25  Normalizat    .46312        .22671       -.53310E-05   -.96678E-04
  26  Prefactor     1.2765        .14901        .54057E-06   -.13284E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.2293
  norm       = 3.32318
  Prefactor  = 0.0001
  Prefactor  = 8.13152
  Prefactor  = 21.0446
  Prefactor  = 4.23553
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 54.1667
  norm       = 0.730358
  norm       = 8.01463
  Prefactor  = 0.000100001
  Prefactor  = 11.1014
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.19444
  Prefactor  = 29.4502
  Prefactor  = 0.000100123
  norm       = 1.84547
  Prefactor  = 0.0001
  Prefactor  = 0.550358
  Prefactor  = 0.0001
  norm       = 4.1409
  Prefactor  = 3.83772
  Normalizat = 0.463119
  Prefactor  = 1.27646
 **********
 **   18 **HESSE 
 **********

 FCN=   6794.463     FROM HESSE     STATUS=OK           462 CALLS     3557 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.229        28.456        .91351E-04   -1.4831    
   2  norm          3.3232        2.7754        .12047E-03   -1.5343    
   3  Prefactor     .10000E-03    9.3266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.1315        7.5801        .14062E-03   -1.5138    
   5  Prefactor     21.045        12.854        .87317E-04   -1.4790    
   6  Prefactor     4.2355        9.3659        .97870E-03   -1.5296    
   7  Prefactor     .10000E-03    34.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    46.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     54.167        53.153        .27252E-03   -1.4235    
  10  norm          .73036        .52736        .48780E-04   -1.5537    
  11  norm          8.0146        1.9726        .54374E-04   -1.5142    
  12  Prefactor     .10000E-03    34.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.101        6.7064        .12024E-03   -1.5041    
  14  Prefactor     .10000E-03    4.6682        .17278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.811        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1944        .90152        .65456E-04   -1.5489    
  17  Prefactor     29.450        48.632        .73758E-04   -1.4622    
  18  Prefactor     .10012E-03    251.72        .21020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8455        .76227        .44522E-04   -1.5436    
  20  Prefactor     .10000E-03    42.100        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55036        3.4770        .29208E-03   -1.5560    
  22  Prefactor     .10000E-03    7.9575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.1409        4.0924        .15493E-03   -1.5301    
  24  Prefactor     3.8377        6.8183        .20602E-03   -1.5316    
  25  Normalizat    .46312        .23500        .42749E-03   -1.1416    
  26  Prefactor     1.2765        .15867        .17939E-03   -.84010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69149e-09
Minuit parameter uncertainties:
  1  28.4763
  2  2.77546
  3  2.80674e-05
  4  7.58098
  5  12.8555
  6  9.36918
  7  0.000509658
  8  0.00057224
  9  53.1998
  10  0.527365
  11  1.97265
  12  0.000307605
  13  6.70682
  14  1.7661e-05
  15  0.000273235
  16  0.901529
  17  48.6974
  18  0.0111637
  19  0.76227
  20  2.98348e-05
  21  2.76665
  22  1.70301e-06
  23  4.0927
  24  6.81967
  25  0.235506
  26  0.158727
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  8.015e+00  1.973e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.252e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  6.695e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.276e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  4.631e-01  2.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 53.53
Ra Dec: 18.223 32.140
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 2.21e-07 +/- 5.44e-08
Energy Flux (Fixed Index): 7.94e-05 +/- 1.95e-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) = 6794.41396209
delta logL = 0.0486095505685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6794.41150643
delta logL = 0.0510652059147

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1018       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1744       1.0000          .0000       5.0000    
     3 'Normalizat'    .47622       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2714       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6794.412     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      199 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1018        2.3518        .35214E-02   -.55804E-02
   2  alpha         2.1744        .27307        .17141       -.18669E-04
   3  Normalizat    .47621        .22301        .95245E-01    .95511E-04
   4  Prefactor     1.2714        .14782        .33127E-01   -.22823E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.10176
  alpha      = 2.17441
  Normalizat = 0.476211
  Prefactor  = 1.27144
 **********
 **   18 **HESSE 
 **********

 FCN=   6794.412     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1018        2.0197        .55589E-04   -1.5139    
   2  alpha         2.1744        .24072        .73584E-02   -.13061    
   3  Normalizat    .47621        .23610        .42204E-03   -1.1353    
   4  Prefactor     1.2714        .15682        .17974E-03   -.84160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66783e-09
Minuit parameter uncertainties:
  1  2.01972
  2  0.241102
  3  0.236592
  4  0.156881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/426410': 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) = 6794.41150643
delta logL = 0.0510652079702

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  8.102e+00  2.020e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.174e+00  2.411e-01  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  6.695e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.271e+00  1.569e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  4.762e-01  2.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 53.38
Ra Dec: 18.223 32.140
Photon Index (Free Index): 2.17 +/- 0.24
Photon Flux (Free Index): 2.10e-07 +/- 6.20e-08
Energy Flux (Free Index): 8.35e-05 +/- 2.51e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/426410/cmap_HighResolution_513302401_513561601_4FGL_J0112.8+3208_daily_bin1057.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.21e-07', energy_flux2='8.35e-05', photon_flux_error='5.44e-08', dlogl='5.11e-02', energy_flux='7.94e-05', photon_flux2='2.10e-07', job_status='DONE', time_completed='2021-08-13 16:56:10.333768', photon_index_error2='0.24', photon_index2='2.17', ts='53.53', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', energy_flux_error2='2.51e-05', EG='0.46', time_epoch_completed='1628898970.33', return_code='0', job_id='426410', GAL2='1.27', EG2='0.48', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='6.20e-08', ts2='53.38', photon_index='2.25' WHERE bin_id='1057' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 16:56:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 426410: <4FGL_J0112.8+3208_daily_bin1057> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1057> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 16:40:18 2021
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:40:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 16:40:20 2021
Terminated at Fri Aug 13 16:56:11 2021
Results reported at Fri Aug 13 16:56:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1057 18.2227 32.1399 513302401 513561601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0112.8+3208 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   767.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            953 sec.

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

