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


Performing analysis on: 4FGL_J1112.5+3448_daily_bin1763
RA = 168.147, Dec = 34.8022
tmin = 696297601, tmax = 696556801
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='277855', job_status='RUN', time_executed='2023-01-28 00:46:22.615575', time_epoch_executed='1674895582.62' WHERE source_name='4FGL J1112.5+3448' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/277855

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/277855/ft1_4FGL_J1112.5+3448_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/277855/ft2_4FGL_J1112.5+3448_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/277855/ft1_4FGL_J1112.5+3448_daily_bin1763.fits outfile=/scratch/kocevski/277855/ft1_filteredMKT_4FGL_J1112.5+3448_daily_bin1763.fits ra=168.147 dec=34.8022 rad=12.0 tmin=696297601.0 tmax=696556801.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.65
user 3.38
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/277855/ft2_4FGL_J1112.5+3448_daily_bin1763.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/277855/ft1_filteredMKT_4FGL_J1112.5+3448_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/277855/ft1_filtered_4FGL_J1112.5+3448_daily_bin1763.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.36
sys 0.14

Number of photons that the gtmktime cut: 720

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/277855/ft1_filtered_4FGL_J1112.5+3448_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/277855/ft2_4FGL_J1112.5+3448_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/277855/ltcube_696297601_696556801_4FGL_J1112.5+3448_daily_bin1763.fits outfile=/scratch/kocevski/277855/expmap_696297601_696556801_4FGL_J1112.5+3448_daily_bin1763.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/277855/ltcube_696297601_696556801_4FGL_J1112.5+3448_daily_bin1763.fits
.....................!
real 192.11
user 186.76
sys 4.67

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/277855/ft1_filtered_4FGL_J1112.5+3448_daily_bin1763.fits scfile=/scratch/kocevski/277855/ft2_4FGL_J1112.5+3448_daily_bin1763.fits outfile=/scratch/kocevski/277855/cmap_696297601_696556801_4FGL_J1112.5+3448_daily_bin1763.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/277855/ft1_filtered_4FGL_J1112.5+3448_daily_bin1763.fits scfile=/scratch/kocevski/277855/ft2_4FGL_J1112.5+3448_daily_bin1763.fits outfile=/scratch/kocevski/277855/cmap_HighResolution_696297601_696556801_4FGL_J1112.5+3448_daily_bin1763.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99160E-06   1.0000          .0000       .10000E+07
     2 'norm      '    1.1289       1.0000          .0000       .10000E+07
     3 'Prefactor '    61.340       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16296E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11096E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .66167E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    30.029       1.0000          .0000       .10000E+07
     8 'Prefactor '    .35407E-03   1.0000          .0000       .10000E+07
     9 'norm      '    1.4716       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0282       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.525       1.0000          .0000       .10000E+07
    12 'Prefactor '    .41066E-03   1.0000          .0000       .10000E+07
    13 'norm      '    9.5243       1.0000          .0000       .10000E+07
    14 'Prefactor '    .66724E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .37244E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .23055E-02   1.0000          .0000       .10000E+07
    17 'norm      '    4.3046       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.469       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.4397       1.0000          .0000       .10000E+07
    20 'Prefactor '    54.352       1.0000          .0000       .10000E+07
    21 'norm      '    .27376       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32485E-02   1.0000          .0000       .10000E+07
    23 'norm      '    17.232       1.0000          .0000       .10000E+07
    24 'Prefactor '    .27450E-02   1.0000          .0000       .10000E+07
    25 'norm      '    67.738       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.2763       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .53621       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=   7645.970     FROM MIGRAD    STATUS=CONVERGED    204 CALLS     3190 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    3.6988        .18470E-05** at limit **
   2  norm          1.1756        12.071        .23285E-05   -.97038E-03
   3  Prefactor     61.325        2.4905       -.17203E-06    .21099E-01
   4  Prefactor     .37548E-06    74.931       -.25442E-05** at limit **
   5  Prefactor     .52758E-06    23.792        .39613E-05** at limit **
   6  Prefactor     .11994E-05    108.02        .91535E-05** at limit **
   7  Prefactor     29.935        3.9638       -.36876E-06    .17472E-01
   8  Prefactor     .89317E-07    7.3622       -.21187E-05** at limit **
   9  norm          1.4716        .35727       -.66549E-07    .15745E-01
  10  Prefactor     6.0288        4.0999       -.19535E-06    .20647E-02
  11  Prefactor     20.519        6.2030        .43513E-06   -.18585    
  12  Prefactor     .47962E-07    7.3735        .16550E-05** at limit **
  13  norm          9.5519        10.691        .42966E-06    .34239E-01
  14  Prefactor      .0000        .95068       -.32492E-06** at limit **
  15  Prefactor     .11102E-09    27.725       -.11883E-05** at limit **
  16  Prefactor     .14932E-07    13.138        .59854E-06** at limit **
  17  norm          4.3071        2.6971       -.19231E-06    .56858E-02
  18  Prefactor     11.454        11.163       -.38846E-07    .52675E-02
  19  Prefactor     2.4613        5.7271       -.86522E-06   -.80455E-03
  20  Prefactor     54.215        6.6512        .36553E-06    .74059E-02
  21  norm          .27458        .98503        .14301E-05   -.18615E-02
  22  Prefactor      .0000        11.304        .31758E-06** at limit **
  23  norm          17.261        11.612        .91787E-06    .27411E-01
  24  Prefactor     .59064E-07    231.66       -.98191E-05** at limit **
  25  norm          67.706        5.1159       -.14049E-06   -.44044E-02
  26  Normalizat    1.2764        .22069       -.55453E-05    .19145E-03
  27  Prefactor     .53600        .23441        .21767E-05    .73980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  norm       = 1.17555
  Prefactor  = 61.3247
  Prefactor  = 3.75477e-07
  Prefactor  = 5.27578e-07
  Prefactor  = 1.19937e-06
  Prefactor  = 29.9353
  Prefactor  = 8.93174e-08
  norm       = 1.4716
  Prefactor  = 6.02883
  Prefactor  = 20.5188
  Prefactor  = 4.79616e-08
  norm       = 9.55189
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 1.49325e-08
  norm       = 4.30709
  Prefactor  = 11.4537
  Prefactor  = 2.46128
  Prefactor  = 54.2149
  norm       = 0.274579
  Prefactor  = 0
  norm       = 17.2606
  Prefactor  = 5.90639e-08
  norm       = 67.7056
  Normalizat = 1.27644
  Prefactor  = 0.536001
 **********
 **   18 **HESSE 
 **********

 FCN=   7645.970     FROM HESSE     STATUS=OK           552 CALLS     3742 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    3.6969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1756        12.257        .11001E-02   -1.5686    
   3  Prefactor     61.325        79.570        .12769E-03   -1.5551    
   4  Prefactor     .37548E-06    75.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .52758E-06    1.8689        .64338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11994E-05    110.06        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     29.935        79.508        .18251E-03   -1.5599    
   8  Prefactor     .89317E-07    7.4935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4716        .37038        .55719E-03   -1.5684    
  10  Prefactor     6.0288        4.1101        .40871E-03   -1.5659    
  11  Prefactor     20.519        18.564        .22080E-03   -1.5617    
  12  Prefactor     .47962E-07    7.4530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.5519        11.469        .32448E-03   -1.5646    
  14  Prefactor      .0000        .96563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-09    27.541        .16090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .14932E-07    13.161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3071        2.7404        .48532E-03   -1.5666    
  18  Prefactor     11.454        11.178        .29557E-03   -1.5640    
  19  Prefactor     2.4613        5.7659        .65477E-03   -1.5677    
  20  Prefactor     54.215        46.898        .13565E-03   -1.5561    
  21  norm          .27458        1.0635        .10587E-02   -1.5697    
  22  Prefactor      .0000        11.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          17.261        11.747        .24100E-03   -1.5625    
  24  Prefactor     .59064E-07    234.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          67.706        5.1354        .12151E-03   -1.5543    
  26  Normalizat    1.2764        .19428        .59073E-01   -.84272    
  27  Prefactor     .53600        .20419        .96083E-01   -1.1035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15955e-06
Minuit parameter uncertainties:
  1  7.023e-05
  2  7.59183
  3  79.5709
  4  0.0106487
  5  0.00198597
  6  0.0229792
  7  79.5107
  8  0.00163611
  9  0.370378
  10  4.11009
  11  18.5637
  12  0.0011958
  13  11.4695
  14  7.56179e-06
  15  0.000114607
  16  0.000887316
  17  2.7404
  18  11.1779
  19  5.7659
  20  46.8987
  21  1.06354
  22  2.3802e-05
  23  11.7471
  24  0.00744014
  25  5.13542
  26  0.19439
  27  0.204471
Done.

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

Extracting fit parameters...

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  9.552e+00  1.147e+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:  5.360e-01  2.045e-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.276e+00  1.944e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.13
Ra Dec: 168.147 34.802
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 2.24e-08 +/- 2.69e-08
Energy Flux (Fixed Index): 6.68e-06 +/- 8.02e-06

TS (Fixed Index): 1.13
Ra Dec: 168.147 34.802
Photon Flux Upper Limit: 8.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/277855/likelihoodResults_696297601_696556801_4FGL_J1112.5+3448_daily_bin1763.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) = 7645.95071639
delta logL = 0.0195826684248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7645.95045221
delta logL = 0.0198468530161

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5518       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5809       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53913       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=   7645.950     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      233 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.4278        11.132        .12960E-04   -.96842E-03
   2  alpha         2.5857        1.0798        .32315E-01   -.11231E-04
   3  Normalizat    1.2720        .21349        .26159E-03   -.54435E-03
   4  Prefactor     .53925        .23372        .42487E-03   -.31748E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.42784
  alpha      = 2.5857
  Normalizat = 1.27201
  Prefactor  = 0.539254
 **********
 **   18 **HESSE 
 **********

 FCN=   7645.950     FROM HESSE     STATUS=OK            25 CALLS      258 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.4278        10.952        .51842E-06   -1.5647    
   2  alpha         2.5857        1.0637        .12926E-02    .34287E-01
   3  Normalizat    1.2720        .21361        .52318E-04   -.84406    
   4  Prefactor     .53925        .23382        .16995E-04   -1.1021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97977e-10
Minuit parameter uncertainties:
  1  10.9519
  2  1.09873
  3  0.213763
  4  0.234236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/277855': 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) = 7645.95038615
delta logL = 0.0199129102539

Extracting fit parameters...

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  9.428e+00  1.095e+01  0.000e+00  1.000e+06 ( 1.000e-12)
314        alpha:  2.586e+00  1.099e+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:  5.393e-01  2.342e-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.272e+00  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 168.147 34.802
Photon Index (Free Index): 2.59 +/- 1.10
Photon Flux (Free Index): 2.64e-08 +/- 3.52e-08
Energy Flux (Free Index): 6.73e-06 +/- 7.63e-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/277855/cmap_HighResolution_696297601_696556801_4FGL_J1112.5+3448_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.66e-05', comment='SUCCESS', photon_flux='2.24e-08', energy_flux2='6.73e-06', photon_flux_error='2.69e-08', dlogl='1.99e-02', energy_flux='6.68e-06', photon_flux2='2.64e-08', job_status='DONE', time_completed='2023-01-28 01:01:34.959871', photon_index_error2='1.10', photon_index2='2.59', ts='1.13', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', photon_flux_upper_limit='8.90e-08', energy_flux_error2='7.63e-06', EG='1.28', time_epoch_completed='1674896494.96', return_code='0', job_id='277855', GAL2='0.54', EG2='1.27', return_code2='0', energy_flux_error='8.02e-06', photon_flux_error2='3.52e-08', ts2='1.16', photon_index='2.37' WHERE bin_id='1763' AND source_name='4FGL J1112.5+3448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 01:01:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 277855: <4FGL_J1112.5+3448_daily_bin1763> in cluster <slac> Done

Job <4FGL_J1112.5+3448_daily_bin1763> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Jan 28 00:45:21 2023
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:45:50 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:45:50 2023
Terminated at Sat Jan 28 01:01:35 2023
Results reported at Sat Jan 28 01:01:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1112.5+3448_daily_bin1763 168.147 34.8022 696297601 696556801 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 :                                   913.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            974 sec.

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

