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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1226
RA = 175.387, Dec = -14.1457
tmin = 557107201, tmax = 557366401
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='998866', job_status='RUN', time_executed='2021-09-04 07:41:52.911923', time_epoch_executed='1630766512.91' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1226'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998866

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998866/ft1_4FGL_J1141.5-1408_daily_bin1226.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998866/ft2_4FGL_J1141.5-1408_daily_bin1226.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998866/ft1_4FGL_J1141.5-1408_daily_bin1226.fits outfile=/scratch/kocevski/998866/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1226.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=557107201.0 tmax=557366401.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.69
user 3.44
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998866/ft1_filtered_4FGL_J1141.5-1408_daily_bin1226.fits" evtable="EVENTS" scfile=/scratch/kocevski/998866/ft2_4FGL_J1141.5-1408_daily_bin1226.fits sctable="SC_DATA" outfile=/scratch/kocevski/998866/ltcube_557107201_557366401_4FGL_J1141.5-1408_daily_bin1226.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/998866/ft2_4FGL_J1141.5-1408_daily_bin1226.fits
.....................!
real 12.61
user 11.99
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998866/ft1_filtered_4FGL_J1141.5-1408_daily_bin1226.fits evtable="EVENTS" scfile=/scratch/kocevski/998866/ft2_4FGL_J1141.5-1408_daily_bin1226.fits sctable="SC_DATA" expcube=/scratch/kocevski/998866/ltcube_557107201_557366401_4FGL_J1141.5-1408_daily_bin1226.fits outfile=/scratch/kocevski/998866/expmap_557107201_557366401_4FGL_J1141.5-1408_daily_bin1226.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/998866/ltcube_557107201_557366401_4FGL_J1141.5-1408_daily_bin1226.fits
.....................!
real 191.29
user 185.13
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/998866/ft1_filtered_4FGL_J1141.5-1408_daily_bin1226.fits scfile=/scratch/kocevski/998866/ft2_4FGL_J1141.5-1408_daily_bin1226.fits outfile=/scratch/kocevski/998866/cmap_557107201_557366401_4FGL_J1141.5-1408_daily_bin1226.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998866/ft1_filtered_4FGL_J1141.5-1408_daily_bin1226.fits scfile=/scratch/kocevski/998866/ft2_4FGL_J1141.5-1408_daily_bin1226.fits outfile=/scratch/kocevski/998866/cmap_HighResolution_557107201_557366401_4FGL_J1141.5-1408_daily_bin1226.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10617E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.661       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.6969       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0281       1.0000         .10000E-03   10000.    
    19 'Prefactor '    55.624       1.0000         .10000E-03   10000.    
    20 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    108.05       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    36.530       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    14.325       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1152       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .74995       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=   3346.654     FROM MIGRAD    STATUS=CONVERGED    658 CALLS     3458 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    11.353       -.51473E-06** at limit **
   2  Prefactor     .10000E-03    26.556       -.11583E-04** at limit **
   3  Prefactor     .10000E-03    77.909       -.33909E-04** at limit **
   4  Prefactor     .10000E-03    19.576        .90465E-05** at limit **
   5  Prefactor     .10000E-03    41.296        .92565E-05** at limit **
   6  Prefactor     .10000E-03    9.3116        .10725E-04** at limit **
   7  Prefactor     .10000E-03    37.471       -.28964E-05** at limit **
   8  norm          .10000E-03    15.488       -.22849E-05** at limit **
   9  Prefactor     .10000E-03    45.411        .19440E-04** at limit **
  10  norm          .10000E-03    1.2511        .32497E-06** at limit **
  11  Prefactor     .10000E-03    9.0164       -.91933E-05** at limit **
  12  Prefactor     11.657        13.286        .63581E-06   -.10778E-03
  13  norm          .10000E-03    32.005       -.14848E-04** at limit **
  14  Prefactor     .10000E-03    20.188        .84454E-05** at limit **
  15  Prefactor     .10000E-03    52.684        .29363E-04** at limit **
  16  norm          .10000E-03    6.0251        .45401E-06** at limit **
  17  Prefactor     5.6962        6.1489       -.52905E-06   -.46419E-04
  18  Prefactor     7.0262        18.504        .61333E-06   -.33939E-04
  19  Prefactor     55.612        27.282       -.13935E-04   -.11621E-03
  20  norm          .10000E-03    6.9646        .74080E-06** at limit **
  21  Prefactor     108.06        81.424        .73015E-06    .11852E-04
  22  Prefactor     .10000E-03    15.330       -.28772E-05** at limit **
  23  Prefactor     .10000E-03    34.943       -.95888E-05** at limit **
  24  Prefactor     36.620        70.491        .12430E-03    .10246E-04
  25  Prefactor     .10000E-03    13.840       -.36369E-05** at limit **
  26  Prefactor     14.323        11.453       -.38312E-06   -.10264E-02
  27  Normalizat    1.1158        .32453        .30100E-05   -.23345E-03
  28  Prefactor     .74964        .17852       -.57351E-05    .98217E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.657
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.69622
  Prefactor  = 7.02617
  Prefactor  = 55.612
  norm       = 0.0001
  Prefactor  = 108.056
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.6199
  Prefactor  = 0.000100005
  Prefactor  = 14.3234
  Normalizat = 1.1158
  Prefactor  = 0.74964
 **********
 **   18 **HESSE 
 **********

 FCN=   3346.654     FROM HESSE     STATUS=OK           507 CALLS     3965 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    33.664        .37851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    26.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    77.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    41.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.3182        .17243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    37.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    15.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    45.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.2115        .12314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.1506        .16958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.657        13.289        .11731E-03   -1.5025    
  13  norm          .10000E-03    32.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    52.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.0459        .13864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6962        6.1344        .14002E-03   -1.5231    
  18  Prefactor     7.0262        18.467        .15132E-03   -1.5178    
  19  Prefactor     55.612        27.287        .53785E-04   -1.4215    
  20  norm          .10000E-03    6.9879        .14810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     108.06        81.373        .38690E-04   -1.3625    
  22  Prefactor     .10000E-03    15.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    34.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     36.620        70.419        .66309E-04   -1.4497    
  25  Prefactor     .10000E-03    13.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     14.323        11.448        .52913E-03   -1.4951    
  27  Normalizat    1.1158        .39466        .30650E-03   -.89246    
  28  Prefactor     .74964        .21863        .20831E-03   -1.0161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24879e-09
Minuit parameter uncertainties:
  1  0.0015824
  2  6.17148e-05
  3  0.000116533
  4  7.94119e-06
  5  2.07642e-05
  6  8.6066e-06
  7  8.22541e-06
  8  3.30826e-05
  9  7.08782e-05
  10  5.83578e-05
  11  5.87933e-05
  12  13.2921
  13  4.10109e-05
  14  1.12628e-05
  15  3.53026e-05
  16  1.72644e-05
  17  6.13512
  18  18.4817
  19  27.2931
  20  3.73761e-05
  21  81.4576
  22  2.05087e-05
  23  2.00908e-05
  24  70.5793
  25  0.000517643
  26  11.4497
  27  0.395712
  28  0.21888
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  3.530e-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:  7.496e-01  2.189e-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.116e+00  3.957e-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: 9.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998866/likelihoodResults_557107201_557366401_4FGL_J1141.5-1408_daily_bin1226.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) = 3346.65452917
delta logL = -8.99595124793e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3346.654443
delta logL = -3.78790173272e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48257E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0660       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74964       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.

 FCN=   3346.654     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      231 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.704        .10587E-01** at limit **
   2  Index         2.0655        8.8715        .50000        .23826E-05
   3  Normalizat    1.1158        .42365E-02    .69272E-01    .24153E-04
   4  Prefactor     .74963        .24191E-02    .43058E-01    .38618E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.06549
  Normalizat = 1.11582
  Prefactor  = 0.749633
 **********
 **   18 **HESSE 
 **********

 FCN=   3346.654     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      264 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    123.92        .21175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0655        8.5029        .50000       -.62723    
   3  Normalizat    1.1158        .11879E-01    .30650E-03   -.89246    
   4  Prefactor     .74963        .67890E-02    .20832E-03   -1.0161    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.10343e-09
Minuit parameter uncertainties:
  1  3.55988e-05
  2  120.79
  3  0.0118794
  4  0.00678905
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998866': 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) = 3346.65443925
delta logL = -3.6287929106e-08

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  3.560e-05  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.065e+00  1.208e+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:  7.496e-01  6.789e-03  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.116e+00  1.188e-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/998866/cmap_HighResolution_557107201_557366401_4FGL_J1141.5-1408_daily_bin1226.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.37e-03', job_status='DONE', photon_flux_upper_limit='9.86e-08', time_completed='2021-09-04 07:51:57.625422', job_id='998866', GAL2='0.75', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1630767117.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='-3.63e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1226' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:51:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 998866: <4FGL_J1141.5-1408_daily_bin1226> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1226> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 07:41:14 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:41:16 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:16 2021
Terminated at Sat Sep  4 07:51:58 2021
Results reported at Sat Sep  4 07:51:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1226 175.387 -14.1457 557107201 557366401 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 :                                   566.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            644 sec.

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

