aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 9 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 = 17288
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0112.1+2245_weekly_bin314
RA = 18.0294, Dec = 22.7515
tmin = 428889601, tmax = 429494401
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='85372', job_status='RUN', time_executed='2021-07-03 16:52:23.623963', time_epoch_executed='1625356343.62' WHERE source_name='4FGL J0112.1+2245' and cadence='weekly' and bin_id='314'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/85372

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/85372/ft1_4FGL_J0112.1+2245_weekly_bin314.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/85372/ft2_4FGL_J0112.1+2245_weekly_bin314.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/85372/ft1_4FGL_J0112.1+2245_weekly_bin314.fits outfile=/scratch/kocevski/85372/ft1_filteredMKT_4FGL_J0112.1+2245_weekly_bin314.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=428889601.0 tmax=429494401.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 14.93
user 14.02
sys 0.49

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/85372/ft2_4FGL_J0112.1+2245_weekly_bin314.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/85372/ft1_filteredMKT_4FGL_J0112.1+2245_weekly_bin314.fits evtable="EVENTS" outfile="/scratch/kocevski/85372/ft1_filtered_4FGL_J0112.1+2245_weekly_bin314.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.75
user 0.38
sys 0.19

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/85372/ft1_filtered_4FGL_J0112.1+2245_weekly_bin314.fits evtable="EVENTS" scfile=/scratch/kocevski/85372/ft2_4FGL_J0112.1+2245_weekly_bin314.fits sctable="SC_DATA" expcube=/scratch/kocevski/85372/ltcube_428889601_429494401_4FGL_J0112.1+2245_weekly_bin314.fits outfile=/scratch/kocevski/85372/expmap_428889601_429494401_4FGL_J0112.1+2245_weekly_bin314.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/85372/ltcube_428889601_429494401_4FGL_J0112.1+2245_weekly_bin314.fits
.....................!
real 193.18
user 185.35
sys 5.16

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/85372/ft1_filtered_4FGL_J0112.1+2245_weekly_bin314.fits scfile=/scratch/kocevski/85372/ft2_4FGL_J0112.1+2245_weekly_bin314.fits outfile=/scratch/kocevski/85372/cmap_428889601_429494401_4FGL_J0112.1+2245_weekly_bin314.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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/85372/ft1_filtered_4FGL_J0112.1+2245_weekly_bin314.fits scfile=/scratch/kocevski/85372/ft2_4FGL_J0112.1+2245_weekly_bin314.fits outfile=/scratch/kocevski/85372/cmap_HighResolution_428889601_429494401_4FGL_J0112.1+2245_weekly_bin314.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.58
user 0.43
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/85372/ft1_filtered_4FGL_J0112.1+2245_weekly_bin314.fits', '/scratch/kocevski/85372/ft2_4FGL_J0112.1+2245_weekly_bin314.fits', expMap='/scratch/kocevski/85372/expmap_428889601_429494401_4FGL_J0112.1+2245_weekly_bin314.fits', expCube='/scratch/kocevski/85372/ltcube_428889601_429494401_4FGL_J0112.1+2245_weekly_bin314.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/85372/Model_4FGL_J0112.1+2245_weekly_bin314.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/85372/ft1_filtered_4FGL_J0112.1+2245_weekly_bin314.fits
Spacecraft file(s): /scratch/kocevski/85372/ft2_4FGL_J0112.1+2245_weekly_bin314.fits
Exposure map: /scratch/kocevski/85372/expmap_428889601_429494401_4FGL_J0112.1+2245_weekly_bin314.fits
Exposure cube: /scratch/kocevski/85372/ltcube_428889601_429494401_4FGL_J0112.1+2245_weekly_bin314.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/85372/Model_4FGL_J0112.1+2245_weekly_bin314.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) = 11343.4070426

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17910E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.969       1.0000         .10000E-03   10000.    
     5 'norm      '    7.4854       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.258       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.2393       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .29973E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10980E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4881       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6550       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.0493       1.0000         .10000E-03   10000.    
    19 'norm      '    1.9658       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.708       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .70003       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1959       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=   11343.40     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2378 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.597        .85457E-05** at limit **
   2  Prefactor     .10000E-03    1.3004       -.11496E-05** at limit **
   3  norm          .10000E-03    7.1863       -.55424E-07** at limit **
   4  Prefactor     26.949        22.971        .11892E-04    .26194E-03
   5  norm          7.4833        5.4007       -.19627E-05    .14664E-03
   6  Prefactor     13.261        10.048       -.57869E-06    .79270E-04
   7  Prefactor     .10000E-03    2.6145        .85012E-08** at limit **
   8  Prefactor     .10000E-03    20.161        .10388E-05** at limit **
   9  Prefactor     .10000E-03    6.7369       -.94262E-07** at limit **
  10  norm          1.2393        .45139        .27989E-07    .25743E-03
  11  norm          .10000E-03    .26066       -.54614E-08** at limit **
  12  Prefactor     .10008E-03    4.1882       -.56891E-06** at limit **
  13  Prefactor     .10000E-03    37.096        .72980E-06** at limit **
  14  Prefactor     3.4859        3.0464        .14462E-07   -.16274E-03
  15  Prefactor     6.6536        6.1705        .81476E-06   -.26884E-03
  16  Prefactor     .10000E-03    5.8747        .14977E-06** at limit **
  17  Prefactor     .10000E-03    19.813       -.74237E-05** at limit **
  18  Prefactor     2.9452        99.573       -.20422E-04   -.14450E-04
  19  norm          1.9658        .58236        .75278E-07    .14807E-03
  20  Prefactor     10.709        9.0013        .60317E-06   -.64514E-04
  21  Normalizat    .69989        .16156       -.20329E-05    .29643E-03
  22  Prefactor     1.1960        .10236        .34926E-06    .39636E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 26.949
  norm       = 7.48327
  Prefactor  = 13.2608
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.23932
  norm       = 0.0001
  Prefactor  = 0.000100076
  Prefactor  = 0.0001
  Prefactor  = 3.48595
  Prefactor  = 6.6536
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.94518
  norm       = 1.96581
  Prefactor  = 10.7095
  Normalizat = 0.699893
  Prefactor  = 1.19597
 **********
 **   18 **HESSE 
 **********

 FCN=   11343.40     FROM HESSE     STATUS=OK           342 CALLS     2720 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.969        .23042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.2605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.949        22.935        .77142E-04   -1.4669    
   5  norm          7.4833        5.3838        .14659E-03   -1.5161    
   6  Prefactor     13.261        10.052        .11001E-03   -1.4979    
   7  Prefactor     .10000E-03    2.6182        .16818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.7393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.2393        .45432        .41621E-04   -1.5485    
  11  norm          .10000E-03    .26863        .10606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10008E-03    30.412        .41805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    37.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4859        3.0396        .16823E-03   -1.5335    
  15  Prefactor     6.6536        6.1459        .15555E-03   -1.5192    
  16  Prefactor     .10000E-03    5.9407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.9452        100.06        .23234E-03   -1.5365    
  19  norm          1.9658        .58128        .42180E-04   -1.5428    
  20  Prefactor     10.709        8.9817        .12244E-03   -1.5053    
  21  Normalizat    .69989        .17885        .35552E-03   -1.0390    
  22  Prefactor     1.1960        .11555        .18524E-03   -.86455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98593e-09
Minuit parameter uncertainties:
  1  1.21954e-06
  2  0.000393943
  3  2.6493e-05
  4  22.943
  5  5.38411
  6  10.053
  7  1.28838e-06
  8  1.42651e-05
  9  3.19579e-06
  10  0.454323
  11  4.20072e-08
  12  0.00304062
  13  5.47268e-05
  14  3.03971
  15  6.14645
  16  2.25904e-05
  17  3.4186e-05
  18  34.3956
  19  0.581287
  20  8.98287
  21  0.179
  22  0.11557
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.239e+00  4.543e-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:  1.196e+00  1.156e-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:  6.999e-01  1.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 35.70
Ra Dec: 18.029 22.752
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 6.36e-08 +/- 2.33e-08
Energy Flux (Fixed Index): 3.67e-05 +/- 1.35e-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) = 11340.7535077
delta logL = 2.64486638529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11340.745968
delta logL = 2.65240614581

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68779       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2367       1.0000          .0000       5.0000    
     3 'Normalizat'    .73526       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1897       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=   11340.75     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      214 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68785        .32401        .80569E-02   -.61218E-03
   2  alpha         1.2366        .22847        .22489       -.83443E-04
   3  Normalizat    .73531        .15172        .78512E-01    .48292E-04
   4  Prefactor     1.1897        .10126        .34878E-01   -.53900E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.687851
  alpha      = 1.23661
  Normalizat = 0.735313
  Prefactor  = 1.1897
 **********
 **   18 **HESSE 
 **********

 FCN=   11340.75     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68785        .43534        .34923E-04   -1.5542    
   2  alpha         1.2366        .31529        .94947E-02   -.52979    
   3  Normalizat    .73531        .17147        .34760E-03   -1.0252    
   4  Prefactor     1.1897        .11476        .18578E-03   -.86649    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9009e-12
Minuit parameter uncertainties:
  1  0.435346
  2  0.316427
  3  0.171597
  4  0.11478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/85372': 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) = 11340.7459678
delta logL = 2.65240634905

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  6.879e-01  4.353e-01  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  1.237e+00  3.164e-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:  1.190e+00  1.148e-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:  7.353e-01  1.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 40.95
Ra Dec: 18.029 22.752
Photon Index (Free Index): 1.24 +/- 0.32
Photon Flux (Free Index): 2.38e-08 +/- 1.39e-08
Energy Flux (Free Index): 1.01e-04 +/- 6.57e-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/85372/cmap_HighResolution_428889601_429494401_4FGL_J0112.1+2245_weekly_bin314.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.36e-08', energy_flux2='1.01e-04', photon_flux_error='2.33e-08', dlogl='2.65e+00', energy_flux='3.67e-05', photon_flux2='2.38e-08', job_status='DONE', time_completed='2021-07-03 17:06:44.190249', photon_index_error2='0.32', photon_index2='1.24', ts='35.70', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='6.57e-05', EG='0.70', time_epoch_completed='1625357204.19', return_code='0', job_id='85372', GAL2='1.19', EG2='0.74', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='1.39e-08', ts2='40.95', photon_index='2.01' WHERE bin_id='314' AND source_name='4FGL J0112.1+2245' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 17:06:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 85372: <4FGL_J0112.1+2245_weekly_bin314> in cluster <slac> Done

Job <4FGL_J0112.1+2245_weekly_bin314> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul  3 16:51:43 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 16:51:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 16:51:43 2021
Terminated at Sat Jul  3 17:06:44 2021
Results reported at Sat Jul  3 17:06:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_weekly_bin314 18.0294 22.7515 428889601 429494401 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 :                                   847.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            901 sec.

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

