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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin819
RA = 175.387, Dec = -14.1457
tmin = 451612801, tmax = 451872001
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='996076', job_status='RUN', time_executed='2021-09-04 07:35:55.591656', time_epoch_executed='1630766155.59' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='819'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996076

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996076/ft1_4FGL_J1141.5-1408_daily_bin819.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996076/ft2_4FGL_J1141.5-1408_daily_bin819.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996076/ft1_4FGL_J1141.5-1408_daily_bin819.fits outfile=/scratch/kocevski/996076/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin819.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=451612801.0 tmax=451872001.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.35
user 3.17
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/996076/ft2_4FGL_J1141.5-1408_daily_bin819.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/996076/ft2_4FGL_J1141.5-1408_daily_bin819.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/996076/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin819.fits evtable="EVENTS" outfile="/scratch/kocevski/996076/ft1_filtered_4FGL_J1141.5-1408_daily_bin819.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996076/ft1_filtered_4FGL_J1141.5-1408_daily_bin819.fits" evtable="EVENTS" scfile=/scratch/kocevski/996076/ft2_4FGL_J1141.5-1408_daily_bin819.fits sctable="SC_DATA" outfile=/scratch/kocevski/996076/ltcube_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.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/996076/ft2_4FGL_J1141.5-1408_daily_bin819.fits
.....................!
real 11.73
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996076/ft1_filtered_4FGL_J1141.5-1408_daily_bin819.fits evtable="EVENTS" scfile=/scratch/kocevski/996076/ft2_4FGL_J1141.5-1408_daily_bin819.fits sctable="SC_DATA" expcube=/scratch/kocevski/996076/ltcube_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.fits outfile=/scratch/kocevski/996076/expmap_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.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/996076/ltcube_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.fits
.....................!
real 190.31
user 185.63
sys 4.15

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

Setting source of interest to:
4FGL J1141.5-1408 @ 175.387 -14.1457

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/996076/ft1_filtered_4FGL_J1141.5-1408_daily_bin819.fits scfile=/scratch/kocevski/996076/ft2_4FGL_J1141.5-1408_daily_bin819.fits outfile=/scratch/kocevski/996076/cmap_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.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=175.387 yref=-14.1457 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.69
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996076/ft1_filtered_4FGL_J1141.5-1408_daily_bin819.fits scfile=/scratch/kocevski/996076/ft2_4FGL_J1141.5-1408_daily_bin819.fits outfile=/scratch/kocevski/996076/cmap_HighResolution_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.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=175.387 yref=-14.1457 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.63
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/996076/ft1_filtered_4FGL_J1141.5-1408_daily_bin819.fits evtable="EVENTS" scfile=/scratch/kocevski/996076/ft2_4FGL_J1141.5-1408_daily_bin819.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/996076/Model_4FGL_J1141.5-1408_daily_bin819.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/996076/ft1_filtered_4FGL_J1141.5-1408_daily_bin819.fits.....................!
real 49.79
user 48.49
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/996076/ft1_filtered_4FGL_J1141.5-1408_daily_bin819.fits', '/scratch/kocevski/996076/ft2_4FGL_J1141.5-1408_daily_bin819.fits', expMap='/scratch/kocevski/996076/expmap_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.fits', expCube='/scratch/kocevski/996076/ltcube_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/996076/Model_4FGL_J1141.5-1408_daily_bin819.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1141.5-1408'

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  2.590e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  1.965e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/996076/ft1_filtered_4FGL_J1141.5-1408_daily_bin819.fits
Spacecraft file(s): /scratch/kocevski/996076/ft2_4FGL_J1141.5-1408_daily_bin819.fits
Exposure map: /scratch/kocevski/996076/expmap_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.fits
Exposure cube: /scratch/kocevski/996076/ltcube_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/996076/Model_4FGL_J1141.5-1408_daily_bin819.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) = 5260.17350897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.683       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1471       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3256       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13193E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5045       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.851       1.0000         .10000E-03   10000.    
     8 'norm      '    24.361       1.0000         .10000E-03   10000.    
     9 'Prefactor '    72.010       1.0000         .10000E-03   10000.    
    10 'norm      '    1.8828       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17206E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21651E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    19.882       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.854       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .91607       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .22695E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.5580       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.480       1.0000         .10000E-03   10000.    
    23 'Prefactor '    43.314       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.2710       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0117       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .96901       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5260.100     FROM MIGRAD    STATUS=CONVERGED    699 CALLS     3562 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.683        7.7811       -.16752E-07    .42148E-05
   2  Prefactor     .10000E-03    14.946       -.51127E-06** at limit **
   3  Prefactor     5.1618        246.73       -.18837E-05   -.12738E-04
   4  Prefactor     9.3170        20.172       -.46000E-05    .22325E-04
   5  Prefactor     .10001E-03    59.099       -.20479E-05** at limit **
   6  Prefactor     5.5046        7.4149       -.64909E-07   -.68111E-04
   7  Prefactor     13.883        122.05        .19754E-05   -.35771E-04
   8  norm          24.358        15.894        .80236E-06    .98664E-06
   9  Prefactor     72.030        55.251       -.17081E-06   -.95059E-04
  10  norm          1.8825        1.4349       -.19247E-06    .55744E-04
  11  Prefactor     .10295E-03    10.223        .24033E-05** at limit **
  12  Prefactor     .10000E-03    24.060       -.15931E-05** at limit **
  13  norm          19.890        25.888        .31028E-05   -.94166E-04
  14  Prefactor     10.854        25.957        .33080E-05   -.44288E-04
  15  Prefactor     .10000E-03    25.499       -.97527E-07** at limit **
  16  norm          .10000E-03    3.2295       -.16985E-06** at limit **
  17  Prefactor     .91689        3.2593       -.19326E-05   -.30552E-03
  18  Prefactor     .10014E-03    160.99       -.16659E-04** at limit **
  19  Prefactor     .10000E-03    5.6611        .12958E-07** at limit **
  20  norm          6.5583        5.4741       -.11795E-06   -.24654E-05
  21  Prefactor     .10000E-03    21.569       -.22315E-06** at limit **
  22  Prefactor     20.477        15.814       -.52435E-08    .15151E-04
  23  Prefactor     43.322        45.059        .78380E-07   -.34552E-04
  24  Prefactor     .10000E-03    49.252        .36695E-06** at limit **
  25  Prefactor     .10000E-03    9.3957        .25357E-07** at limit **
  26  Prefactor     7.2710        8.2589       -.30195E-06    .12580E-04
  27  Normalizat    1.0119        .26088        .14189E-05   -.10104E-03
  28  Prefactor     .96891        .15428        .41600E-07   -.73634E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.6827
  Prefactor  = 0.0001
  Prefactor  = 5.16184
  Prefactor  = 9.31695
  Prefactor  = 0.00010001
  Prefactor  = 5.50455
  Prefactor  = 13.883
  norm       = 24.3578
  Prefactor  = 72.0298
  norm       = 1.8825
  Prefactor  = 0.000102945
  Prefactor  = 0.0001
  norm       = 19.8896
  Prefactor  = 10.8537
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.916892
  Prefactor  = 0.000100136
  Prefactor  = 0.0001
  norm       = 6.55831
  Prefactor  = 0.0001
  Prefactor  = 20.4766
  Prefactor  = 43.3223
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 7.27104
  Normalizat = 1.01187
  Prefactor  = 0.968906
 **********
 **   18 **HESSE 
 **********

 FCN=   5260.100     FROM HESSE     STATUS=OK           531 CALLS     4093 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.683        7.7816        .98058E-04   -1.4891    
   2  Prefactor     .10000E-03    14.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.1618        245.67        .17720E-03   -1.5254    
   4  Prefactor     9.3170        19.987        .13124E-03   -1.5097    
   5  Prefactor     .10001E-03    60.366        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.5046        7.3917        .17125E-03   -1.5239    
   7  Prefactor     13.883        121.44        .10762E-03   -1.4963    
   8  norm          24.358        16.467        .81158E-04   -1.4720    
   9  Prefactor     72.030        55.260        .23654E-03   -1.4009    
  10  norm          1.8825        1.4218        .71466E-04   -1.5434    
  11  Prefactor     .10295E-03    15.900        .40015E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.061        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          19.890        28.513        .89826E-04   -1.4816    
  14  Prefactor     10.854        27.368        .12161E-03   -1.5049    
  15  Prefactor     .10000E-03    25.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.2425        .12711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .91689        3.2051        .23262E-03   -1.5516    
  18  Prefactor     .10014E-03    162.11        .56019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.6639        .16849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.5583        5.4706        .14796E-03   -1.5196    
  21  Prefactor     .10000E-03    21.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     20.477        15.838        .88506E-04   -1.4803    
  23  Prefactor     43.322        45.063        .60914E-04   -1.4391    
  24  Prefactor     .10000E-03    49.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    9.3973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.2710        8.2546        .14875E-03   -1.5169    
  27  Normalizat    1.0119        .31052        .32714E-03   -.92634    
  28  Prefactor     .96891        .18514        .20760E-03   -.93773    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40111e-09
Minuit parameter uncertainties:
  1  7.78211
  2  1.96524e-08
  3  71.5346
  4  20.0017
  5  0.00156498
  6  7.39292
  7  82.3467
  8  16.4703
  9  55.2991
  10  1.42187
  11  0.0136895
  12  2.98974e-05
  13  28.5325
  14  27.4
  15  7.69101e-05
  16  2.50651e-05
  17  3.20569
  18  0.00941138
  19  1.17834e-06
  20  5.47104
  21  0.000113567
  22  15.8414
  23  45.0988
  24  0.000863294
  25  2.18449e-06
  26  8.25591
  27  0.311075
  28  0.185266
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  7.691e-05  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  1.965e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.689e-01  1.853e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  1.012e+00  3.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 175.387 -14.146
Photon Flux Upper Limit: 8.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/996076/likelihoodResults_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.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): 102
logL (Free Index) = 5260.10020265
delta logL = -0.00018656355951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5260.100016
delta logL = 8.00946509116e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0428       1.0000          .0000       10.000    
     3 'Normalizat'    1.0119       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96890       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5260.100     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      233 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    479.82        .90712E-02** at limit **
   2  Index         2.0586        8.9213        .50000       -.52256E-05
   3  Normalizat    1.0119        .27009E-01    .73932E-01   -.15120E-03
   4  Prefactor     .96890        .16906E-01    .45877E-01   -.29300E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.05863
  Normalizat = 1.01188
  Prefactor  = 0.968904
 **********
 **   18 **HESSE 
 **********

 FCN=   5260.100     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      264 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1821.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0586        5.8421        .50000       -.62892    
   3  Normalizat    1.0119        .57712E-01    .32715E-03   -.92634    
   4  Prefactor     .96890        .36172E-01    .20760E-03   -.93773    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.94475e-09
Minuit parameter uncertainties:
  1  0.00138113
  2  34.5366
  3  0.0577154
  4  0.0361729
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996076': 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) = 5260.10001598
delta logL = 1.00794750324e-07

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  1.381e-03  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.059e+00  3.454e+01  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.689e-01  3.617e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  1.012e+00  5.772e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 175.387 -14.146

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/996076/cmap_HighResolution_451612801_451872001_4FGL_J1141.5-1408_daily_bin819.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-03', job_status='DONE', photon_flux_upper_limit='8.11e-08', time_completed='2021-09-04 07:47:58.316294', job_id='996076', GAL2='0.97', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1630766878.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='819' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:47:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 996076: <4FGL_J1141.5-1408_daily_bin819> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin819> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 07:32:08 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:32:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 07:32:09 2021
Terminated at Sat Sep  4 07:47:59 2021
Results reported at Sat Sep  4 07:47:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin819 175.387 -14.1457 451612801 451872001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1141.5-1408 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   721.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            951 sec.

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

