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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1204
RA = 175.387, Dec = -14.1457
tmin = 551404801, tmax = 551664001
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='998835', job_status='RUN', time_executed='2021-09-04 07:42:24.999445', time_epoch_executed='1630766545.0' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1204'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998835

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998835/ft1_4FGL_J1141.5-1408_daily_bin1204.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998835/ft2_4FGL_J1141.5-1408_daily_bin1204.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998835/ft1_4FGL_J1141.5-1408_daily_bin1204.fits outfile=/scratch/kocevski/998835/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1204.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=551404801.0 tmax=551664001.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 5.69
user 3.39
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998835/ft1_filtered_4FGL_J1141.5-1408_daily_bin1204.fits" evtable="EVENTS" scfile=/scratch/kocevski/998835/ft2_4FGL_J1141.5-1408_daily_bin1204.fits sctable="SC_DATA" outfile=/scratch/kocevski/998835/ltcube_551404801_551664001_4FGL_J1141.5-1408_daily_bin1204.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/998835/ft2_4FGL_J1141.5-1408_daily_bin1204.fits
.....................!
real 11.77
user 11.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998835/ft1_filtered_4FGL_J1141.5-1408_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/998835/ft2_4FGL_J1141.5-1408_daily_bin1204.fits sctable="SC_DATA" expcube=/scratch/kocevski/998835/ltcube_551404801_551664001_4FGL_J1141.5-1408_daily_bin1204.fits outfile=/scratch/kocevski/998835/expmap_551404801_551664001_4FGL_J1141.5-1408_daily_bin1204.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/998835/ltcube_551404801_551664001_4FGL_J1141.5-1408_daily_bin1204.fits
.....................!
real 191.20
user 186.46
sys 4.33

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/998835/ft1_filtered_4FGL_J1141.5-1408_daily_bin1204.fits scfile=/scratch/kocevski/998835/ft2_4FGL_J1141.5-1408_daily_bin1204.fits outfile=/scratch/kocevski/998835/cmap_551404801_551664001_4FGL_J1141.5-1408_daily_bin1204.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.58
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998835/ft1_filtered_4FGL_J1141.5-1408_daily_bin1204.fits scfile=/scratch/kocevski/998835/ft2_4FGL_J1141.5-1408_daily_bin1204.fits outfile=/scratch/kocevski/998835/cmap_HighResolution_551404801_551664001_4FGL_J1141.5-1408_daily_bin1204.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=175.387 yref=-14.1457 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6332       1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.689       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13566E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1770       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.131       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10531E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10281E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11111E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.289       1.0000         .10000E-03   10000.    
    13 'norm      '    15.137       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10422E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.4213       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.4273       1.0000         .10000E-03   10000.    
    18 'Prefactor '    33.015       1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.415       1.0000         .10000E-03   10000.    
    20 'norm      '    28.484       1.0000         .10000E-03   10000.    
    21 'Prefactor '    26.798       1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.286       1.0000         .10000E-03   10000.    
    23 'Prefactor '    36.033       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10442E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0981       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2054       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=   3930.644     FROM MIGRAD    STATUS=CONVERGED    665 CALLS     4047 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6315        9.5134        .37604E-05   -.76439E-04
   2  Prefactor     27.664        67.042       -.35559E-04    .18497E-05
   3  Prefactor     .10000E-03    128.39       -.27077E-04** at limit **
   4  Prefactor     3.2102        109.19        .73676E-04    .64569E-05
   5  Prefactor     25.116        21.438       -.79367E-05   -.43768E-03
   6  Prefactor     .10000E-03    2.7317       -.21140E-07** at limit **
   7  Prefactor     .10000E-03    113.55        .23736E-04** at limit **
   8  norm          .10000E-03    8.1269        .92368E-07** at limit **
   9  Prefactor     .10000E-03    66.445       -.68798E-05** at limit **
  10  norm          .10000E-03    2.0773        .10012E-06** at limit **
  11  Prefactor     .10000E-03    3.6666        .12309E-06** at limit **
  12  Prefactor     34.302        25.359        .17272E-05   -.78944E-04
  13  norm          15.139        18.461        .20724E-06   -.28305E-04
  14  Prefactor     .10000E-03    13.727        .79192E-07** at limit **
  15  Prefactor     .10000E-03    64.502       -.18099E-04** at limit **
  16  norm          3.4211        9.6521        .61648E-05   -.18663E-03
  17  Prefactor     1.4295        4.4036       -.22088E-05   -.81487E-03
  18  Prefactor     33.025        27.874        .31519E-05   -.20537E-04
  19  Prefactor     27.494        139.15        .14009E-03    .25273E-05
  20  norm          28.467        33.902       -.31581E-04   -.67616E-04
  21  Prefactor     26.804        28.138        .37078E-06   -.65963E-05
  22  Prefactor     26.300        23.211        .26043E-05   -.95058E-04
  23  Prefactor     36.047        32.323        .43236E-05   -.49345E-05
  24  Prefactor     .10000E-03    74.113        .29706E-04** at limit **
  25  Prefactor     .10000E-03    36.504       -.18662E-07** at limit **
  26  Prefactor     .10000E-03    5.9962        .16104E-06** at limit **
  27  Normalizat    1.0974        .39382       -.21614E-04    .35327E-05
  28  Prefactor     1.2057        .21817        .44953E-05   -.63619E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.63148
  Prefactor  = 27.6638
  Prefactor  = 0.0001
  Prefactor  = 3.21019
  Prefactor  = 25.1159
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.302
  norm       = 15.1389
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.42113
  Prefactor  = 1.4295
  Prefactor  = 33.025
  Prefactor  = 27.4941
  norm       = 28.4669
  Prefactor  = 26.8038
  Prefactor  = 26.2997
  Prefactor  = 36.0474
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09738
  Prefactor  = 1.20568
 **********
 **   18 **HESSE 
 **********

 FCN=   3930.644     FROM HESSE     STATUS=OK           517 CALLS     4564 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6315        9.5066        .13643E-03   -1.5120    
   2  Prefactor     27.664        66.996        .76134E-04   -1.4656    
   3  Prefactor     .10000E-03    128.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2102        105.53        .22736E-03   -1.5350    
   5  Prefactor     25.116        21.191        .79907E-04   -1.4705    
   6  Prefactor     .10000E-03    2.7389        .10117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    113.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.1607        .17445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    66.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.1694        .17635E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.7038        .11711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.302        25.428        .68435E-04   -1.4536    
  13  norm          15.139        18.455        .10294E-03   -1.4930    
  14  Prefactor     .10000E-03    13.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    64.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4211        9.4322        .21869E-03   -1.5338    
  17  Prefactor     1.4295        4.2619        .19976E-03   -1.5469    
  18  Prefactor     33.025        27.820        .69739E-04   -1.4558    
  19  Prefactor     27.494        138.03        .76513E-04   -1.4659    
  20  norm          28.467        33.842        .75066E-04   -1.4640    
  21  Prefactor     26.804        28.132        .77387E-04   -1.4672    
  22  Prefactor     26.300        23.521        .78136E-04   -1.4682    
  23  Prefactor     36.047        32.324        .66763E-04   -1.4506    
  24  Prefactor     .10000E-03    73.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    36.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    6.0958        .14991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0974        .46304        .38982E-03   -.89836    
  28  Prefactor     1.2057        .25914        .23199E-03   -.86157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84046e-09
Minuit parameter uncertainties:
  1  9.50823
  2  67.1791
  3  0.00022957
  4  36.882
  5  21.1973
  6  1.26855e-06
  7  0.00130782
  8  1.9565e-05
  9  2.64784e-05
  10  2.55125e-05
  11  4.03933e-06
  12  25.4365
  13  18.4621
  14  2.52548e-05
  15  5.51113e-05
  16  9.43625
  17  4.26285
  18  27.8305
  19  123.665
  20  33.8644
  21  28.1456
  22  23.529
  23  32.34
  24  0.000378213
  25  0.00020307
  26  3.60343e-05
  27  0.464765
  28  0.259413
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  5.511e-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:  1.206e+00  2.594e-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.097e+00  4.648e-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.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998835/likelihoodResults_551404801_551664001_4FGL_J1141.5-1408_daily_bin1204.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) = 3930.64421382
delta logL = -7.35907583476e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3930.64414029
delta logL = -5.58225110581e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1093       1.0000          .0000       10.000    
     3 'Normalizat'    1.0973       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2057       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=   3930.644     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      239 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.892        .90712E-02** at limit **
   2  Index         2.0928        6.2396        .50000        .20126E-05
   3  Normalizat    1.0974        .58473E-02    .88025E-01    .16519E-04
   4  Prefactor     1.2057        .36418E-02    .52472E-01    .12210E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.09285
  Normalizat = 1.09736
  Prefactor  = 1.2057
 **********
 **   18 **HESSE 
 **********

 FCN=   3930.644     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      272 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    191.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0928        6.1527        .50000       -.62049    
   3  Normalizat    1.0974        .15632E-01    .38983E-03   -.89837    
   4  Prefactor     1.2057        .97541E-02    .23199E-03   -.86156    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.09217e-09
Minuit parameter uncertainties:
  1  0.000328923
  2  163.124
  3  0.015632
  4  0.00975411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998835': 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) = 3930.64414027
delta logL = -3.38131940225e-08

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  3.289e-04  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.093e+00  1.631e+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:  1.206e+00  9.754e-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.097e+00  1.563e-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/998835/cmap_HighResolution_551404801_551664001_4FGL_J1141.5-1408_daily_bin1204.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2021-09-04 07:53:33.042428', job_id='998835', GAL2='1.21', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630767213.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='-3.38e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1204' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:53:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 998835: <4FGL_J1141.5-1408_daily_bin1204> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1204 175.387 -14.1457 551404801 551664001 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 :                                   634.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            742 sec.

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

