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 68 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7341
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1159.3-2142_daily_bin1752
RA = 179.843, Dec = -21.7038
tmin = 693446401, tmax = 693705601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='261833', job_status='RUN', time_executed='2022-12-26 00:52:10.828959', time_epoch_executed='1672044730.83' WHERE source_name='4FGL J1159.3-2142' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/261833

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/261833/ft1_4FGL_J1159.3-2142_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/261833/ft1_4FGL_J1159.3-2142_daily_bin1752.fits outfile=/scratch/kocevski/261833/ft1_filteredMKT_4FGL_J1159.3-2142_daily_bin1752.fits ra=179.843 dec=-21.7038 rad=12.0 tmin=693446401.0 tmax=693705601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.50
user 3.27
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/261833/ft1_filteredMKT_4FGL_J1159.3-2142_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/261833/ft1_filtered_4FGL_J1159.3-2142_daily_bin1752.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 664

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/261833/ft1_filtered_4FGL_J1159.3-2142_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/261833/ltcube_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits
.....................!
real 14.49
user 13.74
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/261833/ft1_filtered_4FGL_J1159.3-2142_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/261833/ltcube_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.fits outfile=/scratch/kocevski/261833/expmap_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/261833/ltcube_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.fits
.....................!
real 193.96
user 186.73
sys 6.10

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1159.3-2142 @ 179.843 -21.7038

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/261833/ft1_filtered_4FGL_J1159.3-2142_daily_bin1752.fits scfile=/scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits outfile=/scratch/kocevski/261833/cmap_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=179.843 yref=-21.7038 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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/261833/ft1_filtered_4FGL_J1159.3-2142_daily_bin1752.fits scfile=/scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits outfile=/scratch/kocevski/261833/cmap_HighResolution_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=179.843 yref=-21.7038 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/261833/ft1_filtered_4FGL_J1159.3-2142_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/261833/Model_4FGL_J1159.3-2142_daily_bin1752.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/261833/ft1_filtered_4FGL_J1159.3-2142_daily_bin1752.fits.....................!
real 64.48
user 62.82
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/261833/ft1_filtered_4FGL_J1159.3-2142_daily_bin1752.fits', '/scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits', expMap='/scratch/kocevski/261833/expmap_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.fits', expCube='/scratch/kocevski/261833/ltcube_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/261833/Model_4FGL_J1159.3-2142_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.3-2142'

4FGL J1159.3-2142
   Spectrum: LogParabola
308         norm:  3.158e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
310         beta:  1.306e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  8.690e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/261833/ft1_filtered_4FGL_J1159.3-2142_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/261833/ft2_4FGL_J1159.3-2142_daily_bin1752.fits
Exposure map: /scratch/kocevski/261833/expmap_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.fits
Exposure cube: /scratch/kocevski/261833/ltcube_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/261833/Model_4FGL_J1159.3-2142_daily_bin1752.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12055E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    69.715       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.7069       1.0000          .0000       .10000E+07
     4 'norm      '    .29698E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    43.879       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.632       1.0000          .0000       .10000E+07
     7 'Prefactor '    .69705E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .17523E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .14008E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13307E-03   1.0000          .0000       .10000E+07
    11 'norm      '    12.408       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.0387       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12180       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.861       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29690E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .32257E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.5380       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.4366       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11240E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .14135E-05   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2322       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7248.055     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1750 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53457E-07    15.820        .34794E-05** at limit **
   2  Prefactor     71.440        83.096        .36745E-05   -.25222E-01
   3  Prefactor     4.6946        7.6157       -.53277E-05   -.30106E-01
   4  norm           .0000        1.0208       -.45289E-07** at limit **
   5  Prefactor     43.774        11.813       -.29862E-05   -.21313E-01
   6  Prefactor     17.849        8.6623       -.19167E-05    .15169    
   7  Prefactor     .38858E-09    2.8382       -.94073E-06** at limit **
   8  Prefactor     .16653E-09    10.558       -.47633E-06** at limit **
   9  norm          .55123E-07    22.748        .27580E-05** at limit **
  10  Prefactor     .15765E-07    5.8336       -.31963E-05** at limit **
  11  norm          12.377        5.8627       -.19478E-06   -.34647E-02
  12  Prefactor     5.0944        6.7732       -.52597E-06    .70733E-03
  13  Prefactor      .0000        36.539        .28558E-05** at limit **
  14  Prefactor     13.875        2.8908       -.11132E-05    .18014E-01
  15  Prefactor     .15515E-06    17.922       -.65547E-05** at limit **
  16  Prefactor     .53846E-08    6.0529        .35024E-05** at limit **
  17  Prefactor     6.5551        5.9805       -.46960E-06   -.16224E-02
  18  Prefactor     5.4338        2.5140        .24435E-05   -.36622E-03
  19  Prefactor     .10547E-08    5.6598        .25229E-05** at limit **
  20  norm          .55511E-10    1.2012        .21544E-06** at limit **
  21  Normalizat    1.2321        .30128        .45691E-04   -.13233E-04
  22  Prefactor     1.0744        .15677       -.13688E-04   -.12679E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.34572e-08
  Prefactor  = 71.4404
  Prefactor  = 4.69465
  norm       = 0
  Prefactor  = 43.7735
  Prefactor  = 17.8494
  Prefactor  = 3.88578e-10
  Prefactor  = 1.66533e-10
  norm       = 5.51226e-08
  Prefactor  = 1.57652e-08
  norm       = 12.3771
  Prefactor  = 5.09445
  Prefactor  = 0
  Prefactor  = 13.8749
  Prefactor  = 1.55154e-07
  Prefactor  = 5.38458e-09
  Prefactor  = 6.55511
  Prefactor  = 5.43384
  Prefactor  = 1.05471e-09
  norm       = 5.55112e-11
  Normalizat = 1.23207
  Prefactor  = 1.07438
 **********
 **   18 **HESSE 
 **********

 FCN=   7248.055     FROM HESSE     STATUS=OK           382 CALLS     2132 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53457E-07    15.828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     71.440        83.847        .11977E-03   -1.5539    
   3  Prefactor     4.6946        13.223        .46358E-03   -1.5665    
   4  norm           .0000        .99925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     43.774        14.454        .15098E-03   -1.5576    
   6  Prefactor     17.849        42.353        .23825E-03   -1.5623    
   7  Prefactor     .38858E-09    2.8394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    10.466        .17205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55123E-07    22.775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .15765E-07    5.8848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.377        5.8695        .28412E-03   -1.5638    
  12  Prefactor     5.0944        6.8099        .44772E-03   -1.5663    
  13  Prefactor      .0000        36.364        .13377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.875        15.012        .26877E-03   -1.5633    
  15  Prefactor     .15515E-06    18.043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .53846E-08    6.0825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.5551        5.9782        .39225E-03   -1.5657    
  18  Prefactor     5.4338        2.5108        .43084E-02   -1.5242    
  19  Prefactor     .10547E-08    5.6589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    1.1739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2321        .25419        .79702E-01   -.85618    
  22  Prefactor     1.0744        .13219        .38646E-01   -.90290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44239e-06
Minuit parameter uncertainties:
  1  0.00183974
  2  83.8487
  3  13.2231
  4  9.89039e-06
  5  14.4542
  6  42.3539
  7  6.79641e-05
  8  8.87853e-05
  9  0.00224104
  10  0.000609219
  11  5.86947
  12  6.80987
  13  3.13543e-05
  14  15.0116
  15  0.00334654
  16  0.000361099
  17  5.97822
  18  2.51085
  19  0.000154998
  20  1.29491e-05
  21  0.254448
  22  0.132229
Done.

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

Extracting fit parameters...

4FGL J1159.3-2142
   Spectrum: LogParabola
308         norm:  1.238e+01  5.869e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
310         beta:  1.306e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  8.690e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.074e+00  1.322e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  1.232e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.86
Ra Dec: 179.843 -21.704
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 1.12e-07 +/- 5.32e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.84e-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) = 7247.75063835
delta logL = 0.303929154712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7247.75015128
delta logL = 0.304416233664

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7247.750     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      268 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.545        166.59        .26221E-03    .10194E-02
   2  alpha         2.0425        3.2288        .31956        .47474E-04
   3  Normalizat    1.2642        .25656        .78846E-01    .18514E-04
   4  Prefactor     1.0637        .10345        .39162E-01    .25617E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.5455
  alpha      = 2.04251
  Normalizat = 1.26417
  Prefactor  = 1.06374
 **********
 **   18 **HESSE 
 **********

 FCN=   7247.750     FROM HESSE     STATUS=OK            33 CALLS      301 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.545        7.2195        .10489E-04   -1.5632    
   2  alpha         2.0425        .43094        .12211E-01   -.18403    
   3  Normalizat    1.2642        .29263        .34901E-03   -.84642    
   4  Prefactor     1.0637        .15545        .19983E-03   -.90634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3567e-11
Minuit parameter uncertainties:
  1  7.21952
  2  0.433181
  3  0.293014
  4  0.155511
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/261833': 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) = 7247.75014365
delta logL = 0.304423857427

Extracting fit parameters...

4FGL J1159.3-2142
   Spectrum: LogParabola
308         norm:  1.455e+01  7.220e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        alpha:  2.043e+00  4.332e-01  0.000e+00  5.000e+00 ( 1.000e+00)
310         beta:  1.306e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  8.690e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.064e+00  1.555e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  1.264e+00  2.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.45
Ra Dec: 179.843 -21.704
Photon Index (Free Index): 2.04 +/- 0.43
Photon Flux (Free Index): 8.69e-08 +/- 5.44e-08
Energy Flux (Free Index): 4.54e-05 +/- 2.47e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/261833/cmap_HighResolution_693446401_693705601_4FGL_J1159.3-2142_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='4.54e-05', photon_flux_error='5.32e-08', dlogl='3.04e-01', energy_flux='3.87e-05', photon_flux2='8.69e-08', job_status='DONE', time_completed='2022-12-26 01:02:15.254690', photon_index_error2='0.43', photon_index2='2.04', ts='9.86', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='2.47e-05', EG='1.23', time_epoch_completed='1672045335.25', return_code='0', job_id='261833', GAL2='1.06', EG2='1.26', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='5.44e-08', ts2='10.45', photon_index='2.38' WHERE bin_id='1752' AND source_name='4FGL J1159.3-2142' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:02:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 261833: <4FGL_J1159.3-2142_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1159.3-2142_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:50:15 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:50:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:50:54 2022
Terminated at Mon Dec 26 01:02:16 2022
Results reported at Mon Dec 26 01:02:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1159.3-2142_daily_bin1752 179.843 -21.7038 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1159.3-2142 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   604.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            721 sec.

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

