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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1752
RA = 18.0294, Dec = 22.7515
tmin = 693446401, tmax = 693705601
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='248293', job_status='RUN', time_executed='2022-12-26 00:11:01.307812', time_epoch_executed='1672042261.31' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248293

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248293/ft1_4FGL_J0112.1+2245_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248293/ft2_4FGL_J0112.1+2245_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248293/ft1_4FGL_J0112.1+2245_daily_bin1752.fits outfile=/scratch/kocevski/248293/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1752.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=693446401.0 tmax=693705601.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.48
user 3.23
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248293/ft2_4FGL_J0112.1+2245_daily_bin1752.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/248293/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/248293/ft1_filtered_4FGL_J0112.1+2245_daily_bin1752.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.51
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 661

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248293/ft1_filtered_4FGL_J0112.1+2245_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/248293/ft2_4FGL_J0112.1+2245_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/248293/ltcube_693446401_693705601_4FGL_J0112.1+2245_daily_bin1752.fits outfile=/scratch/kocevski/248293/expmap_693446401_693705601_4FGL_J0112.1+2245_daily_bin1752.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/248293/ltcube_693446401_693705601_4FGL_J0112.1+2245_daily_bin1752.fits
.....................!
real 195.56
user 189.37
sys 5.36

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/248293/ft1_filtered_4FGL_J0112.1+2245_daily_bin1752.fits scfile=/scratch/kocevski/248293/ft2_4FGL_J0112.1+2245_daily_bin1752.fits outfile=/scratch/kocevski/248293/cmap_693446401_693705601_4FGL_J0112.1+2245_daily_bin1752.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248293/ft1_filtered_4FGL_J0112.1+2245_daily_bin1752.fits scfile=/scratch/kocevski/248293/ft2_4FGL_J0112.1+2245_daily_bin1752.fits outfile=/scratch/kocevski/248293/cmap_HighResolution_693446401_693705601_4FGL_J0112.1+2245_daily_bin1752.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5204       1.0000          .0000       .10000E+07
     2 'norm      '    .20338E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12938E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .21765E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30982E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .38393E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .22147E-02   1.0000          .0000       .10000E+07
     8 'norm      '    2.2258       1.0000          .0000       .10000E+07
     9 'norm      '    5.2890       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13970       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.8454       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.8095       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27590E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97089E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .34410       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.8363       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4037       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .83057       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=   7456.688     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1037 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5199        3.7813       -.32179E-06   -.15538E-02
   2  norm          .66613E-09    3.8456        .10068E-05** at limit **
   3  Prefactor     .27756E-09    5.9617       -.27099E-05** at limit **
   4  norm           .0000        2.8912       -.57171E-06** at limit **
   5  Prefactor     .83267E-09    4.2218        .74187E-06** at limit **
   6  Prefactor     .16653E-09    5.6874       -.48504E-05** at limit **
   7  Prefactor     .23870E-08    20.602       -.42522E-05** at limit **
   8  norm          2.2261        .75580       -.37269E-06   -.62651E-02
   9  norm          5.2898        1.9079       -.70531E-07   -.58003E-02
  10  Prefactor     .14494        1.3829       -.97384E-06** at limit **
  11  Prefactor     5.9585        117.65       -.12829E-04    .39257E-02
  12  Prefactor     6.8749        6.5843       -.57105E-06   -.14420E-02
  13  Prefactor      .0000        3.4053        .17660E-05** at limit **
  14  Prefactor     .61062E-09    16.800       -.78412E-05** at limit **
  15  norm          .34424        .74976        .23365E-06   -.42801E-03
  16  Prefactor     7.8125        1.6034       -.29044E-06   -.93053E-01
  17  Normalizat    1.4041        .23445       -.33186E-04   -.60841E-04
  18  Prefactor     .83054        .14689        .16742E-04   -.49458E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.51989
  norm       = 6.66134e-10
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 8.32667e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 2.38698e-09
  norm       = 2.22615
  norm       = 5.2898
  Prefactor  = 0.144935
  Prefactor  = 5.95848
  Prefactor  = 6.87495
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 0.344244
  Prefactor  = 7.81248
  Normalizat = 1.40407
  Prefactor  = 0.830539
 **********
 **   18 **HESSE 
 **********

 FCN=   7456.688     FROM HESSE     STATUS=OK           284 CALLS     1321 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5199        3.7898        .53855E-03   -1.5670    
   2  norm          .66613E-09    3.8501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    6.0028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        2.8883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .83267E-09    4.2275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    5.7618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .23870E-08    20.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2261        .75636        .68889E-03   -1.5678    
   9  norm          5.2898        1.9111        .43680E-03   -1.5662    
  10  Prefactor     .14494        7.5422        .81864E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.9585        127.48        .38324E-03   -1.5659    
  12  Prefactor     6.8749        6.7130        .38426E-03   -1.5656    
  13  Prefactor      .0000        3.4071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .61062E-09    16.857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .34424        .75014        .96271E-03   -1.5696    
  16  Prefactor     7.8125        10.229        .35796E-03   -1.5652    
  17  Normalizat    1.4041        .20062        .63632E-01   -.80511    
  18  Prefactor     .83054        .12540        .44114E-01   -.98612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30276e-07
Minuit parameter uncertainties:
  1  3.78977
  2  9.9725e-05
  3  7.86259e-05
  4  9.01603e-06
  5  0.000118538
  6  5.7939e-05
  7  0.000445498
  8  0.756363
  9  1.91111
  10  2.09106
  11  55.1234
  12  6.71305
  13  2.72977e-06
  14  0.000203635
  15  0.750139
  16  10.2294
  17  0.200735
  18  0.12544
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  2.226e+00  7.564e-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:  8.305e-01  1.254e-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.404e+00  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 32.33
Ra Dec: 18.029 22.752
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 1.14e-07 +/- 3.88e-08
Energy Flux (Fixed Index): 6.59e-05 +/- 2.24e-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) = 7456.07393935
delta logL = 0.613906588937

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7456.05580154
delta logL = 0.632044406077

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0421       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6699       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81991       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=   7456.056     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0444        .72685        .72332E-03   -.87973E-02
   2  alpha         1.6696        .25006        .21238        .12807E-04
   3  Normalizat    1.4397        .19699        .63015E-01   -.88664E-04
   4  Prefactor     .81969        .12366        .43976E-01   -.54026E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.04441
  alpha      = 1.66958
  Normalizat = 1.43972
  Prefactor  = 0.819691
 **********
 **   18 **HESSE 
 **********

 FCN=   7456.056     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0444        .80290        .42549E-05   -1.5679    
   2  alpha         1.6696        .29102        .88943E-02   -.33860    
   3  Normalizat    1.4397        .23167        .27871E-03   -.79487    
   4  Prefactor     .81969        .14529        .22407E-03   -.99007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81193e-11
Minuit parameter uncertainties:
  1  0.802897
  2  0.291762
  3  0.231836
  4  0.14536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248293': 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) = 7456.05579289
delta logL = 0.632053050395

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  2.044e+00  8.029e-01  0.000e+00  1.000e+06 ( 1.000e-11)
249        alpha:  1.670e+00  2.918e-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:  8.197e-01  1.454e-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.440e+00  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.61
Ra Dec: 18.029 22.752
Photon Index (Free Index): 1.67 +/- 0.29
Photon Flux (Free Index): 7.91e-08 +/- 3.96e-08
Energy Flux (Free Index): 9.78e-05 +/- 5.32e-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/248293/cmap_HighResolution_693446401_693705601_4FGL_J0112.1+2245_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-07', energy_flux2='9.78e-05', photon_flux_error='3.88e-08', dlogl='6.32e-01', energy_flux='6.59e-05', photon_flux2='7.91e-08', job_status='DONE', time_completed='2022-12-26 00:19:34.235331', photon_index_error2='0.29', photon_index2='1.67', ts='32.33', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='5.32e-05', EG='1.40', time_epoch_completed='1672042774.24', return_code='0', job_id='248293', GAL2='0.82', EG2='1.44', return_code2='0', energy_flux_error='2.24e-05', photon_flux_error2='3.96e-08', ts2='33.61', photon_index='2.01' WHERE bin_id='1752' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:19:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 248294: <4FGL_J0112.1+2245_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1752> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:15 2022
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:08:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:08:27 2022
Terminated at Mon Dec 26 00:18:59 2022
Results reported at Mon Dec 26 00:18:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1752 18.0294 22.7515 693446401 693705601 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 :                                   508.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            764 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 248293: <4FGL_J0112.1+2245_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:15 2022
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:08:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:08:26 2022
Terminated at Mon Dec 26 00:19:36 2022
Results reported at Mon Dec 26 00:19:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1752 18.0294 22.7515 693446401 693705601 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 :                                   514.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            801 sec.

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

