/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 191 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1752
RA = 18.2227, Dec = 32.1399
tmin = 693446401, tmax = 693705601
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='248297', job_status='RUN', time_executed='2022-12-26 00:12:10.260592', time_epoch_executed='1672042330.26' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248297

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248297/ft1_4FGL_J0112.8+3208_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248297/ft2_4FGL_J0112.8+3208_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248297/ft1_4FGL_J0112.8+3208_daily_bin1752.fits outfile=/scratch/kocevski/248297/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1752.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=693446401.0 tmax=693705601.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 3.49
user 3.21
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248297/ft2_4FGL_J0112.8+3208_daily_bin1752.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/248297/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/248297/ft1_filtered_4FGL_J0112.8+3208_daily_bin1752.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 664

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248297/ft1_filtered_4FGL_J0112.8+3208_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/248297/ft2_4FGL_J0112.8+3208_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/248297/ltcube_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.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/248297/ft2_4FGL_J0112.8+3208_daily_bin1752.fits
.....................!
real 12.82
user 12.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248297/ft1_filtered_4FGL_J0112.8+3208_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/248297/ft2_4FGL_J0112.8+3208_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/248297/ltcube_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.fits outfile=/scratch/kocevski/248297/expmap_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.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/248297/ltcube_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.fits
.....................!
real 191.97
user 186.03
sys 5.43

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/248297/ft1_filtered_4FGL_J0112.8+3208_daily_bin1752.fits scfile=/scratch/kocevski/248297/ft2_4FGL_J0112.8+3208_daily_bin1752.fits outfile=/scratch/kocevski/248297/cmap_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.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 0.69
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248297/ft1_filtered_4FGL_J0112.8+3208_daily_bin1752.fits scfile=/scratch/kocevski/248297/ft2_4FGL_J0112.8+3208_daily_bin1752.fits outfile=/scratch/kocevski/248297/cmap_HighResolution_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.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 0.68
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248297/ft1_filtered_4FGL_J0112.8+3208_daily_bin1752.fits', '/scratch/kocevski/248297/ft2_4FGL_J0112.8+3208_daily_bin1752.fits', expMap='/scratch/kocevski/248297/expmap_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.fits', expCube='/scratch/kocevski/248297/ltcube_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248297/Model_4FGL_J0112.8+3208_daily_bin1752.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  0.000e+00  1.000e+06 ( 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 -5.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/248297/ft1_filtered_4FGL_J0112.8+3208_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/248297/ft2_4FGL_J0112.8+3208_daily_bin1752.fits
Exposure map: /scratch/kocevski/248297/expmap_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.fits
Exposure cube: /scratch/kocevski/248297/ltcube_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248297/Model_4FGL_J0112.8+3208_daily_bin1752.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) = 7471.22885359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81879E-04   1.0000          .0000       .10000E+07
     2 'norm      '    2.3278       1.0000          .0000       .10000E+07
     3 'Prefactor '    .69132E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .50616E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11479E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6003       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.7855       1.0000          .0000       .10000E+07
     8 'norm      '    2.4007       1.0000          .0000       .10000E+07
     9 'norm      '    5.8044       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.928       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.1134       1.0000          .0000       .10000E+07
    12 'Prefactor '    .52570E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .48682       1.0000          .0000       .10000E+07
    14 'Prefactor '    .50757E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .67543       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24497E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .58925E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .61871       1.0000          .0000       .10000E+07
    19 'norm      '    .10730E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .21698E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5348       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .63703       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7471.206     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1368 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    15.395        .39597E-06** at limit **
   2  norm          2.3369        1.9960        .19692E-06    .53047E-03
   3  Prefactor     .13323E-08    4.6399       -.49377E-06** at limit **
   4  Prefactor     .11102E-09    2.5765        .93352E-06** at limit **
   5  Prefactor     .21205E-07    5.4795        .15295E-05** at limit **
   6  Prefactor     3.6039        4.6818        .89771E-06    .43179E-01
   7  Prefactor     3.8100        1.2841       -.12691E-06    .13940E-01
   8  norm          2.3993        .78597        .39668E-07   -.17141E-03
   9  norm          5.8008        1.9689        .42386E-07    .55296E-02
  10  Prefactor     15.739        56.018       -.55641E-05   -.10286E-02
  11  Prefactor     7.0066        6.6793        .43718E-06    .15494E-02
  12  Prefactor      .0000        3.7012       -.42382E-06** at limit **
  13  norm          .48709        .71629       -.72385E-07   -.45187E-03
  14  Prefactor     .61062E-09    22.713       -.45476E-06** at limit **
  15  norm          .67577        .77716       -.17143E-06    .42155E-03
  16  Prefactor     .23870E-08    7.0358       -.86618E-06** at limit **
  17  Prefactor     .57121E-07    5.8157       -.12095E-05** at limit **
  18  Prefactor     .49787        .76719        .10422E-06   -.10891E-01
  19  norm           .0000        1.1643       -.49281E-06** at limit **
  20  Prefactor     .55511E-10    1.7170        .15131E-06** at limit **
  21  Normalizat    1.5339        .23194        .81638E-05   -.71485E-05
  22  Prefactor     .63718        .13395       -.69110E-05   -.58682E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 2.33693
  Prefactor  = 1.33227e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 2.12053e-08
  Prefactor  = 3.60394
  Prefactor  = 3.81
  norm       = 2.39929
  norm       = 5.80078
  Prefactor  = 15.7387
  Prefactor  = 7.00659
  Prefactor  = 0
  norm       = 0.487093
  Prefactor  = 6.10623e-10
  norm       = 0.67577
  Prefactor  = 2.38698e-09
  Prefactor  = 5.7121e-08
  Prefactor  = 0.497871
  norm       = 0
  Prefactor  = 5.55112e-11
  Normalizat = 1.53389
  Prefactor  = 0.637183
 **********
 **   18 **HESSE 
 **********

 FCN=   7471.206     FROM HESSE     STATUS=OK           390 CALLS     1758 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    15.387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3369        1.9881        .67192E-03   -1.5677    
   3  Prefactor     .13323E-08    4.6637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    2.5739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .21205E-07    5.8179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6039        10.149        .53229E-03   -1.5670    
   7  Prefactor     3.8100        23.572        .51860E-03   -1.5669    
   8  norm          2.3993        .78759        .66058E-03   -1.5677    
   9  norm          5.8008        1.9628        .41663E-03   -1.5660    
  10  Prefactor     15.739        56.154        .26812E-03   -1.5629    
  11  Prefactor     7.0066        6.7197        .37588E-03   -1.5655    
  12  Prefactor      .0000        3.6931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .48709        .90628        .20270E-02   -1.5694    
  14  Prefactor     .61062E-09    22.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .67577        .78721        .62725E-03   -1.5692    
  16  Prefactor     .23870E-08    7.0680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .57121E-07    6.5626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .49787        61.160        .67568E-03   -1.5694    
  19  norm           .0000        1.1630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    1.7185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5339        .19893        .60071E-01   -.76830    
  22  Prefactor     .63718        .11523        .41557E-01   -1.0604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96234e-08
Minuit parameter uncertainties:
  1  6.5165e-05
  2  1.9881
  3  0.000157157
  4  3.03354e-05
  5  0.000702552
  6  10.1486
  7  18.9535
  8  0.787591
  9  1.96282
  10  56.1554
  11  6.71968
  12  6.46332e-06
  13  0.906279
  14  0.000231984
  15  0.78721
  16  0.000261145
  17  0.0012247
  18  11.0364
  19  8.22226e-06
  20  1.61631e-05
  21  0.199036
  22  0.11527
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  5.801e+00  1.963e+00  0.000e+00  1.000e+06 ( 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 -5.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:  6.372e-01  1.153e-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.534e+00  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.49
Ra Dec: 18.223 32.140
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 1.60e-07 +/- 5.41e-08
Energy Flux (Fixed Index): 5.75e-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) = 7471.16072304
delta logL = 0.045716557629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7471.15886327
delta logL = 0.0475763327668

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7825       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3506       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64257       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=   7471.159     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      201 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7825        3.0519        .41743E-03    .53532E-02
   2  alpha         2.3506        .48041        .23773        .79700E-05
   3  Normalizat    1.5192        .19901        .60290E-01    .36670E-05
   4  Prefactor     .64257        .11534        .41632E-01    .22206E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.78246
  alpha      = 2.3506
  Normalizat = 1.51916
  Prefactor  = 0.642571
 **********
 **   18 **HESSE 
 **********

 FCN=   7471.159     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7825        1.9345        .65217E-05   -1.5660    
   2  alpha         2.3506        .32278        .99320E-02   -.59798E-01
   3  Normalizat    1.5192        .23426        .26662E-03   -.77241    
   4  Prefactor     .64257        .13417        .22754E-03   -1.0582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61558e-11
Minuit parameter uncertainties:
  1  1.93452
  2  0.32369
  3  0.234427
  4  0.134233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248297': 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) = 7471.15886327
delta logL = 0.0475763329305

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  5.782e+00  1.935e+00  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  2.351e+00  3.237e-01  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  6.695e-02  0.000e+00 -5.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:  6.426e-01  1.342e-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.519e+00  2.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.49
Ra Dec: 18.223 32.140
Photon Index (Free Index): 2.35 +/- 0.32
Photon Flux (Free Index): 1.73e-07 +/- 7.02e-08
Energy Flux (Free Index): 5.56e-05 +/- 1.94e-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/248297/cmap_HighResolution_693446401_693705601_4FGL_J0112.8+3208_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.60e-07', energy_flux2='5.56e-05', photon_flux_error='5.41e-08', dlogl='4.76e-02', energy_flux='5.75e-05', photon_flux2='1.73e-07', job_status='DONE', time_completed='2022-12-26 00:21:21.749924', photon_index_error2='0.32', photon_index2='2.35', ts='21.49', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='1.53', time_epoch_completed='1672042881.75', return_code='0', job_id='248297', GAL2='0.64', EG2='1.52', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='7.02e-08', ts2='21.49', photon_index='2.25' WHERE bin_id='1752' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:21:21 PST 2022

'daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:19:01 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 248296: <4FGL_J0112.8+3208_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:15 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:08:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:08:28 2022
Terminated at Mon Dec 26 00:19:02 2022
Results reported at Mon Dec 26 00:19:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1752 18.2227 32.1399 693446401 693705601 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 :                                   548.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            767 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0141>
Subject: Job 248297: <4FGL_J0112.8+3208_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1752> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:15 2022
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:08:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:08:28 2022
Terminated at Mon Dec 26 00:21:22 2022
Results reported at Mon Dec 26 00:21:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1752 18.2227 32.1399 693446401 693705601 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 :                                   548.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             234.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            907 sec.

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

