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


Performing analysis on: 4FGL_J1112.5+3448_daily_bin1715
RA = 168.147, Dec = 34.8022
tmin = 683856001, tmax = 684115201
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='101647', job_status='RUN', time_executed='2022-09-16 15:54:40.240651', time_epoch_executed='1663368880.24' WHERE source_name='4FGL J1112.5+3448' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101647/ft1_4FGL_J1112.5+3448_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101647/ft2_4FGL_J1112.5+3448_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101647/ft1_4FGL_J1112.5+3448_daily_bin1715.fits outfile=/scratch/kocevski/101647/ft1_filteredMKT_4FGL_J1112.5+3448_daily_bin1715.fits ra=168.147 dec=34.8022 rad=12.0 tmin=683856001.0 tmax=684115201.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.47
user 3.25
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101647/ft2_4FGL_J1112.5+3448_daily_bin1715.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/101647/ft1_filteredMKT_4FGL_J1112.5+3448_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/101647/ft1_filtered_4FGL_J1112.5+3448_daily_bin1715.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 620

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101647/ft1_filtered_4FGL_J1112.5+3448_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/101647/ft2_4FGL_J1112.5+3448_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/101647/ltcube_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.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/101647/ft2_4FGL_J1112.5+3448_daily_bin1715.fits
.....................!
real 14.40
user 14.02
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101647/ft1_filtered_4FGL_J1112.5+3448_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/101647/ft2_4FGL_J1112.5+3448_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/101647/ltcube_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.fits outfile=/scratch/kocevski/101647/expmap_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.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/101647/ltcube_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.fits
.....................!
real 191.92
user 187.03
sys 4.50

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/101647/ft1_filtered_4FGL_J1112.5+3448_daily_bin1715.fits scfile=/scratch/kocevski/101647/ft2_4FGL_J1112.5+3448_daily_bin1715.fits outfile=/scratch/kocevski/101647/cmap_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101647/ft1_filtered_4FGL_J1112.5+3448_daily_bin1715.fits scfile=/scratch/kocevski/101647/ft2_4FGL_J1112.5+3448_daily_bin1715.fits outfile=/scratch/kocevski/101647/cmap_HighResolution_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.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.62
user 0.41
sys 0.19

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/101647/ft1_filtered_4FGL_J1112.5+3448_daily_bin1715.fits', '/scratch/kocevski/101647/ft2_4FGL_J1112.5+3448_daily_bin1715.fits', expMap='/scratch/kocevski/101647/expmap_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.fits', expCube='/scratch/kocevski/101647/ltcube_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/101647/Model_4FGL_J1112.5+3448_daily_bin1715.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/101647/ft1_filtered_4FGL_J1112.5+3448_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/101647/ft2_4FGL_J1112.5+3448_daily_bin1715.fits
Exposure map: /scratch/kocevski/101647/expmap_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.fits
Exposure cube: /scratch/kocevski/101647/ltcube_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/101647/Model_4FGL_J1112.5+3448_daily_bin1715.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) = 6496.92615423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6801       1.0000          .0000       .10000E+07
     2 'norm      '    5.7725       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55850E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20913E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17812E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    18.877       1.0000          .0000       .10000E+07
     7 'Prefactor '    .25029       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.462       1.0000          .0000       .10000E+07
     9 'norm      '    1.2385       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28844E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13242E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .12788E-01   1.0000          .0000       .10000E+07
    13 'norm      '    39.523       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.5118       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11622E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    11.266       1.0000          .0000       .10000E+07
    17 'norm      '    .44790E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .83958E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    11.327       1.0000          .0000       .10000E+07
    20 'Prefactor '    .78750       1.0000          .0000       .10000E+07
    21 'norm      '    1.2940       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23690E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .21217E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .49293E-02   1.0000          .0000       .10000E+07
    25 'norm      '    25.743       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0745       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .84403       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=   6496.895     FROM MIGRAD    STATUS=CONVERGED    240 CALLS     2451 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6825        4.8951        .18535E-06   -.15370E-03
   2  norm          5.7475        11.007       -.43082E-06   -.54177E-04
   3  Prefactor      .0000        29.868        .28664E-06** at limit **
   4  Prefactor     .52736E-08    42.143       -.81249E-07** at limit **
   5  Prefactor      .0000        3.5769       -.18484E-06** at limit **
   6  Prefactor     18.858        7.2442        .36403E-07   -.36592E-01
   7  Prefactor     .72148E-06    239.34        .73382E-06** at limit **
   8  Prefactor     11.463        9.6072       -.90725E-07    .30445E-03
   9  norm          1.2388        .30725       -.25752E-08   -.20075E-04
  10  Prefactor      .0000        1.0054        .17885E-08** at limit **
  11  Prefactor     .68279E-08    78.213       -.14755E-05** at limit **
  12  Prefactor      .0000        8.3159        .16565E-07** at limit **
  13  norm          39.526        17.850       -.12362E-07    .18458E-02
  14  Prefactor     2.5132        2.3820       -.93393E-07    .81002E-03
  15  Prefactor     .21094E-08    124.54        .51978E-06** at limit **
  16  Prefactor     11.260        11.174       -.13114E-07   -.31650E-03
  17  norm           .0000        1.3642       -.34558E-07** at limit **
  18  Prefactor      .0000        3.8772       -.81026E-07** at limit **
  19  Prefactor     11.338        5.3755        .80475E-07   -.92628E-03
  20  Prefactor     .60396E-07    633.04       -.46092E-05** at limit **
  21  norm          1.2997        .86235       -.42117E-07    .29906E-02
  22  Prefactor     .94924E-08    20.845       -.25321E-07** at limit **
  23  norm           .0000        4.2259       -.74784E-08** at limit **
  24  Prefactor     .83822E-08    20.969        .43047E-06** at limit **
  25  norm          25.740        3.1743        .94192E-08   -.13093E-02
  26  Normalizat    1.0755        .20965        .12658E-05    .51749E-05
  27  Prefactor     .84364        .23829       -.71403E-06    .58996E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.68255
  norm       = 5.74746
  Prefactor  = 0
  Prefactor  = 5.27356e-09
  Prefactor  = 0
  Prefactor  = 18.8577
  Prefactor  = 7.21478e-07
  Prefactor  = 11.4627
  norm       = 1.23877
  Prefactor  = 0
  Prefactor  = 6.82787e-09
  Prefactor  = 0
  norm       = 39.5263
  Prefactor  = 2.51318
  Prefactor  = 2.10942e-09
  Prefactor  = 11.2602
  norm       = 0
  Prefactor  = 0
  Prefactor  = 11.3383
  Prefactor  = 6.03961e-08
  norm       = 1.29967
  Prefactor  = 9.49241e-09
  norm       = 0
  Prefactor  = 8.38218e-09
  norm       = 25.74
  Normalizat = 1.07552
  Prefactor  = 0.843636
 **********
 **   18 **HESSE 
 **********

 FCN=   6496.895     FROM HESSE     STATUS=OK           540 CALLS     2991 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6825        4.9171        .81243E-03   -1.5682    
   2  norm          5.7475        10.994        .41780E-03   -1.5660    
   3  Prefactor      .0000        29.780        .15315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .52736E-08    42.125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.5625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.858        23.041        .23025E-03   -1.5621    
   7  Prefactor     .72148E-06    254.94        .10941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.463        9.6057        .29566E-03   -1.5640    
   9  norm          1.2388        .30765        .48783E-03   -1.5686    
  10  Prefactor      .0000        1.0031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68279E-08    77.769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.3318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          39.526        17.931        .15908E-03   -1.5582    
  14  Prefactor     2.5132        2.3969        .64443E-03   -1.5676    
  15  Prefactor     .21094E-08    124.64        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.260        11.184        .29823E-03   -1.5641    
  17  norm           .0000        1.3659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        3.8822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.338        5.3778        .29742E-03   -1.5641    
  20  Prefactor     .60396E-07    611.88        .53872E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.2997        .87319        .97239E-03   -1.5685    
  22  Prefactor     .94924E-08    21.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        4.2290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .83822E-08    21.200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          25.740        3.1752        .19713E-03   -1.5606    
  26  Normalizat    1.0755        .17938        .39146E-01   -.90542    
  27  Prefactor     .84364        .20459        .72555E-01   -.98139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6617e-08
Minuit parameter uncertainties:
  1  4.91713
  2  10.9938
  3  1.3239e-05
  4  0.000944292
  5  1.03055e-05
  6  23.0407
  7  0.0271253
  8  9.60571
  9  0.307646
  10  3.84454e-07
  11  0.00145526
  12  1.38381e-06
  13  17.9308
  14  2.39686
  15  0.00102582
  16  11.1842
  17  2.05857e-06
  18  2.45073e-06
  19  5.37782
  20  0.0121617
  21  0.873188
  22  0.000894497
  23  1.19462e-06
  24  0.000843793
  25  3.17518
  26  0.179477
  27  0.20478
Done.

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

Extracting fit parameters...

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  3.953e+01  1.793e+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:  8.436e-01  2.048e-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.076e+00  1.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.41
Ra Dec: 168.147 34.802
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 9.26e-08 +/- 4.20e-08
Energy Flux (Fixed Index): 2.77e-05 +/- 1.25e-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) = 6496.8552663
delta logL = 0.0400679205513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6496.85392585
delta logL = 0.0414083775786

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.199       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2336       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0847       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83602       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=   6496.854     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      260 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.196        18.366        .63095E-05    .75497E-03
   2  alpha         2.2337        .46662        .13339E-01    .97174E-05
   3  Normalizat    1.0847        .20279        .24247E-03    .25041E-03
   4  Prefactor     .83621        .23815        .32237E-03    .20560E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 40.1959
  alpha      = 2.23371
  Normalizat = 1.08475
  Prefactor  = 0.836208
 **********
 **   18 **HESSE 
 **********

 FCN=   6496.854     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.196        18.344        .25238E-06   -1.5581    
   2  alpha         2.2337        .46597        .53358E-03   -.10672    
   3  Normalizat    1.0847        .20297        .48494E-04   -.90243    
   4  Prefactor     .83621        .23833        .12895E-04   -.98407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21759e-11
Minuit parameter uncertainties:
  1  18.344
  2  0.468748
  3  0.203111
  4  0.238627
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101647': 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) = 6496.85392447
delta logL = 0.0414097492558

Extracting fit parameters...

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  4.020e+01  1.834e+01  0.000e+00  1.000e+06 ( 1.000e-12)
314        alpha:  2.234e+00  4.687e-01  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:  8.362e-01  2.386e-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.085e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.44
Ra Dec: 168.147 34.802
Photon Index (Free Index): 2.23 +/- 0.47
Photon Flux (Free Index): 8.52e-08 +/- 4.73e-08
Energy Flux (Free Index): 2.87e-05 +/- 1.36e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/101647/cmap_HighResolution_683856001_684115201_4FGL_J1112.5+3448_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.26e-08', energy_flux2='2.87e-05', photon_flux_error='4.20e-08', dlogl='4.14e-02', energy_flux='2.77e-05', photon_flux2='8.52e-08', job_status='DONE', time_completed='2022-09-16 16:06:10.656319', photon_index_error2='0.47', photon_index2='2.23', ts='11.41', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.36e-05', EG='1.08', time_epoch_completed='1663369570.66', return_code='0', job_id='101647', GAL2='0.84', EG2='1.08', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='4.73e-08', ts2='11.44', photon_index='2.37' WHERE bin_id='1715' AND source_name='4FGL J1112.5+3448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:06:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 101647: <4FGL_J1112.5+3448_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1112.5+3448_daily_bin1715> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 15:50:21 2022
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:51:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:51:13 2022
Terminated at Fri Sep 16 16:06:11 2022
Results reported at Fri Sep 16 16:06:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1112.5+3448_daily_bin1715 168.147 34.8022 683856001 684115201 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 :                                   692.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            950 sec.

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

