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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin673
RA = 175.387, Dec = -14.1457
tmin = 413769601, tmax = 414028801
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='994745', job_status='RUN', time_executed='2021-09-04 07:27:10.987879', time_epoch_executed='1630765630.99' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/994745

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/994745/ft1_4FGL_J1141.5-1408_daily_bin673.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/994745/ft2_4FGL_J1141.5-1408_daily_bin673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/994745/ft1_4FGL_J1141.5-1408_daily_bin673.fits outfile=/scratch/kocevski/994745/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin673.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=413769601.0 tmax=414028801.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 6.17
user 5.90
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/994745/ft1_filtered_4FGL_J1141.5-1408_daily_bin673.fits" evtable="EVENTS" scfile=/scratch/kocevski/994745/ft2_4FGL_J1141.5-1408_daily_bin673.fits sctable="SC_DATA" outfile=/scratch/kocevski/994745/ltcube_413769601_414028801_4FGL_J1141.5-1408_daily_bin673.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/994745/ft2_4FGL_J1141.5-1408_daily_bin673.fits
.....................!
real 11.84
user 11.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/994745/ft1_filtered_4FGL_J1141.5-1408_daily_bin673.fits evtable="EVENTS" scfile=/scratch/kocevski/994745/ft2_4FGL_J1141.5-1408_daily_bin673.fits sctable="SC_DATA" expcube=/scratch/kocevski/994745/ltcube_413769601_414028801_4FGL_J1141.5-1408_daily_bin673.fits outfile=/scratch/kocevski/994745/expmap_413769601_414028801_4FGL_J1141.5-1408_daily_bin673.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/994745/ltcube_413769601_414028801_4FGL_J1141.5-1408_daily_bin673.fits
.....................!
real 190.71
user 184.75
sys 5.13

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/994745/ft1_filtered_4FGL_J1141.5-1408_daily_bin673.fits scfile=/scratch/kocevski/994745/ft2_4FGL_J1141.5-1408_daily_bin673.fits outfile=/scratch/kocevski/994745/cmap_413769601_414028801_4FGL_J1141.5-1408_daily_bin673.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.68
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/994745/ft1_filtered_4FGL_J1141.5-1408_daily_bin673.fits evtable="EVENTS" scfile=/scratch/kocevski/994745/ft2_4FGL_J1141.5-1408_daily_bin673.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/994745/Model_4FGL_J1141.5-1408_daily_bin673.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/994745/ft1_filtered_4FGL_J1141.5-1408_daily_bin673.fits.....................!
real 54.19
user 50.52
sys 1.68

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .31918E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.719       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3218       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10510E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.788       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10263E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .54735       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    79.997       1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.755       1.0000         .10000E-03   10000.    
    16 'norm      '    1.9748       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.0608       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    8.4879       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19813E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .81010E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    32.505       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .65763       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2919       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=   5397.804     FROM MIGRAD    STATUS=CONVERGED    746 CALLS     4063 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2353        .55696E-07** at limit **
   2  Prefactor     .10020E-03    216.05        .66231E-04** at limit **
   3  Prefactor     28.689        81.979       -.13465E-04    .18917E-04
   4  Prefactor     1.3212        10.810        .73963E-05    .35505E-03
   5  Prefactor     .10000E-03    11.109        .19632E-06** at limit **
   6  Prefactor     10.793        6.9133       -.54437E-06   -.35395E-04
   7  Prefactor     .10000E-03    14.706        .55043E-06** at limit **
   8  norm          .10000E-03    6.0181        .14209E-07** at limit **
   9  Prefactor     .10000E-03    40.584        .61039E-06** at limit **
  10  norm          .54707        .63170        .10781E-06    .46260E-04
  11  Prefactor     .10000E-03    1.9891       -.15139E-07** at limit **
  12  Prefactor     .10000E-03    2.6473        .96196E-07** at limit **
  13  norm          .10000E-03    15.047       -.51675E-06** at limit **
  14  Prefactor     79.994        37.860       -.38144E-06   -.80303E-04
  15  Prefactor     27.751        34.281       -.28113E-07   -.81485E-05
  16  norm          1.9770        6.0112        .30625E-05    .26135E-03
  17  Prefactor     4.0611        5.4365        .13299E-06   -.40264E-03
  18  Prefactor     .10000E-03    7.8353        .29352E-07** at limit **
  19  Prefactor     .10000E-03    62.746        .25404E-06** at limit **
  20  norm          8.4957        5.4676        .71225E-07    .22016E-03
  21  Prefactor     .10001E-03    107.44        .19813E-05** at limit **
  22  Prefactor     .10104E-03    15.011       -.21392E-06** at limit **
  23  Prefactor     32.516        43.148       -.66561E-05   -.20081E-03
  24  Prefactor     .10000E-03    18.574        .73603E-07** at limit **
  25  Prefactor     .10000E-03    8.7509       -.50180E-07** at limit **
  26  Prefactor     .10000E-03    6.9174        .14071E-06** at limit **
  27  Normalizat    .65774        .25600       -.21076E-05   -.24766E-03
  28  Prefactor     1.2919        .16243       -.18492E-06   -.48780E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001002
  Prefactor  = 28.6892
  Prefactor  = 1.32115
  Prefactor  = 0.0001
  Prefactor  = 10.7934
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.547067
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 79.9936
  Prefactor  = 27.7515
  norm       = 1.97699
  Prefactor  = 4.06109
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 8.49573
  Prefactor  = 0.000100006
  Prefactor  = 0.00010104
  Prefactor  = 32.5157
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.657737
  Prefactor  = 1.29193
 **********
 **   18 **HESSE 
 **********

 FCN=   5397.804     FROM HESSE     STATUS=OK           523 CALLS     4586 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2383        .10727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10020E-03    272.41        .75276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.689        82.308        .74760E-04   -1.4636    
   4  Prefactor     1.3212        17.541        .19131E-02   -1.5478    
   5  Prefactor     .10000E-03    11.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.793        6.9022        .12198E-03   -1.5051    
   7  Prefactor     .10000E-03    14.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.0547        .17591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    40.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .54707        .61618        .60906E-04   -1.5560    
  11  Prefactor     .10000E-03    1.9959        .10112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.6530        .11673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    15.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     79.994        37.850        .44903E-04   -1.3917    
  15  Prefactor     27.751        34.290        .76045E-04   -1.4654    
  16  norm          1.9770        6.8798        .14750E-02   -1.5427    
  17  Prefactor     4.0611        5.4213        .17460E-03   -1.5305    
  18  Prefactor     .10000E-03    7.8462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    63.912        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          8.4957        5.4107        .13031E-03   -1.5125    
  21  Prefactor     .10001E-03    108.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10104E-03    17.668        .83315E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     32.516        43.526        .70282E-04   -1.4567    
  24  Prefactor     .10000E-03    18.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    8.7544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    7.0692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .65774        .28387        .38537E-03   -1.0559    
  28  Prefactor     1.2919        .18123        .18656E-03   -.83547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82857e-09
Minuit parameter uncertainties:
  1  1.21212e-06
  2  0.0148291
  3  82.6365
  4  9.63112
  5  5.25159e-05
  6  6.90266
  7  3.97211e-06
  8  7.40885e-05
  9  1.02808e-05
  10  0.616189
  11  2.20276e-05
  12  1.78407e-06
  13  5.13368e-05
  14  37.8615
  15  34.3143
  16  6.88256
  17  5.42196
  18  6.70887e-06
  19  0.000396467
  20  5.41103
  21  0.00158817
  22  0.00857463
  23  43.569
  24  4.60879e-06
  25  1.31979e-06
  26  5.18997e-06
  27  0.284509
  28  0.181322
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  2.775e+01  3.431e+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.292e+00  1.813e-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:  6.577e-01  2.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.95
Ra Dec: 175.387 -14.146
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/994745/likelihoodResults_413769601_414028801_4FGL_J1141.5-1408_daily_bin673.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) = 5397.80104298
delta logL = 0.00343805105604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5397.79855579
delta logL = 0.00592523723208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.789       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0393       1.0000          .0000       10.000    
     3 'Normalizat'    .65620       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2924       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=   5397.799     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      265 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.785        45.694        .80455E-04    .36886E-03
   2  Index         2.0395        .75955        .73620E-02    .18355E-03
   3  Normalizat    .65579        .27199        .38592E-03   -.20739E-03
   4  Prefactor     1.2926        .18025        .18651E-03   -.47364E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.7846
  Index      = 2.03951
  Normalizat = 0.655788
  Prefactor  = 1.29263
 **********
 **   18 **HESSE 
 **********

 FCN=   5397.799     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.785        41.683        .16091E-04   -1.4712    
   2  Index         2.0395        .69341        .29448E-03   -.63366    
   3  Normalizat    .65579        .27191        .15437E-04   -1.0567    
   4  Prefactor     1.2926        .18024        .37302E-04   -.83526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.10702e-10
Minuit parameter uncertainties:
  1  41.732
  2  0.696876
  3  0.272468
  4  0.18033
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/994745': 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) = 5397.79855453
delta logL = 0.00592649564351

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  2.478e+01  4.173e+01  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.040e+00  6.969e-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.293e+00  1.803e-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:  6.558e-01  2.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.95
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/994745/cmap_HighResolution_413769601_414028801_4FGL_J1141.5-1408_daily_bin673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.50e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-09-04 07:40:36.026384', job_id='994745', GAL2='1.29', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1630766436.03', return_code2='0', ts='0.95', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='5.93e-03', ts2='0.96', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='673' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:40:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 994745: <4FGL_J1141.5-1408_daily_bin673> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin673> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep  4 07:26:49 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:26:51 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:26:51 2021
Terminated at Sat Sep  4 07:40:36 2021
Results reported at Sat Sep  4 07:40:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin673 175.387 -14.1457 413769601 414028801 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 :                                   796.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            827 sec.

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

