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 24 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1684
RA = 18.0294, Dec = 22.7515
tmin = 675820801, tmax = 676080001
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='180937', job_status='RUN', time_executed='2022-06-05 00:06:40.175672', time_epoch_executed='1654412800.18' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/180937

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/180937/ft1_4FGL_J0112.1+2245_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/180937/ft1_4FGL_J0112.1+2245_daily_bin1684.fits outfile=/scratch/kocevski/180937/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1684.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=675820801.0 tmax=676080001.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 4.47
user 4.20
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.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/180937/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/180937/ft1_filtered_4FGL_J0112.1+2245_daily_bin1684.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.34
sys 0.15

Number of photons that the gtmktime cut: 683

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/180937/ft1_filtered_4FGL_J0112.1+2245_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/180937/ltcube_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.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/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.fits
.....................!
real 18.29
user 17.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/180937/ft1_filtered_4FGL_J0112.1+2245_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/180937/ltcube_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.fits outfile=/scratch/kocevski/180937/expmap_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.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/180937/ltcube_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.fits
.....................!
real 191.96
user 186.91
sys 4.58

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.1+2245 @ 18.0294 22.7515

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/180937/ft1_filtered_4FGL_J0112.1+2245_daily_bin1684.fits scfile=/scratch/kocevski/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.fits outfile=/scratch/kocevski/180937/cmap_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.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.0294 yref=22.7515 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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/180937/ft1_filtered_4FGL_J0112.1+2245_daily_bin1684.fits scfile=/scratch/kocevski/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.fits outfile=/scratch/kocevski/180937/cmap_HighResolution_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.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.0294 yref=22.7515 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.77
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/180937/ft1_filtered_4FGL_J0112.1+2245_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/180937/Model_4FGL_J0112.1+2245_daily_bin1684.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/180937/ft1_filtered_4FGL_J0112.1+2245_daily_bin1684.fits.....................!
real 80.90
user 79.21
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/180937/ft1_filtered_4FGL_J0112.1+2245_daily_bin1684.fits', '/scratch/kocevski/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.fits', expMap='/scratch/kocevski/180937/expmap_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.fits', expCube='/scratch/kocevski/180937/ltcube_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/180937/Model_4FGL_J0112.1+2245_daily_bin1684.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0112.1+2245'

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.596e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  2.006e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
250         beta:  5.709e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
251           Eb:  7.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/180937/ft1_filtered_4FGL_J0112.1+2245_daily_bin1684.fits
Spacecraft file(s): /scratch/kocevski/180937/ft2_4FGL_J0112.1+2245_daily_bin1684.fits
Exposure map: /scratch/kocevski/180937/expmap_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.fits
Exposure cube: /scratch/kocevski/180937/ltcube_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/180937/Model_4FGL_J0112.1+2245_daily_bin1684.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) = 7688.15783885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.175       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .42425E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9278       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.481       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .37935       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0532       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.014       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0939       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.121       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8346       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.832       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .85018       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1255       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7688.101     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2368 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.207        31.934       -.20176E-05   -.20305E-03
   2  Prefactor     .10000E-03    20.260        .17762E-04** at limit **
   3  norm          .10000E-03    3.8244        .48205E-07** at limit **
   4  Prefactor     .10000E-03    5.4585        .43861E-07** at limit **
   5  norm          .10000E-03    3.8993        .15172E-06** at limit **
   6  Prefactor     9.9281        12.001       -.12879E-06    .13782E-03
   7  Prefactor     14.478        13.058       -.13061E-06    .56157E-04
   8  Prefactor     .10000E-03    19.082        .96845E-07** at limit **
   9  Prefactor     .10001E-03    44.840        .16499E-05** at limit **
  10  norm          .37930        .64041       -.55313E-06   -.44747E-03
  11  norm          2.0533        1.6305       -.26749E-06   -.21708E-04
  12  Prefactor     17.015        11.755       -.21015E-06    .49413E-04
  13  Prefactor     7.1389        80.243        .36134E-05    .10018E-04
  14  Prefactor     12.120        7.6972       -.29128E-06    .43417E-03
  15  Prefactor     6.8377        8.2936       -.38029E-06    .13234E-03
  16  Prefactor     16.834        13.171       -.21072E-05    .93747E-04
  17  Prefactor     .10000E-03    19.613        .11202E-05** at limit **
  18  Prefactor     .10000E-03    33.854       -.48379E-06** at limit **
  19  norm          .85016        .58731       -.72320E-07    .29296E-03
  20  Prefactor     .10000E-03    8.3628        .55303E-06** at limit **
  21  Normalizat    1.1253        .19280        .53872E-06    .12822E-03
  22  Prefactor     .90466        .11796        .91457E-06    .72102E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.207
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.92809
  Prefactor  = 14.4783
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  norm       = 0.379299
  norm       = 2.05335
  Prefactor  = 17.0151
  Prefactor  = 7.13892
  Prefactor  = 12.1199
  Prefactor  = 6.83768
  Prefactor  = 16.8336
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.85016
  Prefactor  = 0.0001
  Normalizat = 1.12534
  Prefactor  = 0.904655
 **********
 **   18 **HESSE 
 **********

 FCN=   7688.101     FROM HESSE     STATUS=OK           344 CALLS     2712 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.207        31.988        .83206E-04   -1.4744    
   2  Prefactor     .10000E-03    19.948        .21027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.8435        .16746E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.4604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.9169        .16901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.9281        12.001        .12718E-03   -1.5078    
   7  Prefactor     14.478        13.035        .10525E-03   -1.4947    
   8  Prefactor     .10000E-03    19.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    45.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .37930        .62151        .84578E-04   -1.5585    
  11  norm          2.0533        1.6081        .89580E-04   -1.5421    
  12  Prefactor     17.015        11.772        .97101E-04   -1.4883    
  13  Prefactor     7.1389        79.186        .15061E-03   -1.5174    
  14  Prefactor     12.120        7.6024        .11506E-03   -1.5012    
  15  Prefactor     6.8377        8.2503        .15347E-03   -1.5185    
  16  Prefactor     16.834        13.051        .48811E-03   -1.4887    
  17  Prefactor     .10000E-03    19.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    33.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .85016        .57821        .53659E-04   -1.5524    
  20  Prefactor     .10000E-03    8.4729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1253        .22430        .29001E-03   -.88942    
  22  Prefactor     .90466        .13936        .20587E-03   -.95979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45107e-09
Minuit parameter uncertainties:
  1  32.0113
  2  0.000262182
  3  4.47178e-06
  4  5.8172e-06
  5  1.03616e-05
  6  12.0041
  7  13.0371
  8  2.24643e-05
  9  0.00136323
  10  0.621523
  11  1.60813
  12  11.7741
  13  47.6319
  14  7.60302
  15  8.2517
  16  13.0531
  17  0.000233413
  18  0.000101619
  19  0.57821
  20  7.53482e-06
  21  0.224489
  22  0.139417
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  3.793e-01  6.215e-01  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  2.006e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
250         beta:  5.709e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
251           Eb:  7.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  9.047e-01  1.394e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.125e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.45
Ra Dec: 18.029 22.752
Photon Flux Upper Limit: 9.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/180937/likelihoodResults_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.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) = 7687.46386224
delta logL = 0.63734491836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7687.44990517
delta logL = 0.651301990255

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39772       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8662       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91682       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7687.450     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39787        4.8077        .10061E-01    .20169E-02
   2  alpha         2.8662        3.8740        .41499        .33009E-04
   3  Normalizat    1.0842        .42138E-01    .66568E-01   -.18907E-03
   4  Prefactor     .91681        .27473E-01    .45219E-01   -.30737E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.397867
  alpha      = 2.86622
  Normalizat = 1.08425
  Prefactor  = 0.916805
 **********
 **   18 **HESSE 
 **********

 FCN=   7687.450     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39787        .58333        .46101E-03   -1.5582    
   2  alpha         2.8662        .91928        .14814E-01    .14702    
   3  Normalizat    1.0842        .21676        .29449E-03   -.90259    
   4  Prefactor     .91681        .13845        .20449E-03   -.95556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36907e-10
Minuit parameter uncertainties:
  1  0.58334
  2  0.941888
  3  0.216935
  4  0.138505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/180937': 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) = 7687.44990452
delta logL = 0.651302646054

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  3.979e-01  5.833e-01  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  2.866e+00  9.419e-01  0.000e+00  5.000e+00 ( 1.000e+00)
250         beta:  5.709e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
251           Eb:  7.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  9.168e-01  1.385e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.084e+00  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 18.029 22.752
Photon Index (Free Index): 2.87 +/- 0.94
Photon Flux (Free Index): 6.10e-08 +/- 5.32e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.26e-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/180937/cmap_HighResolution_675820801_676080001_4FGL_J0112.1+2245_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.20e-05', comment='SUCCESS', energy_flux2='1.35e-05', dlogl='6.51e-01', photon_flux2='6.10e-08', job_status='DONE', time_completed='2022-06-05 00:18:28.875599', photon_index_error2='0.94', photon_index2='2.87', ts='0.45', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='9.01e-08', energy_flux_error2='1.26e-05', EG='1.13', time_epoch_completed='1654413508.88', return_code='0', job_id='180937', GAL2='0.92', EG2='1.08', return_code2='0', photon_flux_error2='5.32e-08', ts2='1.78', photon_index='2.01' WHERE bin_id='1684' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:18:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 180937: <4FGL_J0112.1+2245_daily_bin1684> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1684> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jun  5 00:04:43 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:06:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:06:07 2022
Terminated at Sun Jun  5 00:18:29 2022
Results reported at Sun Jun  5 00:18:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1684 18.0294 22.7515 675820801 676080001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0112.1+2245 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   705.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            826 sec.

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

