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


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1774
RA = 18.2227, Dec = 32.1399
tmin = 699148801, tmax = 699408001
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='672362', job_status='RUN', time_executed='2023-03-02 00:06:38.727654', time_epoch_executed='1677744398.73' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672362

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672362/ft1_4FGL_J0112.8+3208_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672362/ft2_4FGL_J0112.8+3208_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672362/ft1_4FGL_J0112.8+3208_daily_bin1774.fits outfile=/scratch/kocevski/672362/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1774.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=699148801.0 tmax=699408001.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.02
user 2.61
sys 0.20

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

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

Number of photons that the gtmktime cut: 1203

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672362/ft1_filtered_4FGL_J0112.8+3208_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/672362/ft2_4FGL_J0112.8+3208_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/672362/ltcube_699148801_699408001_4FGL_J0112.8+3208_daily_bin1774.fits outfile=/scratch/kocevski/672362/expmap_699148801_699408001_4FGL_J0112.8+3208_daily_bin1774.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/672362/ltcube_699148801_699408001_4FGL_J0112.8+3208_daily_bin1774.fits
.....................!
real 192.94
user 186.72
sys 5.03

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/672362/ft1_filtered_4FGL_J0112.8+3208_daily_bin1774.fits scfile=/scratch/kocevski/672362/ft2_4FGL_J0112.8+3208_daily_bin1774.fits outfile=/scratch/kocevski/672362/cmap_699148801_699408001_4FGL_J0112.8+3208_daily_bin1774.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672362/ft1_filtered_4FGL_J0112.8+3208_daily_bin1774.fits scfile=/scratch/kocevski/672362/ft2_4FGL_J0112.8+3208_daily_bin1774.fits outfile=/scratch/kocevski/672362/cmap_HighResolution_699148801_699408001_4FGL_J0112.8+3208_daily_bin1774.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75575E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.4314       1.0000          .0000       .10000E+07
     3 'Prefactor '    22.037       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1978       1.0000          .0000       .10000E+07
     5 'Prefactor '    .36304       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39906E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    22.508       1.0000          .0000       .10000E+07
     8 'norm      '    1.3442       1.0000          .0000       .10000E+07
     9 'norm      '    2.7694       1.0000          .0000       .10000E+07
    10 'Prefactor '    .80948E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .54885E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18644E-05   1.0000          .0000       .10000E+07
    13 'norm      '    1.4665       1.0000          .0000       .10000E+07
    14 'Prefactor '    15.159       1.0000          .0000       .10000E+07
    15 'norm      '    1.4779       1.0000          .0000       .10000E+07
    16 'Prefactor '    .49002E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .30309E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.5723       1.0000          .0000       .10000E+07
    19 'norm      '    .15932E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .22089E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0505       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88136       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=   12982.77     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1388 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10048E-07    24.017       -.14287E-06** at limit **
   2  norm          4.4321        1.7083       -.30919E-08   -.17248E-02
   3  Prefactor     21.776        1.8765       -.55975E-08   -.14656E-01
   4  Prefactor     2.1938        2.7395        .10508E-07   -.43363E-03
   5  Prefactor     .39740        8.5567        .29781E-06    .64839E-02
   6  Prefactor      .0000        1.9043       -.58669E-08** at limit **
   7  Prefactor     22.830        9.8015        .62543E-07   -.16461E-01
   8  norm          1.3449        .54253       -.24527E-07   -.10903E-02
   9  norm          2.7696        1.0566       -.41295E-08   -.11013E-02
  10  Prefactor     .11102E-09    11.928        .57538E-07** at limit **
  11  Prefactor      .0000        1.5092        .17396E-06** at limit **
  12  Prefactor      .0000        1.9281        .59016E-07** at limit **
  13  norm          1.4679        .69848       -.15541E-07    .51917E-03
  14  Prefactor     16.138        5.1101       -.27719E-08    .15754E-01
  15  norm          1.4782        .51231        .25639E-09   -.46947E-03
  16  Prefactor     .38858E-09    11.011       -.33559E-07** at limit **
  17  Prefactor      .0000        .77049       -.17355E-06** at limit **
  18  Prefactor     5.6562        9.5657       -.32887E-07   -.35845E-03
  19  norm           .0000        .87552       -.10797E-06** at limit **
  20  Prefactor     .22204E-09    7.2309        .74540E-06** at limit **
  21  Normalizat    1.0508        .15925        .92308E-06   -.22724E-04
  22  Prefactor     .88083        .10020       -.25349E-05   -.57043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00475e-08
  norm       = 4.43212
  Prefactor  = 21.7764
  Prefactor  = 2.19382
  Prefactor  = 0.397398
  Prefactor  = 0
  Prefactor  = 22.8297
  norm       = 1.3449
  norm       = 2.76959
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.46793
  Prefactor  = 16.1378
  norm       = 1.47822
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 5.65618
  norm       = 0
  Prefactor  = 2.22045e-10
  Normalizat = 1.0508
  Prefactor  = 0.880827
 **********
 **   18 **HESSE 
 **********

 FCN=   12982.77     FROM HESSE     STATUS=OK           388 CALLS     1776 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10048E-07    24.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4321        1.7148        .47813E-03   -1.5666    
   3  Prefactor     21.776        13.510        .21308E-03   -1.5615    
   4  Prefactor     2.1938        2.7608        .69380E-03   -1.5678    
   5  Prefactor     .39740        3.4313        .93900E-02   -1.5695    
   6  Prefactor      .0000        1.9107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.830        11.801        .21084E-03   -1.5612    
   8  norm          1.3449        .54900        .94437E-03   -1.5685    
   9  norm          2.7696        1.0650        .61131E-04   -1.5675    
  10  Prefactor     .11102E-09    11.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.5110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.9326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4679        .69973        .88750E-03   -1.5684    
  14  Prefactor     16.138        23.991        .25698E-03   -1.5628    
  15  norm          1.4782        .51505        .88283E-03   -1.5684    
  16  Prefactor     .38858E-09    11.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .76843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.6562        9.5989        .42536E-03   -1.5660    
  19  norm           .0000        .87957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-09    7.1658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0508        .13780        .64369E-01   -.91347    
  22  Prefactor     .88083        .85230E-01    .44767E-01   -.96814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21097e-08
Minuit parameter uncertainties:
  1  0.00100064
  2  1.71475
  3  13.5102
  4  2.76085
  5  2.33547
  6  3.92183e-06
  7  11.8007
  8  0.548999
  9  1.06502
  10  6.54575e-05
  11  4.93365e-06
  12  2.53201e-06
  13  0.699734
  14  23.9914
  15  0.515052
  16  0.00012799
  17  1.33804e-06
  18  9.59894
  19  1.21271e-06
  20  7.64814e-05
  21  0.13785
  22  0.0852429
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  2.770e+00  1.065e+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:  8.808e-01  8.524e-02  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.051e+00  1.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.28
Ra Dec: 18.223 32.140
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 7.64e-08 +/- 2.94e-08
Energy Flux (Fixed Index): 2.74e-05 +/- 1.06e-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) = 12982.3647819
delta logL = 0.406223539581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12982.3593359
delta logL = 0.411669514384

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4544       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6263       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0213       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89412       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=   12982.36     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4552        11.649        .65262E-03    .74163E-02
   2  alpha         2.6259        3.8039        .34757        .69324E-04
   3  Normalizat    1.0212        .61361E-01    .65163E-01    .28550E-04
   4  Prefactor     .89414        .39373E-01    .44930E-01    .11448E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.45519
  alpha      = 2.62589
  Normalizat = 1.02125
  Prefactor  = 0.894142
 **********
 **   18 **HESSE 
 **********

 FCN=   12982.36     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4552        1.1365        .61467E-05   -1.5677    
   2  alpha         2.6259        .45677        .13505E-01    .50378E-01
   3  Normalizat    1.0212        .16221        .28823E-03   -.92322    
   4  Prefactor     .89414        .10130        .19298E-03   -.96346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6823e-09
Minuit parameter uncertainties:
  1  1.13647
  2  0.459354
  3  0.162284
  4  0.101325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672362': 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) = 12982.3593353
delta logL = 0.411670078516

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  2.455e+00  1.136e+00  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  2.626e+00  4.594e-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:  8.941e-01  1.013e-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.021e+00  1.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.11
Ra Dec: 18.223 32.140
Photon Index (Free Index): 2.63 +/- 0.46
Photon Flux (Free Index): 9.47e-08 +/- 3.74e-08
Energy Flux (Free Index): 2.38e-05 +/- 9.58e-06

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/672362/cmap_HighResolution_699148801_699408001_4FGL_J0112.8+3208_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.64e-08', energy_flux2='2.38e-05', photon_flux_error='2.94e-08', dlogl='4.12e-01', energy_flux='2.74e-05', photon_flux2='9.47e-08', job_status='DONE', time_completed='2023-03-02 00:18:40.729894', photon_index_error2='0.46', photon_index2='2.63', ts='11.28', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='9.58e-06', EG='1.05', time_epoch_completed='1677745120.73', return_code='0', job_id='672362', GAL2='0.89', EG2='1.02', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='3.74e-08', ts2='12.11', photon_index='2.25' WHERE bin_id='1774' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:18:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 672362: <4FGL_J0112.8+3208_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1774> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Mar  2 00:04:56 2023
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:04:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:04:58 2023
Terminated at Thu Mar  2 00:18:41 2023
Results reported at Thu Mar  2 00:18:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1774 18.2227 32.1399 699148801 699408001 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 :                                   717.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             326.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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

