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


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1156
RA = 18.2227, Dec = 32.1399
tmin = 538963201, tmax = 539222401
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='426565', job_status='RUN', time_executed='2021-08-13 16:42:32.579763', time_epoch_executed='1628898152.58' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/426565

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/426565/ft1_4FGL_J0112.8+3208_daily_bin1156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/426565/ft2_4FGL_J0112.8+3208_daily_bin1156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/426565/ft1_4FGL_J0112.8+3208_daily_bin1156.fits outfile=/scratch/kocevski/426565/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1156.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=538963201.0 tmax=539222401.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.75
user 4.33
sys 5.35

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/426565/ft1_filtered_4FGL_J0112.8+3208_daily_bin1156.fits" evtable="EVENTS" scfile=/scratch/kocevski/426565/ft2_4FGL_J0112.8+3208_daily_bin1156.fits sctable="SC_DATA" outfile=/scratch/kocevski/426565/ltcube_538963201_539222401_4FGL_J0112.8+3208_daily_bin1156.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/426565/ft2_4FGL_J0112.8+3208_daily_bin1156.fits
.....................!
real 17.53
user 11.45
sys 6.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/426565/ft1_filtered_4FGL_J0112.8+3208_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/426565/ft2_4FGL_J0112.8+3208_daily_bin1156.fits sctable="SC_DATA" expcube=/scratch/kocevski/426565/ltcube_538963201_539222401_4FGL_J0112.8+3208_daily_bin1156.fits outfile=/scratch/kocevski/426565/expmap_538963201_539222401_4FGL_J0112.8+3208_daily_bin1156.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/426565/ltcube_538963201_539222401_4FGL_J0112.8+3208_daily_bin1156.fits
.....................!
real 198.05
user 185.30
sys 11.76

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/426565/ft1_filtered_4FGL_J0112.8+3208_daily_bin1156.fits scfile=/scratch/kocevski/426565/ft2_4FGL_J0112.8+3208_daily_bin1156.fits outfile=/scratch/kocevski/426565/cmap_538963201_539222401_4FGL_J0112.8+3208_daily_bin1156.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 5.54
user 0.39
sys 5.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/426565/ft1_filtered_4FGL_J0112.8+3208_daily_bin1156.fits scfile=/scratch/kocevski/426565/ft2_4FGL_J0112.8+3208_daily_bin1156.fits outfile=/scratch/kocevski/426565/cmap_HighResolution_538963201_539222401_4FGL_J0112.8+3208_daily_bin1156.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 5.47
user 0.38
sys 5.06

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1608       1.0000         .10000E-03   10000.    
     2 'norm      '    2.6379       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.754       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2956       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.364       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1563       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1937       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.8110       1.0000         .10000E-03   10000.    
    11 'norm      '    .10695E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.549       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.654       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.2682       1.0000         .10000E-03   10000.    
    16 'norm      '    .51862       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14531E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .33473       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.811       1.0000         .10000E-03   10000.    
    23 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .63822       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1965       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=   7592.391     FROM MIGRAD    STATUS=CONVERGED    630 CALLS     2739 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1555        20.085        .28754E-05    .17927E-04
   2  norm          2.6378        2.1313       -.39184E-08   -.47284E-04
   3  Prefactor     10.751        15.788        .54315E-06    .96433E-05
   4  Prefactor     2.2945        5.2839       -.58472E-07   -.17201E-03
   5  Prefactor     13.368        15.558       -.21400E-06   -.58676E-04
   6  Prefactor     3.1540        8.8563       -.22737E-06   -.73507E-04
   7  Prefactor     6.1916        11.402        .29782E-06   -.32714E-03
   8  Prefactor     .10000E-03    31.240       -.29636E-06** at limit **
   9  Prefactor     .10000E-03    39.403        .32922E-06** at limit **
  10  norm          2.8107        .92853       -.13960E-07   -.62664E-04
  11  norm          .10000E-03    .57239        .14480E-06** at limit **
  12  Prefactor     37.548        31.865       -.30744E-06   -.16131E-04
  13  Prefactor     .10000E-03    1.9696        .74299E-09** at limit **
  14  Prefactor     17.658        9.3967       -.10641E-05   -.29605E-03
  15  Prefactor     7.2672        9.9072        .38321E-06   -.44054E-03
  16  norm          .51896        .70233       -.50509E-08    .79576E-04
  17  Prefactor     .10000E-03    14.645       -.40177E-07** at limit **
  18  Prefactor     .10000E-03    153.69       -.41782E-06** at limit **
  19  norm          .33538        .55236        .33089E-07   -.35137E-03
  20  Prefactor     .10000E-03    8.1717        .31200E-08** at limit **
  21  Prefactor     .10000E-03    2.2069        .14342E-07** at limit **
  22  Prefactor     28.809        22.027        .24911E-06    .65972E-05
  23  norm          .10000E-03    2.9396       -.51124E-08** at limit **
  24  Prefactor     .10000E-03    9.2661        .19309E-07** at limit **
  25  Normalizat    .63826        .22703        .82900E-06   -.65501E-04
  26  Prefactor     1.1965        .13164       -.26681E-06   -.49030E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.15549
  norm       = 2.63779
  Prefactor  = 10.7515
  Prefactor  = 2.29452
  Prefactor  = 13.3676
  Prefactor  = 3.15404
  Prefactor  = 6.1916
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.81071
  norm       = 0.0001
  Prefactor  = 37.5475
  Prefactor  = 0.0001
  Prefactor  = 17.6585
  Prefactor  = 7.26719
  norm       = 0.518958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.335376
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.809
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.638262
  Prefactor  = 1.19646
 **********
 **   18 **HESSE 
 **********

 FCN=   7592.391     FROM HESSE     STATUS=OK           466 CALLS     3205 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1555        19.938        .17696E-03   -1.5254    
   2  norm          2.6378        2.1276        .11031E-03   -1.5383    
   3  Prefactor     10.751        15.809        .12218E-03   -1.5052    
   4  Prefactor     2.2945        5.3393        .27089E-03   -1.5405    
   5  Prefactor     13.368        15.523        .10957E-03   -1.4977    
   6  Prefactor     3.1540        8.8381        .22815E-03   -1.5353    
   7  Prefactor     6.1916        13.468        .80653E-03   -1.5210    
   8  Prefactor     .10000E-03    31.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    39.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8107        .92767        .45408E-04   -1.5373    
  11  norm          .10000E-03    .98005        .12672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     37.548        31.851        .65406E-04   -1.4482    
  13  Prefactor     .10000E-03    1.9755        .11935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.658        9.5387        .95323E-04   -1.4867    
  15  Prefactor     7.2672        12.981        .74389E-03   -1.5169    
  16  norm          .51896        .59450        .82808E-03   -1.5564    
  17  Prefactor     .10000E-03    14.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    154.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .33538        .49684        .79976E-03   -1.5592    
  20  Prefactor     .10000E-03    8.2194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.2801        .25266E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     28.809        21.996        .74640E-04   -1.4634    
  23  norm          .10000E-03    3.0285        .29163E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.5370        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .63826        .25148        .38929E-03   -1.0638    
  26  Prefactor     1.1965        .14791        .18259E-03   -.86440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2735e-09
Minuit parameter uncertainties:
  1  19.9639
  2  2.12768
  3  15.815
  4  5.3404
  5  15.5275
  6  8.84174
  7  13.4741
  8  1.33649e-05
  9  1.72495e-05
  10  0.927679
  11  2.03043e-05
  12  31.8656
  13  6.6384e-07
  14  9.53953
  15  12.986
  16  0.594509
  17  1.16545e-06
  18  2.6164e-05
  19  0.496843
  20  8.0791e-07
  21  6.97112e-07
  22  22.0017
  23  1.15812e-06
  24  7.25449e-06
  25  0.251933
  26  0.147963
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.000e-04  2.030e-05  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.196e+00  1.480e-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:  6.383e-01  2.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.223 32.140
Photon Flux Upper Limit: 8.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/426565/likelihoodResults_538963201_539222401_4FGL_J0112.8+3208_daily_bin1156.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) = 7592.39567451
delta logL = -0.00487226085897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7592.39080263
delta logL = -3.85124621971e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7592.168     FROM MIGRAD    STATUS=CONVERGED    185 CALLS      368 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62762E-01    .10149        .13820E-02   -.52112E-02
   2  alpha         5.0000        4.0153        .50000    ** at limit **
   3  Normalizat    .58592        .24660        .38929E-02    .16386E-03
   4  Prefactor     1.2170        .14943        .18259E-03   -.25466E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0627625
  alpha      = 5
  Normalizat = 0.585919
  Prefactor  = 1.21696
 **********
 **   18 **HESSE 
 **********

 FCN=   7592.168     FROM HESSE     STATUS=OK            33 CALLS      401 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62762E-01    .11246        .32544E-04   -1.5758    
   2  alpha         5.0000        4.2178        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .58592        .24475        .77857E-03   -1.0859    
   4  Prefactor     1.2170        .14886        .73036E-05   -.85811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29112e-12
Minuit parameter uncertainties:
  1  0.112458
  2  7.79337e-07
  3  0.245206
  4  0.148908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/426565': 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) = 7592.16814738
delta logL = 0.222654873637

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  6.276e-02  1.125e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  5.000e+00  7.793e-07  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.217e+00  1.489e-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:  5.859e-01  2.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 18.223 32.140

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/426565/cmap_HighResolution_538963201_539222401_4FGL_J0112.8+3208_daily_bin1156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-05', job_status='DONE', photon_flux_upper_limit='8.09e-08', time_completed='2021-08-13 16:56:49.016425', job_id='426565', GAL2='1.22', fit_tolerance='1e-08', EG2='0.59', EG='0.64', time_epoch_completed='1628899009.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='2.23e-01', ts2='0.49', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1156' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 16:56:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 426565: <4FGL_J0112.8+3208_daily_bin1156> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1156 18.2227 32.1399 538963201 539222401 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 :                                   924.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            980 sec.

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

