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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1696
RA = 18.0294, Dec = 22.7515
tmin = 678931201, tmax = 679190401
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='785032', job_status='RUN', time_executed='2022-07-11 00:06:21.542982', time_epoch_executed='1657523181.54' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785032

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785032/ft1_4FGL_J0112.1+2245_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785032/ft2_4FGL_J0112.1+2245_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785032/ft1_4FGL_J0112.1+2245_daily_bin1696.fits outfile=/scratch/kocevski/785032/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1696.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=678931201.0 tmax=679190401.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.44
user 3.32
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785032/ft2_4FGL_J0112.1+2245_daily_bin1696.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/785032/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/785032/ft1_filtered_4FGL_J0112.1+2245_daily_bin1696.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 1.79
user 0.29
sys 0.20

Number of photons that the gtmktime cut: 705

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785032/ft1_filtered_4FGL_J0112.1+2245_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/785032/ft2_4FGL_J0112.1+2245_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/785032/ltcube_678931201_679190401_4FGL_J0112.1+2245_daily_bin1696.fits outfile=/scratch/kocevski/785032/expmap_678931201_679190401_4FGL_J0112.1+2245_daily_bin1696.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/785032/ltcube_678931201_679190401_4FGL_J0112.1+2245_daily_bin1696.fits
.....................!
real 191.92
user 185.87
sys 5.29

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/785032/ft1_filtered_4FGL_J0112.1+2245_daily_bin1696.fits scfile=/scratch/kocevski/785032/ft2_4FGL_J0112.1+2245_daily_bin1696.fits outfile=/scratch/kocevski/785032/cmap_678931201_679190401_4FGL_J0112.1+2245_daily_bin1696.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.75
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785032/ft1_filtered_4FGL_J0112.1+2245_daily_bin1696.fits scfile=/scratch/kocevski/785032/ft2_4FGL_J0112.1+2245_daily_bin1696.fits outfile=/scratch/kocevski/785032/cmap_HighResolution_678931201_679190401_4FGL_J0112.1+2245_daily_bin1696.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.64
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5029       1.0000         .10000E-03   10000.    
     5 'norm      '    5.7772       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .32440E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .86337       1.0000         .10000E-03   10000.    
    11 'norm      '    .21493       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4089       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.179       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.197       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1070       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    82.552       1.0000         .10000E-03   10000.    
    19 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.0698       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1475       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88105       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=   7703.947     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2410 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.001        .16598E-05** at limit **
   2  Prefactor     .10000E-03    1.4529        .38293E-07** at limit **
   3  norm          .10000E-03    13.729       -.10188E-05** at limit **
   4  Prefactor     5.5026        15.031        .16556E-05    .57534E-05
   5  norm          5.7783        6.4792        .53397E-07   -.59885E-05
   6  Prefactor     .10000E-03    7.3535        .20822E-06** at limit **
   7  Prefactor     .10000E-03    3.6676       -.33532E-07** at limit **
   8  Prefactor     .10000E-03    125.98        .11473E-04** at limit **
   9  Prefactor     .10000E-03    38.939       -.22328E-06** at limit **
  10  norm          .86343        .49474        .16427E-07    .32054E-04
  11  norm          .21572        .86582        .23748E-06   -.24875E-03
  12  Prefactor     3.4034        8.1075        .24891E-05   -.32263E-04
  13  Prefactor     17.184        23.502       -.77028E-06   -.96004E-05
  14  Prefactor     .10000E-03    2.2023        .93291E-07** at limit **
  15  Prefactor     13.199        7.2713        .27878E-06   -.44447E-04
  16  Prefactor     5.1092        8.0750        .12767E-05    .26404E-04
  17  Prefactor     .10000E-03    8.9601       -.75291E-06** at limit **
  18  Prefactor     82.541        65.149        .15204E-05    .41765E-04
  19  norm          .10000E-03    .32523       -.11184E-06** at limit **
  20  Prefactor     7.0716        8.2103        .91048E-06    .29300E-04
  21  Normalizat    1.1474        .17369       -.97956E-06   -.59568E-04
  22  Prefactor     .88101        .11302       -.67299E-07   -.85329E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.50263
  norm       = 5.77833
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.863431
  norm       = 0.215717
  Prefactor  = 3.40335
  Prefactor  = 17.1845
  Prefactor  = 0.0001
  Prefactor  = 13.1986
  Prefactor  = 5.10916
  Prefactor  = 0.0001
  Prefactor  = 82.5411
  norm       = 0.0001
  Prefactor  = 7.07158
  Normalizat = 1.14735
  Prefactor  = 0.881014
 **********
 **   18 **HESSE 
 **********

 FCN=   7703.947     FROM HESSE     STATUS=OK           348 CALLS     2758 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.6326        .20455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    14.187        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5026        14.969        .85639E-03   -1.5239    
   5  norm          5.7783        6.4751        .16710E-03   -1.5227    
   6  Prefactor     .10000E-03    7.4234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.6759        .16414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    126.17        .21357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    39.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .86343        .49529        .44925E-04   -1.5522    
  11  norm          .21572        1.6212        .14802E-02   -1.5615    
  12  Prefactor     3.4034        8.1174        .10955E-02   -1.5339    
  13  Prefactor     17.184        23.475        .96633E-04   -1.4879    
  14  Prefactor     .10000E-03    2.2366        .12706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.199        7.1938        .55130E-03   -1.4981    
  16  Prefactor     5.1092        8.0612        .88956E-03   -1.5256    
  17  Prefactor     .10000E-03    8.9680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     82.541        64.655        .44208E-04   -1.3888    
  19  norm          .10000E-03    1.1550        .95296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.0716        8.2145        .75436E-03   -1.5176    
  21  Normalizat    1.1474        .20362        .26873E-03   -.88246    
  22  Prefactor     .88101        .13333        .19938E-03   -.96808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26296e-08
Minuit parameter uncertainties:
  1  1.59237e-05
  2  1.66634e-06
  3  2.61855e-05
  4  14.9793
  5  6.47592
  6  2.37946e-06
  7  8.68756e-07
  8  0.000201836
  9  1.71941e-05
  10  0.495295
  11  1.18252
  12  8.12
  13  23.4876
  14  5.72587e-06
  15  7.19428
  16  8.0629
  17  7.39587e-06
  18  64.7103
  19  1.17477e-05
  20  8.21576
  21  0.203756
  22  0.133381
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  8.634e-01  4.953e-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:  8.810e-01  1.334e-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.147e+00  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.77
Ra Dec: 18.029 22.752
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 4.43e-08 +/- 2.54e-08
Energy Flux (Fixed Index): 2.56e-05 +/- 1.47e-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) = 7702.54692175
delta logL = 1.40013098724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7702.54465308
delta logL = 1.40239966328

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67100E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    .54625E-07   1.0000          .0000       5.0000    
     3 'Normalizat'    1.1769       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88352       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=   7702.545     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      259 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67115E-02    .10644E-01    .15328E-02   -.27205E-01
   2  alpha         .28033E-13    .88064        .46267    ** at limit **
   3  Normalizat    1.1769        .16792        .60143E-01    .11741E-04
   4  Prefactor     .88349        .11139        .44795E-01    .13239E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00671149
  alpha      = 2.80331e-14
  Normalizat = 1.17694
  Prefactor  = 0.883494
 **********
 **   18 **HESSE 
 **********

 FCN=   7702.545     FROM HESSE     STATUS=OK            35 CALLS      294 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67115E-02    .68416E-02    .62321E-04   -1.5692    
   2  alpha         .28033E-13    3.1056        .41236E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1769        .19807        .26600E-03   -.87318    
   4  Prefactor     .88349        .13146        .19946E-03   -.96720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60669e-10
Minuit parameter uncertainties:
  1  0.00684157
  2  3.84942e-07
  3  0.198191
  4  0.131507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785032': 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) = 7702.544653
delta logL = 1.40239973733

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  6.711e-03  6.842e-03  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  2.803e-14  3.849e-07  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:  8.835e-01  1.315e-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.177e+00  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.55
Ra Dec: 18.029 22.752
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 2.86e-09 +/- 2.91e-09
Energy Flux (Free Index): 1.14e-04 +/- 1.16e-04

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/785032/cmap_HighResolution_678931201_679190401_4FGL_J0112.1+2245_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.43e-08', energy_flux2='1.14e-04', photon_flux_error='2.54e-08', dlogl='1.40e+00', energy_flux='2.56e-05', photon_flux2='2.86e-09', job_status='DONE', time_completed='2022-07-11 00:17:10.395011', photon_index_error2='0.00', photon_index2='0.00', ts='15.77', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.16e-04', EG='1.15', time_epoch_completed='1657523830.4', return_code='0', job_id='785032', GAL2='0.88', EG2='1.18', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='2.91e-09', ts2='18.55', photon_index='2.01' WHERE bin_id='1696' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:17:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 785032: <4FGL_J0112.1+2245_daily_bin1696> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:04:45 2022
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:04:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:04:46 2022
Terminated at Mon Jul 11 00:17:11 2022
Results reported at Mon Jul 11 00:17:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1696 18.0294 22.7515 678931201 679190401 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 :                                   631.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            746 sec.

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

