/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 122 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1441
RA = 178.348, Dec = -11.075
tmin = 612835201, tmax = 613094401
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='147582', job_status='RUN', time_executed='2021-09-04 14:59:09.833709', time_epoch_executed='1630792749.83' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1441'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147582

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147582/ft1_4FGL_J1153.3-1104_daily_bin1441.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147582/ft2_4FGL_J1153.3-1104_daily_bin1441.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147582/ft1_4FGL_J1153.3-1104_daily_bin1441.fits outfile=/scratch/kocevski/147582/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1441.fits ra=178.348 dec=-11.075 rad=12.0 tmin=612835201.0 tmax=613094401.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.93
user 2.66
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147582/ft1_filtered_4FGL_J1153.3-1104_daily_bin1441.fits" evtable="EVENTS" scfile=/scratch/kocevski/147582/ft2_4FGL_J1153.3-1104_daily_bin1441.fits sctable="SC_DATA" outfile=/scratch/kocevski/147582/ltcube_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.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/147582/ft2_4FGL_J1153.3-1104_daily_bin1441.fits
.....................!
real 12.13
user 11.75
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147582/ft1_filtered_4FGL_J1153.3-1104_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/147582/ft2_4FGL_J1153.3-1104_daily_bin1441.fits sctable="SC_DATA" expcube=/scratch/kocevski/147582/ltcube_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.fits outfile=/scratch/kocevski/147582/expmap_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.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/147582/ltcube_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.fits
.....................!
real 189.84
user 185.40
sys 4.03

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/147582/ft1_filtered_4FGL_J1153.3-1104_daily_bin1441.fits scfile=/scratch/kocevski/147582/ft2_4FGL_J1153.3-1104_daily_bin1441.fits outfile=/scratch/kocevski/147582/cmap_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/147582/ft1_filtered_4FGL_J1153.3-1104_daily_bin1441.fits scfile=/scratch/kocevski/147582/ft2_4FGL_J1153.3-1104_daily_bin1441.fits outfile=/scratch/kocevski/147582/cmap_HighResolution_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/147582/ft1_filtered_4FGL_J1153.3-1104_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/147582/ft2_4FGL_J1153.3-1104_daily_bin1441.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/147582/Model_4FGL_J1153.3-1104_daily_bin1441.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/147582/ft1_filtered_4FGL_J1153.3-1104_daily_bin1441.fits.....................!
real 67.80
user 65.91
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/147582/ft1_filtered_4FGL_J1153.3-1104_daily_bin1441.fits', '/scratch/kocevski/147582/ft2_4FGL_J1153.3-1104_daily_bin1441.fits', expMap='/scratch/kocevski/147582/expmap_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.fits', expCube='/scratch/kocevski/147582/ltcube_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/147582/Model_4FGL_J1153.3-1104_daily_bin1441.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  1.000e-04  1.000e+04 ( 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/147582/ft1_filtered_4FGL_J1153.3-1104_daily_bin1441.fits
Spacecraft file(s): /scratch/kocevski/147582/ft2_4FGL_J1153.3-1104_daily_bin1441.fits
Exposure map: /scratch/kocevski/147582/expmap_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.fits
Exposure cube: /scratch/kocevski/147582/ltcube_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/147582/Model_4FGL_J1153.3-1104_daily_bin1441.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) = 7823.6697323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.846       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2569       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1054       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .18066       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6977       1.0000         .10000E-03   10000.    
     9 'norm      '    11.854       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.641       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.824       1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.538       1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.847       1.0000         .10000E-03   10000.    
    16 'Prefactor '    90.577       1.0000         .10000E-03   10000.    
    17 'norm      '    .10453E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10481E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    70.505       1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.430       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.9038       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.2909       1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.817       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .58374E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.4749       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .83346       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7823.657     FROM MIGRAD    STATUS=CONVERGED    666 CALLS     3469 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.845        12.915       -.65538E-06   -.15359E-04
   2  Prefactor     4.2558        8.6921        .16198E-05   -.24733E-04
   3  Prefactor     2.1054        3.5080        .30229E-05   -.91491E-04
   4  Prefactor     .10000E-03    17.424       -.23210E-06** at limit **
   5  norm          .10000E-03    3.4191        .77891E-07** at limit **
   6  norm          .18254        .78573       -.11235E-06   -.42290E-03
   7  Prefactor     .10000E-03    1.2868       -.50710E-07** at limit **
   8  Prefactor     4.6929        8.9663        .14665E-05   -.15951E-03
   9  norm          11.847        19.768        .25625E-06   -.20471E-04
  10  Prefactor     11.638        18.540       -.31916E-06    .11290E-04
  11  Prefactor     .10000E-03    20.782        .42383E-06** at limit **
  12  norm          .10000E-03    4.4597       -.23886E-06** at limit **
  13  Prefactor     10.823        4.8271        .11774E-06    .27620E-03
  14  Prefactor     29.537        19.305       -.42534E-07   -.28556E-04
  15  Prefactor     32.846        23.385        .38371E-07    .47706E-05
  16  Prefactor     90.572        24.827        .64001E-07   -.11341E-03
  17  norm          .10000E-03    2.5682       -.30711E-06** at limit **
  18  Prefactor     .10000E-03    47.368       -.36687E-07** at limit **
  19  Prefactor     .10000E-03    24.598       -.10364E-05** at limit **
  20  Prefactor     70.505        49.329        .12164E-05    .22746E-03
  21  Prefactor     16.412        25.245        .94279E-06   -.34007E-04
  22  Prefactor     .10000E-03    20.017        .38292E-06** at limit **
  23  norm          1.9033        1.9557       -.10188E-06   -.32396E-03
  24  Prefactor     1.2906        3.6612        .44952E-06   -.54285E-05
  25  Prefactor     10.817        3.0620        .38496E-09   -.27606E-03
  26  Prefactor     .10002E-03    9.8738        .48917E-05** at limit **
  27  Normalizat    1.4753        .22368        .21814E-05    .25413E-03
  28  Prefactor     .83316        .13698       -.26734E-05   -.20652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8449
  Prefactor  = 4.25578
  Prefactor  = 2.10539
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.182544
  Prefactor  = 0.0001
  Prefactor  = 4.69287
  norm       = 11.8465
  Prefactor  = 11.6383
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.8226
  Prefactor  = 29.5373
  Prefactor  = 32.8462
  Prefactor  = 90.5724
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 70.5052
  Prefactor  = 16.4118
  Prefactor  = 0.0001
  norm       = 1.90334
  Prefactor  = 1.29064
  Prefactor  = 10.8166
  Prefactor  = 0.00010002
  Normalizat = 1.47531
  Prefactor  = 0.833157
 **********
 **   18 **HESSE 
 **********

 FCN=   7823.657     FROM HESSE     STATUS=OK           523 CALLS     3992 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.845        12.900        .10061E-03   -1.4912    
   2  Prefactor     4.2558        8.6791        .97643E-03   -1.5295    
   3  Prefactor     2.1054        3.6401        .10689E-02   -1.5418    
   4  Prefactor     .10000E-03    17.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.4570        .15970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .18254        1.6090        .14769E-02   -1.5623    
   7  Prefactor     .10000E-03    1.2940        .97834E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6929        9.1402        .92832E-03   -1.5275    
   9  norm          11.847        19.747        .11635E-03   -1.5019    
  10  Prefactor     11.638        18.536        .11742E-03   -1.5026    
  11  Prefactor     .10000E-03    20.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.5120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.823        4.8306        .11921E-03   -1.5050    
  14  Prefactor     29.537        19.318        .73718E-04   -1.4620    
  15  Prefactor     32.846        23.389        .69916E-04   -1.4561    
  16  Prefactor     90.572        24.784        .21111E-03   -1.3802    
  17  norm          .10000E-03    2.5888        .13829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    47.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    24.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     70.505        49.485        .47808E-04   -1.4027    
  21  Prefactor     16.412        25.479        .98810E-04   -1.4898    
  22  Prefactor     .10000E-03    20.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.9033        1.9566        .12125E-03   -1.5432    
  24  Prefactor     1.2906        3.5920        .27357E-03   -1.5481    
  25  Prefactor     10.817        3.0540        .79227E-04   -1.5050    
  26  Prefactor     .10002E-03    36.818        .45478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.4753        .26993        .30022E-03   -.78474    
  28  Prefactor     .83316        .16150        .24643E-03   -.98517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5652e-08
Minuit parameter uncertainties:
  1  12.9021
  2  8.68166
  3  3.64049
  4  0.000115136
  5  6.56227e-06
  6  1.08366
  7  5.07621e-06
  8  9.1429
  9  19.7575
  10  18.5456
  11  0.000133425
  12  3.7363e-05
  13  4.83076
  14  19.322
  15  23.395
  16  24.7865
  17  3.33572e-05
  18  0.000238808
  19  9.5685e-05
  20  49.5141
  21  25.4963
  22  0.000177332
  23  1.95664
  24  3.5926
  25  3.05402
  26  0.00172344
  27  0.270194
  28  0.161596
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  2.954e+01  1.932e+01  1.000e-04  1.000e+04 ( 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:  8.332e-01  1.616e-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.475e+00  2.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.92
Ra Dec: 178.348 -11.075
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 7.46e-08 +/- 4.88e-08
Energy Flux (Fixed Index): 2.67e-05 +/- 1.75e-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) = 7823.51932654
delta logL = 0.137629300407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7823.51204961
delta logL = 0.144906226916

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.156       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0326       1.0000          .0000       10.000    
     3 'Normalizat'    1.4983       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82637       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7823.512     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      277 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.156        23.110        .69590E-04    .33222E-03
   2  Index         2.0325        .57639        .96670E-02    .81592E-04
   3  Normalizat    1.4983        .24917        .29841E-03   -.40840E-04
   4  Prefactor     .82641        .15793        .24739E-03   -.55742E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.1558
  Index      = 2.03249
  Normalizat = 1.49826
  Prefactor  = 0.82641
 **********
 **   18 **HESSE 
 **********

 FCN=   7823.512     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.156        23.089        .13918E-04   -1.4556    
   2  Index         2.0325        .57527        .38668E-03   -.63540    
   3  Normalizat    1.4983        .24925        .11936E-04   -.77827    
   4  Prefactor     .82641        .15804        .98957E-05   -.98762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06877e-10
Minuit parameter uncertainties:
  1  23.0949
  2  0.577246
  3  0.249458
  4  0.158124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147582': 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) = 7823.51204952
delta logL = 0.144906325791

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  3.316e+01  2.309e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.032e+00  5.772e-01  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:  8.264e-01  1.581e-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.498e+00  2.495e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.21
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 2.03 +/- 0.58
Photon Flux (Free Index): 5.08e-08 +/- 5.72e-08
Energy Flux (Free Index): 3.25e-05 +/- 2.75e-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/147582/cmap_HighResolution_612835201_613094401_4FGL_J1153.3-1104_daily_bin1441.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.46e-08', energy_flux2='3.25e-05', photon_flux_error='4.88e-08', dlogl='1.45e-01', energy_flux='2.67e-05', photon_flux2='5.08e-08', job_status='DONE', time_completed='2021-09-04 15:12:59.076097', photon_index_error2='0.58', photon_index2='2.03', ts='6.92', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='2.75e-05', EG='1.48', time_epoch_completed='1630793579.08', return_code='0', job_id='147582', GAL2='0.83', EG2='1.50', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='5.72e-08', ts2='7.21', photon_index='2.34' WHERE bin_id='1441' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:12:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 147582: <4FGL_J1153.3-1104_daily_bin1441> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1441> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 14:56:47 2021
Job was executed on host(s) <bullet0191>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:56:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 14:56:49 2021
Terminated at Sat Sep  4 15:12:59 2021
Results reported at Sat Sep  4 15:12:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1441 178.348 -11.075 612835201 613094401 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 :                                   825.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            972 sec.

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

