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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1433
RA = 175.387, Dec = -14.1457
tmin = 610761601, tmax = 611020801
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='373', job_status='RUN', time_executed='2021-09-04 07:47:55.853232', time_epoch_executed='1630766875.85' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1433'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/373

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/373/ft1_4FGL_J1141.5-1408_daily_bin1433.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/373/ft2_4FGL_J1141.5-1408_daily_bin1433.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/373/ft1_4FGL_J1141.5-1408_daily_bin1433.fits outfile=/scratch/kocevski/373/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1433.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=610761601.0 tmax=611020801.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.66
user 3.27
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/373/ft1_filtered_4FGL_J1141.5-1408_daily_bin1433.fits" evtable="EVENTS" scfile=/scratch/kocevski/373/ft2_4FGL_J1141.5-1408_daily_bin1433.fits sctable="SC_DATA" outfile=/scratch/kocevski/373/ltcube_610761601_611020801_4FGL_J1141.5-1408_daily_bin1433.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/373/ft2_4FGL_J1141.5-1408_daily_bin1433.fits
.....................!
real 12.35
user 11.84
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/373/ft1_filtered_4FGL_J1141.5-1408_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/373/ft2_4FGL_J1141.5-1408_daily_bin1433.fits sctable="SC_DATA" expcube=/scratch/kocevski/373/ltcube_610761601_611020801_4FGL_J1141.5-1408_daily_bin1433.fits outfile=/scratch/kocevski/373/expmap_610761601_611020801_4FGL_J1141.5-1408_daily_bin1433.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/373/ltcube_610761601_611020801_4FGL_J1141.5-1408_daily_bin1433.fits
.....................!
real 191.53
user 185.86
sys 5.14

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/373/ft1_filtered_4FGL_J1141.5-1408_daily_bin1433.fits scfile=/scratch/kocevski/373/ft2_4FGL_J1141.5-1408_daily_bin1433.fits outfile=/scratch/kocevski/373/cmap_610761601_611020801_4FGL_J1141.5-1408_daily_bin1433.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.56
user 0.34
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1115       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .34515E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1605       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8618       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.578       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3058       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5059       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.060       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6730       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.2186       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6094       1.0000         .10000E-03   10000.    
    19 'Prefactor '    62.083       1.0000         .10000E-03   10000.    
    20 'norm      '    2.7192       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10417E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    49.112       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    16.575       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10110E-02   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3262       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .85041       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=   6539.275     FROM MIGRAD    STATUS=CONVERGED    698 CALLS     3529 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1108        6.6744        .42357E-07    .59389E-04
   2  Prefactor     .10000E-03    13.525       -.39057E-07** at limit **
   3  Prefactor     .10000E-03    155.26        .29869E-05** at limit **
   4  Prefactor     .10000E-03    12.092        .62102E-07** at limit **
   5  Prefactor     .10001E-03    10.237       -.20341E-05** at limit **
   6  Prefactor     6.1597        8.3599        .13365E-05    .86561E-03
   7  Prefactor     .10000E-03    111.55       -.58021E-05** at limit **
   8  norm          1.8994        26.878        .16715E-05    .28494E-03
   9  Prefactor     24.561        57.758        .27155E-05    .20282E-04
  10  norm          1.3049        1.3144       -.44852E-07   -.68386E-04
  11  Prefactor     1.4966        10.696       -.15111E-08    .16811E-03
  12  Prefactor     .10000E-03    4.5147        .89118E-08** at limit **
  13  norm          .10000E-03    16.777       -.18186E-06** at limit **
  14  Prefactor     16.075        35.907       -.93394E-06    .19841E-04
  15  Prefactor     .10000E-03    17.221        .16308E-06** at limit **
  16  norm          1.6723        6.0903       -.33262E-06    .46627E-04
  17  Prefactor     5.2190        5.2323        .37761E-06    .16474E-03
  18  Prefactor     2.6085        15.390        .31434E-06    .16159E-04
  19  Prefactor     62.081        23.345       -.26151E-06   -.27561E-04
  20  norm          2.7202        5.7217        .29172E-06    .79369E-04
  21  Prefactor     .10000E-03    73.251        .16601E-05** at limit **
  22  Prefactor     49.111        23.115        .74840E-07   -.11776E-04
  23  Prefactor     .10000E-03    20.189        .43419E-06** at limit **
  24  Prefactor     16.513        33.932        .26833E-05    .41577E-04
  25  Prefactor     .10000E-03    7.1578       -.65831E-07** at limit **
  26  Prefactor     .10013E-03    11.145        .31213E-05** at limit **
  27  Normalizat    1.3265        .24001       -.80683E-06    .45052E-04
  28  Prefactor     .85034        .13836        .21387E-06    .52791E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.11079
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 6.15972
  Prefactor  = 0.000100001
  norm       = 1.89941
  Prefactor  = 24.561
  norm       = 1.30492
  Prefactor  = 1.49661
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.0755
  Prefactor  = 0.0001
  norm       = 1.6723
  Prefactor  = 5.21897
  Prefactor  = 2.60855
  Prefactor  = 62.081
  norm       = 2.72024
  Prefactor  = 0.0001
  Prefactor  = 49.111
  Prefactor  = 0.0001
  Prefactor  = 16.5129
  Prefactor  = 0.0001
  Prefactor  = 0.00010013
  Normalizat = 1.32646
  Prefactor  = 0.850337
 **********
 **   18 **HESSE 
 **********

 FCN=   6539.275     FROM HESSE     STATUS=OK           527 CALLS     4056 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1108        6.6585        .22987E-03   -1.5355    
   2  Prefactor     .10000E-03    13.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    155.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    48.671        .43670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.1597        8.5250        .80873E-03   -1.5212    
   7  Prefactor     .10000E-03    110.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8994        22.804        .30538E-03   -1.5432    
   9  Prefactor     24.561        57.295        .80800E-04   -1.4716    
  10  norm          1.3049        1.2862        .85004E-04   -1.5480    
  11  Prefactor     1.4966        8.8997        .34873E-03   -1.5463    
  12  Prefactor     .10000E-03    4.5361        .16775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    16.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.075        34.384        .99941E-04   -1.4906    
  15  Prefactor     .10000E-03    17.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6723        5.9452        .32586E-03   -1.5449    
  17  Prefactor     5.2190        5.1314        .15680E-03   -1.5251    
  18  Prefactor     2.6085        15.293        .25252E-03   -1.5385    
  19  Prefactor     62.081        23.035        .50926E-04   -1.4131    
  20  norm          2.7202        5.6244        .22261E-03   -1.5378    
  21  Prefactor     .10000E-03    73.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     49.111        23.197        .57221E-04   -1.4305    
  23  Prefactor     .10000E-03    20.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     16.513        33.709        .98376E-04   -1.4895    
  25  Prefactor     .10000E-03    7.1592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10013E-03    31.568        .36922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.3265        .28228        .30004E-03   -.82780    
  28  Prefactor     .85034        .16324        .22274E-03   -.97899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92509e-09
Minuit parameter uncertainties:
  1  6.6601
  2  3.40105e-06
  3  0.000316545
  4  1.45685e-05
  5  0.00128021
  6  8.52672
  7  0.000575713
  8  13.1686
  9  57.4234
  10  1.28618
  11  7.30051
  12  2.68043e-06
  13  3.29582e-06
  14  34.4268
  15  9.11894e-06
  16  5.94729
  17  5.13182
  18  12.6365
  19  23.0386
  20  5.62551
  21  6.10568e-05
  22  23.2015
  23  1.45718e-05
  24  33.7481
  25  9.5944e-06
  26  0.00404767
  27  0.28261
  28  0.163335
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  9.119e-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:  8.503e-01  1.633e-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.326e+00  2.826e-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: 5.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/373/likelihoodResults_610761601_611020801_4FGL_J1141.5-1408_daily_bin1433.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) = 6539.27478116
delta logL = -0.000276057541669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6539.27450544
delta logL = -3.33428943122e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0980       1.0000          .0000       10.000    
     3 'Normalizat'    1.3265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85034       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=   6539.275     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      240 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.1044        .90712E-02** at limit **
   2  Index         2.0733        5.9445        .50000        .12017E-04
   3  Normalizat    1.3265        .38459E-02    .67819E-01    .90317E-05
   4  Prefactor     .85034        .23568E-02    .44369E-01    .10514E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.0733
  Normalizat = 1.32646
  Prefactor  = 0.850338
 **********
 **   18 **HESSE 
 **********

 FCN=   6539.275     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    47.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0733        5.9080        .50000       -.62530    
   3  Normalizat    1.3265        .99965E-02    .30004E-03   -.82780    
   4  Prefactor     .85034        .61298E-02    .22274E-03   -.97899    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.70885e-08
Minuit parameter uncertainties:
  1  0.000156487
  2  78.9418
  3  0.00999653
  4  0.00612977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/373': 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) = 6539.27450536
delta logL = -2.53600774158e-07

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  1.565e-04  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.073e+00  7.894e+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:  8.503e-01  6.130e-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:  1.326e+00  9.997e-03  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/373/cmap_HighResolution_610761601_611020801_4FGL_J1141.5-1408_daily_bin1433.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-03', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2021-09-04 08:02:03.565870', job_id='373', GAL2='0.85', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1630767723.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-2.54e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1433' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 08:02:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 373: <4FGL_J1141.5-1408_daily_bin1433> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1433> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 07:46:25 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:46:27 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:27 2021
Terminated at Sat Sep  4 08:02:04 2021
Results reported at Sat Sep  4 08:02:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1433 175.387 -14.1457 610761601 611020801 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 :                                   839.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            939 sec.

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

