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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1541
RA = 175.387, Dec = -14.1457
tmin = 638755201, tmax = 639014401
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='535', job_status='RUN', time_executed='2021-09-04 07:48:36.115293', time_epoch_executed='1630766916.12' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1541'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/535

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/535/ft1_4FGL_J1141.5-1408_daily_bin1541.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/535/ft2_4FGL_J1141.5-1408_daily_bin1541.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/535/ft1_4FGL_J1141.5-1408_daily_bin1541.fits outfile=/scratch/kocevski/535/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1541.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=638755201.0 tmax=639014401.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 5.33
user 5.02
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/535/ft2_4FGL_J1141.5-1408_daily_bin1541.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/535/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1541.fits evtable="EVENTS" outfile="/scratch/kocevski/535/ft1_filtered_4FGL_J1141.5-1408_daily_bin1541.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.50
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/535/ft1_filtered_4FGL_J1141.5-1408_daily_bin1541.fits" evtable="EVENTS" scfile=/scratch/kocevski/535/ft2_4FGL_J1141.5-1408_daily_bin1541.fits sctable="SC_DATA" outfile=/scratch/kocevski/535/ltcube_638755201_639014401_4FGL_J1141.5-1408_daily_bin1541.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/535/ft2_4FGL_J1141.5-1408_daily_bin1541.fits
.....................!
real 11.89
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/535/ft1_filtered_4FGL_J1141.5-1408_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/535/ft2_4FGL_J1141.5-1408_daily_bin1541.fits sctable="SC_DATA" expcube=/scratch/kocevski/535/ltcube_638755201_639014401_4FGL_J1141.5-1408_daily_bin1541.fits outfile=/scratch/kocevski/535/expmap_638755201_639014401_4FGL_J1141.5-1408_daily_bin1541.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/535/ltcube_638755201_639014401_4FGL_J1141.5-1408_daily_bin1541.fits
.....................!
real 192.14
user 185.14
sys 5.49

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/535/ft1_filtered_4FGL_J1141.5-1408_daily_bin1541.fits scfile=/scratch/kocevski/535/ft2_4FGL_J1141.5-1408_daily_bin1541.fits outfile=/scratch/kocevski/535/cmap_638755201_639014401_4FGL_J1141.5-1408_daily_bin1541.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/535/ft1_filtered_4FGL_J1141.5-1408_daily_bin1541.fits scfile=/scratch/kocevski/535/ft2_4FGL_J1141.5-1408_daily_bin1541.fits outfile=/scratch/kocevski/535/cmap_HighResolution_638755201_639014401_4FGL_J1141.5-1408_daily_bin1541.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/535/ft1_filtered_4FGL_J1141.5-1408_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/535/ft2_4FGL_J1141.5-1408_daily_bin1541.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/535/Model_4FGL_J1141.5-1408_daily_bin1541.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/535/ft1_filtered_4FGL_J1141.5-1408_daily_bin1541.fits.....................!
real 46.93
user 45.52
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.5734       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9511       1.0000         .10000E-03   10000.    
     7 'Prefactor '    112.17       1.0000         .10000E-03   10000.    
     8 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.232       1.0000         .10000E-03   10000.    
    10 'norm      '    .57253       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.061       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.5382       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14067E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    34.270       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .93210       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2012       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=   4587.605     FROM MIGRAD    STATUS=CONVERGED    666 CALLS     3441 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4016        .37750E-07** at limit **
   2  Prefactor     .10000E-03    19.978        .12242E-05** at limit **
   3  Prefactor     8.5557        174.66       -.45191E-05   -.39328E-04
   4  Prefactor     .10000E-03    34.128       -.99537E-06** at limit **
   5  Prefactor     .10000E-03    35.922       -.12704E-05** at limit **
   6  Prefactor     5.9558        7.4205        .32532E-05   -.39177E-03
   7  Prefactor     112.20        100.05        .30261E-05    .16484E-03
   8  norm          .10000E-03    14.334       -.11330E-05** at limit **
   9  Prefactor     40.242        40.387        .10053E-05    .94566E-04
  10  norm          .57191        1.1105        .22951E-06    .50061E-03
  11  Prefactor     .10000E-03    1.8090       -.66421E-07** at limit **
  12  Prefactor     14.058        15.897        .12812E-06    .49251E-05
  13  norm          .10000E-03    12.102       -.76158E-08** at limit **
  14  Prefactor     .10000E-03    8.8914       -.80153E-06** at limit **
  15  Prefactor     .10002E-03    90.880       -.61874E-05** at limit **
  16  norm          7.5286        7.6773        .20359E-05   -.28785E-03
  17  Prefactor     .10000E-03    5.6410       -.47929E-06** at limit **
  18  Prefactor     .10000E-03    8.5944        .49035E-06** at limit **
  19  Prefactor     .10000E-03    10.630        .63622E-06** at limit **
  20  norm          .10000E-03    3.0640        .46239E-07** at limit **
  21  Prefactor     .10000E-03    31.580       -.17097E-05** at limit **
  22  Prefactor     34.268        21.398        .11549E-06   -.11297E-04
  23  Prefactor     .10000E-03    42.106        .18069E-05** at limit **
  24  Prefactor     .10001E-03    66.083        .54009E-05** at limit **
  25  Prefactor     .10000E-03    14.341       -.41741E-06** at limit **
  26  Prefactor     .10000E-03    12.075       -.46005E-07** at limit **
  27  Normalizat    .93200        .29818       -.29905E-05    .38717E-04
  28  Prefactor     1.2011        .17784        .23737E-06   -.28264E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.55567
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 5.95576
  Prefactor  = 112.2
  norm       = 0.000100001
  Prefactor  = 40.2417
  norm       = 0.571906
  Prefactor  = 0.0001
  Prefactor  = 14.0578
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  norm       = 7.52858
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 34.2681
  Prefactor  = 0.000100002
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.931996
  Prefactor  = 1.20112
 **********
 **   18 **HESSE 
 **********

 FCN=   4587.605     FROM HESSE     STATUS=OK           505 CALLS     3946 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4098        .12200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.5557        177.52        .13690E-03   -1.5123    
   4  Prefactor     .10000E-03    34.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    36.964        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9558        7.5235        .82302E-03   -1.5220    
   7  Prefactor     112.20        101.69        .18991E-03   -1.3585    
   8  norm          .10000E-03    14.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.242        40.366        .63195E-04   -1.4438    
  10  norm          .57191        .92436        .95736E-03   -1.5557    
  11  Prefactor     .10000E-03    1.8159        .88964E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.058        15.911        .10682E-03   -1.4958    
  13  norm          .10000E-03    12.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.9328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    93.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.5286        7.6986        .73034E-03   -1.5159    
  17  Prefactor     .10000E-03    5.8810        .31349E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.6232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.1018        .11576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    31.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     34.268        21.457        .68453E-04   -1.4537    
  23  Prefactor     .10000E-03    42.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10001E-03    67.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    14.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    12.394        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .93200        .34161        .35848E-03   -.95345    
  28  Prefactor     1.2011        .20546        .20077E-03   -.86297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43578e-09
Minuit parameter uncertainties:
  1  5.00875e-07
  2  0.000302504
  3  78.2105
  4  0.000480971
  5  0.000446733
  6  7.52469
  7  101.852
  8  0.000203573
  9  40.3938
  10  0.924385
  11  5.00741e-06
  12  15.9154
  13  7.03735e-07
  14  0.000103762
  15  0.00245838
  16  7.69962
  17  4.72984e-05
  18  6.47821e-05
  19  9.32531e-05
  20  4.06886e-06
  21  0.00041628
  22  21.4617
  23  0.000524497
  24  0.00192943
  25  6.96361e-05
  26  1.53115e-05
  27  0.342408
  28  0.205594
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  2.458e-03  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:  1.201e+00  2.056e-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:  9.320e-01  3.424e-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: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/535/likelihoodResults_638755201_639014401_4FGL_J1141.5-1408_daily_bin1541.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) = 4587.60463281
delta logL = -5.10064810442e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4587.60463281
delta logL = -5.10040508743e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96358E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9650       1.0000          .0000       10.000    
     3 'Normalizat'    .93200       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2011       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=   4587.605     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      202 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    32.638        .90713E-02** at limit **
   2  Index         1.9523        8.6034        .50000        .98789E-06
   3  Normalizat    .93199        .41407E-02    .80981E-01   -.11765E-03
   4  Prefactor     1.2011        .26073E-02    .34604E-01    .32505E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Index      = 1.95232
  Normalizat = 0.931988
  Prefactor  = 1.20112
 **********
 **   18 **HESSE 
 **********

 FCN=   4587.605     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      233 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    279.69        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9523        7.7849        .50000       -.65548    
   3  Normalizat    .93199        .12139E-01    .35848E-03   -.95345    
   4  Prefactor     1.2011        .76604E-02    .20077E-03   -.86297    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.02835e-09
Minuit parameter uncertainties:
  1  0.00320848
  2  186.287
  3  0.0121394
  4  0.00766043
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/535': 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) = 4587.6045818
delta logL = 3.20778781315e-09

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  3.208e-03  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  1.952e+00  1.863e+02  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:  1.201e+00  7.660e-03  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:  9.320e-01  1.214e-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/535/cmap_HighResolution_638755201_639014401_4FGL_J1141.5-1408_daily_bin1541.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.27e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-04 08:00:10.898821', job_id='535', GAL2='1.20', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1630767610.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='3.21e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1541' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 08:00:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 535: <4FGL_J1141.5-1408_daily_bin1541> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1541> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 07:46:39 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:46:41 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:46:41 2021
Terminated at Sat Sep  4 08:00:11 2021
Results reported at Sat Sep  4 08:00:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1541 175.387 -14.1457 638755201 639014401 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 :                                   678.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

