/sdf/group/fermi/u/kocevski/software/conda/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)

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).

/sdf/group/fermi/u/kocevski/software/conda/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 = 7452
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1789
RA = 178.348, Dec = -11.075
tmin = 703036801, tmax = 703296001
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='15886131', job_status='RUN', time_executed='2023-04-16 00:30:32.547234', time_epoch_executed='1681630232.55' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1789'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/15886131

Creating custom pfile directory:
/lscratch/kocevski/15886131/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=703036801.0 && nMetStart<703296001.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=703036801.0 && nMetStart<703296001.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/15886131/ft1_4FGL_J1153.3-1104_daily_bin1789.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=703036801.0 && nMetStart<703296001.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/15886131/ft1_4FGL_J1153.3-1104_daily_bin1789.fits outfile=/lscratch/kocevski/15886131/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1789.fits ra=178.348 dec=-11.075 rad=12.0 tmin=703036801.0 tmax=703296001.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.86
user 2.60
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/15886131/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1789.fits evtable="EVENTS" outfile="/lscratch/kocevski/15886131/ft1_filtered_4FGL_J1153.3-1104_daily_bin1789.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.39
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 441

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/15886131/ft1_filtered_4FGL_J1153.3-1104_daily_bin1789.fits" evtable="EVENTS" scfile=/lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits sctable="SC_DATA" outfile=/lscratch/kocevski/15886131/ltcube_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.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 /lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits
.....................!
real 9.80
user 9.43
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/15886131/ft1_filtered_4FGL_J1153.3-1104_daily_bin1789.fits evtable="EVENTS" scfile=/lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits sctable="SC_DATA" expcube=/lscratch/kocevski/15886131/ltcube_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.fits outfile=/lscratch/kocevski/15886131/expmap_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.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 /lscratch/kocevski/15886131/ltcube_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.fits
.....................!
real 64.57
user 60.68
sys 3.39

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=/lscratch/kocevski/15886131/ft1_filtered_4FGL_J1153.3-1104_daily_bin1789.fits scfile=/lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits outfile=/lscratch/kocevski/15886131/cmap_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.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.42
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/15886131/ft1_filtered_4FGL_J1153.3-1104_daily_bin1789.fits scfile=/lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits outfile=/lscratch/kocevski/15886131/cmap_HighResolution_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.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.43
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/15886131/ft1_filtered_4FGL_J1153.3-1104_daily_bin1789.fits evtable="EVENTS" scfile=/lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/15886131/Model_4FGL_J1153.3-1104_daily_bin1789.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...
/lscratch/kocevski/15886131/ft1_filtered_4FGL_J1153.3-1104_daily_bin1789.fits.....................!
real 18.91
user 17.53
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/15886131/ft1_filtered_4FGL_J1153.3-1104_daily_bin1789.fits', '/lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits', expMap='/lscratch/kocevski/15886131/expmap_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.fits', expCube='/lscratch/kocevski/15886131/ltcube_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/15886131/Model_4FGL_J1153.3-1104_daily_bin1789.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): /lscratch/kocevski/15886131/ft1_filtered_4FGL_J1153.3-1104_daily_bin1789.fits
Spacecraft file(s): /lscratch/kocevski/15886131/ft2_4FGL_J1153.3-1104_daily_bin1789.fits
Exposure map: /lscratch/kocevski/15886131/expmap_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.fits
Exposure cube: /lscratch/kocevski/15886131/ltcube_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/15886131/Model_4FGL_J1153.3-1104_daily_bin1789.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) = 4877.718425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23644E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .58673E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    40.058       1.0000          .0000       .10000E+07
     4 'norm      '    .89415E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .24831       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9408       1.0000          .0000       .10000E+07
     7 'Prefactor '    102.37       1.0000          .0000       .10000E+07
     8 'norm      '    .48041E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .70077E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .48066E-03   1.0000          .0000       .10000E+07
    11 'norm      '    3.2708       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6296       1.0000          .0000       .10000E+07
    13 'Prefactor '    .14163E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .40484       1.0000          .0000       .10000E+07
    15 'norm      '    18.547       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13942E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19956E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .42471E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .13323E-08   1.0000          .0000       .10000E+07
    20 'Prefactor '    23.724       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.0742       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12486E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .69155       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0277       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=   4877.708     FROM MIGRAD    STATUS=CONVERGED    197 CALLS     2012 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.6881        .99255E-06** at limit **
   2  Prefactor      .0000        4.0549        .41845E-06** at limit **
   3  Prefactor     38.991        75.599       -.14959E-06    .17103E-02
   4  norm           .0000        11.141        .99854E-06** at limit **
   5  norm          .24785        .75897        .50361E-07** at limit **
   6  Prefactor     6.8801        5.8440        .40763E-06   -.15496E-03
   7  Prefactor     102.37        3.4180        .35474E-07    .24526E-01
   8  norm          .12212E-07    28.078       -.10912E-05** at limit **
   9  Prefactor     .36515E-06    39.058        .19032E-05** at limit **
  10  Prefactor     .26590E-07    12.649       -.13237E-05** at limit **
  11  norm          3.2761        5.5941        .48498E-06    .46565E-03
  12  Prefactor     1.6288        2.9356       -.57887E-08    .12602E-03
  13  Prefactor      .0000        4.8129        .20487E-06** at limit **
  14  Prefactor     .20791E-04    23.292        .19489E-05** at limit **
  15  norm          18.627        7.9670        .33614E-06    .28017E-03
  16  Prefactor      .0000        5.1796       -.82910E-07** at limit **
  17  Prefactor     .53291E-08    7.9866       -.93985E-06** at limit **
  18  Prefactor     .11102E-09    31.888       -.11576E-05** at limit **
  19  norm           .0000        1.0042        .49983E-07** at limit **
  20  Prefactor     23.714        11.423        .10165E-07    .52347E-03
  21  Prefactor     5.0732        3.0918       -.10921E-05   -.37538E-04
  22  Prefactor     .31808E-07    20.098        .28936E-06** at limit **
  23  Normalizat    .69279        .29282       -.14852E-04   -.22485E-04
  24  Prefactor     1.0276        .19003        .84516E-05   -.34650E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 38.9911
  norm       = 0
  norm       = 0.24785
  Prefactor  = 6.88008
  Prefactor  = 102.369
  norm       = 1.22125e-08
  Prefactor  = 3.65152e-07
  Prefactor  = 2.65898e-08
  norm       = 3.27612
  Prefactor  = 1.62883
  Prefactor  = 0
  Prefactor  = 2.07908e-05
  norm       = 18.6269
  Prefactor  = 0
  Prefactor  = 5.32907e-09
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 23.7136
  Prefactor  = 5.07323
  Prefactor  = 3.18079e-08
  Normalizat = 0.692787
  Prefactor  = 1.02756
 **********
 **   18 **HESSE 
 **********

 FCN=   4877.708     FROM HESSE     STATUS=OK           453 CALLS     2465 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.6997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.0430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     38.991        75.911        .15801E-03   -1.5583    
   4  norm           .0000        11.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .24785        .77555        .24807E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8801        5.8290        .38057E-03   -1.5656    
   7  Prefactor     102.37        20.214        .98841E-04   -1.5506    
   8  norm          .12212E-07    28.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .36515E-06    42.288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .26590E-07    19.973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.2761        5.6559        .55968E-03   -1.5672    
  12  Prefactor     1.6288        2.9926        .82812E-03   -1.5682    
  13  Prefactor      .0000        4.8141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .20791E-04    22.959        .10865E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          18.627        9.0965        .23229E-03   -1.5622    
  16  Prefactor      .0000        5.1803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .53291E-08    20.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11102E-09    30.499        .15854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        1.0034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     23.714        11.441        .20535E-03   -1.5611    
  21  Prefactor     5.0732        3.0881        .44624E-02   -1.5257    
  22  Prefactor     .31808E-07    21.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .69279        .26094        .83692E-01   -1.0418    
  24  Prefactor     1.0276        .16546        .41441E-01   -.91816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69792e-08
Minuit parameter uncertainties:
  1  1.16848e-07
  2  4.4682e-06
  3  75.9133
  4  4.35341e-06
  5  0.77555
  6  5.82902
  7  20.2142
  8  0.00117157
  9  0.00785936
  10  0.00145793
  11  5.65593
  12  2.99257
  13  7.65971e-06
  14  0.0436964
  15  9.09649
  16  6.1055e-06
  17  0.000656984
  18  0.000107721
  19  4.31289e-07
  20  11.4413
  21  3.08815
  22  0.00166069
  23  0.261413
  24  0.165537
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  0.000e+00  7.660e-06  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.028e+00  1.655e-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:  6.928e-01  2.614e-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: 6.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.10e-03 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/15886131/likelihoodResults_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.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) = 4877.70965204
delta logL = -0.00193881561427

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4877.70771347
delta logL = -2.52583959082e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4877.708     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      249 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .83709        .42118E-03** at limit **
   2  Index         3.6275        1.7139        .44774E-04     .0000    
   3  Normalizat    .69279        1.0324        .20488E-04    .30361E-04
   4  Prefactor     1.0276        1.2233       -.11148E-04    .57172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.6275
  Normalizat = 0.692787
  Prefactor  = 1.02756
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4877.708     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .83709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4550        2.2626        .44774E-04   -.27807    
   3  Normalizat    .69279        1.0324        .20488E-04   -1.0418    
   4  Prefactor     1.0276        1.2233       -.11148E-04   -.91816    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.57909e-12
Minuit parameter uncertainties:
  1  7.91204e-07
  2  1.75242
  3  1.06373
  4  1.25905
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) = 4877.70771322
delta logL = 0.0

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  0.000e+00  7.912e-07  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  3.628e+00  1.752e+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.028e+00  1.259e+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:  6.928e-01  1.064e+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 /lscratch/kocevski/15886131/cmap_HighResolution_703036801_703296001_4FGL_J1153.3-1104_daily_bin1789.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.10e-03', job_status='DONE', photon_flux_upper_limit='6.63e-08', time_completed='2023-04-16 00:34:23.571035', job_id='15886131', GAL2='1.03', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1681630463.57', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1789' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 16 00:34:23 PDT 2023

