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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1773
RA = 178.348, Dec = -11.075
tmin = 698889601, tmax = 699148801
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='787911', job_status='RUN', time_executed='2023-02-27 09:36:47.483860', time_epoch_executed='1677519407.48' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/787911

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/787911/ft1_4FGL_J1153.3-1104_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/787911/ft2_4FGL_J1153.3-1104_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/787911/ft1_4FGL_J1153.3-1104_daily_bin1773.fits outfile=/scratch/kocevski/787911/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1773.fits ra=178.348 dec=-11.075 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.96
user 2.72
sys 0.17

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

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

Number of photons that the gtmktime cut: 283

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/787911/ft1_filtered_4FGL_J1153.3-1104_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/787911/ft2_4FGL_J1153.3-1104_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/787911/ltcube_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.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/787911/ft2_4FGL_J1153.3-1104_daily_bin1773.fits
.....................!
real 18.07
user 17.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/787911/ft1_filtered_4FGL_J1153.3-1104_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/787911/ft2_4FGL_J1153.3-1104_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/787911/ltcube_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.fits outfile=/scratch/kocevski/787911/expmap_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.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/787911/ltcube_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.fits
.....................!
real 191.13
user 186.35
sys 4.41

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/787911/ft1_filtered_4FGL_J1153.3-1104_daily_bin1773.fits scfile=/scratch/kocevski/787911/ft2_4FGL_J1153.3-1104_daily_bin1773.fits outfile=/scratch/kocevski/787911/cmap_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.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.61
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/787911/ft1_filtered_4FGL_J1153.3-1104_daily_bin1773.fits scfile=/scratch/kocevski/787911/ft2_4FGL_J1153.3-1104_daily_bin1773.fits outfile=/scratch/kocevski/787911/cmap_HighResolution_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/787911/ft1_filtered_4FGL_J1153.3-1104_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/787911/ft2_4FGL_J1153.3-1104_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/787911/Model_4FGL_J1153.3-1104_daily_bin1773.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/787911/ft1_filtered_4FGL_J1153.3-1104_daily_bin1773.fits.....................!
real 36.31
user 35.07
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/787911/ft1_filtered_4FGL_J1153.3-1104_daily_bin1773.fits', '/scratch/kocevski/787911/ft2_4FGL_J1153.3-1104_daily_bin1773.fits', expMap='/scratch/kocevski/787911/expmap_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.fits', expCube='/scratch/kocevski/787911/ltcube_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/787911/Model_4FGL_J1153.3-1104_daily_bin1773.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/787911/ft1_filtered_4FGL_J1153.3-1104_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/787911/ft2_4FGL_J1153.3-1104_daily_bin1773.fits
Exposure map: /scratch/kocevski/787911/expmap_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.fits
Exposure cube: /scratch/kocevski/787911/ltcube_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/787911/Model_4FGL_J1153.3-1104_daily_bin1773.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) = 3279.58207258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.226       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16893E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .27144       1.0000          .0000       .10000E+07
     4 'norm      '    25.320       1.0000          .0000       .10000E+07
     5 'norm      '    .23820E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62595E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    65.618       1.0000          .0000       .10000E+07
     8 'norm      '    .18778E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20092E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .29424       1.0000          .0000       .10000E+07
    11 'norm      '    .15428E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .88681E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .39423E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    10.356       1.0000          .0000       .10000E+07
    15 'norm      '    6.1185       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10981E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .48978E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    15.015       1.0000          .0000       .10000E+07
    19 'norm      '    .31167E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .95386       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.4375       1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.945       1.0000          .0000       .10000E+07
    23 'Normalizat'    .76085       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2122       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=   3279.126     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     2038 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.328        79.022        .24140E-05   -.11832E-01
   2  Prefactor     .87708E-08    24.902       -.97421E-07** at limit **
   3  Prefactor     .46629E-08    3.3464        .18613E-05** at limit **
   4  norm          23.600        18.369       -.14118E-06   -.28682E-01
   5  norm          .38858E-09    2.2594        .44610E-06** at limit **
   6  Prefactor     .55511E-10    6.1100       -.19727E-08** at limit **
   7  Prefactor     64.703        11.918        .15791E-05   -.93336E-01
   8  norm          .99920E-07    15.858       -.76213E-05** at limit **
   9  Prefactor     .38802E-07    21.499        .28458E-05** at limit **
  10  Prefactor     .39690E-07    5.5449       -.35636E-05** at limit **
  11  norm          .32196E-08    89.507        .66052E-06** at limit **
  12  Prefactor      .0000        12.502        .11192E-05** at limit **
  13  Prefactor     .61640E-06    13.455        .12003E-05** at limit **
  14  Prefactor     10.874        4.0795        .15904E-06   -.62025E-02
  15  norm          6.0416        7.2269        .16306E-06    .25218E-02
  16  Prefactor     .18691E-06    17.683        .80357E-06** at limit **
  17  Prefactor     .66613E-08    44.565       -.26160E-05** at limit **
  18  Prefactor     18.408        54.432       -.17432E-05    .30632E-02
  19  norm           .0000        3.2350       -.16726E-06** at limit **
  20  Prefactor     .96734        12.182       -.14292E-05   -.77659E-02
  21  Prefactor     5.4355        2.6525        .88865E-06    .37277E-03
  22  Prefactor     20.133        17.153        .56993E-05    .38142E-01
  23  Normalizat    .75191        .47380       -.49672E-04   -.24726E-05
  24  Prefactor     1.2153        .26812        .84214E-05    .59833E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.3285
  Prefactor  = 8.77076e-09
  Prefactor  = 4.66294e-09
  norm       = 23.5997
  norm       = 3.88578e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 64.7034
  norm       = 9.99201e-08
  Prefactor  = 3.88023e-08
  Prefactor  = 3.96905e-08
  norm       = 3.21965e-09
  Prefactor  = 0
  Prefactor  = 6.16396e-07
  Prefactor  = 10.8738
  norm       = 6.0416
  Prefactor  = 1.86906e-07
  Prefactor  = 6.66134e-09
  Prefactor  = 18.4075
  norm       = 0
  Prefactor  = 0.967336
  Prefactor  = 5.43551
  Prefactor  = 20.133
  Normalizat = 0.751906
  Prefactor  = 1.21528
 **********
 **   18 **HESSE 
 **********

 FCN=   3279.126     FROM HESSE     STATUS=OK           451 CALLS     2489 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.328        79.230        .14111E-03   -1.5555    
   2  Prefactor     .87708E-08    24.264        .17250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .46629E-08    124.76        .10621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          23.600        36.335        .19877E-03   -1.5611    
   5  norm          .38858E-09    2.1919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    6.0857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     64.703        26.228        .12346E-03   -1.5547    
   8  norm          .99920E-07    24.274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .38802E-07    26.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .39690E-07    138.58        .10293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .32196E-08    10.010        .11285E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .61640E-06    21.441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.874        40.827        .31111E-03   -1.5642    
  15  norm          6.0416        12.740        .40564E-03   -1.5659    
  16  Prefactor     .18691E-06    19.816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .66613E-08    44.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.408        55.035        .25821E-03   -1.5622    
  19  norm           .0000        3.2203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .96734        12.860        .42124E-03   -1.5688    
  21  Prefactor     5.4355        2.6653        .43081E-02   -1.5242    
  22  Prefactor     20.133        19.123        .22399E-03   -1.5618    
  23  Normalizat    .75191        .43467        .96326E-01   -1.0188    
  24  Prefactor     1.2153        .23519        .34349E-01   -.85863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09909e-07
Minuit parameter uncertainties:
  1  79.2312
  2  0.000921765
  3  0.00152439
  4  36.3357
  5  5.80487e-05
  6  3.06471e-05
  7  26.2276
  8  0.00311521
  9  0.0020367
  10  0.00469198
  11  0.000357982
  12  1.09067e-05
  13  0.007271
  14  40.8278
  15  12.7397
  16  0.00384911
  17  0.00109208
  18  55.0368
  19  4.33625e-06
  20  7.05397
  21  2.6654
  22  19.1235
  23  0.436685
  24  0.235391
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  6.164e-07  7.271e-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:  1.215e+00  2.354e-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:  7.519e-01  4.367e-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: 1.78e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.37e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/787911/likelihoodResults_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.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) = 3279.14797234
delta logL = -0.0224248703407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3279.12554954
delta logL = -2.07501398108e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21503E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.0121       1.0000          .0000       10.000    
     3 'Normalizat'    .75226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2152       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=   3279.126     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      192 TOTAL
                     EDM=   .90E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        18.910        .64700E-07** at limit **
   2  Index         2.6763        6.1617       -.21343E-04     .0000    
   3  Normalizat    .75191        .44909        .68407E-05   -.14627E-04
   4  Prefactor     1.2153        .26397        .97557E-05   -.75089E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.67631
  Normalizat = 0.75191
  Prefactor  = 1.21527
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3279.126     FROM HESSE     STATUS=FAILED        11 CALLS      203 TOTAL
                     EDM=   .90E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        19.158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .81074        2.0775       -.21343E-04   -.48334    
   3  Normalizat    .75191        1.0916        .68407E-05   -1.0188    
   4  Prefactor     1.2153        1.0983        .97557E-05   -.85863    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.03665e-12
Minuit parameter uncertainties:
  1  3.09174e-05
  2  1.90544
  3  1.12592
  4  1.12012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/787911': 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): 101
logL (Free Index) = 3279.12554745
delta logL = 1.43741090142e-08

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  0.000e+00  3.092e-05  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  2.676e+00  1.905e+00  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:  1.215e+00  1.120e+00  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:  7.519e-01  1.126e+00  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/787911/cmap_HighResolution_698889601_699148801_4FGL_J1153.3-1104_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.37e-02', job_status='DONE', photon_flux_upper_limit='1.78e-07', time_completed='2023-02-27 09:45:02.706174', job_id='787911', GAL2='1.22', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1677519902.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='1.44e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1773' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 09:45:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0136>
Subject: Job 787911: <4FGL_J1153.3-1104_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1773> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Feb 27 09:35:17 2023
Job was executed on host(s) <bullet0136>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:35:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:35:18 2023
Terminated at Mon Feb 27 09:45:03 2023
Results reported at Mon Feb 27 09:45:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1773 178.348 -11.075 698889601 699148801 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 :                                   490.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   584 sec.
    Turnaround time :                            586 sec.

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

