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


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1006
RA = 18.2227, Dec = 32.1399
tmin = 500083201, tmax = 500342401
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='425177', job_status='RUN', time_executed='2021-08-13 16:40:13.620814', time_epoch_executed='1628898013.62' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1006'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/425177

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/425177/ft1_4FGL_J0112.8+3208_daily_bin1006.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/425177/ft2_4FGL_J0112.8+3208_daily_bin1006.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/425177/ft1_4FGL_J0112.8+3208_daily_bin1006.fits outfile=/scratch/kocevski/425177/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1006.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=500083201.0 tmax=500342401.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 9.21
user 5.40
sys 3.76

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/425177/ft2_4FGL_J0112.8+3208_daily_bin1006.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/425177/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1006.fits evtable="EVENTS" outfile="/scratch/kocevski/425177/ft1_filtered_4FGL_J0112.8+3208_daily_bin1006.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 4.06
user 0.35
sys 3.68

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/425177/ft1_filtered_4FGL_J0112.8+3208_daily_bin1006.fits" evtable="EVENTS" scfile=/scratch/kocevski/425177/ft2_4FGL_J0112.8+3208_daily_bin1006.fits sctable="SC_DATA" outfile=/scratch/kocevski/425177/ltcube_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.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/425177/ft2_4FGL_J0112.8+3208_daily_bin1006.fits
.....................!
real 16.72
user 12.77
sys 3.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/425177/ft1_filtered_4FGL_J0112.8+3208_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/425177/ft2_4FGL_J0112.8+3208_daily_bin1006.fits sctable="SC_DATA" expcube=/scratch/kocevski/425177/ltcube_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.fits outfile=/scratch/kocevski/425177/expmap_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.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/425177/ltcube_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.fits
.....................!
real 196.07
user 186.83
sys 8.74

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/425177/ft1_filtered_4FGL_J0112.8+3208_daily_bin1006.fits scfile=/scratch/kocevski/425177/ft2_4FGL_J0112.8+3208_daily_bin1006.fits outfile=/scratch/kocevski/425177/cmap_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.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 4.06
user 0.40
sys 3.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/425177/ft1_filtered_4FGL_J0112.8+3208_daily_bin1006.fits scfile=/scratch/kocevski/425177/ft2_4FGL_J0112.8+3208_daily_bin1006.fits outfile=/scratch/kocevski/425177/cmap_HighResolution_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.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 4.05
user 0.39
sys 3.63

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/425177/ft1_filtered_4FGL_J0112.8+3208_daily_bin1006.fits', '/scratch/kocevski/425177/ft2_4FGL_J0112.8+3208_daily_bin1006.fits', expMap='/scratch/kocevski/425177/expmap_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.fits', expCube='/scratch/kocevski/425177/ltcube_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/425177/Model_4FGL_J0112.8+3208_daily_bin1006.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/425177/ft1_filtered_4FGL_J0112.8+3208_daily_bin1006.fits
Spacecraft file(s): /scratch/kocevski/425177/ft2_4FGL_J0112.8+3208_daily_bin1006.fits
Exposure map: /scratch/kocevski/425177/expmap_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.fits
Exposure cube: /scratch/kocevski/425177/ltcube_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/425177/Model_4FGL_J0112.8+3208_daily_bin1006.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) = 5353.92311659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.7849       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.1346       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.5157       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0390       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    79.770       1.0000         .10000E-03   10000.    
    10 'norm      '    1.2202       1.0000         .10000E-03   10000.    
    11 'norm      '    2.3693       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.712       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.409       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .50872       1.0000         .10000E-03   10000.    
    17 'Prefactor '    43.758       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.5391       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18898E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.3004       1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.197       1.0000         .10000E-03   10000.    
    23 'norm      '    .45922E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.2304       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0079       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .76126       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=   5353.911     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     3227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.176        .49778E-07** at limit **
   2  norm          3.7850        2.6437        .23973E-07    .13966E-05
   3  Prefactor     7.1348        15.684       -.61643E-06   -.47762E-05
   4  Prefactor     .10000E-03    3.8048       -.19198E-07** at limit **
   5  Prefactor     .10000E-03    6.6211        .66547E-07** at limit **
   6  Prefactor     8.5162        7.5382       -.14463E-06   -.27869E-04
   7  Prefactor     2.0390        8.2658       -.34390E-07   -.11358E-04
   8  Prefactor     .10000E-03    25.948        .54604E-07** at limit **
   9  Prefactor     79.802        69.977        .59071E-06   -.24925E-05
  10  norm          1.2201        .71490        .15671E-07   -.90772E-04
  11  norm          2.3694        1.4796       -.39379E-07   -.19742E-04
  12  Prefactor     45.687        48.869        .11226E-05   -.14285E-04
  13  Prefactor     .10000E-03    8.2792        .99263E-06** at limit **
  14  Prefactor     11.409        8.0389       -.21600E-06    .19419E-05
  15  Prefactor     .10000E-03    5.5649       -.51202E-06** at limit **
  16  norm          .50831        .71912        .23444E-06    .68375E-04
  17  Prefactor     43.782        51.451        .83520E-06   -.42790E-05
  18  Prefactor     .10000E-03    37.154       -.12162E-06** at limit **
  19  norm          4.5391        1.0896       -.21848E-07   -.84600E-04
  20  Prefactor     .10000E-03    22.454        .38985E-06** at limit **
  21  Prefactor     1.3029        3.3999        .19280E-06    .72856E-04
  22  Prefactor     21.193        19.174        .77123E-07    .92341E-05
  23  norm          .10000E-03    118.13       -.37049E-05** at limit **
  24  Prefactor     1.2345        11.464       -.47469E-06    .91179E-05
  25  Normalizat    1.0079        .24466        .44418E-05    .56258E-04
  26  Prefactor     .76124        .14852       -.26968E-05    .10532E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.78499
  Prefactor  = 7.13482
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.5162
  Prefactor  = 2.03896
  Prefactor  = 0.0001
  Prefactor  = 79.8021
  norm       = 1.22007
  norm       = 2.36936
  Prefactor  = 45.6869
  Prefactor  = 0.0001
  Prefactor  = 11.4088
  Prefactor  = 0.0001
  norm       = 0.508314
  Prefactor  = 43.7822
  Prefactor  = 0.0001
  norm       = 4.5391
  Prefactor  = 0.0001
  Prefactor  = 1.30285
  Prefactor  = 21.1934
  norm       = 0.0001
  Prefactor  = 1.23446
  Normalizat = 1.00793
  Prefactor  = 0.761245
 **********
 **   18 **HESSE 
 **********

 FCN=   5353.911     FROM HESSE     STATUS=OK           476 CALLS     3703 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7850        2.6402        .96089E-04   -1.5319    
   3  Prefactor     7.1348        15.677        .15018E-03   -1.5174    
   4  Prefactor     .10000E-03    3.8390        .13936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.6858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.5162        7.5382        .13737E-03   -1.5124    
   7  Prefactor     2.0390        8.2030        .28962E-03   -1.5422    
   8  Prefactor     .10000E-03    25.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     79.802        69.912        .22483E-03   -1.3919    
  10  norm          1.2201        .71095        .45498E-04   -1.5487    
  11  norm          2.3694        1.4747        .66148E-04   -1.5400    
  12  Prefactor     45.687        48.874        .59302E-04   -1.4355    
  13  Prefactor     .10000E-03    8.3162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.409        8.0236        .59304E-03   -1.5032    
  15  Prefactor     .10000E-03    5.6399        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .50831        .71949        .88078E-03   -1.5565    
  17  Prefactor     43.782        51.403        .60606E-04   -1.4384    
  18  Prefactor     .10000E-03    37.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.5391        1.0905        .35935E-04   -1.5282    
  20  Prefactor     .10000E-03    23.263        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.3029        3.3823        .20543E-03   -1.5480    
  22  Prefactor     21.193        19.201        .86997E-04   -1.4787    
  23  norm          .10000E-03    4.8106        .37729E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.2345        12.716        .20272E-02   -1.5486    
  25  Normalizat    1.0079        .24456        .27790E-03   -.92765    
  26  Prefactor     .76124        .14855        .19919E-03   -1.0117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1188e-11
Minuit parameter uncertainties:
  1  1.15473e-05
  2  2.64026
  3  15.6862
  4  5.18705e-06
  5  5.14506e-06
  6  7.539
  7  8.18117
  8  4.22291e-05
  9  69.9839
  10  0.710953
  11  1.47471
  12  48.9171
  13  1.26423e-05
  14  8.02438
  15  3.79483e-05
  16  0.719503
  17  51.4552
  18  6.1933e-05
  19  1.09046
  20  2.43893e-05
  21  3.38282
  22  19.2065
  23  1.77048e-06
  24  7.92597
  25  0.244829
  26  0.148628
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  2.369e+00  1.475e+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:  7.612e-01  1.486e-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:  1.008e+00  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.36
Ra Dec: 18.223 32.140
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 6.53e-08 +/- 4.07e-08
Energy Flux (Fixed Index): 2.35e-05 +/- 1.46e-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) = 5353.72070699
delta logL = 0.190790713968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5353.71310883
delta logL = 0.198388874274

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2518       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6154       1.0000          .0000       5.0000    
     3 'Normalizat'    .98419       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76954       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=   5353.713     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      201 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2517        29.414        .68453E-02    .20281E-03
   2  alpha         2.6155        3.3678        .34109        .21798E-04
   3  Normalizat    .98420        .10848        .45969E-01    .12405E-04
   4  Prefactor     .76954        .64562E-01    .43320E-01    .83190E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.2517
  alpha      = 2.61549
  Normalizat = 0.9842
  Prefactor  = 0.769541
 **********
 **   18 **HESSE 
 **********

 FCN=   5353.713     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2517        1.4047        .59589E-04   -1.5408    
   2  alpha         2.6155        .58989        .13597E-01    .46213E-01
   3  Normalizat    .98420        .23343        .28070E-03   -.93562    
   4  Prefactor     .76954        .14574        .19816E-03   -1.0086    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31276e-10
Minuit parameter uncertainties:
  1  1.40474
  2  0.595518
  3  0.233675
  4  0.145815
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/425177': 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) = 5353.71310882
delta logL = 0.19838889021

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  2.252e+00  1.405e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.615e+00  5.955e-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:  7.695e-01  1.458e-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:  9.842e-01  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.75
Ra Dec: 18.223 32.140
Photon Index (Free Index): 2.62 +/- 0.60
Photon Flux (Free Index): 8.60e-08 +/- 5.62e-08
Energy Flux (Free Index): 2.18e-05 +/- 1.27e-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/425177/cmap_HighResolution_500083201_500342401_4FGL_J0112.8+3208_daily_bin1006.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.53e-08', energy_flux2='2.18e-05', photon_flux_error='4.07e-08', dlogl='1.98e-01', energy_flux='2.35e-05', photon_flux2='8.60e-08', job_status='DONE', time_completed='2021-08-13 16:51:39.114383', photon_index_error2='0.60', photon_index2='2.62', ts='6.36', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='1.27e-05', EG='1.01', time_epoch_completed='1628898699.11', return_code='0', job_id='425177', GAL2='0.77', EG2='0.98', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='5.62e-08', ts2='6.75', photon_index='2.25' WHERE bin_id='1006' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 16:51:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 425177: <4FGL_J0112.8+3208_daily_bin1006> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1006> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Aug 13 16:35:35 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:35:56 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:35:56 2021
Terminated at Fri Aug 13 16:51:40 2021
Results reported at Fri Aug 13 16:51:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1006 18.2227 32.1399 500083201 500342401 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 :                                   732.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             244.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            965 sec.

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

