/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 72 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 = 7475
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1084
RA = 175.387, Dec = -14.1457
tmin = 520300801, tmax = 520560001
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='998678', job_status='RUN', time_executed='2021-09-04 07:42:31.165957', time_epoch_executed='1630766551.17' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1084'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998678

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998678/ft1_4FGL_J1141.5-1408_daily_bin1084.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998678/ft2_4FGL_J1141.5-1408_daily_bin1084.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998678/ft1_4FGL_J1141.5-1408_daily_bin1084.fits outfile=/scratch/kocevski/998678/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1084.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=520300801.0 tmax=520560001.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.21
user 5.79
sys 0.39

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998678/ft1_filtered_4FGL_J1141.5-1408_daily_bin1084.fits" evtable="EVENTS" scfile=/scratch/kocevski/998678/ft2_4FGL_J1141.5-1408_daily_bin1084.fits sctable="SC_DATA" outfile=/scratch/kocevski/998678/ltcube_520300801_520560001_4FGL_J1141.5-1408_daily_bin1084.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/998678/ft2_4FGL_J1141.5-1408_daily_bin1084.fits
.....................!
real 12.68
user 11.90
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998678/ft1_filtered_4FGL_J1141.5-1408_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/998678/ft2_4FGL_J1141.5-1408_daily_bin1084.fits sctable="SC_DATA" expcube=/scratch/kocevski/998678/ltcube_520300801_520560001_4FGL_J1141.5-1408_daily_bin1084.fits outfile=/scratch/kocevski/998678/expmap_520300801_520560001_4FGL_J1141.5-1408_daily_bin1084.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/998678/ltcube_520300801_520560001_4FGL_J1141.5-1408_daily_bin1084.fits
.....................!
real 195.97
user 187.04
sys 8.29

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/998678/ft1_filtered_4FGL_J1141.5-1408_daily_bin1084.fits scfile=/scratch/kocevski/998678/ft2_4FGL_J1141.5-1408_daily_bin1084.fits outfile=/scratch/kocevski/998678/cmap_520300801_520560001_4FGL_J1141.5-1408_daily_bin1084.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 1.09
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998678/ft1_filtered_4FGL_J1141.5-1408_daily_bin1084.fits scfile=/scratch/kocevski/998678/ft2_4FGL_J1141.5-1408_daily_bin1084.fits outfile=/scratch/kocevski/998678/cmap_HighResolution_520300801_520560001_4FGL_J1141.5-1408_daily_bin1084.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/998678/ft1_filtered_4FGL_J1141.5-1408_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/998678/ft2_4FGL_J1141.5-1408_daily_bin1084.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/998678/Model_4FGL_J1141.5-1408_daily_bin1084.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/998678/ft1_filtered_4FGL_J1141.5-1408_daily_bin1084.fits.....................!
real 49.39
user 45.69
sys 2.05

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97188       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16088E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5341       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.045       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.011       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.6921       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .26209E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.301       1.0000         .10000E-03   10000.    
    13 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.815       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.1376       1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .34160       1.0000         .10000E-03   10000.    
    18 'Prefactor '    51.291       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.114       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    70.654       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10947E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .96502       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.3280       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=   4657.050     FROM MIGRAD    STATUS=CONVERGED    745 CALLS     3549 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99500        6.1447        .91267E-07   -.24265E-03
   2  Prefactor     .10001E-03    50.432        .48994E-06** at limit **
   3  Prefactor     2.9002        1224.8       -.11332E-03    .21738E-06
   4  Prefactor     12.032        21.442        .11490E-05    .58181E-04
   5  Prefactor     .10000E-03    13.685       -.14771E-05** at limit **
   6  Prefactor     14.010        9.0617        .47681E-05    .37032E-03
   7  Prefactor     .10000E-03    147.95       -.17323E-04** at limit **
   8  norm          .10000E-03    25.271       -.12277E-05** at limit **
   9  Prefactor     .10000E-03    88.785        .33707E-05** at limit **
  10  norm          2.6927        1.8333        .39226E-06   -.46688E-04
  11  Prefactor     .10080E-03    4.0286       -.11438E-05** at limit **
  12  Prefactor     10.302        10.913       -.20751E-05   -.86939E-04
  13  norm          .10000E-03    13.976        .13696E-05** at limit **
  14  Prefactor     20.789        27.928        .18718E-05    .13343E-03
  15  Prefactor     9.1082        34.240        .80655E-04    .22578E-05
  16  norm          .10000E-03    7.9243        .11235E-07** at limit **
  17  Prefactor     .34973        3.1306        .27513E-06   -.41338E-03
  18  Prefactor     51.286        30.485       -.17135E-05   -.46651E-04
  19  Prefactor     .10000E-03    10.226        .35293E-06** at limit **
  20  norm          .10000E-03    2.1535        .12814E-07** at limit **
  21  Prefactor     .10000E-03    20.524       -.10193E-05** at limit **
  22  Prefactor     10.117        17.145       -.97229E-06   -.31681E-04
  23  Prefactor     .10000E-03    19.577        .16790E-05** at limit **
  24  Prefactor     70.637        69.802        .26889E-05   -.41397E-05
  25  Prefactor     .10000E-03    49.980       -.15221E-05** at limit **
  26  Prefactor     .10000E-03    5.4807        .49834E-06** at limit **
  27  Normalizat    .96483        .32727       -.49723E-06    .34686E-04
  28  Prefactor     1.3280        .19060       -.25650E-05    .25856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.995002
  Prefactor  = 0.000100008
  Prefactor  = 2.90019
  Prefactor  = 12.0319
  Prefactor  = 0.0001
  Prefactor  = 14.0102
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.0001
  norm       = 2.69267
  Prefactor  = 0.000100801
  Prefactor  = 10.3017
  norm       = 0.0001
  Prefactor  = 20.7892
  Prefactor  = 9.10822
  norm       = 0.0001
  Prefactor  = 0.349728
  Prefactor  = 51.2856
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1165
  Prefactor  = 0.0001
  Prefactor  = 70.6367
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.964829
  Prefactor  = 1.32801
 **********
 **   18 **HESSE 
 **********

 FCN=   4657.050     FROM HESSE     STATUS=OK           517 CALLS     4066 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99500        19.351        .31978E-02   -1.5508    
   2  Prefactor     .10001E-03    50.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9002        1229.0        .21502E-03   -1.5367    
   4  Prefactor     12.032        21.430        .11542E-03   -1.5014    
   5  Prefactor     .10000E-03    13.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.010        8.8753        .10701E-03   -1.4959    
   7  Prefactor     .10000E-03    148.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    25.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    88.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6927        1.8261        .71591E-04   -1.5380    
  11  Prefactor     .10080E-03    59.863        .24599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.302        10.919        .12484E-03   -1.5066    
  13  norm          .10000E-03    13.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.789        27.163        .87792E-04   -1.4796    
  15  Prefactor     9.1082        34.044        .13259E-03   -1.5104    
  16  norm          .10000E-03    8.0636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .34973        15.858        .22059E-02   -1.5590    
  18  Prefactor     51.286        30.487        .55999E-04   -1.4274    
  19  Prefactor     .10000E-03    10.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.1583        .97780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    20.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.117        17.148        .12599E-03   -1.5072    
  23  Prefactor     .10000E-03    19.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     70.637        69.797        .47758E-04   -1.4025    
  25  Prefactor     .10000E-03    50.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    5.5168        .15602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .96483        .38153        .38140E-03   -.94218    
  28  Prefactor     1.3280        .22526        .21030E-03   -.82478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48734e-08
Minuit parameter uncertainties:
  1  8.77871
  2  0.0012789
  3  122.014
  4  21.4442
  5  0.000108622
  6  8.87618
  7  6.69028e-05
  8  0.000674871
  9  0.000243223
  10  1.8261
  11  0.0138591
  12  10.9207
  13  1.46471e-05
  14  27.1791
  15  34.1171
  16  1.42633e-05
  17  4.71061
  18  30.4963
  19  8.01878e-06
  20  1.70846e-06
  21  1.20578e-05
  22  17.1568
  23  1.17125e-05
  24  69.8785
  25  2.27921e-05
  26  1.1904e-05
  27  0.382615
  28  0.22543
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  9.108e+00  3.412e+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.328e+00  2.254e-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:  9.648e-01  3.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/998678/likelihoodResults_520300801_520560001_4FGL_J1141.5-1408_daily_bin1084.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) = 4657.04734763
delta logL = 0.00286715722359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4657.04687681
delta logL = 0.00333797536405

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0900       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0671       1.0000          .0000       10.000    
     3 'Normalizat'    .96438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3279       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=   4657.047     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      260 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0829        39.409        .14096E-03    .58069E-05
   2  Index         2.0670        1.3185        .87628E-02    .12552E-03
   3  Normalizat    .96429        .34720        .38149E-03   -.30456E-03
   4  Prefactor     1.3280        .22258        .21030E-03   -.68935E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.08292
  Index      = 2.06703
  Normalizat = 0.964292
  Prefactor  = 1.32798
 **********
 **   18 **HESSE 
 **********

 FCN=   4657.047     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0829        35.142        .56384E-05   -1.5139    
   2  Index         2.0670        1.2484        .17526E-02   -.62685    
   3  Normalizat    .96429        .34743        .15260E-04   -.94236    
   4  Prefactor     1.3280        .22272        .42060E-04   -.82479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03824e-10
Minuit parameter uncertainties:
  1  33.7407
  2  1.26904
  3  0.348243
  4  0.222881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998678': 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) = 4657.04687673
delta logL = 0.00333805509217

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  8.083e+00  3.374e+01  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.067e+00  1.269e+00  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.328e+00  2.229e-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:  9.643e-01  3.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/998678/cmap_HighResolution_520300801_520560001_4FGL_J1141.5-1408_daily_bin1084.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-03', job_status='DONE', photon_flux_upper_limit='9.93e-08', time_completed='2021-09-04 07:55:20.288389', job_id='998678', GAL2='1.33', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1630767320.29', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='3.34e-03', ts2='0.09', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1084' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:55:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 998678: <4FGL_J1141.5-1408_daily_bin1084> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1084> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 07:40:59 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:41:01 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:01 2021
Terminated at Sat Sep  4 07:55:21 2021
Results reported at Sat Sep  4 07:55:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1084 175.387 -14.1457 520300801 520560001 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 :                                   729.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             259.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            862 sec.

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

