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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1067
RA = 175.387, Dec = -14.1457
tmin = 515894401, tmax = 516153601
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='997643', job_status='RUN', time_executed='2021-09-04 07:39:16.264330', time_epoch_executed='1630766356.26' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1067'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/997643

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/997643/ft1_4FGL_J1141.5-1408_daily_bin1067.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/997643/ft2_4FGL_J1141.5-1408_daily_bin1067.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/997643/ft1_4FGL_J1141.5-1408_daily_bin1067.fits outfile=/scratch/kocevski/997643/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1067.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=515894401.0 tmax=516153601.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.80
user 3.49
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/997643/ft1_filtered_4FGL_J1141.5-1408_daily_bin1067.fits" evtable="EVENTS" scfile=/scratch/kocevski/997643/ft2_4FGL_J1141.5-1408_daily_bin1067.fits sctable="SC_DATA" outfile=/scratch/kocevski/997643/ltcube_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.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/997643/ft2_4FGL_J1141.5-1408_daily_bin1067.fits
.....................!
real 12.00
user 11.68
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/997643/ft1_filtered_4FGL_J1141.5-1408_daily_bin1067.fits evtable="EVENTS" scfile=/scratch/kocevski/997643/ft2_4FGL_J1141.5-1408_daily_bin1067.fits sctable="SC_DATA" expcube=/scratch/kocevski/997643/ltcube_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.fits outfile=/scratch/kocevski/997643/expmap_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.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/997643/ltcube_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.fits
.....................!
real 191.18
user 186.47
sys 4.21

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/997643/ft1_filtered_4FGL_J1141.5-1408_daily_bin1067.fits scfile=/scratch/kocevski/997643/ft2_4FGL_J1141.5-1408_daily_bin1067.fits outfile=/scratch/kocevski/997643/cmap_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.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.58
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/997643/ft1_filtered_4FGL_J1141.5-1408_daily_bin1067.fits scfile=/scratch/kocevski/997643/ft2_4FGL_J1141.5-1408_daily_bin1067.fits outfile=/scratch/kocevski/997643/cmap_HighResolution_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.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.53
user 0.38
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/997643/ft1_filtered_4FGL_J1141.5-1408_daily_bin1067.fits', '/scratch/kocevski/997643/ft2_4FGL_J1141.5-1408_daily_bin1067.fits', expMap='/scratch/kocevski/997643/expmap_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.fits', expCube='/scratch/kocevski/997643/ltcube_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/997643/Model_4FGL_J1141.5-1408_daily_bin1067.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/997643/ft1_filtered_4FGL_J1141.5-1408_daily_bin1067.fits
Spacecraft file(s): /scratch/kocevski/997643/ft2_4FGL_J1141.5-1408_daily_bin1067.fits
Exposure map: /scratch/kocevski/997643/expmap_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.fits
Exposure cube: /scratch/kocevski/997643/ltcube_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/997643/Model_4FGL_J1141.5-1408_daily_bin1067.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) = 5800.55072725

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6774       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3250       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.519       1.0000         .10000E-03   10000.    
     9 'Prefactor '    45.882       1.0000         .10000E-03   10000.    
    10 'norm      '    .38523       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14092E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.092       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.5257       1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.181       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.621       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .12014E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    20.534       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.6528       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .77555       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=   5800.545     FROM MIGRAD    STATUS=CONVERGED    684 CALLS     3453 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.6780        9.3480        .11621E-06   -.18150E-04
   2  Prefactor     .10000E-03    24.402       -.89444E-06** at limit **
   3  Prefactor     .10000E-03    93.158        .44768E-05** at limit **
   4  Prefactor     .10000E-03    9.7799        .18918E-07** at limit **
   5  Prefactor     .10000E-03    3.4300        .37404E-07** at limit **
   6  Prefactor     3.3241        6.4717        .44854E-05    .22360E-04
   7  Prefactor     .10000E-03    30.672        .24859E-05** at limit **
   8  norm          11.517        8.3971       -.72949E-06   -.50572E-04
   9  Prefactor     45.882        47.038       -.64189E-07   -.91660E-05
  10  norm          .38530        1.2004        .25036E-06   -.22771E-04
  11  Prefactor     .10000E-03    3.0108        .14037E-05** at limit **
  12  Prefactor     29.090        15.256        .27171E-06    .45590E-04
  13  norm          .10000E-03    9.1132       -.13062E-06** at limit **
  14  Prefactor     .10000E-03    6.7009        .77349E-07** at limit **
  15  Prefactor     .10000E-03    61.073       -.22087E-05** at limit **
  16  norm          .10000E-03    2.0189       -.31131E-07** at limit **
  17  Prefactor     3.5257        3.4633        .77151E-07    .16227E-04
  18  Prefactor     39.179        22.251        .20129E-06    .17667E-04
  19  Prefactor     .10000E-03    7.5660        .29897E-06** at limit **
  20  norm          .10000E-03    1.3571       -.25460E-07** at limit **
  21  Prefactor     .10000E-03    15.963        .24760E-06** at limit **
  22  Prefactor     11.619        19.338        .52673E-06    .12678E-04
  23  Prefactor     .10000E-03    24.491       -.83764E-06** at limit **
  24  Prefactor     .10000E-03    72.563       -.26681E-05** at limit **
  25  Prefactor     20.523        32.807        .11946E-05    .33266E-04
  26  Prefactor     .10000E-03    2.7160       -.13013E-07** at limit **
  27  Normalizat    1.6531        .27229       -.18652E-05    .92209E-05
  28  Prefactor     .77539        .15342        .68184E-06    .12547E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.67799
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.32407
  Prefactor  = 0.0001
  norm       = 11.517
  Prefactor  = 45.8823
  norm       = 0.385299
  Prefactor  = 0.0001
  Prefactor  = 29.0897
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.52568
  Prefactor  = 39.1788
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.6192
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.523
  Prefactor  = 0.0001
  Normalizat = 1.65306
  Prefactor  = 0.775385
 **********
 **   18 **HESSE 
 **********

 FCN=   5800.545     FROM HESSE     STATUS=OK           515 CALLS     3968 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.6780        9.3588        .12882E-03   -1.5086    
   2  Prefactor     .10000E-03    24.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    93.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.8279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4327        .13775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3241        6.5586        .11099E-02   -1.5343    
   7  Prefactor     .10000E-03    30.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.517        8.3958        .11804E-03   -1.5029    
   9  Prefactor     45.882        46.942        .29596E-03   -1.4352    
  10  norm          .38530        1.1863        .13834E-03   -1.5584    
  11  Prefactor     .10000E-03    7.2350        .24394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.090        15.387        .74280E-04   -1.4629    
  13  norm          .10000E-03    9.1188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.7046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    61.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.0241        .10565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.5257        3.4536        .13314E-03   -1.5332    
  18  Prefactor     39.179        22.264        .64034E-04   -1.4455    
  19  Prefactor     .10000E-03    7.6105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.3601        .86639E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    15.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.619        19.495        .11752E-03   -1.5026    
  23  Prefactor     .10000E-03    24.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    73.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     20.523        32.897        .88390E-04   -1.4802    
  26  Prefactor     .10000E-03    2.7296        .12257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.6531        .32597        .28840E-03   -.73563    
  28  Prefactor     .77539        .18315        .24080E-03   -1.0064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.03578e-11
Minuit parameter uncertainties:
  1  9.36022
  2  1.62638e-05
  3  0.000143628
  4  8.4176e-07
  5  1.90955e-07
  6  6.56004
  7  5.00061e-05
  8  8.39671
  9  46.9797
  10  1.18638
  11  8.43211e-05
  12  15.3891
  13  6.40798e-07
  14  3.94949e-07
  15  0.000228728
  16  1.56226e-07
  17  3.45384
  18  22.2691
  19  2.09315e-05
  20  2.08199e-06
  21  4.56101e-06
  22  19.5055
  23  1.58031e-05
  24  0.000350055
  25  32.9257
  26  1.1844e-06
  27  0.326394
  28  0.183292
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  2.287e-04  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:  7.754e-01  1.833e-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.653e+00  3.264e-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.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/997643/likelihoodResults_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.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) = 5800.5451794
delta logL = -7.74758555053e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5800.54510192
delta logL = 9.98807081487e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0147       1.0000          .0000       10.000    
     3 'Normalizat'    1.6531       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77539       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=   5800.545     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      241 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    738.44        .90712E-02** at limit **
   2  Index         2.0333        8.5510        .50000       -.21932E-05
   3  Normalizat    1.6531        .22596E-01    .65204E-01   -.49353E-03
   4  Prefactor     .77538        .13628E-01    .43396E-01   -.54212E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 2.03328
  Normalizat = 1.65306
  Prefactor  = 0.775385
 **********
 **   18 **HESSE 
 **********

 FCN=   5800.545     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    8431.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0333        5.6315        .50000       -.63521    
   3  Normalizat    1.6531        .10155        .28840E-03   -.73564    
   4  Prefactor     .77538        .61259E-01    .24080E-03   -1.0064    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.23259e-08
Minuit parameter uncertainties:
  1  0.0232152
  2  49.4194
  3  0.101558
  4  0.0612645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/997643': 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) = 5800.54510189
delta logL = 4.1252860683e-08

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  2.322e-02  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.033e+00  4.942e+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:  7.754e-01  6.126e-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.653e+00  1.016e-01  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/997643/cmap_HighResolution_515894401_516153601_4FGL_J1141.5-1408_daily_bin1067.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='8.25e-08', time_completed='2021-09-04 07:52:16.696116', job_id='997643', GAL2='0.78', fit_tolerance='1e-08', EG2='1.65', EG='1.65', time_epoch_completed='1630767136.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='4.13e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1067' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:52:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 997643: <4FGL_J1141.5-1408_daily_bin1067> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1067> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 07:36:44 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:36:46 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:36:46 2021
Terminated at Sat Sep  4 07:52:17 2021
Results reported at Sat Sep  4 07:52:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1067 175.387 -14.1457 515894401 516153601 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 :                                   774.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            933 sec.

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

