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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1480
RA = 175.387, Dec = -14.1457
tmin = 622944001, tmax = 623203201
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='444', job_status='RUN', time_executed='2021-09-04 07:47:21.839607', time_epoch_executed='1630766841.84' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1480'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444/ft1_4FGL_J1141.5-1408_daily_bin1480.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444/ft2_4FGL_J1141.5-1408_daily_bin1480.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444/ft1_4FGL_J1141.5-1408_daily_bin1480.fits outfile=/scratch/kocevski/444/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1480.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=622944001.0 tmax=623203201.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.16
user 2.84
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/444/ft1_filtered_4FGL_J1141.5-1408_daily_bin1480.fits" evtable="EVENTS" scfile=/scratch/kocevski/444/ft2_4FGL_J1141.5-1408_daily_bin1480.fits sctable="SC_DATA" outfile=/scratch/kocevski/444/ltcube_622944001_623203201_4FGL_J1141.5-1408_daily_bin1480.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/444/ft2_4FGL_J1141.5-1408_daily_bin1480.fits
.....................!
real 12.39
user 12.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444/ft1_filtered_4FGL_J1141.5-1408_daily_bin1480.fits evtable="EVENTS" scfile=/scratch/kocevski/444/ft2_4FGL_J1141.5-1408_daily_bin1480.fits sctable="SC_DATA" expcube=/scratch/kocevski/444/ltcube_622944001_623203201_4FGL_J1141.5-1408_daily_bin1480.fits outfile=/scratch/kocevski/444/expmap_622944001_623203201_4FGL_J1141.5-1408_daily_bin1480.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/444/ltcube_622944001_623203201_4FGL_J1141.5-1408_daily_bin1480.fits
.....................!
real 191.08
user 185.66
sys 4.78

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/444/ft1_filtered_4FGL_J1141.5-1408_daily_bin1480.fits scfile=/scratch/kocevski/444/ft2_4FGL_J1141.5-1408_daily_bin1480.fits outfile=/scratch/kocevski/444/cmap_622944001_623203201_4FGL_J1141.5-1408_daily_bin1480.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444/ft1_filtered_4FGL_J1141.5-1408_daily_bin1480.fits scfile=/scratch/kocevski/444/ft2_4FGL_J1141.5-1408_daily_bin1480.fits outfile=/scratch/kocevski/444/cmap_HighResolution_622944001_623203201_4FGL_J1141.5-1408_daily_bin1480.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/444/ft1_filtered_4FGL_J1141.5-1408_daily_bin1480.fits evtable="EVENTS" scfile=/scratch/kocevski/444/ft2_4FGL_J1141.5-1408_daily_bin1480.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/444/Model_4FGL_J1141.5-1408_daily_bin1480.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/444/ft1_filtered_4FGL_J1141.5-1408_daily_bin1480.fits.......................!
real 22.93
user 21.69
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.370       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    48.092       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    121.24       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    156.88       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.987       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.629       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .23331E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    38.551       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    58.212       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    90.992       1.0000         .10000E-03   10000.    
    21 'Prefactor '    77.486       1.0000         .10000E-03   10000.    
    22 'Prefactor '    223.42       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .19660E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0960       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=   1122.135     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     4038 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.374        16.137       -.22798E-05    .51911E-05
   2  Prefactor     .10000E-03    30.135        .19611E-06** at limit **
   3  Prefactor     .10000E-03    96.206        .37471E-05** at limit **
   4  Prefactor     48.121        49.085        .82727E-05    .25110E-04
   5  Prefactor     .10000E-03    13.757       -.70732E-07** at limit **
   6  Prefactor     .10000E-03    7.2591       -.46348E-06** at limit **
   7  Prefactor     121.15        299.69       -.77459E-04    .73446E-05
   8  norm          .10000E-03    15.144       -.53927E-06** at limit **
   9  Prefactor     156.87        180.63       -.39866E-05    .77266E-05
  10  norm          .10000E-03    1.6965       -.89937E-07** at limit **
  11  Prefactor     13.986        13.613        .11606E-04    .51851E-04
  12  Prefactor     11.634        27.973        .50598E-05    .60724E-04
  13  norm          .10000E-03    53.484       -.96870E-06** at limit **
  14  Prefactor     .10000E-03    26.568       -.76921E-06** at limit **
  15  Prefactor     .10000E-03    238.25       -.12584E-03** at limit **
  16  norm          38.538        48.005       -.41043E-04   -.27435E-04
  17  Prefactor     .10000E-03    12.439       -.23017E-06** at limit **
  18  Prefactor     58.167        103.04       -.30665E-04    .14447E-04
  19  Prefactor     .10004E-03    660.90        .12701E-03** at limit **
  20  norm          91.059        73.524        .12285E-04   -.94739E-04
  21  Prefactor     77.976        1013.6        .54326E-03   -.12823E-04
  22  Prefactor     223.41        189.02       -.22971E-04   -.77294E-04
  23  Prefactor     .10004E-03    341.71        .25305E-03** at limit **
  24  Prefactor     .10000E-03    1177.5       -.44201E-03** at limit **
  25  Prefactor     .10000E-03    1510.4       -.69885E-03** at limit **
  26  Prefactor    10000.0        1770.6        .14939E-03** at limit **
  27  Normalizat    .10000E-01    .48308       -.60024E-06** at limit **
  28  Prefactor     1.0961        .26690        .28108E-05   -.16518E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.3736
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.1211
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 121.149
  norm       = 0.0001
  Prefactor  = 156.875
  norm       = 0.0001
  Prefactor  = 13.9863
  Prefactor  = 11.6342
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 38.5377
  Prefactor  = 0.0001
  Prefactor  = 58.1671
  Prefactor  = 0.000100044
  norm       = 91.0593
  Prefactor  = 77.9757
  Prefactor  = 223.406
  Prefactor  = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10000
  Normalizat = 0.01
  Prefactor  = 1.09611
 **********
 **   18 **HESSE 
 **********

 FCN=   1122.135     FROM HESSE     STATUS=OK           505 CALLS     4543 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.374        16.283        .11390E-03   -1.5004    
   2  Prefactor     .10000E-03    30.141        .17970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    96.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.121        48.795        .57822E-04   -1.4319    
   5  Prefactor     .10000E-03    13.760        .12132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.2823        .88106E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     121.15        301.40        .18275E-03   -1.3502    
   8  norm          .10000E-03    15.165        .12729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     156.87        181.46        .32189E-04   -1.3196    
  10  norm          .10000E-03    1.7025        .42539E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.986        13.624        .10710E-03   -1.4960    
  12  Prefactor     11.634        27.905        .11748E-03   -1.5026    
  13  norm          .10000E-03    53.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.572        .16872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    238.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          38.538        48.023        .64554E-04   -1.4466    
  17  Prefactor     .10000E-03    12.443        .11535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     58.167        103.11        .52582E-04   -1.4181    
  19  Prefactor     .10004E-03    660.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          91.059        73.446        .21063E-03   -1.3797    
  21  Prefactor     77.976        1002.3        .22810E-03   -1.3940    
  22  Prefactor     223.41        188.57        .13532E-03   -1.2707    
  23  Prefactor     .10004E-03    339.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    1178.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    1512.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor    10000.0        1771.0        .20957E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .10000E-01    .57728        .11767E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1.0961        .25550        .19379E-03   -.89591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.48037e-10
Minuit parameter uncertainties:
  1  16.2884
  2  1.25401e-05
  3  2.73106e-05
  4  48.8357
  5  2.22242e-05
  6  0.000120081
  7  305.346
  8  0.000161704
  9  182.113
  10  8.49801e-06
  11  13.627
  12  27.9362
  13  0.000663937
  14  7.03318e-05
  15  0.000385348
  16  48.0709
  17  0.000115539
  18  103.429
  19  0.0109444
  20  73.519
  21  571.316
  22  189.087
  23  0.00776173
  24  0.00091593
  25  0.00128639
  26  0.00015197
  27  6.44935e-06
  28  0.25579
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  3.853e-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:  1.096e+00  2.558e-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.000e-02  6.449e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 175.387 -14.146
Photon Flux Upper Limit: 4.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.43e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/444/likelihoodResults_622944001_623203201_4FGL_J1141.5-1408_daily_bin1480.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) = 1122.1346014
delta logL = -2.36011549077e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1122.13451753
delta logL = 6.026585379e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17308       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9180       1.0000          .0000       10.000    
     3 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0961       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=   1122.134     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      298 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43004        28.113        .98541E-01    .11797E-04
   2  Index         2.8831        .34037        .50000       -.35111E-06
   3  Normalizat    .10000E-01    .41192E-03    .21894    ** at limit **
   4  Prefactor     1.0954        .66116E-02    .37736E-01   -.25756E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.430037
  Index      = 2.88306
  Normalizat = 0.01
  Prefactor  = 1.09539
 **********
 **   18 **HESSE 
 **********

 FCN=   1122.134     FROM HESSE     STATUS=OK            33 CALLS      331 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43004        1215.9        .43438E-02   -1.5577    
   2  Index         2.8831        6.7741        .30793E-02   -.43718    
   3  Normalizat    .10000E-01    .57590        .11759E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0954        .19964        .19383E-03   -.89614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13771e-10
Minuit parameter uncertainties:
  1  46.7105
  2  13.5653
  3  7.85545e-07
  4  0.199777
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444': 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) = 1122.13448101
delta logL = 9.67912426404e-05

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  4.300e-01  4.671e+01  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.883e+00  1.357e+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:  1.095e+00  1.998e-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.000e-02  7.855e-07  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/444/cmap_HighResolution_622944001_623203201_4FGL_J1141.5-1408_daily_bin1480.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-02', job_status='DONE', photon_flux_upper_limit='4.58e-07', time_completed='2021-09-04 07:54:25.339946', job_id='444', GAL2='1.10', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630767265.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='9.68e-05', ts2='0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1480' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:54:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 444: <4FGL_J1141.5-1408_daily_bin1480> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1480> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 07:46:31 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:46:33 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:33 2021
Terminated at Sat Sep  4 07:54:26 2021
Results reported at Sat Sep  4 07:54:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1480 175.387 -14.1457 622944001 623203201 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 :                                   412.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   472 sec.
    Turnaround time :                            475 sec.

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

