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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1699
RA = 18.0294, Dec = 22.7515
tmin = 679708801, tmax = 679968001
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='117300', job_status='RUN', time_executed='2022-07-20 08:34:09.683449', time_epoch_executed='1658331249.68' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/117300

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/117300/ft1_4FGL_J0112.1+2245_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/117300/ft2_4FGL_J0112.1+2245_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/117300/ft1_4FGL_J0112.1+2245_daily_bin1699.fits outfile=/scratch/kocevski/117300/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1699.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=679708801.0 tmax=679968001.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.83
user 3.58
sys 0.22

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

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

Number of photons that the gtmktime cut: 803

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/117300/ft1_filtered_4FGL_J0112.1+2245_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/117300/ft2_4FGL_J0112.1+2245_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/117300/ltcube_679708801_679968001_4FGL_J0112.1+2245_daily_bin1699.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/117300/ft2_4FGL_J0112.1+2245_daily_bin1699.fits
.....................!
real 12.00
user 11.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/117300/ft1_filtered_4FGL_J0112.1+2245_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/117300/ft2_4FGL_J0112.1+2245_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/117300/ltcube_679708801_679968001_4FGL_J0112.1+2245_daily_bin1699.fits outfile=/scratch/kocevski/117300/expmap_679708801_679968001_4FGL_J0112.1+2245_daily_bin1699.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/117300/ltcube_679708801_679968001_4FGL_J0112.1+2245_daily_bin1699.fits
.....................!
real 190.77
user 186.15
sys 4.23

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/117300/ft1_filtered_4FGL_J0112.1+2245_daily_bin1699.fits scfile=/scratch/kocevski/117300/ft2_4FGL_J0112.1+2245_daily_bin1699.fits outfile=/scratch/kocevski/117300/cmap_679708801_679968001_4FGL_J0112.1+2245_daily_bin1699.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/117300/ft1_filtered_4FGL_J0112.1+2245_daily_bin1699.fits scfile=/scratch/kocevski/117300/ft2_4FGL_J0112.1+2245_daily_bin1699.fits outfile=/scratch/kocevski/117300/cmap_HighResolution_679708801_679968001_4FGL_J0112.1+2245_daily_bin1699.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    73.639       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3572       1.0000         .10000E-03   10000.    
     3 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .60406E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.3312       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1966       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7339       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10447E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12323E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4313       1.0000         .10000E-03   10000.    
    11 'norm      '    1.4932       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.7463       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.769       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .27088E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.9574       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6823       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .93783       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1881       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=   8886.676     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2713 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     73.648        50.353       -.10081E-05    .23290E-04
   2  Prefactor     3.3598        4.1735        .46521E-06    .51935E-04
   3  norm          .10000E-03    5.2301       -.53325E-06** at limit **
   4  Prefactor     .10000E-03    283.87       -.89950E-05** at limit **
   5  norm          4.3315        4.3138        .87214E-07   -.12772E-05
   6  Prefactor     2.1976        13.454       -.39574E-06    .92110E-05
   7  Prefactor     3.7307        11.232       -.46086E-06    .50542E-05
   8  Prefactor     .10000E-03    63.939       -.22164E-05** at limit **
   9  Prefactor     .10000E-03    19.029       -.36305E-06** at limit **
  10  norm          1.4312        .60898       -.56235E-07    .69477E-04
  11  norm          1.4930        1.3421       -.62796E-07    .81615E-04
  12  Prefactor     .10000E-03    4.8504       -.43314E-06** at limit **
  13  Prefactor     .10000E-03    8.9055       -.21922E-06** at limit **
  14  Prefactor     .10000E-03    1.1188       -.13063E-06** at limit **
  15  Prefactor     9.7479        8.0588       -.23265E-06    .79252E-05
  16  Prefactor     .10000E-03    5.1368       -.35575E-06** at limit **
  17  Prefactor     12.767        24.306       -.65979E-06   -.22823E-05
  18  Prefactor     .10000E-03    359.86       -.10434E-05** at limit **
  19  norm          1.9571        .67571       -.25407E-06   -.16488E-03
  20  Prefactor     1.6832        10.657       -.35266E-05   -.78468E-05
  21  Normalizat    .93781        .19015        .14355E-05   -.54370E-05
  22  Prefactor     1.1882        .12391       -.74829E-07    .68989E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 73.6481
  Prefactor  = 3.35976
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.33152
  Prefactor  = 2.19756
  Prefactor  = 3.73075
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.43124
  norm       = 1.49295
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.74787
  Prefactor  = 0.0001
  Prefactor  = 12.7668
  Prefactor  = 0.0001
  norm       = 1.95713
  Prefactor  = 1.68319
  Normalizat = 0.937815
  Prefactor  = 1.18816
 **********
 **   18 **HESSE 
 **********

 FCN=   8886.676     FROM HESSE     STATUS=OK           352 CALLS     3065 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     73.648        50.308        .46787E-04   -1.3989    
   2  Prefactor     3.3598        4.3155        .10182E-02   -1.5341    
   3  norm          .10000E-03    5.2417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    24.290        .11277       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.3315        4.3148        .18957E-03   -1.5292    
   6  Prefactor     2.1976        13.473        .27764E-03   -1.5411    
   7  Prefactor     3.7307        11.193        .20896E-03   -1.5322    
   8  Prefactor     .10000E-03    64.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4312        .60631        .46134E-04   -1.5469    
  11  norm          1.4930        1.3282        .95413E-04   -1.5464    
  12  Prefactor     .10000E-03    4.9053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.9094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.1210        .97369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.7479        8.0153        .12836E-03   -1.5083    
  16  Prefactor     .10000E-03    5.1582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.767        24.304        .11210E-03   -1.4993    
  18  Prefactor     .10000E-03    359.39        .21432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.9571        .67708        .43993E-04   -1.5428    
  20  Prefactor     1.6832        10.667        .16237E-02   -1.5448    
  21  Normalizat    .93781        .21769        .32953E-03   -.95144    
  22  Prefactor     1.1882        .14262        .19912E-03   -.86697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.33689e-10
Minuit parameter uncertainties:
  1  50.3375
  2  4.31591
  3  1.01532e-05
  4  8.83718e-06
  5  4.31514
  6  10.886
  7  11.1989
  8  0.000123672
  9  1.90488e-05
  10  0.606312
  11  1.32822
  12  6.04427e-06
  13  5.56857e-06
  14  1.25081e-06
  15  8.01616
  16  7.21767e-06
  17  24.3226
  18  0.000575302
  19  0.677085
  20  8.47653
  21  0.217897
  22  0.142665
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.431e+00  6.063e-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.188e+00  1.427e-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:  9.378e-01  2.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.05
Ra Dec: 18.029 22.752
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 7.35e-08 +/- 3.11e-08
Energy Flux (Fixed Index): 4.24e-05 +/- 1.80e-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) = 8886.64284378
delta logL = 0.0326969778343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8886.6420715
delta logL = 0.0334692590532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4203       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0977       1.0000          .0000       5.0000    
     3 'Normalizat'    .93018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1907       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=   8886.642     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      203 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4205        11.253        .90753E-02    .23420E-03
   2  alpha         2.0975        3.4943        .29130        .21338E-04
   3  Normalizat    .93055        .12514        .74720E-01    .26204E-04
   4  Prefactor     1.1905        .73164E-01    .34854E-01   -.24185E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.42049
  alpha      = 2.0975
  Normalizat = 0.93055
  Prefactor  = 1.19053
 **********
 **   18 **HESSE 
 **********

 FCN=   8886.642     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4205        .60019        .45171E-04   -1.5470    
   2  alpha         2.0975        .35641        .11431E-01   -.16170    
   3  Normalizat    .93055        .21091        .33066E-03   -.95395    
   4  Prefactor     1.1905        .14120        .19893E-03   -.86623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53533e-10
Minuit parameter uncertainties:
  1  0.600189
  2  0.357662
  3  0.211094
  4  0.141243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/117300': 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) = 8886.64206974
delta logL = 0.0334710111165

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.420e+00  6.002e-01  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  2.098e+00  3.577e-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.191e+00  1.412e-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:  9.305e-01  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.08
Ra Dec: 18.029 22.752
Photon Index (Free Index): 2.10 +/- 0.36
Photon Flux (Free Index): 8.03e-08 +/- 4.18e-08
Energy Flux (Free Index): 3.93e-05 +/- 1.99e-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/117300/cmap_HighResolution_679708801_679968001_4FGL_J0112.1+2245_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.35e-08', energy_flux2='3.93e-05', photon_flux_error='3.11e-08', dlogl='3.35e-02', energy_flux='4.24e-05', photon_flux2='8.03e-08', job_status='DONE', time_completed='2022-07-20 08:45:56.294703', photon_index_error2='0.36', photon_index2='2.10', ts='16.05', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='1.99e-05', EG='0.94', time_epoch_completed='1658331956.29', return_code='0', job_id='117300', GAL2='1.19', EG2='0.93', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='4.18e-08', ts2='16.08', photon_index='2.01' WHERE bin_id='1699' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 08:45:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 117300: <4FGL_J0112.1+2245_daily_bin1699> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 08:30:19 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 08:30:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 08:30:20 2022
Terminated at Wed Jul 20 08:45:57 2022
Results reported at Wed Jul 20 08:45:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1699 18.0294 22.7515 679708801 679968001 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 :                                   706.45 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             301.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            938 sec.

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

