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


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1768
RA = 18.2227, Dec = 32.1399
tmin = 697593601, tmax = 697852801
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='258194', job_status='RUN', time_executed='2023-02-12 00:08:37.741872', time_epoch_executed='1676189317.74' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/258194

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/258194/ft1_4FGL_J0112.8+3208_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/258194/ft2_4FGL_J0112.8+3208_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/258194/ft1_4FGL_J0112.8+3208_daily_bin1768.fits outfile=/scratch/kocevski/258194/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1768.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=697593601.0 tmax=697852801.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.70
user 3.43
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/258194/ft2_4FGL_J0112.8+3208_daily_bin1768.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/258194/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/258194/ft1_filtered_4FGL_J0112.8+3208_daily_bin1768.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.17

Number of photons that the gtmktime cut: 751

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/258194/ft1_filtered_4FGL_J0112.8+3208_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/258194/ft2_4FGL_J0112.8+3208_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/258194/ltcube_697593601_697852801_4FGL_J0112.8+3208_daily_bin1768.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/258194/ft2_4FGL_J0112.8+3208_daily_bin1768.fits
.....................!
real 13.62
user 13.12
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/258194/ft1_filtered_4FGL_J0112.8+3208_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/258194/ft2_4FGL_J0112.8+3208_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/258194/ltcube_697593601_697852801_4FGL_J0112.8+3208_daily_bin1768.fits outfile=/scratch/kocevski/258194/expmap_697593601_697852801_4FGL_J0112.8+3208_daily_bin1768.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/258194/ltcube_697593601_697852801_4FGL_J0112.8+3208_daily_bin1768.fits
.....................!
real 192.17
user 186.10
sys 5.60

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/258194/ft1_filtered_4FGL_J0112.8+3208_daily_bin1768.fits scfile=/scratch/kocevski/258194/ft2_4FGL_J0112.8+3208_daily_bin1768.fits outfile=/scratch/kocevski/258194/cmap_697593601_697852801_4FGL_J0112.8+3208_daily_bin1768.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.59
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/258194/ft1_filtered_4FGL_J0112.8+3208_daily_bin1768.fits scfile=/scratch/kocevski/258194/ft2_4FGL_J0112.8+3208_daily_bin1768.fits outfile=/scratch/kocevski/258194/cmap_HighResolution_697593601_697852801_4FGL_J0112.8+3208_daily_bin1768.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.179       1.0000          .0000       .10000E+07
     2 'norm      '    5.9928       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5660       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.6276       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19969E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.918       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.5080       1.0000          .0000       .10000E+07
     8 'norm      '    .39935       1.0000          .0000       .10000E+07
     9 'norm      '    .80196       1.0000          .0000       .10000E+07
    10 'Prefactor '    .51788E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .39813E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1434       1.0000          .0000       .10000E+07
    13 'norm      '    .89477       1.0000          .0000       .10000E+07
    14 'Prefactor '    .17821E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .62284E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .63394E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .71086E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15681E-02   1.0000          .0000       .10000E+07
    19 'norm      '    2.5150       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27044E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1069       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1206       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=   8289.360     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1784 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.046        2.6710       -.32427E-06   -.15665E-02
   2  norm          5.9966        2.6812        .20913E-07    .14873E-01
   3  Prefactor     3.6670        3.9495        .12609E-05    .34951E-01
   4  Prefactor     2.6112        4.0354       -.40209E-07   -.96262E-03
   5  Prefactor     .99920E-09    3.9751        .11569E-05** at limit **
   6  Prefactor     10.970        9.5302        .94789E-06    .27101E-02
   7  Prefactor     8.4636        3.5801        .68144E-06    .19206E-01
   8  norm          .39867        .46370       -.23017E-07    .75917E-02
   9  norm          .80154        1.3610        .11605E-06   -.37038E-02
  10  Prefactor     .11896E-06    33.957       -.65892E-05** at limit **
  11  Prefactor      .0000        3.5550        .17638E-06** at limit **
  12  Prefactor     4.2355        13.353       -.79008E-06   -.10418E-02
  13  norm          .89403        .80422        .78189E-07    .85927E-02
  14  Prefactor     .20761E-07    9.8180       -.21892E-05** at limit **
  15  norm           .0000        .20258       -.77480E-07** at limit **
  16  Prefactor     .18552E-06    31.331        .88791E-05** at limit **
  17  Prefactor     .92222E-01    20.020        .87261E-06** at limit **
  18  Prefactor     .19373E-07    10.271       -.33179E-05** at limit **
  19  norm          2.4839        5.4514       -.31207E-06    .22077E-02
  20  Prefactor     .11102E-08    5.5931        .52175E-06** at limit **
  21  Normalizat    1.1065        .23082       -.46631E-05    .54259E-03
  22  Prefactor     1.1207        .13945       -.20028E-05    .78077E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0464
  norm       = 5.99664
  Prefactor  = 3.66701
  Prefactor  = 2.61115
  Prefactor  = 9.99201e-10
  Prefactor  = 10.97
  Prefactor  = 8.46357
  norm       = 0.398668
  norm       = 0.801544
  Prefactor  = 1.1896e-07
  Prefactor  = 0
  Prefactor  = 4.23551
  norm       = 0.894033
  Prefactor  = 2.07612e-08
  norm       = 0
  Prefactor  = 1.85518e-07
  Prefactor  = 0.0922222
  Prefactor  = 1.93734e-08
  norm       = 2.48392
  Prefactor  = 1.11022e-09
  Normalizat = 1.10653
  Prefactor  = 1.1207
 **********
 **   18 **HESSE 
 **********

 FCN=   8289.360     FROM HESSE     STATUS=OK           398 CALLS     2182 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.046        26.936        .19185E-03   -1.5604    
   2  norm          5.9966        2.6939        .40993E-03   -1.5659    
   3  Prefactor     3.6670        13.770        .53494E-03   -1.5670    
   4  Prefactor     2.6112        4.0760        .62885E-03   -1.5676    
   5  Prefactor     .99920E-09    3.9677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.970        10.470        .30296E-03   -1.5642    
   7  Prefactor     8.4636        11.628        .34343E-03   -1.5650    
   8  norm          .39867        .54684        .15128E-02   -1.5695    
   9  norm          .80154        1.3670        .52789E-03   -1.5690    
  10  Prefactor     .11896E-06    34.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.5433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2355        13.490        .49494E-03   -1.5667    
  13  norm          .89403        .80241        .46122E-03   -1.5689    
  14  Prefactor     .20761E-07    19.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .20248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .18552E-06    32.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .92222E-01    1.5764        .68228E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .19373E-07    19.950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.4839        5.4556        .64398E-03   -1.5676    
  20  Prefactor     .11102E-08    5.5863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1065        .20464        .72295E-01   -.89542    
  22  Prefactor     1.1207        .12103        .36852E-01   -.88808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64188e-07
Minuit parameter uncertainties:
  1  26.9361
  2  2.69387
  3  13.77
  4  4.07602
  5  0.000126688
  6  10.47
  7  11.6282
  8  0.546837
  9  1.36704
  10  0.00407391
  11  1.46753e-05
  12  13.4904
  13  0.802414
  14  0.00128277
  15  1.17814e-06
  16  0.00491579
  17  0.762577
  18  0.00124421
  19  5.45559
  20  0.000157506
  21  0.204782
  22  0.121063
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  8.015e-01  1.367e+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.121e+00  1.211e-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.107e+00  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.42
Ra Dec: 18.223 32.140
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/258194/likelihoodResults_697593601_697852801_4FGL_J0112.8+3208_daily_bin1768.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8287.40309715
delta logL = 1.95711020618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8287.3775693
delta logL = 1.98263805562

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58373       1.0000          .0000       .10000E+07
     2 'alpha     '    4.1242       1.0000          .0000       5.0000    
     3 'Normalizat'    .97505       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1693       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=   8287.378     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      247 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58375        1.3097        .36232E-05    .30888E-01
   2  alpha         4.1244        1.5125        .20484E-01    .42728E-04
   3  Normalizat    .97491        .23381        .33795E-03    .14533E-04
   4  Prefactor     1.1693        .14299        .19463E-03   -.46191E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.583749
  alpha      = 4.12441
  Normalizat = 0.974913
  Prefactor  = 1.16934
 **********
 **   18 **HESSE 
 **********

 FCN=   8287.378     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58375        .80385        .14493E-06   -1.5693    
   2  alpha         4.1244        1.0165        .81936E-03    .70728    
   3  Normalizat    .97491        .23388        .13518E-04   -.93876    
   4  Prefactor     1.1693        .14259        .38926E-04   -.87280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68576e-10
Minuit parameter uncertainties:
  1  0.80385
  2  1.07259
  3  0.234128
  4  0.14264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/258194': 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) = 8287.37756905
delta logL = 1.98263831129

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  5.837e-01  8.038e-01  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  4.124e+00  1.073e+00  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.169e+00  1.426e-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:  9.749e-01  2.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.73
Ra Dec: 18.223 32.140
Photon Index (Free Index): 4.12 +/- 1.07
Photon Flux (Free Index): 1.28e-07 +/- 7.22e-08
Energy Flux (Free Index): 1.90e-05 +/- 1.07e-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/258194/cmap_HighResolution_697593601_697852801_4FGL_J0112.8+3208_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.76e-05', comment='SUCCESS', energy_flux2='1.90e-05', dlogl='1.98e+00', photon_flux2='1.28e-07', job_status='DONE', time_completed='2023-02-12 00:19:55.493138', photon_index_error2='1.07', photon_index2='4.12', ts='0.42', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.07e-05', EG='1.11', time_epoch_completed='1676189995.49', return_code='0', job_id='258194', GAL2='1.17', EG2='0.97', return_code2='0', photon_flux_error2='7.22e-08', ts2='4.73', photon_index='2.25' WHERE bin_id='1768' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 00:19:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 258151: <4FGL_J0112.8+3208_daily_bin1768> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1768> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Feb 12 00:05:20 2023
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:06:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:06:33 2023
Terminated at Sun Feb 12 00:19:17 2023
Results reported at Sun Feb 12 00:19:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1768 18.2227 32.1399 697593601 697852801 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 :                                   668.48 sec.
    Max Memory :                                 617 MB
    Average Memory :                             292.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            837 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 258194: <4FGL_J0112.8+3208_daily_bin1768> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1768> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Feb 12 00:05:22 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:06:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:06:47 2023
Terminated at Sun Feb 12 00:19:55 2023
Results reported at Sun Feb 12 00:19:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1768 18.2227 32.1399 697593601 697852801 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 :                                   677.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            873 sec.

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

