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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1492
RA = 175.387, Dec = -14.1457
tmin = 626054401, tmax = 626313601
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='463', job_status='RUN', time_executed='2021-09-04 07:46:59.058987', time_epoch_executed='1630766819.06' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1492'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/463

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/463/ft1_4FGL_J1141.5-1408_daily_bin1492.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/463/ft2_4FGL_J1141.5-1408_daily_bin1492.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/463/ft1_4FGL_J1141.5-1408_daily_bin1492.fits outfile=/scratch/kocevski/463/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1492.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=626054401.0 tmax=626313601.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.40
user 3.84
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/463/ft1_filtered_4FGL_J1141.5-1408_daily_bin1492.fits" evtable="EVENTS" scfile=/scratch/kocevski/463/ft2_4FGL_J1141.5-1408_daily_bin1492.fits sctable="SC_DATA" outfile=/scratch/kocevski/463/ltcube_626054401_626313601_4FGL_J1141.5-1408_daily_bin1492.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/463/ft2_4FGL_J1141.5-1408_daily_bin1492.fits
.....................!
real 12.10
user 11.64
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/463/ft1_filtered_4FGL_J1141.5-1408_daily_bin1492.fits evtable="EVENTS" scfile=/scratch/kocevski/463/ft2_4FGL_J1141.5-1408_daily_bin1492.fits sctable="SC_DATA" expcube=/scratch/kocevski/463/ltcube_626054401_626313601_4FGL_J1141.5-1408_daily_bin1492.fits outfile=/scratch/kocevski/463/expmap_626054401_626313601_4FGL_J1141.5-1408_daily_bin1492.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/463/ltcube_626054401_626313601_4FGL_J1141.5-1408_daily_bin1492.fits
.....................!
real 192.45
user 187.57
sys 4.48

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/463/ft1_filtered_4FGL_J1141.5-1408_daily_bin1492.fits scfile=/scratch/kocevski/463/ft2_4FGL_J1141.5-1408_daily_bin1492.fits outfile=/scratch/kocevski/463/cmap_626054401_626313601_4FGL_J1141.5-1408_daily_bin1492.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.62
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/463/ft1_filtered_4FGL_J1141.5-1408_daily_bin1492.fits scfile=/scratch/kocevski/463/ft2_4FGL_J1141.5-1408_daily_bin1492.fits outfile=/scratch/kocevski/463/cmap_HighResolution_626054401_626313601_4FGL_J1141.5-1408_daily_bin1492.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/463/ft1_filtered_4FGL_J1141.5-1408_daily_bin1492.fits evtable="EVENTS" scfile=/scratch/kocevski/463/ft2_4FGL_J1141.5-1408_daily_bin1492.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/463/Model_4FGL_J1141.5-1408_daily_bin1492.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/463/ft1_filtered_4FGL_J1141.5-1408_daily_bin1492.fits.....................!
real 61.19
user 59.81
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1344       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    206.16       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.397       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.0039       1.0000         .10000E-03   10000.    
     9 'Prefactor '    125.31       1.0000         .10000E-03   10000.    
    10 'norm      '    .43816       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2495       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.713       1.0000         .10000E-03   10000.    
    16 'norm      '    6.3009       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10455E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    63.829       1.0000         .10000E-03   10000.    
    19 'Prefactor '    42.733       1.0000         .10000E-03   10000.    
    20 'norm      '    .33433E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.9841       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10488E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2463       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0903       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=   6613.064     FROM MIGRAD    STATUS=CONVERGED    659 CALLS     3459 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1349        6.7947       -.47564E-07    .42819E-05
   2  Prefactor     .10000E-03    16.310       -.15452E-05** at limit **
   3  Prefactor     206.13        140.19       -.25945E-05   -.12346E-04
   4  Prefactor     .10000E-03    9.6749       -.61063E-06** at limit **
   5  Prefactor     16.398        11.143       -.14886E-06    .18637E-04
   6  Prefactor     .10000E-03    3.7735       -.50589E-08** at limit **
   7  Prefactor     .10000E-03    22.626        .85783E-06** at limit **
   8  norm          5.0034        7.4039       -.13330E-06   -.20869E-04
   9  Prefactor     125.31        76.284       -.19796E-06   -.69187E-05
  10  norm          .43859        1.1426        .20377E-06   -.14342E-03
  11  Prefactor     1.2499        3.1627        .39262E-06   -.12833E-03
  12  Prefactor     .10000E-03    4.7158       -.19610E-07** at limit **
  13  norm          .10000E-03    14.090        .18995E-06** at limit **
  14  Prefactor     .10000E-03    9.5844       -.10622E-05** at limit **
  15  Prefactor     26.711        29.573       -.38958E-06   -.43209E-05
  16  norm          6.3019        6.8028       -.18322E-06   -.29696E-04
  17  Prefactor     .10000E-03    3.1514        .11346E-06** at limit **
  18  Prefactor     63.832        24.628        .41969E-07    .15974E-04
  19  Prefactor     42.709        20.173        .18027E-05    .28040E-03
  20  norm          .10001E-03    3.6794       -.17432E-05** at limit **
  21  Prefactor     .10000E-03    18.292       -.15806E-05** at limit **
  22  Prefactor     1.9837        29.545        .10533E-06   -.18608E-04
  23  Prefactor     .10000E-03    41.804       -.18074E-05** at limit **
  24  Prefactor     .10000E-03    25.407        .25659E-05** at limit **
  25  Prefactor     .10000E-03    10.053        .37846E-06** at limit **
  26  Prefactor     .10000E-03    10.571        .20316E-05** at limit **
  27  Normalizat    1.2462        .26825        .63710E-06    .42758E-04
  28  Prefactor     1.0903        .15977        .31400E-06    .99093E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.13487
  Prefactor  = 0.0001
  Prefactor  = 206.132
  Prefactor  = 0.0001
  Prefactor  = 16.3982
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.00337
  Prefactor  = 125.312
  norm       = 0.438586
  Prefactor  = 1.24992
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.7107
  norm       = 6.30193
  Prefactor  = 0.0001
  Prefactor  = 63.8324
  Prefactor  = 42.7091
  norm       = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 1.98369
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.24624
  Prefactor  = 1.09026
 **********
 **   18 **HESSE 
 **********

 FCN=   6613.064     FROM HESSE     STATUS=OK           517 CALLS     3976 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1349        6.7988        .14057E-03   -1.5137    
   2  Prefactor     .10000E-03    16.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     206.13        139.45        .14075E-03   -1.2827    
   4  Prefactor     .10000E-03    9.7299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.398        11.136        .98910E-04   -1.4898    
   6  Prefactor     .10000E-03    3.8266        .15414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.0034        7.3640        .17977E-03   -1.5261    
   9  Prefactor     125.31        75.118        .35959E-04   -1.3464    
  10  norm          .43859        1.1042        .12663E-03   -1.5576    
  11  Prefactor     1.2499        3.0905        .21850E-03   -1.5484    
  12  Prefactor     .10000E-03    4.7350        .17243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    14.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.6186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.711        29.578        .77510E-04   -1.4674    
  16  norm          6.3019        6.6674        .15991E-03   -1.5206    
  17  Prefactor     .10000E-03    6.2808        .26809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     63.832        24.431        .50229E-04   -1.4108    
  19  Prefactor     42.709        20.682        .61325E-04   -1.4400    
  20  norm          .10001E-03    14.580        .26736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    18.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.9837        29.476        .29421E-03   -1.5426    
  23  Prefactor     .10000E-03    41.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    25.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    10.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    10.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2462        .31456        .34328E-03   -.85186    
  28  Prefactor     1.0903        .18866        .22555E-03   -.89779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.83697e-10
Minuit parameter uncertainties:
  1  6.79941
  2  1.68208e-05
  3  139.675
  4  1.91303e-05
  5  11.1378
  6  4.87055e-06
  7  2.25796e-05
  8  7.3653
  9  75.1748
  10  1.10426
  11  3.09086
  12  5.23418e-06
  13  6.58943e-06
  14  2.87586e-05
  15  29.5938
  16  6.66814
  17  0.000103909
  18  24.4349
  19  20.686
  20  0.000789689
  21  5.03455e-05
  22  15.3019
  23  9.14507e-05
  24  9.18668e-05
  25  8.38194e-06
  26  1.87483e-05
  27  0.315037
  28  0.188776
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  2.671e+01  2.959e+01  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.090e+00  1.888e-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.246e+00  3.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 175.387 -14.146
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 1.96e-05

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

Saving results to:
/scratch/kocevski/463/likelihoodResults_626054401_626313601_4FGL_J1141.5-1408_daily_bin1492.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) = 6613.02502003
delta logL = 0.0390748800528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6613.02278863
delta logL = 0.0413062740481

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.975       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7716       1.0000          .0000       10.000    
     3 'Normalizat'    1.2510       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0890       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6613.023     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      311 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.976        41.230        .69780E-04   -.10101E-03
   2  Index         1.7716        .67629        .95705E-02   -.21850E-04
   3  Normalizat    1.2512        .30130        .34269E-03   -.27502E-04
   4  Prefactor     1.0888        .18793        .22567E-03   -.26247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.9762
  Index      = 1.77159
  Normalizat = 1.25119
  Prefactor  = 1.08882
 **********
 **   18 **HESSE 
 **********

 FCN=   6613.023     FROM HESSE     STATUS=OK            25 CALLS      336 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.976        40.122        .13956E-04   -1.4559    
   2  Index         1.7716        .65846        .38282E-03   -.70192    
   3  Normalizat    1.2512        .30151        .13708E-04   -.85035    
   4  Prefactor     1.0888        .18811        .90266E-05   -.89825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.88641e-11
Minuit parameter uncertainties:
  1  40.1552
  2  0.661765
  3  0.301936
  4  0.188221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/463': 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) = 6613.02278835
delta logL = 0.0413065568118

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  3.298e+01  4.016e+01  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  1.772e+00  6.618e-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.089e+00  1.882e-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.251e+00  3.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.50
Ra Dec: 175.387 -14.146
Photon Index (Free Index): 1.77 +/- 0.66
Photon Flux (Free Index): 1.86e-08 +/- 2.65e-08
Energy Flux (Free Index): 2.42e-05 +/- 3.79e-05

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/463/cmap_HighResolution_626054401_626313601_4FGL_J1141.5-1408_daily_bin1492.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='2.42e-05', photon_flux_error='2.59e-08', dlogl='4.13e-02', energy_flux='1.77e-05', photon_flux2='1.86e-08', job_status='DONE', time_completed='2021-09-04 08:01:35.782442', photon_index_error2='0.66', photon_index2='1.77', ts='1.43', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='9.46e-08', energy_flux_error2='3.79e-05', EG='1.25', time_epoch_completed='1630767695.78', return_code='0', job_id='463', GAL2='1.09', EG2='1.25', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='2.65e-08', ts2='1.50', photon_index='1.97' WHERE bin_id='1492' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 08:01:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 463: <4FGL_J1141.5-1408_daily_bin1492> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1492 175.387 -14.1457 626054401 626313601 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 :                                   851.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

