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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1770
RA = 18.0294, Dec = 22.7515
tmin = 698112001, tmax = 698371201
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='474954', job_status='RUN', time_executed='2023-02-18 00:05:32.787510', time_epoch_executed='1676707532.79' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474954

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474954/ft1_4FGL_J0112.1+2245_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474954/ft2_4FGL_J0112.1+2245_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474954/ft1_4FGL_J0112.1+2245_daily_bin1770.fits outfile=/scratch/kocevski/474954/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1770.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=698112001.0 tmax=698371201.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.45
user 3.09
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474954/ft2_4FGL_J0112.1+2245_daily_bin1770.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/474954/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/474954/ft1_filtered_4FGL_J0112.1+2245_daily_bin1770.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.54
user 0.26
sys 0.15

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474954/ft1_filtered_4FGL_J0112.1+2245_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/474954/ft2_4FGL_J0112.1+2245_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/474954/ltcube_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.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/474954/ft2_4FGL_J0112.1+2245_daily_bin1770.fits
.....................!
real 9.34
user 8.88
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474954/ft1_filtered_4FGL_J0112.1+2245_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/474954/ft2_4FGL_J0112.1+2245_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/474954/ltcube_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.fits outfile=/scratch/kocevski/474954/expmap_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.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/474954/ltcube_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.fits
.....................!
real 149.20
user 144.49
sys 4.20

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/474954/ft1_filtered_4FGL_J0112.1+2245_daily_bin1770.fits scfile=/scratch/kocevski/474954/ft2_4FGL_J0112.1+2245_daily_bin1770.fits outfile=/scratch/kocevski/474954/cmap_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.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.68
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474954/ft1_filtered_4FGL_J0112.1+2245_daily_bin1770.fits scfile=/scratch/kocevski/474954/ft2_4FGL_J0112.1+2245_daily_bin1770.fits outfile=/scratch/kocevski/474954/cmap_HighResolution_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.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.52
user 0.32
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/474954/ft1_filtered_4FGL_J0112.1+2245_daily_bin1770.fits', '/scratch/kocevski/474954/ft2_4FGL_J0112.1+2245_daily_bin1770.fits', expMap='/scratch/kocevski/474954/expmap_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.fits', expCube='/scratch/kocevski/474954/ltcube_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/474954/Model_4FGL_J0112.1+2245_daily_bin1770.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  0.000e+00  1.000e+06 ( 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 -5.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/474954/ft1_filtered_4FGL_J0112.1+2245_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/474954/ft2_4FGL_J0112.1+2245_daily_bin1770.fits
Exposure map: /scratch/kocevski/474954/expmap_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.fits
Exposure cube: /scratch/kocevski/474954/ltcube_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/474954/Model_4FGL_J0112.1+2245_daily_bin1770.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) = 8005.01696698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.116       1.0000          .0000       .10000E+07
     2 'norm      '    11.332       1.0000          .0000       .10000E+07
     3 'Prefactor '    .67002E-07   1.0000          .0000       .10000E+07
     4 'norm      '    5.3749       1.0000          .0000       .10000E+07
     5 'Prefactor '    .62246E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.822       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11882E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .29803       1.0000          .0000       .10000E+07
     9 'norm      '    .61062E-09   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.8900       1.0000          .0000       .10000E+07
    11 'Prefactor '    .48108       1.0000          .0000       .10000E+07
    12 'Prefactor '    .66152E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    22.704       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.960       1.0000          .0000       .10000E+07
    15 'norm      '    4.1439       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8682       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0419       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0045       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8004.890     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1391 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.112        5.5075        .87194E-08    .38463E-03
   2  norm          11.264        10.048        .16564E-06   -.51421E-03
   3  Prefactor      .0000        6.3397       -.24017E-06** at limit **
   4  norm          5.3489        5.4693       -.12633E-06    .72931E-03
   5  Prefactor     .55511E-10    8.7132        .67902E-06** at limit **
   6  Prefactor     15.831        14.372        .41506E-06    .90862E-03
   7  Prefactor      .0000        16.466        .19585E-06** at limit **
   8  norm          .29929        .41621        .36729E-08    .51673E-02
   9  norm           .0000        1.9921        .27076E-06** at limit **
  10  Prefactor     7.7766        9.2951        .23639E-06   -.17344E-03
  11  Prefactor     .94369E-09    834.29       -.39486E-04** at limit **
  12  Prefactor     .55511E-10    99.219       -.69804E-05** at limit **
  13  Prefactor     22.322        15.267        .14011E-05    .23092E-02
  14  Prefactor     17.696        46.236       -.40756E-05    .39358E-03
  15  norm          4.1419        .96070       -.14567E-07    .61502E-02
  16  Prefactor     1.8477        7.2414       -.10951E-06    .17595E-03
  17  Normalizat    1.0424        .22287       -.92920E-05    .34489E-03
  18  Prefactor     1.0039        .14433        .25805E-05    .48625E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.1115
  norm       = 11.2644
  Prefactor  = 0
  norm       = 5.34892
  Prefactor  = 5.55112e-11
  Prefactor  = 15.8307
  Prefactor  = 0
  norm       = 0.29929
  norm       = 0
  Prefactor  = 7.77663
  Prefactor  = 9.4369e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 22.322
  Prefactor  = 17.6963
  norm       = 4.14187
  Prefactor  = 1.84774
  Normalizat = 1.04239
  Prefactor  = 1.00385
 **********
 **   18 **HESSE 
 **********

 FCN=   8004.890     FROM HESSE     STATUS=OK           308 CALLS     1699 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.112        5.5074        .22303E-03   -1.5618    
   2  norm          11.264        10.051        .29735E-03   -1.5641    
   3  Prefactor      .0000        6.3531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.3489        5.4726        .43323E-03   -1.5662    
   5  Prefactor     .55511E-10    8.7126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.831        14.470        .25153E-03   -1.5628    
   7  Prefactor      .0000        16.497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .29929        .49735        .16145E-02   -1.5697    
   9  norm           .0000        .65108        .24815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.7766        9.3118        .35673E-03   -1.5652    
  11  Prefactor     .94369E-09    50.076        .12649E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    4.7385        .56870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.322        15.678        .20992E-03   -1.5613    
  14  Prefactor     17.696        46.595        .26782E-03   -1.5624    
  15  norm          4.1419        .96071        .49491E-03   -1.5667    
  16  Prefactor     1.8477        7.2711        .76180E-03   -1.5681    
  17  Normalizat    1.0424        .19255        .70653E-01   -.91623    
  18  Prefactor     1.0039        .12351        .44292E-01   -.92601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06503e-09
Minuit parameter uncertainties:
  1  5.50735
  2  10.0509
  3  2.42472e-05
  4  5.47265
  5  3.70147e-05
  6  14.4701
  7  3.65365e-05
  8  0.497353
  9  4.73497e-06
  10  9.31186
  11  0.000435526
  12  3.92041e-05
  13  15.6778
  14  46.5959
  15  0.960714
  16  7.27112
  17  0.192675
  18  0.123542
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  2.993e-01  4.974e-01  0.000e+00  1.000e+06 ( 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 -5.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.004e+00  1.235e-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.042e+00  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/474954/likelihoodResults_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.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) = 8004.58461929
delta logL = 0.305680684204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8004.56224461
delta logL = 0.328055369261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22540       1.0000          .0000       .10000E+07
     2 'alpha     '    1.2958       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0530       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99954       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=   8004.562     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      216 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22471        .30250        .10589E-02** at limit **
   2  alpha         1.2946        .43250        .49882       -.54518E-04
   3  Normalizat    1.0525        .18518        .70336E-01    .26485E-04
   4  Prefactor     .99981        .12164        .46261E-01   -.15125E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.224712
  alpha      = 1.29459
  Normalizat = 1.05253
  Prefactor  = 0.999814
 **********
 **   18 **HESSE 
 **********

 FCN=   8004.562     FROM HESSE     STATUS=OK            35 CALLS      251 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22471        .32860        .54946E-04   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2946        .70858        .17149E-01   -.50312    
   3  Normalizat    1.0525        .21762        .31121E-03   -.91291    
   4  Prefactor     .99981        .14320        .20808E-03   -.92736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.12072e-09
Minuit parameter uncertainties:
  1  0.328599
  2  0.721562
  3  0.217804
  4  0.143252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474954': 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) = 8004.56223966
delta logL = 0.328060313994

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  2.247e-01  3.286e-01  0.000e+00  1.000e+06 ( 1.000e-11)
249        alpha:  1.295e+00  7.216e-01  0.000e+00  5.000e+00 ( 1.000e+00)
250         beta:  5.709e-02  0.000e+00 -5.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.998e-01  1.433e-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.053e+00  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 18.029 22.752
Photon Index (Free Index): 1.29 +/- 0.72
Photon Flux (Free Index): 7.72e-09 +/- 1.11e-08
Energy Flux (Free Index): 2.76e-05 +/- 4.61e-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/474954/cmap_HighResolution_698112001_698371201_4FGL_J0112.1+2245_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', comment='SUCCESS', energy_flux2='2.76e-05', dlogl='3.28e-01', photon_flux2='7.72e-09', job_status='DONE', time_completed='2023-02-18 00:13:46.486010', photon_index_error2='0.72', photon_index2='1.29', ts='0.80', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='7.31e-08', energy_flux_error2='4.61e-05', EG='1.04', time_epoch_completed='1676708026.49', return_code='0', job_id='474954', GAL2='1.00', EG2='1.05', return_code2='0', photon_flux_error2='1.11e-08', ts2='1.45', photon_index='2.01' WHERE bin_id='1770' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:13:46 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0026>
Subject: Job 474954: <4FGL_J0112.1+2245_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 00:05:06 2023
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:05:08 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:05:08 2023
Terminated at Sat Feb 18 00:13:46 2023
Results reported at Sat Feb 18 00:13:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1770 18.0294 22.7515 698112001 698371201 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 :                                   481.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   518 sec.
    Turnaround time :                            520 sec.

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

