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


Performing analysis on: 4FGL_J0112.1+2245_weekly_bin759
RA = 18.0294, Dec = 22.7515
tmin = 698025601, tmax = 698630401
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='550221', job_status='RUN', time_executed='2023-02-21 01:01:03.531012', time_epoch_executed='1676970063.53' WHERE source_name='4FGL J0112.1+2245' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550221

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550221/ft1_4FGL_J0112.1+2245_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550221/ft2_4FGL_J0112.1+2245_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550221/ft1_4FGL_J0112.1+2245_weekly_bin759.fits outfile=/scratch/kocevski/550221/ft1_filteredMKT_4FGL_J0112.1+2245_weekly_bin759.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.64
user 8.34
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550221/ft2_4FGL_J0112.1+2245_weekly_bin759.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/550221/ft1_filteredMKT_4FGL_J0112.1+2245_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/550221/ft1_filtered_4FGL_J0112.1+2245_weekly_bin759.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.37
sys 0.16

Number of photons that the gtmktime cut: 1879

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550221/ft1_filtered_4FGL_J0112.1+2245_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/550221/ft2_4FGL_J0112.1+2245_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/550221/ltcube_698025601_698630401_4FGL_J0112.1+2245_weekly_bin759.fits outfile=/scratch/kocevski/550221/expmap_698025601_698630401_4FGL_J0112.1+2245_weekly_bin759.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/550221/ltcube_698025601_698630401_4FGL_J0112.1+2245_weekly_bin759.fits
.....................!
real 191.14
user 185.30
sys 5.47

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/550221/ft1_filtered_4FGL_J0112.1+2245_weekly_bin759.fits scfile=/scratch/kocevski/550221/ft2_4FGL_J0112.1+2245_weekly_bin759.fits outfile=/scratch/kocevski/550221/cmap_698025601_698630401_4FGL_J0112.1+2245_weekly_bin759.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.58
user 0.42
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550221/ft1_filtered_4FGL_J0112.1+2245_weekly_bin759.fits scfile=/scratch/kocevski/550221/ft2_4FGL_J0112.1+2245_weekly_bin759.fits outfile=/scratch/kocevski/550221/cmap_HighResolution_698025601_698630401_4FGL_J0112.1+2245_weekly_bin759.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.60
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.839       1.0000          .0000       .10000E+07
     2 'norm      '    5.0738       1.0000          .0000       .10000E+07
     3 'Prefactor '    .51403E-06   1.0000          .0000       .10000E+07
     4 'norm      '    1.5133       1.0000          .0000       .10000E+07
     5 'Prefactor '    .75551E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.5729       1.0000          .0000       .10000E+07
     7 'Prefactor '    .17647E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .68138       1.0000          .0000       .10000E+07
     9 'norm      '    2.0089       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1689       1.0000          .0000       .10000E+07
    11 'Prefactor '    .31269E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .70588       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.534       1.0000          .0000       .10000E+07
    14 'Prefactor '    .92580E-03   1.0000          .0000       .10000E+07
    15 'norm      '    2.3947       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18376       1.0000          .0000       .10000E+07
    17 'Normalizat'    .87118       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1351       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=   20846.68     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1070 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.844        3.5389        .14346E-07   -.25162E-03
   2  norm          5.0699        4.7516        .83626E-08   -.10009E-03
   3  Prefactor      .0000        2.3966       -.28697E-07** at limit **
   4  norm          1.5134        1.8864        .17605E-09   -.87597E-04
   5  Prefactor     .11102E-09    6.3983        .92939E-07** at limit **
   6  Prefactor     3.5800        6.8107        .14542E-08   -.47440E-03
   7  Prefactor      .0000        5.4527       -.57075E-07** at limit **
   8  norm          .68114        .34112       -.87610E-08   -.56599E-03
   9  norm          2.0085        .85314       -.50080E-08   -.28140E-04
  10  Prefactor     1.1890        4.5474       -.10381E-06   -.64909E-04
  11  Prefactor     .11102E-09    67.461       -.84490E-06** at limit **
  12  Prefactor     .70412        1.9216       -.53253E-07    .24198E-04
  13  Prefactor     11.563        7.5328       -.12716E-07   -.12661E-03
  14  Prefactor      .0000        15.689       -.41618E-07** at limit **
  15  norm          2.3948        .47493       -.35727E-08   -.14410E-03
  16  Prefactor     .10539        .44949        .15656E-07** at limit **
  17  Normalizat    .87114        .13553        .25434E-06   -.67795E-05
  18  Prefactor     1.1352        .89240E-01   -.64392E-07   -.76370E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.844
  norm       = 5.06985
  Prefactor  = 0
  norm       = 1.51336
  Prefactor  = 1.11022e-10
  Prefactor  = 3.57999
  Prefactor  = 0
  norm       = 0.681136
  norm       = 2.00847
  Prefactor  = 1.18904
  Prefactor  = 1.11022e-10
  Prefactor  = 0.704119
  Prefactor  = 11.5626
  Prefactor  = 0
  norm       = 2.39478
  Prefactor  = 0.105393
  Normalizat = 0.871142
  Prefactor  = 1.13523
 **********
 **   18 **HESSE 
 **********

 FCN=   20846.68     FROM HESSE     STATUS=OK           290 CALLS     1360 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.844        3.5467        .20930E-03   -1.5612    
   2  norm          5.0699        4.7611        .44615E-03   -1.5663    
   3  Prefactor      .0000        2.3977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5134        1.8995        .86889E-03   -1.5683    
   5  Prefactor     .11102E-09    6.4085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.5800        6.8250        .53441E-03   -1.5670    
   7  Prefactor      .0000        5.4882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .68114        .34662        .62233E-03   -1.5691    
   9  norm          2.0085        .86342        .73017E-03   -1.5680    
  10  Prefactor     1.1890        4.6052        .10617E-02   -1.5686    
  11  Prefactor     .11102E-09    66.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .70412        1.9470        .60232E-03   -1.5691    
  13  Prefactor     11.563        7.5668        .29472E-03   -1.5640    
  14  Prefactor      .0000        15.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.3948        .47571        .66150E-03   -1.5677    
  16  Prefactor     .10539        2.5362        .73803E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .87114        .11908        .74714E-01   -.97482    
  18  Prefactor     1.1352        .77662E-01    .36383E-01   -.88348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18056e-06
Minuit parameter uncertainties:
  1  3.54675
  2  4.76114
  3  2.60412e-06
  4  1.89952
  5  5.0508e-05
  6  6.82503
  7  1.86591e-05
  8  0.346618
  9  0.863424
  10  4.60524
  11  0.000167486
  12  1.94704
  13  7.56682
  14  2.08615e-05
  15  0.475712
  16  1.03401
  17  0.119116
  18  0.0776701
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  6.811e-01  3.466e-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.135e+00  7.767e-02  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:  8.711e-01  1.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.99
Ra Dec: 18.029 22.752
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.78e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.03e-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) = 20846.0512008
delta logL = 0.624226752683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20846.0446662
delta logL = 0.630761409451

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61488       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6417       1.0000          .0000       5.0000    
     3 'Normalizat'    .82670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1524       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=   20846.04     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      234 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61515        2.3318        .67906E-03    .26964E-01
   2  alpha         2.6421        2.0480        .41236        .14273E-03
   3  Normalizat    .82680        .33088E-01    .76467E-01    .82462E-04
   4  Prefactor     1.1523        .20465E-01    .35868E-01   -.86351E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.615146
  alpha      = 2.64207
  Normalizat = 0.826797
  Prefactor  = 1.15229
 **********
 **   18 **HESSE 
 **********

 FCN=   20846.04     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61515        .41763        .45414E-05   -1.5692    
   2  alpha         2.6421        .64812        .14679E-01    .56860E-01
   3  Normalizat    .82680        .14046        .33847E-03   -.99082    
   4  Prefactor     1.1523        .91275E-01    .19485E-03   -.87812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50884e-08
Minuit parameter uncertainties:
  1  0.417635
  2  0.655629
  3  0.140525
  4  0.0912877
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550221': 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) = 20846.044664
delta logL = 0.630763609399

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  6.151e-01  4.176e-01  0.000e+00  1.000e+06 ( 1.000e-11)
249        alpha:  2.642e+00  6.556e-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:  1.152e+00  9.129e-02  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:  8.268e-01  1.405e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.35
Ra Dec: 18.029 22.752
Photon Index (Free Index): 2.64 +/- 0.66
Photon Flux (Free Index): 6.86e-08 +/- 3.83e-08
Energy Flux (Free Index): 1.77e-05 +/- 7.82e-06

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/550221/cmap_HighResolution_698025601_698630401_4FGL_J0112.1+2245_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.77e-05', photon_flux_error='1.78e-08', dlogl='6.31e-01', energy_flux='2.02e-05', photon_flux2='6.86e-08', job_status='DONE', time_completed='2023-02-21 01:16:13.600774', photon_index_error2='0.66', photon_index2='2.64', ts='6.99', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='7.82e-06', EG='0.87', time_epoch_completed='1676970973.6', return_code='0', job_id='550221', GAL2='1.15', EG2='0.83', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='3.83e-08', ts2='8.35', photon_index='2.01' WHERE bin_id='759' AND source_name='4FGL J0112.1+2245' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:16:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 550221: <4FGL_J0112.1+2245_weekly_bin759> in cluster <slac> Done

Job <4FGL_J0112.1+2245_weekly_bin759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 01:00:28 2023
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 01:00:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 01:00:29 2023
Terminated at Tue Feb 21 01:16:14 2023
Results reported at Tue Feb 21 01:16:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_weekly_bin759 18.0294 22.7515 698025601 698630401 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 :                                   910.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             359.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            946 sec.

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

