aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 132 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 = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1754
RA = 18.2227, Dec = 32.1399
tmin = 693964801, tmax = 694224001
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='624466', job_status='RUN', time_executed='2023-01-01 00:10:47.415637', time_epoch_executed='1672560647.42' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/624466

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/624466/ft1_4FGL_J0112.8+3208_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/624466/ft2_4FGL_J0112.8+3208_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/624466/ft1_4FGL_J0112.8+3208_daily_bin1754.fits outfile=/scratch/kocevski/624466/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1754.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=693964801.0 tmax=694224001.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.99
user 3.70
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/624466/ft2_4FGL_J0112.8+3208_daily_bin1754.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/624466/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/624466/ft1_filtered_4FGL_J0112.8+3208_daily_bin1754.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.52
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 824

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/624466/ft1_filtered_4FGL_J0112.8+3208_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/624466/ft2_4FGL_J0112.8+3208_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/624466/ltcube_693964801_694224001_4FGL_J0112.8+3208_daily_bin1754.fits outfile=/scratch/kocevski/624466/expmap_693964801_694224001_4FGL_J0112.8+3208_daily_bin1754.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/624466/ltcube_693964801_694224001_4FGL_J0112.8+3208_daily_bin1754.fits
.....................!
real 192.38
user 186.66
sys 5.13

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/624466/ft1_filtered_4FGL_J0112.8+3208_daily_bin1754.fits scfile=/scratch/kocevski/624466/ft2_4FGL_J0112.8+3208_daily_bin1754.fits outfile=/scratch/kocevski/624466/cmap_693964801_694224001_4FGL_J0112.8+3208_daily_bin1754.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/624466/ft1_filtered_4FGL_J0112.8+3208_daily_bin1754.fits scfile=/scratch/kocevski/624466/ft2_4FGL_J0112.8+3208_daily_bin1754.fits outfile=/scratch/kocevski/624466/cmap_HighResolution_693964801_694224001_4FGL_J0112.8+3208_daily_bin1754.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.56
user 0.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4891       1.0000          .0000       .10000E+07
     2 'norm      '    1.9506       1.0000          .0000       .10000E+07
     3 'Prefactor '    17.328       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13942E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1284       1.0000          .0000       .10000E+07
     6 'Prefactor '    .61232E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    14.196       1.0000          .0000       .10000E+07
     8 'norm      '    1.0232       1.0000          .0000       .10000E+07
     9 'norm      '    15.214       1.0000          .0000       .10000E+07
    10 'Prefactor '    .43454       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.9658       1.0000          .0000       .10000E+07
    12 'Prefactor '    .26356E-04   1.0000          .0000       .10000E+07
    13 'norm      '    2.0842       1.0000          .0000       .10000E+07
    14 'Prefactor '    .22978E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.3182       1.0000          .0000       .10000E+07
    16 'Prefactor '    19.780       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17337E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .98509E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .99010E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.9163       1.0000          .0000       .10000E+07
    21 'Normalizat'    .80939       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1072       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=   9005.024     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1388 TOTAL
                     EDM=   .78E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3624        1.4996       -.46310E-08    .13425E-02
   2  norm          1.9499        1.4046        .16894E-07    .23634E-03
   3  Prefactor     17.348        11.154        .13758E-06    .17264E-02
   4  Prefactor      .0000        1.6990        .14196E-06** at limit **
   5  Prefactor     1.1138        21.107        .86777E-06   -.52107E-03
   6  Prefactor     .55511E-09    7.3236       -.56362E-07** at limit **
   7  Prefactor     14.390        2.4218       -.27831E-07   -.23005E-01
   8  norm          1.0228        .60544       -.15426E-08    .10620E-02
   9  norm          15.215        2.4370        .40108E-07   -.17598E-02
  10  Prefactor     .12379E-07    212.94       -.27918E-05** at limit **
  11  Prefactor     6.0136        5.2794       -.11473E-06    .62124E-03
  12  Prefactor     .66613E-09    22.946       -.62235E-08** at limit **
  13  norm          2.0832        1.1989        .47350E-07   -.95132E-03
  14  Prefactor     .55511E-10    10.603       -.43870E-07** at limit **
  15  norm          1.3179        .64175        .35167E-07   -.12724E-02
  16  Prefactor     19.777        2.1378        .19545E-07   -.40336E-01
  17  Prefactor      .0000        .77782        .11544E-06** at limit **
  18  Prefactor     .83267E-09    13.044        .10282E-06** at limit **
  19  norm          .49960E-09    7.4535       -.34651E-06** at limit **
  20  Prefactor     1.8532        6.3045        .41645E-07   -.18505E-03
  21  Normalizat    .80942        .22043        .52679E-06    .13869E-04
  22  Prefactor     1.1073        .13774       -.21057E-05    .46193E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.36239
  norm       = 1.94992
  Prefactor  = 17.3479
  Prefactor  = 0
  Prefactor  = 1.11383
  Prefactor  = 5.55112e-10
  Prefactor  = 14.3897
  norm       = 1.02285
  norm       = 15.2146
  Prefactor  = 1.2379e-08
  Prefactor  = 6.01363
  Prefactor  = 6.66134e-10
  norm       = 2.08324
  Prefactor  = 5.55112e-11
  norm       = 1.3179
  Prefactor  = 19.7769
  Prefactor  = 0
  Prefactor  = 8.32667e-10
  norm       = 4.996e-10
  Prefactor  = 1.85322
  Normalizat = 0.809419
  Prefactor  = 1.10733
 **********
 **   18 **HESSE 
 **********

 FCN=   9005.024     FROM HESSE     STATUS=OK           390 CALLS     1778 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3624        56.369        .87834E-03   -1.5685    
   2  norm          1.9499        1.4033        .74275E-03   -1.5680    
   3  Prefactor     17.348        11.175        .24033E-03   -1.5625    
   4  Prefactor      .0000        1.7067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1138        20.903        .11006E-02   -1.5687    
   6  Prefactor     .55511E-09    7.3620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.390        19.262        .26558E-03   -1.5632    
   8  norm          1.0228        .62828        .12275E-02   -1.5688    
   9  norm          15.215        2.4529        .25651E-03   -1.5630    
  10  Prefactor     .12379E-07    208.48        .85589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0136        5.3036        .41087E-03   -1.5659    
  12  Prefactor     .66613E-09    22.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0832        1.2011        .71493E-03   -1.5679    
  14  Prefactor     .55511E-10    10.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3179        .65026        .95846E-03   -1.5685    
  16  Prefactor     19.777        11.837        .22492E-03   -1.5619    
  17  Prefactor      .0000        .78421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .83267E-09    13.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .49960E-09    7.3970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.8532        6.3555        .75048E-03   -1.5681    
  21  Normalizat    .80942        .19599        .81133E-01   -.99720    
  22  Prefactor     1.1073        .11996        .37321E-01   -.89233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.012e-06
Minuit parameter uncertainties:
  1  17.527
  2  1.40333
  3  11.1752
  4  3.23233e-07
  5  9.65027
  6  0.000128394
  7  19.2625
  8  0.628283
  9  2.45286
  10  0.00321289
  11  5.30356
  12  0.000244077
  13  1.20114
  14  5.76904e-05
  15  0.650263
  16  11.8366
  17  2.41179e-07
  18  0.000207188
  19  0.000120968
  20  6.35549
  21  0.196157
  22  0.119987
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.521e+01  2.453e+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:  1.107e+00  1.200e-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:  8.094e-01  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 135.53
Ra Dec: 18.223 32.140
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 4.20e-07 +/- 6.76e-08
Energy Flux (Fixed Index): 1.51e-04 +/- 2.43e-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) = 9004.07315089
delta logL = 0.950613588535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9004.04538014
delta logL = 0.978384333115

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.565       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0371       1.0000          .0000       5.0000    
     3 'Normalizat'    .86604       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0851       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=   9004.045     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      200 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.565        2.5968        .25360E-03   -.18038E-01
   2  alpha         2.0371        .15109        .12541       -.16104E-04
   3  Normalizat    .86604        .19078        .78822E-01    .21922E-05
   4  Prefactor     1.0851        .11854        .38181E-01    .30847E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.5647
  alpha      = 2.03709
  Normalizat = 0.866038
  Prefactor  = 1.08513
 **********
 **   18 **HESSE 
 **********

 FCN=   9004.045     FROM HESSE     STATUS=OK            27 CALLS      227 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.565        2.5469        .58185E-05   -1.5629    
   2  alpha         2.0371        .15062        .54612E-03   -.18624    
   3  Normalizat    .86604        .22126        .34892E-03   -.97664    
   4  Prefactor     1.0851        .13737        .19775E-03   -.89943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43741e-10
Minuit parameter uncertainties:
  1  2.54693
  2  0.150717
  3  0.221491
  4  0.137415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/624466': 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) = 9004.04538014
delta logL = 0.978384336122

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.556e+01  2.547e+00  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  2.037e+00  1.507e-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:  1.085e+00  1.374e-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:  8.660e-01  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 136.59
Ra Dec: 18.223 32.140
Photon Index (Free Index): 2.04 +/- 0.15
Photon Flux (Free Index): 3.67e-07 +/- 7.19e-08
Energy Flux (Free Index): 1.79e-04 +/- 3.82e-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/624466/cmap_HighResolution_693964801_694224001_4FGL_J0112.8+3208_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.20e-07', energy_flux2='1.79e-04', photon_flux_error='6.76e-08', dlogl='9.78e-01', energy_flux='1.51e-04', photon_flux2='3.67e-07', job_status='DONE', time_completed='2023-01-01 00:20:56.344343', photon_index_error2='0.15', photon_index2='2.04', ts='135.53', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='3.82e-05', EG='0.81', time_epoch_completed='1672561256.34', return_code='0', job_id='624466', GAL2='1.09', EG2='0.87', return_code2='0', energy_flux_error='2.43e-05', photon_flux_error2='7.19e-08', ts2='136.59', photon_index='2.25' WHERE bin_id='1754' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 00:20:56 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 624466: <4FGL_J0112.8+3208_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1754> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jan  1 00:04:42 2023
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 00:08:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 00:08:20 2023
Terminated at Sun Jan  1 00:20:57 2023
Results reported at Sun Jan  1 00:20:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1754 18.2227 32.1399 693964801 694224001 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 :                                   608.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            975 sec.

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

