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


Performing analysis on: 4FGL_J1112.5+3448_daily_bin1755
RA = 168.147, Dec = 34.8022
tmin = 694224001, tmax = 694483201
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='820611', job_status='RUN', time_executed='2023-01-04 00:53:35.770323', time_epoch_executed='1672822415.77' WHERE source_name='4FGL J1112.5+3448' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820611

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820611/ft1_4FGL_J1112.5+3448_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820611/ft1_4FGL_J1112.5+3448_daily_bin1755.fits outfile=/scratch/kocevski/820611/ft1_filteredMKT_4FGL_J1112.5+3448_daily_bin1755.fits ra=168.147 dec=34.8022 rad=12.0 tmin=694224001.0 tmax=694483201.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.05
user 2.79
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.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/820611/ft1_filteredMKT_4FGL_J1112.5+3448_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/820611/ft1_filtered_4FGL_J1112.5+3448_daily_bin1755.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.55
user 0.36
sys 0.18

Number of photons that the gtmktime cut: 408

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820611/ft1_filtered_4FGL_J1112.5+3448_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/820611/ltcube_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.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/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.fits
.....................!
real 16.91
user 16.40
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820611/ft1_filtered_4FGL_J1112.5+3448_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/820611/ltcube_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.fits outfile=/scratch/kocevski/820611/expmap_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.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/820611/ltcube_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.fits
.....................!
real 193.48
user 187.20
sys 5.23

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 197 point sources and 0 extended sources

Setting source of interest to:
4FGL J1112.5+3448 @ 168.147 34.8022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/820611/ft1_filtered_4FGL_J1112.5+3448_daily_bin1755.fits scfile=/scratch/kocevski/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.fits outfile=/scratch/kocevski/820611/cmap_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.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=168.147 yref=34.8022 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.61
user 0.42
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820611/ft1_filtered_4FGL_J1112.5+3448_daily_bin1755.fits scfile=/scratch/kocevski/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.fits outfile=/scratch/kocevski/820611/cmap_HighResolution_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.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=168.147 yref=34.8022 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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/820611/ft1_filtered_4FGL_J1112.5+3448_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/820611/Model_4FGL_J1112.5+3448_daily_bin1755.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/820611/ft1_filtered_4FGL_J1112.5+3448_daily_bin1755.fits.....................!
real 44.55
user 42.99
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/820611/ft1_filtered_4FGL_J1112.5+3448_daily_bin1755.fits', '/scratch/kocevski/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.fits', expMap='/scratch/kocevski/820611/expmap_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.fits', expCube='/scratch/kocevski/820611/ltcube_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/820611/Model_4FGL_J1112.5+3448_daily_bin1755.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1112.5+3448'

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  9.204e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
314        alpha:  2.369e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
315         beta:  1.454e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  4.627e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/820611/ft1_filtered_4FGL_J1112.5+3448_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/820611/ft2_4FGL_J1112.5+3448_daily_bin1755.fits
Exposure map: /scratch/kocevski/820611/expmap_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.fits
Exposure cube: /scratch/kocevski/820611/ltcube_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/820611/Model_4FGL_J1112.5+3448_daily_bin1755.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4208.92660407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7591       1.0000          .0000       .10000E+07
     2 'norm      '    2.7078       1.0000          .0000       .10000E+07
     3 'Prefactor '    186.14       1.0000          .0000       .10000E+07
     4 'Prefactor '    175.83       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5512       1.0000          .0000       .10000E+07
     6 'Prefactor '    137.55       1.0000          .0000       .10000E+07
     7 'Prefactor '    .54710       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12257E-02   1.0000          .0000       .10000E+07
     9 'norm      '    3.4480       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7466       1.0000          .0000       .10000E+07
    11 'Prefactor '    22.735       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24196E-01   1.0000          .0000       .10000E+07
    13 'norm      '    7.7649       1.0000          .0000       .10000E+07
    14 'Prefactor '    .30258E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .18371E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.3544       1.0000          .0000       .10000E+07
    17 'norm      '    3.3285       1.0000          .0000       .10000E+07
    18 'Prefactor '    .62644E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .33256E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
    21 'norm      '    1.0034       1.0000          .0000       .10000E+07
    22 'Prefactor '    .69115E-04   1.0000          .0000       .10000E+07
    23 'norm      '    11.472       1.0000          .0000       .10000E+07
    24 'Prefactor '    40.725       1.0000          .0000       .10000E+07
    25 'norm      '    46.500       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.2495       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .30513       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4208.557     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     2474 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6532        47.587       -.73595E-05   -.42817E-01
   2  norm          1.4794        64.579        .79687E-05    .44444E-01
   3  Prefactor     190.78        123.19        .51102E-05    .14015    
   4  Prefactor     178.58        91.334        .38480E-05   -.31461    
   5  Prefactor     7.6379        17.031       -.25424E-06    .20561E-02
   6  Prefactor     145.33        85.024       -.42364E-06    .71526E-02
   7  Prefactor     .28483E-06    163.06       -.22417E-05** at limit **
   8  Prefactor      .0000        8.5644        .52015E-06** at limit **
   9  norm          3.4517        .76236       -.21295E-07    .27098E-02
  10  Prefactor     2.7413        3.0956       -.89328E-07    .60479E-03
  11  Prefactor     22.098        20.152        .38852E-06   -.79359E-01
  12  Prefactor      .0000        31.012        .69976E-07** at limit **
  13  norm          7.7283        20.423       -.20305E-05    .19595E-01
  14  Prefactor     .55511E-10    4.3622       -.45626E-06** at limit **
  15  Prefactor     .21150E-07    29.922        .48959E-06** at limit **
  16  Prefactor     9.7108        20.620       -.12593E-05   -.33324E-01
  17  norm          3.3564        3.2065        .22501E-06   -.15063E-02
  18  Prefactor      .0000        6.5070        .35433E-06** at limit **
  19  Prefactor      .0000        10.125       -.93071E-07** at limit **
  20  Prefactor     .34861E-07    25.248       -.26517E-06** at limit **
  21  norm          .99368        .96818        .87076E-07   -.14409E-02
  22  Prefactor      .0000        8.7496       -.22206E-06** at limit **
  23  norm          11.345        13.772        .17589E-06   -.55790E-02
  24  Prefactor     44.332        67.391       -.19993E-05    .77783E-01
  25  norm          46.533        4.3773       -.21199E-07    .11431E-02
  26  Normalizat    1.2455        .29682       -.65033E-06    .64048E-04
  27  Prefactor     .30362        .29700        .37471E-05    .30984E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.65325
  norm       = 1.47942
  Prefactor  = 190.781
  Prefactor  = 178.575
  Prefactor  = 7.6379
  Prefactor  = 145.333
  Prefactor  = 2.84828e-07
  Prefactor  = 0
  norm       = 3.45173
  Prefactor  = 2.7413
  Prefactor  = 22.098
  Prefactor  = 0
  norm       = 7.72832
  Prefactor  = 5.55112e-11
  Prefactor  = 2.11497e-08
  Prefactor  = 9.71078
  norm       = 3.35637
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.4861e-08
  norm       = 0.99368
  Prefactor  = 0
  norm       = 11.3452
  Prefactor  = 44.3316
  norm       = 46.5333
  Normalizat = 1.24551
  Prefactor  = 0.303619
 **********
 **   18 **HESSE 
 **********

 FCN=   4208.557     FROM HESSE     STATUS=OK           546 CALLS     3020 TOTAL
                     EDM=   .32E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6532        264.54        .78979E-03   -1.5682    
   2  norm          1.4794        688.21        .61874E-03   -1.5684    
   3  Prefactor     190.78        145.32        .73302E-04   -1.5432    
   4  Prefactor     178.58        213.35        .75421E-04   -1.5441    
   5  Prefactor     7.6379        19.939        .36471E-03   -1.5653    
   6  Prefactor     145.33        85.891        .85272E-04   -1.5467    
   7  Prefactor     .28483E-06    162.96        .74107E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        8.5609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.4517        .76169        .54442E-03   -1.5671    
  10  Prefactor     2.7413        3.0949        .61403E-03   -1.5675    
  11  Prefactor     22.098        20.789        .20978E-03   -1.5614    
  12  Prefactor      .0000        30.152        .16775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.7283        20.589        .35962E-03   -1.5652    
  14  Prefactor     .55511E-10    4.3210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .21150E-07    29.923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.7108        21.073        .32743E-03   -1.5646    
  17  norm          3.3564        3.2010        .55457E-03   -1.5671    
  18  Prefactor      .0000        6.5129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        10.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .34861E-07    25.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .99368        .97078        .43885E-03   -1.5688    
  22  Prefactor      .0000        8.7494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          11.345        13.845        .29553E-03   -1.5641    
  24  Prefactor     44.332        70.384        .15672E-03   -1.5575    
  25  norm          46.533        4.3721        .14666E-03   -1.5572    
  26  Normalizat    1.2455        .27869        .59840E-01   -.85208    
  27  Prefactor     .30362        .29270        .12212       -1.2205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18621e-05
Minuit parameter uncertainties:
  1  41.8281
  2  63.8244
  3  145.319
  4  213.356
  5  19.9387
  6  85.892
  7  0.0136264
  8  2.6048e-05
  9  0.761691
  10  3.09494
  11  20.7889
  12  1.11474e-05
  13  20.5895
  14  3.12933e-05
  15  0.00159139
  16  21.0733
  17  3.20097
  18  9.93088e-06
  19  2.1747e-05
  20  0.00187683
  21  0.970778
  22  2.19025e-05
  23  13.845
  24  70.3852
  25  4.37211
  26  0.279022
  27  0.294139
Done.

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

Extracting fit parameters...

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  7.728e+00  2.059e+01  0.000e+00  1.000e+06 ( 1.000e-12)
314        alpha:  2.369e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
315         beta:  1.454e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  4.627e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  3.036e-01  2.941e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.246e+00  2.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 168.147 34.802
Photon Flux Upper Limit: 1.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/820611/likelihoodResults_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.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) = 4208.55461642
delta logL = 0.00278070943932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4208.5543629
delta logL = 0.00303423437163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1062       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5689       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2407       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .30663       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4208.554     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      271 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0913        20.722        .14076E-04   -.31499E-04
   2  alpha         2.5710        3.6149        .55221E-01   -.65146E-04
   3  Normalizat    1.2409        .28519        .26502E-03   -.81933E-05
   4  Prefactor     .30669        .29734        .53970E-03   -.24288E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.09135
  alpha      = 2.57099
  Normalizat = 1.24088
  Prefactor  = 0.306687
 **********
 **   18 **HESSE 
 **********

 FCN=   4208.554     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0913        20.761        .56305E-06   -1.5651    
   2  alpha         2.5710        3.6161        .11044E-01    .28400E-01
   3  Normalizat    1.2409        .28494        .10601E-04   -.85349    
   4  Prefactor     .30669        .29684        .21588E-04   -1.2187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27722e-11
Minuit parameter uncertainties:
  1  20.7608
  2  2.68014
  3  0.285295
  4  0.29833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820611': 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) = 4208.55436043
delta logL = 0.00303669924688

Extracting fit parameters...

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  8.091e+00  2.076e+01  0.000e+00  1.000e+06 ( 1.000e-12)
314        alpha:  2.571e+00  2.680e+00  0.000e+00  5.000e+00 ( 1.000e+00)
315         beta:  1.454e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  4.627e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  3.067e-01  2.983e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.241e+00  2.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
Ra Dec: 168.147 34.802

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/820611/cmap_HighResolution_694224001_694483201_4FGL_J1112.5+3448_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-05', job_status='DONE', photon_flux_upper_limit='1.49e-07', time_completed='2023-01-04 01:03:54.075141', job_id='820611', GAL2='0.31', fit_tolerance='1e-08', EG2='1.24', EG='1.25', time_epoch_completed='1672823034.08', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='0.30', dlogl='3.04e-03', ts2='0.18', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1755' AND source_name='4FGL J1112.5+3448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:03:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 820611: <4FGL_J1112.5+3448_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1112.5+3448_daily_bin1755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan  4 00:50:24 2023
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:51:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:51:19 2023
Terminated at Wed Jan  4 01:03:54 2023
Results reported at Wed Jan  4 01:03:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1112.5+3448_daily_bin1755 168.147 34.8022 694224001 694483201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1112.5+3448 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   618.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            810 sec.

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

