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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1426
RA = 175.387, Dec = -14.1457
tmin = 608947201, tmax = 609206401
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='363', job_status='RUN', time_executed='2021-09-04 07:48:09.553146', time_epoch_executed='1630766889.55' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1426'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/363

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/363/ft1_4FGL_J1141.5-1408_daily_bin1426.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/363/ft2_4FGL_J1141.5-1408_daily_bin1426.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/363/ft1_4FGL_J1141.5-1408_daily_bin1426.fits outfile=/scratch/kocevski/363/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1426.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=608947201.0 tmax=609206401.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.19
user 2.94
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/363/ft2_4FGL_J1141.5-1408_daily_bin1426.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/363/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1426.fits evtable="EVENTS" outfile="/scratch/kocevski/363/ft1_filtered_4FGL_J1141.5-1408_daily_bin1426.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.56
user 0.36
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/363/ft1_filtered_4FGL_J1141.5-1408_daily_bin1426.fits" evtable="EVENTS" scfile=/scratch/kocevski/363/ft2_4FGL_J1141.5-1408_daily_bin1426.fits sctable="SC_DATA" outfile=/scratch/kocevski/363/ltcube_608947201_609206401_4FGL_J1141.5-1408_daily_bin1426.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/363/ft2_4FGL_J1141.5-1408_daily_bin1426.fits
.....................!
real 12.76
user 12.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/363/ft1_filtered_4FGL_J1141.5-1408_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/363/ft2_4FGL_J1141.5-1408_daily_bin1426.fits sctable="SC_DATA" expcube=/scratch/kocevski/363/ltcube_608947201_609206401_4FGL_J1141.5-1408_daily_bin1426.fits outfile=/scratch/kocevski/363/expmap_608947201_609206401_4FGL_J1141.5-1408_daily_bin1426.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/363/ltcube_608947201_609206401_4FGL_J1141.5-1408_daily_bin1426.fits
.....................!
real 192.78
user 187.52
sys 4.74

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/363/ft1_filtered_4FGL_J1141.5-1408_daily_bin1426.fits scfile=/scratch/kocevski/363/ft2_4FGL_J1141.5-1408_daily_bin1426.fits outfile=/scratch/kocevski/363/cmap_608947201_609206401_4FGL_J1141.5-1408_daily_bin1426.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/363/ft1_filtered_4FGL_J1141.5-1408_daily_bin1426.fits scfile=/scratch/kocevski/363/ft2_4FGL_J1141.5-1408_daily_bin1426.fits outfile=/scratch/kocevski/363/cmap_HighResolution_608947201_609206401_4FGL_J1141.5-1408_daily_bin1426.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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/363/ft1_filtered_4FGL_J1141.5-1408_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/363/ft2_4FGL_J1141.5-1408_daily_bin1426.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/363/Model_4FGL_J1141.5-1408_daily_bin1426.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/363/ft1_filtered_4FGL_J1141.5-1408_daily_bin1426.fits.........................!
real 22.74
user 21.41
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.558       1.0000         .10000E-03   10000.    
     2 'Prefactor '    113.87       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .76652E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .58224E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.632       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10371E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.967       1.0000         .10000E-03   10000.    
     8 'norm      '    .21302E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    75.148       1.0000         .10000E-03   10000.    
    10 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11968E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.119       1.0000         .10000E-03   10000.    
    13 'norm      '    .41416E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .40723E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    168.18       1.0000         .10000E-03   10000.    
    16 'norm      '    .91625E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.518       1.0000         .10000E-03   10000.    
    18 'Prefactor '    78.359       1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.340       1.0000         .10000E-03   10000.    
    20 'norm      '    .72136E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.5586       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .82035E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .25942E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .14786E-02   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .15481E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10285       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    .93860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1211.239     FROM MIGRAD    STATUS=CONVERGED    245 CALLS     2580 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.623        13.018       -.20484E-06   -.16721E-03
   2  Prefactor     121.37        67.236        .14385E-06   -.35763E-02
   3  Prefactor     .10009E-03    203.48       -.18507E-05** at limit **
   4  Prefactor     .10000E-03    17.790       -.26909E-05** at limit **
   5  Prefactor     16.362        18.236       -.12213E-05   -.40022E-03
   6  Prefactor     .10000E-03    3.6788       -.13307E-06** at limit **
   7  Prefactor     37.991        89.718        .18155E-04    .90145E-02
   8  norm          .10000E-03    6.1950        .11514E-06** at limit **
   9  Prefactor     80.211        83.510       -.26669E-05   -.19983E-01
  10  norm          .10000E-03    2.0071       -.19229E-07** at limit **
  11  Prefactor     .10000E-03    4.3230        .22429E-06** at limit **
  12  Prefactor     29.581        25.471        .55635E-06   -.42170E-03
  13  norm          .10000E-03    39.806        .47501E-07** at limit **
  14  Prefactor     .10000E-03    26.774        .15117E-06** at limit **
  15  Prefactor     159.62        75.105       -.68577E-05   -.13503E-01
  16  norm          .10000E-03    9.7238       -.95472E-07** at limit **
  17  Prefactor     29.896        16.721        .67428E-06    .24977E-04
  18  Prefactor     75.667        42.950       -.13833E-05   -.18901E-01
  19  Prefactor     39.481        16.478       -.85794E-06   -.10708E-01
  20  norm          .10001E-03    81.211       -.90560E-05** at limit **
  21  Prefactor     1.0829        933.74       -.67950E-04    .49590E-02
  22  Prefactor     .10000E-03    25.662       -.22411E-06** at limit **
  23  Prefactor     .10000E-03    74.012        .11222E-05** at limit **
  24  Prefactor     .10577E-03    142.92        .76176E-05** at limit **
  25  Prefactor     .10016E-03    106.04       -.24484E-05** at limit **
  26  Prefactor     .19474E-03    720.57       -.29509E-05** at limit **
  27  Normalizat    .10000E-01    1.2105       -.17862E-04** at limit **
  28  Prefactor     .93239        .16663        .15434E-05    .99875E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.6229
  Prefactor  = 121.373
  Prefactor  = 0.000100092
  Prefactor  = 0.0001
  Prefactor  = 16.3621
  Prefactor  = 0.0001
  Prefactor  = 37.991
  norm       = 0.0001
  Prefactor  = 80.2112
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.581
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 159.622
  norm       = 0.0001
  Prefactor  = 29.8964
  Prefactor  = 75.667
  Prefactor  = 39.4813
  norm       = 0.000100008
  Prefactor  = 1.08291
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000105766
  Prefactor  = 0.000100156
  Prefactor  = 0.000194736
  Normalizat = 0.01
  Prefactor  = 0.932394
 **********
 **   18 **HESSE 
 **********

 FCN=   1211.239     FROM HESSE     STATUS=OK           573 CALLS     3153 TOTAL
                     EDM=   .46E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.623        13.132        .26243E-02   -1.4943    
   2  Prefactor     121.37        78.476        .94251E-03   -1.3500    
   3  Prefactor     .10009E-03    203.99        .92749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.676        .10540E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.362        18.326        .24552E-02   -1.4899    
   6  Prefactor     .10000E-03    3.6729        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.991        128.59        .18298E-02   -1.4474    
   8  norm          .10000E-03    6.1847        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     80.211        103.48        .11580E-02   -1.3914    
  10  norm          .10000E-03    1.9358        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.3198        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.581        25.861        .18561E-02   -1.4620    
  13  norm          .10000E-03    39.782        .97254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.765        .97360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     159.62        115.86        .77768E-03   -1.3174    
  16  norm          .10000E-03    9.7152        .10409E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     29.896        17.820        .18436E-02   -1.4614    
  18  Prefactor     75.667        73.849        .11342E-02   -1.3966    
  19  Prefactor     39.481        85.298        .16182E-02   -1.4450    
  20  norm          .10001E-03    55.665        .62653E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.0829        6429.6        .47135E-02   -1.5500    
  22  Prefactor     .10000E-03    25.736        .10444E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    74.240        .91520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10577E-03    143.86        .10241E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10016E-03    106.12        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .19474E-03    713.47        .95248E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .10000E-01    .69345        .20700       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .93239        .21159        .45495E-01   -.95018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62862e-05
Minuit parameter uncertainties:
  1  13.1351
  2  78.543
  3  0.00871006
  4  0.000177134
  5  18.3324
  6  3.84736e-06
  7  129.545
  8  5.11807e-06
  9  103.717
  10  3.09996e-07
  11  5.25293e-06
  12  25.8711
  13  1.59688e-05
  14  1.51081e-05
  15  116.027
  16  2.18262e-06
  17  17.8233
  18  73.9387
  19  85.5636
  20  0.00130952
  21  119.595
  22  1.8726e-05
  23  0.000470071
  24  0.0577405
  25  0.00815324
  26  0.526357
  27  4.6474e-06
  28  0.211774
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.596e+02  1.160e+02  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  1.965e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.324e-01  2.118e-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.000e-02  4.647e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.12
Ra Dec: 175.387 -14.146
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.40e-07 +/- 1.02e-07
Energy Flux (Fixed Index): 1.06e-04 +/- 7.68e-05

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) = 1211.1255429
delta logL = 0.113235500565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1211.12269718
delta logL = 0.116081218666

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    210.82       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6882       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93931       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=   1211.123     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      277 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     210.74        177.69        .13922E-03    .73494E-06
   2  Index         1.6884        .56284        .40632E-02    .46489E-05
   3  Normalizat    .10000E-01    1.5215        .12888E-01** at limit **
   4  Prefactor     .93924        .14518        .16688E-03    .17474E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 210.737
  Index      = 1.68838
  Normalizat = 0.01
  Prefactor  = 0.939239
 **********
 **   18 **HESSE 
 **********

 FCN=   1211.123     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     210.74        175.83        .55688E-05   -1.2794    
   2  Index         1.6884        .55690        .16253E-03   -.72392    
   3  Normalizat    .10000E-01    1.5250        .25775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .93924        .14441        .66753E-05   -.94783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20252e-12
Minuit parameter uncertainties:
  1  176.271
  2  0.558974
  3  7.5652e-06
  4  0.144465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/363': 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) = 1211.12269692
delta logL = 0.116081472515

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  2.107e+02  1.763e+02  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  1.688e+00  5.590e-01  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.392e-01  1.445e-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.000e-02  7.565e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.33
Ra Dec: 175.387 -14.146
Photon Index (Free Index): 1.69 +/- 0.56
Photon Flux (Free Index): 9.95e-08 +/- 1.03e-07
Energy Flux (Free Index): 1.69e-04 +/- 2.18e-04

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/363/cmap_HighResolution_608947201_609206401_4FGL_J1141.5-1408_daily_bin1426.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.40e-07', energy_flux2='1.69e-04', photon_flux_error='1.02e-07', dlogl='1.16e-01', energy_flux='1.06e-04', photon_flux2='9.95e-08', job_status='DONE', time_completed='2021-09-04 07:54:43.706298', photon_index_error2='0.56', photon_index2='1.69', ts='7.12', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='2.18e-04', EG='0.01', time_epoch_completed='1630767283.71', return_code='0', job_id='363', GAL2='0.94', EG2='0.01', return_code2='0', energy_flux_error='7.68e-05', photon_flux_error2='1.03e-07', ts2='7.33', photon_index='1.97' WHERE bin_id='1426' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:54:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 363: <4FGL_J1141.5-1408_daily_bin1426> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1426> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 07:46:24 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:46:26 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:26 2021
Terminated at Sat Sep  4 07:54:44 2021
Results reported at Sat Sep  4 07:54:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1426 175.387 -14.1457 608947201 609206401 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 :                                   384.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   497 sec.
    Turnaround time :                            500 sec.

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

