/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 3 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_bin1388
RA = 175.387, Dec = -14.1457
tmin = 599097601, tmax = 599356801
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='999095', job_status='RUN', time_executed='2021-09-04 07:41:52.819640', time_epoch_executed='1630766512.82' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1388'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/999095

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/999095/ft1_4FGL_J1141.5-1408_daily_bin1388.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/999095/ft2_4FGL_J1141.5-1408_daily_bin1388.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/999095/ft1_4FGL_J1141.5-1408_daily_bin1388.fits outfile=/scratch/kocevski/999095/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1388.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=599097601.0 tmax=599356801.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 2.99
user 2.63
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/999095/ft1_filtered_4FGL_J1141.5-1408_daily_bin1388.fits" evtable="EVENTS" scfile=/scratch/kocevski/999095/ft2_4FGL_J1141.5-1408_daily_bin1388.fits sctable="SC_DATA" outfile=/scratch/kocevski/999095/ltcube_599097601_599356801_4FGL_J1141.5-1408_daily_bin1388.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/999095/ft2_4FGL_J1141.5-1408_daily_bin1388.fits
.....................!
real 12.94
user 12.55
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/999095/ft1_filtered_4FGL_J1141.5-1408_daily_bin1388.fits evtable="EVENTS" scfile=/scratch/kocevski/999095/ft2_4FGL_J1141.5-1408_daily_bin1388.fits sctable="SC_DATA" expcube=/scratch/kocevski/999095/ltcube_599097601_599356801_4FGL_J1141.5-1408_daily_bin1388.fits outfile=/scratch/kocevski/999095/expmap_599097601_599356801_4FGL_J1141.5-1408_daily_bin1388.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/999095/ltcube_599097601_599356801_4FGL_J1141.5-1408_daily_bin1388.fits
.....................!
real 192.92
user 187.67
sys 4.71

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/999095/ft1_filtered_4FGL_J1141.5-1408_daily_bin1388.fits scfile=/scratch/kocevski/999095/ft2_4FGL_J1141.5-1408_daily_bin1388.fits outfile=/scratch/kocevski/999095/cmap_599097601_599356801_4FGL_J1141.5-1408_daily_bin1388.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.55
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8267       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .30967E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.322       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.342       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0152       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7735       1.0000         .10000E-03   10000.    
    10 'norm      '    .45847       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.244       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.6783       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.4724       1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.374       1.0000         .10000E-03   10000.    
    19 'Prefactor '    59.106       1.0000         .10000E-03   10000.    
    20 'norm      '    .47622       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.847       1.0000         .10000E-03   10000.    
    23 'Prefactor '    16.541       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    32.180       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0356       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .96638       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=   9086.886     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     2452 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8267        3.3024       -.26158E-06   -.51052E-04
   2  Prefactor     .10490E-03    264.67       -.31659E-04** at limit **
   3  Prefactor     15.241        8.6134       -.61379E-05    .89401E-02
   4  Prefactor     .10003E-03    5.6057       -.10427E-04** at limit **
   5  Prefactor     12.341        1.0687       -.39119E-06    .17121E-03
   6  Prefactor     5.0152        4.0062        .68189E-06   -.16654E-05
   7  Prefactor     .10004E-03    34.278        .76936E-05** at limit **
   8  norm          .10000E-03    2.1046       -.14629E-06** at limit **
   9  Prefactor     2.7183        5.1354        .13526E-05   -.15995E-02
  10  norm          .45757        .64775       -.17315E-06    .45780E-04
  11  Prefactor     .10000E-03    1.7997        .54209E-06** at limit **
  12  Prefactor     34.249        1.0304        .25669E-07    .37659E-04
  13  norm          .10002E-03    12.747        .17966E-04** at limit **
  14  Prefactor     .10000E-03    8.3172       -.20397E-05** at limit **
  15  Prefactor     .10001E-03    8.1080       -.18409E-04** at limit **
  16  norm          3.6775        4.8179        .30153E-05    .19219E-03
  17  Prefactor     3.4734        2.6942       -.56535E-06   -.22830E-04
  18  Prefactor     23.375        1.0559       -.21831E-06    .34627E-03
  19  Prefactor     59.105        1.1318       -.59766E-07    .54876E-03
  20  norm          .47594        4.8467        .20509E-05    .11509E-03
  21  Prefactor     .10002E-03    9.2985        .18453E-04** at limit **
  22  Prefactor     19.849        1.0290        .78840E-07   -.16736E-03
  23  Prefactor     16.540        1.0133        .29094E-07   -.13016E-03
  24  Prefactor     .10002E-03    24.988       -.10515E-04** at limit **
  25  Prefactor     32.180        1.0335       -.20248E-06    .78971E-03
  26  Prefactor     .10000E-03    2.1702       -.27067E-06** at limit **
  27  Normalizat    1.0352        .21617       -.43857E-06    .79262E-04
  28  Prefactor     .96657        .13541        .45904E-06    .12528E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.82668
  Prefactor  = 0.000104896
  Prefactor  = 15.2409
  Prefactor  = 0.000100029
  Prefactor  = 12.3406
  Prefactor  = 5.01519
  Prefactor  = 0.000100042
  norm       = 0.0001
  Prefactor  = 2.71827
  norm       = 0.457571
  Prefactor  = 0.0001
  Prefactor  = 34.2494
  norm       = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  norm       = 3.67755
  Prefactor  = 3.47342
  Prefactor  = 23.3754
  Prefactor  = 59.1047
  norm       = 0.475936
  Prefactor  = 0.000100025
  Prefactor  = 19.8494
  Prefactor  = 16.5397
  Prefactor  = 0.000100022
  Prefactor  = 32.1802
  Prefactor  = 0.0001
  Normalizat = 1.0352
  Prefactor  = 0.966565
 **********
 **   18 **HESSE 
 **********

 FCN=   9086.886     FROM HESSE     STATUS=OK           593 CALLS     3045 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8267        3.3007        .51580E-02   -1.5317    
   2  Prefactor     .10490E-03    19.735        .13018       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.241        78.234        .25581E-02   -1.4927    
   4  Prefactor     .10003E-03    10.971        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.341        9.0029        .28505E-02   -1.5005    
   6  Prefactor     5.0152        4.0349        .44891E-02   -1.5260    
   7  Prefactor     .10004E-03    34.283        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.1004        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7183        91.939        .61092E-02   -1.5378    
  10  norm          .45757        .77008        .21195E-01   -1.5573    
  11  Prefactor     .10000E-03    1.7714        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.249        10.968        .17120E-02   -1.4537    
  13  norm          .10002E-03    13.290        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.2931        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    12.086        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6775        4.8544        .52649E-02   -1.5324    
  17  Prefactor     3.4734        2.7506        .54252E-02   -1.5335    
  18  Prefactor     23.375        14.529        .20713E-02   -1.4741    
  19  Prefactor     59.105        21.254        .13046E-02   -1.4169    
  20  norm          .47594        4.3513        .46300E-01   -1.5570    
  21  Prefactor     .10002E-03    10.506        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     19.849        12.657        .22476E-02   -1.4817    
  23  Prefactor     16.540        23.324        .24619E-02   -1.4894    
  24  Prefactor     .10002E-03    25.004        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     32.180        20.932        .17659E-02   -1.4573    
  26  Prefactor     .10000E-03    2.1484        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0352        .19498        .72694E-01   -.91860    
  28  Prefactor     .96657        .11598        .45846E-01   -.93852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69254e-06
Minuit parameter uncertainties:
  1  3.30086
  2  0.0196659
  3  69.2043
  4  0.00113733
  5  9.00391
  6  4.03513
  7  0.00239774
  8  7.16535e-07
  9  31.6697
  10  0.770095
  11  2.83951e-07
  12  10.9688
  13  0.00104659
  14  3.73393e-05
  15  0.000644153
  16  4.85492
  17  2.75073
  18  14.5313
  19  21.2563
  20  2.87812
  21  0.00101497
  22  12.659
  23  23.3371
  24  0.00149782
  25  20.9367
  26  6.37625e-07
  27  0.195119
  28  0.116013
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  6.442e-04  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.666e-01  1.160e-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.035e+00  1.951e-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: 4.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/999095/likelihoodResults_599097601_599356801_4FGL_J1141.5-1408_daily_bin1388.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) = 9086.88620365
delta logL = -0.000393494654418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9086.88581196
delta logL = -1.80482857104e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13401E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9237       1.0000          .0000       10.000    
     3 'Normalizat'    1.0350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96661       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=   9086.886     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      249 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    14.251        .18142E-02** at limit **
   2  Index         1.8850        5.9232        .50000        .21868E-04
   3  Normalizat    1.0352        .21340        .32167E-03    .18873E-04
   4  Prefactor     .96657        .13468        .20785E-03    .22644E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 1.88496
  Normalizat = 1.0352
  Prefactor  = 0.966565
 **********
 **   18 **HESSE 
 **********

 FCN=   9086.886     FROM HESSE     STATUS=OK            29 CALLS      278 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    13.723        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8850        5.9287        .50000       -.67258    
   3  Normalizat    1.0352        .21359        .12867E-04   -.91860    
   4  Prefactor     .96657        .13480        .83142E-05   -.93852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63718e-09
Minuit parameter uncertainties:
  1  0.000886273
  2  3.92336
  3  0.213764
  4  0.134846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/999095': 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) = 9086.88580967
delta logL = 4.82250470668e-07

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  8.863e-04  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  1.885e+00  3.923e+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:  9.666e-01  1.348e-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.035e+00  2.138e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/999095/cmap_HighResolution_599097601_599356801_4FGL_J1141.5-1408_daily_bin1388.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.32e-08', time_completed='2021-09-04 07:57:58.449711', job_id='999095', GAL2='0.97', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630767478.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='4.82e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1388' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:57:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 999095: <4FGL_J1141.5-1408_daily_bin1388> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1388 175.387 -14.1457 599097601 599356801 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 :                                   945.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            988 sec.

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

