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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1776
RA = 178.348, Dec = -11.075
tmin = 699667201, tmax = 699926401
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='832474', job_status='RUN', time_executed='2023-03-08 00:38:06.022882', time_epoch_executed='1678264686.02' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832474

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832474/ft1_4FGL_J1153.3-1104_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832474/ft1_4FGL_J1153.3-1104_daily_bin1776.fits outfile=/scratch/kocevski/832474/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1776.fits ra=178.348 dec=-11.075 rad=12.0 tmin=699667201.0 tmax=699926401.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.92
user 3.65
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.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/832474/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/832474/ft1_filtered_4FGL_J1153.3-1104_daily_bin1776.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.35
sys 0.15

Number of photons that the gtmktime cut: 604

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832474/ft1_filtered_4FGL_J1153.3-1104_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/832474/ltcube_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.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/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.fits
.....................!
real 11.92
user 11.58
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832474/ft1_filtered_4FGL_J1153.3-1104_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/832474/ltcube_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.fits outfile=/scratch/kocevski/832474/expmap_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.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/832474/ltcube_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.fits
.....................!
real 192.31
user 187.19
sys 4.73

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 J1153.3-1104 @ 178.348 -11.075

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/832474/ft1_filtered_4FGL_J1153.3-1104_daily_bin1776.fits scfile=/scratch/kocevski/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.fits outfile=/scratch/kocevski/832474/cmap_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.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=178.348 yref=-11.075 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/832474/ft1_filtered_4FGL_J1153.3-1104_daily_bin1776.fits scfile=/scratch/kocevski/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.fits outfile=/scratch/kocevski/832474/cmap_HighResolution_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.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=178.348 yref=-11.075 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.52
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/832474/ft1_filtered_4FGL_J1153.3-1104_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832474/Model_4FGL_J1153.3-1104_daily_bin1776.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/832474/ft1_filtered_4FGL_J1153.3-1104_daily_bin1776.fits.....................!
real 59.29
user 57.93
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/832474/ft1_filtered_4FGL_J1153.3-1104_daily_bin1776.fits', '/scratch/kocevski/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.fits', expMap='/scratch/kocevski/832474/expmap_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.fits', expCube='/scratch/kocevski/832474/ltcube_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/832474/Model_4FGL_J1153.3-1104_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1153.3-1104'

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  3.746e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  2.336e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/832474/ft1_filtered_4FGL_J1153.3-1104_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/832474/ft2_4FGL_J1153.3-1104_daily_bin1776.fits
Exposure map: /scratch/kocevski/832474/expmap_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.fits
Exposure cube: /scratch/kocevski/832474/ltcube_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/832474/Model_4FGL_J1153.3-1104_daily_bin1776.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) = 6722.13021785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3656       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28572E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .22948       1.0000          .0000       .10000E+07
     4 'norm      '    .77073E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .20360       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77719       1.0000          .0000       .10000E+07
     7 'Prefactor '    39.062       1.0000          .0000       .10000E+07
     8 'norm      '    7.4884       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.407       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11440E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .60165E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .96985       1.0000          .0000       .10000E+07
    13 'Prefactor '    .37060E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .63878E-03   1.0000          .0000       .10000E+07
    15 'norm      '    10.313       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1887       1.0000          .0000       .10000E+07
    17 'Prefactor '    32.599       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.861       1.0000          .0000       .10000E+07
    19 'norm      '    2.1641       1.0000          .0000       .10000E+07
    20 'Prefactor '    .23884E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    7.6395       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .40040E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1632       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96771       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6722.092     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     2004 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5268        7.4567        .14923E-05    .25138E-01
   2  Prefactor     .20506E-06    21.682       -.39236E-05** at limit **
   3  Prefactor     .12773E-06    39.971       -.62745E-05** at limit **
   4  norm          .14821E-07    4.6419        .18545E-05** at limit **
   5  norm          .20310        .66719        .38583E-07** at limit **
   6  Prefactor     .57725        10.184       -.33050E-05   -.16129E-01
   7  Prefactor     39.001        2.0460       -.47235E-07    .37582E-01
   8  norm          8.6914        26.147        .25665E-05   -.19969E-01
   9  Prefactor     17.826        18.406       -.19112E-05   -.38359E-02
  10  Prefactor     .99920E-08    12.215        .24700E-06** at limit **
  11  norm          .23537E-07    5.6465        .23520E-06** at limit **
  12  Prefactor     .97154        3.2369        .23882E-06   -.86188E-03
  13  Prefactor     .56233E-07    24.636        .54579E-05** at limit **
  14  Prefactor     .36637E-08    5.0161       -.68007E-06** at limit **
  15  norm          10.310        4.5400        .21645E-06    .86329E-02
  16  Prefactor     1.1944        2.4648        .69200E-06    .50300E-02
  17  Prefactor     33.051        9.6182        .23122E-06    .22287E-01
  18  Prefactor     14.863        2.5742       -.31662E-06   -.12822E-01
  19  norm          2.1638        2.1805        .79373E-07    .36412E-02
  20  Prefactor     .27756E-09    2.7241       -.34113E-07** at limit **
  21  Prefactor     7.6404        2.4001        .15763E-05   -.31758E-03
  22  Prefactor     .22204E-09    3.1852        .31135E-06** at limit **
  23  Normalizat    1.1664        .27169        .20741E-04    .14826E-03
  24  Prefactor     .96624        .16855       -.11060E-04    .22625E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.52679
  Prefactor  = 2.05058e-07
  Prefactor  = 1.27731e-07
  norm       = 1.48215e-08
  norm       = 0.2031
  Prefactor  = 0.577251
  Prefactor  = 39.0005
  norm       = 8.69142
  Prefactor  = 17.8262
  Prefactor  = 9.99201e-09
  norm       = 2.35367e-08
  Prefactor  = 0.971539
  Prefactor  = 5.62328e-08
  Prefactor  = 3.66374e-09
  norm       = 10.3103
  Prefactor  = 1.19444
  Prefactor  = 33.0511
  Prefactor  = 14.8631
  norm       = 2.1638
  Prefactor  = 2.77556e-10
  Prefactor  = 7.64038
  Prefactor  = 2.22045e-10
  Normalizat = 1.16644
  Prefactor  = 0.966242
 **********
 **   18 **HESSE 
 **********

 FCN=   6722.092     FROM HESSE     STATUS=OK           453 CALLS     2457 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5268        19.576        .36932E-03   -1.5653    
   2  Prefactor     .20506E-06    24.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12773E-06    51.028        .11273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .14821E-07    5.1160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .20310        .60144        .27419E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .57725        93.507        .54650E-03   -1.5693    
   7  Prefactor     39.001        13.583        .16002E-03   -1.5583    
   8  norm          8.6914        64.307        .36625E-03   -1.5649    
   9  Prefactor     17.826        44.268        .23317E-03   -1.5624    
  10  Prefactor     .99920E-08    12.300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .23537E-07    6.4707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .97154        3.2911        .42695E-03   -1.5688    
  13  Prefactor     .56233E-07    25.485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .36637E-08    5.0511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.310        4.5523        .31175E-03   -1.5644    
  16  Prefactor     1.1944        45.041        .10450E-02   -1.5686    
  17  Prefactor     33.051        32.030        .17517E-03   -1.5593    
  18  Prefactor     14.863        18.588        .25955E-03   -1.5631    
  19  norm          2.1638        2.1817        .69985E-03   -1.5679    
  20  Prefactor     .27756E-09    2.7227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.6404        2.4064        .36272E-02   -1.5155    
  22  Prefactor     .22204E-09    3.1912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1664        .24581        .70622E-01   -.87646    
  24  Prefactor     .96624        .14169        .45862E-01   -.93863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06952e-07
Minuit parameter uncertainties:
  1  19.5765
  2  0.00446913
  3  0.00510561
  4  0.000550919
  5  0.601444
  6  14.6941
  7  13.5832
  8  47.2837
  9  44.2687
  10  0.000701143
  11  0.000780407
  12  3.29115
  13  0.0023945
  14  0.000272281
  15  4.55227
  16  14.6697
  17  32.03
  18  18.5878
  19  2.18165
  20  5.31118e-05
  21  2.40642
  22  5.59062e-05
  23  0.246057
  24  0.141747
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  5.623e-08  2.394e-03  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  2.336e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  9.662e-01  1.417e-01  0.000e+00  1.000e+01 ( 1.000e+00)
629        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
630        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.166e+00  2.461e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 178.348 -11.075
Photon Flux Upper Limit: 9.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/832474/likelihoodResults_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.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) = 6722.11192997
delta logL = -0.0199911294985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6722.09194191
delta logL = -3.06165929942e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.6699       1.0000          .0000       10.000    
     3 'Normalizat'    1.1669       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96605       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6722.092     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      195 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25036E-07    23.414       -.79043E-05** at limit **
   2  Index         2.0742        2.6380       -.17340E-03   -.22655E-08
   3  Normalizat    1.1664        .26116        .20105E-04    .54635E-04
   4  Prefactor     .96624        .16662       -.12419E-04    .27412E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.50355e-08
  Index      = 2.07416
  Normalizat = 1.16644
  Prefactor  = 0.966243
 **********
 **   18 **HESSE 
 **********

 FCN=   6722.092     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      232 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25036E-07    1.1313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0742        5.3783        .50000       -.62509    
   3  Normalizat    1.1664        .12287E-02    .70622E-01   -.87646    
   4  Prefactor     .96624        .78076E-03    .45841E-01   -.93863    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.06871e-11
Minuit parameter uncertainties:
  1  0.000336427
  2  1502.34
  3  0.00122869
  4  0.000780765
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832474': 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): 102
logL (Free Index) = 6722.09193884
delta logL = 5.14774001203e-10

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  2.504e-08  3.364e-04  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  2.074e+00  1.502e+03  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  9.662e-01  7.808e-04  0.000e+00  1.000e+01 ( 1.000e+00)
629        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
630        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.166e+00  1.229e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 178.348 -11.075

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/832474/cmap_HighResolution_699667201_699926401_4FGL_J1153.3-1104_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.48e-03', job_status='DONE', photon_flux_upper_limit='9.72e-08', time_completed='2023-03-08 00:49:12.259463', job_id='832474', GAL2='0.97', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1678265352.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.15e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1776' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:49:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 832474: <4FGL_J1153.3-1104_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1776> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Mar  8 00:35:21 2023
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:35:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:35:23 2023
Terminated at Wed Mar  8 00:49:12 2023
Results reported at Wed Mar  8 00:49:12 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1776 178.348 -11.075 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.3-1104 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   667.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            831 sec.

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

