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


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1742
RA = 18.2227, Dec = 32.1399
tmin = 690854401, tmax = 691113601
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='217282', job_status='RUN', time_executed='2022-11-26 00:10:46.913520', time_epoch_executed='1669450246.91' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217282

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217282/ft1_4FGL_J0112.8+3208_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217282/ft2_4FGL_J0112.8+3208_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217282/ft1_4FGL_J0112.8+3208_daily_bin1742.fits outfile=/scratch/kocevski/217282/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1742.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=690854401.0 tmax=691113601.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 2.92
user 2.67
sys 0.21

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

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

Number of photons that the gtmktime cut: 503

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217282/ft1_filtered_4FGL_J0112.8+3208_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217282/ft2_4FGL_J0112.8+3208_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217282/ltcube_690854401_691113601_4FGL_J0112.8+3208_daily_bin1742.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/217282/ft2_4FGL_J0112.8+3208_daily_bin1742.fits
.....................!
real 16.42
user 15.97
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217282/ft1_filtered_4FGL_J0112.8+3208_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217282/ft2_4FGL_J0112.8+3208_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217282/ltcube_690854401_691113601_4FGL_J0112.8+3208_daily_bin1742.fits outfile=/scratch/kocevski/217282/expmap_690854401_691113601_4FGL_J0112.8+3208_daily_bin1742.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/217282/ltcube_690854401_691113601_4FGL_J0112.8+3208_daily_bin1742.fits
.....................!
real 191.92
user 185.87
sys 5.66

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/217282/ft1_filtered_4FGL_J0112.8+3208_daily_bin1742.fits scfile=/scratch/kocevski/217282/ft2_4FGL_J0112.8+3208_daily_bin1742.fits outfile=/scratch/kocevski/217282/cmap_690854401_691113601_4FGL_J0112.8+3208_daily_bin1742.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217282/ft1_filtered_4FGL_J0112.8+3208_daily_bin1742.fits scfile=/scratch/kocevski/217282/ft2_4FGL_J0112.8+3208_daily_bin1742.fits outfile=/scratch/kocevski/217282/cmap_HighResolution_690854401_691113601_4FGL_J0112.8+3208_daily_bin1742.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.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30184E-02   1.0000          .0000       .10000E+07
     2 'norm      '    6.4067       1.0000          .0000       .10000E+07
     3 'Prefactor '    16.419       1.0000          .0000       .10000E+07
     4 'Prefactor '    .48154E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .77627E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10096E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    23.596       1.0000          .0000       .10000E+07
     8 'norm      '    1.4189       1.0000          .0000       .10000E+07
     9 'norm      '    9.5381       1.0000          .0000       .10000E+07
    10 'Prefactor '    30.291       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2174       1.0000          .0000       .10000E+07
    12 'Prefactor '    .33271E-02   1.0000          .0000       .10000E+07
    13 'norm      '    2.6698       1.0000          .0000       .10000E+07
    14 'Prefactor '    27.696       1.0000          .0000       .10000E+07
    15 'norm      '    .68691       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.620       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37029E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22070E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .95559       1.0000          .0000       .10000E+07
    20 'Prefactor '    .30165E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2281       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82866       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=   5522.343     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1756 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25147E-07    7.7310       -.20999E-05** at limit **
   2  norm          6.4107        3.1140        .90611E-08   -.30698E-02
   3  Prefactor     16.446        14.273       -.57929E-06   -.15962E-02
   4  Prefactor     .11102E-09    4.6562        .45544E-08** at limit **
   5  Prefactor     .38303E-08    25.407       -.47540E-05** at limit **
   6  Prefactor     .99920E-09    8.2346       -.10931E-06** at limit **
   7  Prefactor     23.758        2.7294        .11922E-07    .34252E-02
   8  norm          1.4191        .89295        .11308E-07   -.10779E-01
   9  norm          9.5401        2.6614       -.87855E-08   -.90642E-03
  10  Prefactor     30.544        18.245        .17716E-05   -.29503E-01
  11  Prefactor     2.2092        5.4958       -.50210E-06   -.10205E-02
  12  Prefactor      .0000        43.859        .22596E-05** at limit **
  13  norm          2.6720        1.6969        .15720E-08    .30756E-02
  14  Prefactor     28.543        42.248        .30671E-05    .10632E-01
  15  norm          .68645        .73133       -.99249E-08   -.20095E-02
  16  Prefactor     20.624        3.1527        .27781E-06   -.88303E-02
  17  Prefactor     .33307E-09    2.4418       -.46759E-07** at limit **
  18  Prefactor     .77716E-09    21.533        .47361E-05** at limit **
  19  norm          .95504        12.581        .53216E-05   -.52778E-02
  20  Prefactor     .80491E-08    7.4543        .13262E-05** at limit **
  21  Normalizat    1.2276        .27254       -.63420E-06    .12631E-03
  22  Prefactor     .82853        .16370       -.29171E-05   -.16080E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.51466e-08
  norm       = 6.41065
  Prefactor  = 16.4455
  Prefactor  = 1.11022e-10
  Prefactor  = 3.83027e-09
  Prefactor  = 9.99201e-10
  Prefactor  = 23.7583
  norm       = 1.41908
  norm       = 9.5401
  Prefactor  = 30.5437
  Prefactor  = 2.20922
  Prefactor  = 0
  norm       = 2.67201
  Prefactor  = 28.5429
  norm       = 0.68645
  Prefactor  = 20.6245
  Prefactor  = 3.33067e-10
  Prefactor  = 7.77156e-10
  norm       = 0.955035
  Prefactor  = 8.04912e-09
  Normalizat = 1.22755
  Prefactor  = 0.828531
 **********
 **   18 **HESSE 
 **********

 FCN=   5522.343     FROM HESSE     STATUS=OK           390 CALLS     2146 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25147E-07    13.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4107        3.1148        .39630E-03   -1.5657    
   3  Prefactor     16.446        14.292        .24691E-03   -1.5627    
   4  Prefactor     .11102E-09    4.6432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38303E-08    25.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .99920E-09    8.2346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.758        23.297        .20591E-03   -1.5610    
   8  norm          1.4191        .90707        .90807E-03   -1.5684    
   9  norm          9.5401        2.6565        .32424E-03   -1.5646    
  10  Prefactor     30.544        51.269        .18172E-03   -1.5597    
  11  Prefactor     2.2092        6.0550        .69035E-03   -1.5678    
  12  Prefactor      .0000        43.706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.6720        1.6883        .62346E-03   -1.5675    
  14  Prefactor     28.543        45.293        .19005E-03   -1.5601    
  15  norm          .68645        .73440        .61778E-03   -1.5691    
  16  Prefactor     20.624        19.674        .22029E-03   -1.5617    
  17  Prefactor     .33307E-09    2.4552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .77716E-09    21.690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .95504        14.861        .42186E-03   -1.5688    
  20  Prefactor     .80491E-08    13.280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2276        .23655        .67306E-01   -.85756    
  22  Prefactor     .82853        .14034        .44089E-01   -.98685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91446e-07
Minuit parameter uncertainties:
  1  0.00115883
  2  3.11477
  3  14.2925
  4  4.74967e-05
  5  0.000626774
  6  0.00017949
  7  23.2974
  8  0.907074
  9  2.65646
  10  51.2695
  11  6.05498
  12  1.04853e-06
  13  1.68835
  14  45.2934
  15  0.734397
  16  19.6746
  17  5.75576e-05
  18  0.000262325
  19  7.53479
  20  0.000653879
  21  0.236754
  22  0.140398
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  9.540e+00  2.656e+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.285e-01  1.404e-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.228e+00  2.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 37.60
Ra Dec: 18.223 32.140
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 2.63e-07 +/- 7.32e-08
Energy Flux (Fixed Index): 9.45e-05 +/- 2.63e-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) = 5521.76985767
delta logL = 0.573213723634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5521.73973599
delta logL = 0.603335398379

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8736       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5946       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1435       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86192       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=   5521.740     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      240 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8737        2.6194        .53729E-05   -.27133E-01
   2  alpha         2.5945        .32283        .74798E-02   -.20899E-03
   3  Normalizat    1.1435        .28106        .30622E-03    .25765E-04
   4  Prefactor     .86192        .16635        .21118E-03    .59272E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.87366
  alpha      = 2.5945
  Normalizat = 1.14349
  Prefactor  = 0.861917
 **********
 **   18 **HESSE 
 **********

 FCN=   5521.740     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8737        2.5898        .10746E-05   -1.5648    
   2  alpha         2.5945        .31904        .29919E-03    .37807E-01
   3  Normalizat    1.1435        .28127        .12249E-04   -.88367    
   4  Prefactor     .86192        .16645        .84471E-05   -.97485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.19155e-10
Minuit parameter uncertainties:
  1  2.58977
  2  0.319912
  3  0.281644
  4  0.166546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217282': 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) = 5521.73973597
delta logL = 0.603335417881

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  8.874e+00  2.590e+00  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  2.594e+00  3.199e-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.619e-01  1.665e-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.143e+00  2.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 38.75
Ra Dec: 18.223 32.140
Photon Index (Free Index): 2.59 +/- 0.32
Photon Flux (Free Index): 3.32e-07 +/- 1.03e-07
Energy Flux (Free Index): 8.54e-05 +/- 2.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/217282/cmap_HighResolution_690854401_691113601_4FGL_J0112.8+3208_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.63e-07', energy_flux2='8.54e-05', photon_flux_error='7.32e-08', dlogl='6.03e-01', energy_flux='9.45e-05', photon_flux2='3.32e-07', job_status='DONE', time_completed='2022-11-26 00:19:28.188366', photon_index_error2='0.32', photon_index2='2.59', ts='37.60', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='2.29e-05', EG='1.23', time_epoch_completed='1669450768.19', return_code='0', job_id='217282', GAL2='0.86', EG2='1.14', return_code2='0', energy_flux_error='2.63e-05', photon_flux_error2='1.03e-07', ts2='38.75', photon_index='2.25' WHERE bin_id='1742' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:19:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 217282: <4FGL_J0112.8+3208_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:04:45 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:09:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:09:48 2022
Terminated at Sat Nov 26 00:19:29 2022
Results reported at Sat Nov 26 00:19:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1742 18.2227 32.1399 690854401 691113601 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 :                                   519.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   580 sec.
    Turnaround time :                            884 sec.

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

