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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1304
RA = 175.387, Dec = -14.1457
tmin = 577324801, tmax = 577584001
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='998976', job_status='RUN', time_executed='2021-09-04 07:41:55.638880', time_epoch_executed='1630766515.64' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1304'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998976

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998976/ft1_4FGL_J1141.5-1408_daily_bin1304.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998976/ft2_4FGL_J1141.5-1408_daily_bin1304.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998976/ft1_4FGL_J1141.5-1408_daily_bin1304.fits outfile=/scratch/kocevski/998976/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1304.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=577324801.0 tmax=577584001.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.10
user 2.79
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998976/ft1_filtered_4FGL_J1141.5-1408_daily_bin1304.fits" evtable="EVENTS" scfile=/scratch/kocevski/998976/ft2_4FGL_J1141.5-1408_daily_bin1304.fits sctable="SC_DATA" outfile=/scratch/kocevski/998976/ltcube_577324801_577584001_4FGL_J1141.5-1408_daily_bin1304.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/998976/ft2_4FGL_J1141.5-1408_daily_bin1304.fits
.....................!
real 12.21
user 11.84
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998976/ft1_filtered_4FGL_J1141.5-1408_daily_bin1304.fits evtable="EVENTS" scfile=/scratch/kocevski/998976/ft2_4FGL_J1141.5-1408_daily_bin1304.fits sctable="SC_DATA" expcube=/scratch/kocevski/998976/ltcube_577324801_577584001_4FGL_J1141.5-1408_daily_bin1304.fits outfile=/scratch/kocevski/998976/expmap_577324801_577584001_4FGL_J1141.5-1408_daily_bin1304.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/998976/ltcube_577324801_577584001_4FGL_J1141.5-1408_daily_bin1304.fits
.....................!
real 191.15
user 185.15
sys 5.35

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/998976/ft1_filtered_4FGL_J1141.5-1408_daily_bin1304.fits scfile=/scratch/kocevski/998976/ft2_4FGL_J1141.5-1408_daily_bin1304.fits outfile=/scratch/kocevski/998976/cmap_577324801_577584001_4FGL_J1141.5-1408_daily_bin1304.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.53
user 0.36
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/998976/ft1_filtered_4FGL_J1141.5-1408_daily_bin1304.fits evtable="EVENTS" scfile=/scratch/kocevski/998976/ft2_4FGL_J1141.5-1408_daily_bin1304.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/998976/Model_4FGL_J1141.5-1408_daily_bin1304.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/998976/ft1_filtered_4FGL_J1141.5-1408_daily_bin1304.fits........................!
real 24.88
user 23.58
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44326E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    373.46       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.570       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2541       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.150       1.0000         .10000E-03   10000.    
     7 'Prefactor '    356.54       1.0000         .10000E-03   10000.    
     8 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.8728       1.0000         .10000E-03   10000.    
    13 'norm      '    .13492E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    63.812       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    55.738       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10912E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    143.40       1.0000         .10000E-03   10000.    
    19 'Prefactor '    69.265       1.0000         .10000E-03   10000.    
    20 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.6945       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    209.32       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    54.793       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .84360       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .61404       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=   1377.575     FROM MIGRAD    STATUS=CONVERGED    651 CALLS     4123 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    14.085        .14629E-05** at limit **
   2  Prefactor     .10000E-03    124.97        .31884E-04** at limit **
   3  Prefactor     373.46        272.34        .59796E-07   -.67251E-04
   4  Prefactor     29.587        71.355        .15394E-04    .48530E-04
   5  Prefactor     3.2515        104.40       -.27911E-04   -.11252E-03
   6  Prefactor     12.154        14.382       -.10252E-06    .10925E-04
   7  Prefactor     356.59        264.60        .25150E-04   -.46864E-05
   8  norm          .10000E-03    21.851       -.97362E-06** at limit **
   9  Prefactor     .10000E-03    53.652       -.19154E-04** at limit **
  10  norm          .10000E-03    1.0061        .41493E-08** at limit **
  11  Prefactor     .10000E-03    10.743       -.15165E-07** at limit **
  12  Prefactor     9.8707        24.381        .54982E-06   -.58085E-04
  13  norm          .10000E-03    146.44        .94523E-05** at limit **
  14  Prefactor     63.823        96.787        .11349E-04   -.15731E-04
  15  Prefactor     .10000E-03    37.540        .19743E-04** at limit **
  16  norm          55.744        41.081        .32684E-05   -.44407E-04
  17  Prefactor     .10000E-03    26.624        .52810E-05** at limit **
  18  Prefactor     143.39        91.722       -.33175E-05   -.22378E-04
  19  Prefactor     69.273        65.715        .84938E-05    .18921E-03
  20  norm          .10000E-03    30.834       -.17560E-04** at limit **
  21  Prefactor     .10000E-03    163.33       -.20183E-04** at limit **
  22  Prefactor     5.6852        250.08       -.26726E-04    .33860E-05
  23  Prefactor     .10000E-03    171.33       -.37713E-04** at limit **
  24  Prefactor     209.25        223.20       -.47477E-04    .13166E-04
  25  Prefactor     .10000E-03    92.786        .44950E-05** at limit **
  26  Prefactor     54.817        90.663        .26504E-04    .25713E-05
  27  Normalizat    .84366        .51008       -.11034E-04   -.49835E-04
  28  Prefactor     .61410        .28903       -.43631E-05   -.10458E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  Prefactor  = 0.000100001
  Prefactor  = 373.459
  Prefactor  = 29.5868
  Prefactor  = 3.25147
  Prefactor  = 12.1536
  Prefactor  = 356.589
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.87073
  norm       = 0.000100002
  Prefactor  = 63.8228
  Prefactor  = 0.0001
  norm       = 55.7444
  Prefactor  = 0.0001
  Prefactor  = 143.39
  Prefactor  = 69.2731
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.68523
  Prefactor  = 0.0001
  Prefactor  = 209.254
  Prefactor  = 0.0001
  Prefactor  = 54.817
  Normalizat = 0.843659
  Prefactor  = 0.614097
 **********
 **   18 **HESSE 
 **********

 FCN=   1377.575     FROM HESSE     STATUS=OK           507 CALLS     4630 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    49.801        .25605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    125.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     373.46        271.75        .10548E-03   -1.1818    
   4  Prefactor     29.587        68.502        .73679E-04   -1.4620    
   5  Prefactor     3.2515        94.874        .22451E-03   -1.5347    
   6  Prefactor     12.154        14.335        .11492E-03   -1.5011    
   7  Prefactor     356.59        262.91        .10786E-03   -1.1908    
   8  norm          .10000E-03    21.897        .16932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    53.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.0121        .36315E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.779        .11864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.8707        24.335        .12753E-03   -1.5080    
  13  norm          .10000E-03    146.71        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     63.823        96.304        .50236E-04   -1.4108    
  15  Prefactor     .10000E-03    37.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          55.744        40.885        .53730E-04   -1.4213    
  17  Prefactor     .10000E-03    26.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     143.39        91.663        .16823E-03   -1.3307    
  19  Prefactor     69.273        65.649        .48231E-04   -1.4041    
  20  norm          .10000E-03    30.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    163.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     5.6852        248.35        .16833E-03   -1.5231    
  23  Prefactor     .10000E-03    170.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     209.25        222.56        .13971E-03   -1.2805    
  25  Prefactor     .10000E-03    92.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     54.817        90.550        .54189E-04   -1.4226    
  27  Normalizat    .84366        .57266        .34063E-03   -.98469    
  28  Prefactor     .61410        .32485        .24026E-03   -1.0700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27069e-09
Minuit parameter uncertainties:
  1  0.00114244
  2  0.000608002
  3  272.693
  4  68.6854
  5  35.1881
  6  14.3392
  7  263.802
  8  2.33134e-05
  9  9.03247e-05
  10  8.8958e-06
  11  0.000109587
  12  24.3597
  13  0.00107358
  14  96.5406
  15  1.49279e-05
  16  40.906
  17  1.31566e-06
  18  91.7538
  19  65.7182
  20  0.000134966
  21  0.000444635
  22  75.4876
  23  0.000585806
  24  223.467
  25  0.000106064
  26  90.7788
  27  0.576842
  28  0.325845
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  1.493e-05  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:  6.141e-01  3.258e-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:  8.437e-01  5.768e-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: 1.70e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998976/likelihoodResults_577324801_577584001_4FGL_J1141.5-1408_daily_bin1304.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) = 1377.57463448
delta logL = -0.000118679758089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1377.57451629
delta logL = -4.92133949592e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1415       1.0000          .0000       10.000    
     3 'Normalizat'    .84356       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61415       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=   1377.575     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      268 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10153E-03    134.86        .18142E-02** at limit **
   2  Index         2.0812        6.0692        .50000        .10370E-04
   3  Normalizat    .84365        .24071E-01    .34063E-03    .19518E-03
   4  Prefactor     .61411        .14776E-01    .24026E-03    .39404E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101535
  Index      = 2.08121
  Normalizat = 0.843653
  Prefactor  = 0.614105
 **********
 **   18 **HESSE 
 **********

 FCN=   1377.575     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      297 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10153E-03    584.88        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0812        7.6404        .50000       -.62335    
   3  Normalizat    .84365        .51301E-01    .68126E-04   -.98469    
   4  Prefactor     .61411        .31492E-01    .48052E-04   -1.0700    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.60451e-09
Minuit parameter uncertainties:
  1  0.0605237
  2  394.833
  3  0.0513042
  4  0.0314924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998976': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1377.57451607
delta logL = -2.75756747214e-07

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.015e-04  6.052e-02  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.081e+00  3.948e+02  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:  6.141e-01  3.149e-02  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:  8.437e-01  5.130e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 175.387 -14.146

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/998976/cmap_HighResolution_577324801_577584001_4FGL_J1141.5-1408_daily_bin1304.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', job_status='DONE', photon_flux_upper_limit='1.70e-07', time_completed='2021-09-04 07:49:33.090322', job_id='998976', GAL2='0.61', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1630766973.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='-2.76e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1304' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:49:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 998976: <4FGL_J1141.5-1408_daily_bin1304> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1304 175.387 -14.1457 577324801 577584001 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 :                                   436.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   490 sec.
    Turnaround time :                            492 sec.

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

