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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1121
RA = 175.387, Dec = -14.1457
tmin = 529891201, tmax = 530150401
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='998718', job_status='RUN', time_executed='2021-09-04 07:41:16.609956', time_epoch_executed='1630766476.61' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998718

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998718/ft1_4FGL_J1141.5-1408_daily_bin1121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998718/ft2_4FGL_J1141.5-1408_daily_bin1121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998718/ft1_4FGL_J1141.5-1408_daily_bin1121.fits outfile=/scratch/kocevski/998718/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1121.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=529891201.0 tmax=530150401.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 4.70
user 3.29
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998718/ft1_filtered_4FGL_J1141.5-1408_daily_bin1121.fits" evtable="EVENTS" scfile=/scratch/kocevski/998718/ft2_4FGL_J1141.5-1408_daily_bin1121.fits sctable="SC_DATA" outfile=/scratch/kocevski/998718/ltcube_529891201_530150401_4FGL_J1141.5-1408_daily_bin1121.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/998718/ft2_4FGL_J1141.5-1408_daily_bin1121.fits
.....................!
real 11.86
user 11.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998718/ft1_filtered_4FGL_J1141.5-1408_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/998718/ft2_4FGL_J1141.5-1408_daily_bin1121.fits sctable="SC_DATA" expcube=/scratch/kocevski/998718/ltcube_529891201_530150401_4FGL_J1141.5-1408_daily_bin1121.fits outfile=/scratch/kocevski/998718/expmap_529891201_530150401_4FGL_J1141.5-1408_daily_bin1121.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/998718/ltcube_529891201_530150401_4FGL_J1141.5-1408_daily_bin1121.fits
.....................!
real 190.01
user 185.41
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/998718/ft1_filtered_4FGL_J1141.5-1408_daily_bin1121.fits scfile=/scratch/kocevski/998718/ft2_4FGL_J1141.5-1408_daily_bin1121.fits outfile=/scratch/kocevski/998718/cmap_529891201_530150401_4FGL_J1141.5-1408_daily_bin1121.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998718/ft1_filtered_4FGL_J1141.5-1408_daily_bin1121.fits scfile=/scratch/kocevski/998718/ft2_4FGL_J1141.5-1408_daily_bin1121.fits outfile=/scratch/kocevski/998718/cmap_HighResolution_529891201_530150401_4FGL_J1141.5-1408_daily_bin1121.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/998718/ft1_filtered_4FGL_J1141.5-1408_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/998718/ft2_4FGL_J1141.5-1408_daily_bin1121.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/998718/Model_4FGL_J1141.5-1408_daily_bin1121.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/998718/ft1_filtered_4FGL_J1141.5-1408_daily_bin1121.fits....................!
real 51.94
user 50.61
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3839       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.4904       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.089       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28729       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.558       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .61566       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4411       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6114       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.793       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.7298       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.1915       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.145       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1008       1.0000         .10000E-03   10000.    
    20 'norm      '    12.656       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10423E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    82.324       1.0000         .10000E-03   10000.    
    24 'Prefactor '    41.361       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0362       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91171       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=   5370.055     FROM MIGRAD    STATUS=CONVERGED    732 CALLS     3542 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3845        6.1579       -.55580E-07   -.48860E-04
   2  Prefactor     8.4880        25.566        .48632E-07    .75851E-05
   3  Prefactor     29.956        84.152       -.52837E-06   -.48881E-04
   4  Prefactor     .12305E-03    15.542        .31569E-05** at limit **
   5  Prefactor     19.719        15.515       -.25500E-05   -.49214E-03
   6  Prefactor     .10000E-03    2.6718        .80878E-07** at limit **
   7  Prefactor     .10000E-03    20.031        .34647E-07** at limit **
   8  norm          .59608        10.013        .22979E-05   -.39595E-03
   9  Prefactor     .10000E-03    110.50       -.11430E-06** at limit **
  10  norm          1.4404        1.4032        .67529E-07   -.55945E-04
  11  Prefactor     7.6131        6.4671       -.29159E-06   -.42939E-03
  12  Prefactor     .10000E-03    10.041        .61386E-07** at limit **
  13  norm          .10000E-03    16.166       -.43389E-07** at limit **
  14  Prefactor     30.782        35.844       -.75007E-07   -.68001E-04
  15  Prefactor     .10000E-03    31.085        .55302E-07** at limit **
  16  norm          4.7298        5.5219        .65389E-07   -.47802E-04
  17  Prefactor     7.1899        5.9712        .83670E-07   -.99873E-04
  18  Prefactor     18.136        27.187        .56934E-07   -.14352E-04
  19  Prefactor     5.1064        36.462        .11266E-05   -.14590E-04
  20  norm          12.652        9.1473       -.11708E-06    .14292E-04
  21  Prefactor     .10000E-03    59.536       -.13471E-06** at limit **
  22  Prefactor     .10000E-03    6.1572        .33501E-08** at limit **
  23  Prefactor     82.328        49.675       -.12544E-08   -.60379E-05
  24  Prefactor     41.355        45.563       -.71749E-07    .13242E-05
  25  Prefactor     .10000E-03    22.101        .36111E-07** at limit **
  26  Prefactor     .10000E-03    3.4469        .43413E-07** at limit **
  27  Normalizat    1.0367        .25234       -.12036E-05   -.18058E-03
  28  Prefactor     .91150        .14705        .25425E-06   -.24430E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.38453
  Prefactor  = 8.48798
  Prefactor  = 29.9561
  Prefactor  = 0.000123046
  Prefactor  = 19.7192
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.59608
  Prefactor  = 0.0001
  norm       = 1.44037
  Prefactor  = 7.61305
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.7821
  Prefactor  = 0.0001
  norm       = 4.72978
  Prefactor  = 7.18989
  Prefactor  = 18.1357
  Prefactor  = 5.1064
  norm       = 12.6519
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 82.3283
  Prefactor  = 41.3554
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.03674
  Prefactor  = 0.911503
 **********
 **   18 **HESSE 
 **********

 FCN=   5370.055     FROM HESSE     STATUS=OK           527 CALLS     4069 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3845        6.1621        .14760E-03   -1.5164    
   2  Prefactor     8.4880        25.497        .13758E-03   -1.5125    
   3  Prefactor     29.956        83.641        .73042E-04   -1.4613    
   4  Prefactor     .12305E-03    25.823        .75683E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.719        18.019        .90567E-04   -1.4820    
   6  Prefactor     .10000E-03    2.6824        .11694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .59608        27.392        .39273E-02   -1.5554    
   9  Prefactor     .10000E-03    111.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4404        1.3849        .80511E-04   -1.5468    
  11  Prefactor     7.6131        6.4152        .14536E-03   -1.5156    
  12  Prefactor     .10000E-03    10.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    16.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.782        35.877        .72204E-04   -1.4598    
  15  Prefactor     .10000E-03    31.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.7298        5.5074        .17605E-03   -1.5273    
  17  Prefactor     7.1899        5.9499        .13536E-03   -1.5172    
  18  Prefactor     18.136        27.169        .94024E-04   -1.4856    
  19  Prefactor     5.1064        34.476        .17802E-03   -1.5256    
  20  norm          12.652        8.9181        .11260E-03   -1.4996    
  21  Prefactor     .10000E-03    59.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.1647        .17757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     82.328        49.666        .44269E-04   -1.3891    
  24  Prefactor     41.355        45.510        .62330E-04   -1.4421    
  25  Prefactor     .10000E-03    22.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    3.4644        .13286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0367        .29933        .32046E-03   -.91810    
  28  Prefactor     .91150        .17421        .20861E-03   -.95740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22362e-09
Minuit parameter uncertainties:
  1  6.16267
  2  25.53
  3  83.9709
  4  0.0488113
  5  18.0238
  6  5.02853e-07
  7  2.69356e-06
  8  8.08473
  9  0.000405774
  10  1.38493
  11  6.41578
  12  1.07679e-05
  13  1.6208e-05
  14  35.9024
  15  8.89785e-06
  16  5.508
  17  5.95034
  18  27.1876
  19  26.5584
  20  8.919
  21  1.16849e-05
  22  2.83436e-06
  23  49.6915
  24  45.5479
  25  4.33689e-06
  26  1.94318e-08
  27  0.299821
  28  0.174315
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  8.898e-06  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.115e-01  1.743e-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.037e+00  2.998e-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.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998718/likelihoodResults_529891201_530150401_4FGL_J1141.5-1408_daily_bin1121.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) = 5370.05468825
delta logL = -0.000152947874994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5370.0545352
delta logL = 1.04459104477e-07

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.0357       1.0000          .0000       10.000    
     3 'Normalizat'    1.0367       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91150       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=   5370.055     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      237 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6267.8        .90712E-02** at limit **
   2  Index         2.0654        7.0257        .50000       -.82303E-05
   3  Normalizat    1.0367        .60632E-01    .72420E-01    .52476E-04
   4  Prefactor     .91150        .37457E-01    .45151E-01    .96504E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.06542
  Normalizat = 1.03674
  Prefactor  = 0.911503
 **********
 **   18 **HESSE 
 **********

 FCN=   5370.055     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    731.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0654        8.5439        .50000       -.62724    
   3  Normalizat    1.0367        .28963E-01    .32046E-03   -.91810    
   4  Prefactor     .91150        .17920E-01    .20861E-03   -.95740    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.97696e-10
Minuit parameter uncertainties:
  1  0.0014816
  2  18.9283
  3  0.0289631
  4  0.0179201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998718': 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) = 5370.05453514
delta logL = 1.67383404914e-07

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  1.482e-03  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.065e+00  1.893e+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.115e-01  1.792e-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.037e+00  2.896e-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/998718/cmap_HighResolution_529891201_530150401_4FGL_J1141.5-1408_daily_bin1121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.10e-03', job_status='DONE', photon_flux_upper_limit='8.15e-08', time_completed='2021-09-04 07:53:47.101351', job_id='998718', GAL2='0.91', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630767227.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.67e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1121' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:53:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 998718: <4FGL_J1141.5-1408_daily_bin1121> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1121> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 07:41:03 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:41:05 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:41:05 2021
Terminated at Sat Sep  4 07:53:47 2021
Results reported at Sat Sep  4 07:53:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1121 175.387 -14.1457 529891201 530150401 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 :                                   744.12 sec.
    Max Memory :                                 1229 MB
    Average Memory :                             310.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            764 sec.

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

