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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1280
RA = 175.387, Dec = -14.1457
tmin = 571104001, tmax = 571363201
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='998942', job_status='RUN', time_executed='2021-09-04 07:43:03.710422', time_epoch_executed='1630766583.71' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998942

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998942/ft1_4FGL_J1141.5-1408_daily_bin1280.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998942/ft2_4FGL_J1141.5-1408_daily_bin1280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998942/ft1_4FGL_J1141.5-1408_daily_bin1280.fits outfile=/scratch/kocevski/998942/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1280.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=571104001.0 tmax=571363201.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.00
user 2.78
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/998942/ft2_4FGL_J1141.5-1408_daily_bin1280.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/998942/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1280.fits evtable="EVENTS" outfile="/scratch/kocevski/998942/ft1_filtered_4FGL_J1141.5-1408_daily_bin1280.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998942/ft1_filtered_4FGL_J1141.5-1408_daily_bin1280.fits" evtable="EVENTS" scfile=/scratch/kocevski/998942/ft2_4FGL_J1141.5-1408_daily_bin1280.fits sctable="SC_DATA" outfile=/scratch/kocevski/998942/ltcube_571104001_571363201_4FGL_J1141.5-1408_daily_bin1280.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/998942/ft2_4FGL_J1141.5-1408_daily_bin1280.fits
.....................!
real 12.43
user 12.02
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998942/ft1_filtered_4FGL_J1141.5-1408_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/998942/ft2_4FGL_J1141.5-1408_daily_bin1280.fits sctable="SC_DATA" expcube=/scratch/kocevski/998942/ltcube_571104001_571363201_4FGL_J1141.5-1408_daily_bin1280.fits outfile=/scratch/kocevski/998942/expmap_571104001_571363201_4FGL_J1141.5-1408_daily_bin1280.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/998942/ltcube_571104001_571363201_4FGL_J1141.5-1408_daily_bin1280.fits
.....................!
real 191.73
user 186.31
sys 5.05

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/998942/ft1_filtered_4FGL_J1141.5-1408_daily_bin1280.fits scfile=/scratch/kocevski/998942/ft2_4FGL_J1141.5-1408_daily_bin1280.fits outfile=/scratch/kocevski/998942/cmap_571104001_571363201_4FGL_J1141.5-1408_daily_bin1280.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 1.87
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998942/ft1_filtered_4FGL_J1141.5-1408_daily_bin1280.fits scfile=/scratch/kocevski/998942/ft2_4FGL_J1141.5-1408_daily_bin1280.fits outfile=/scratch/kocevski/998942/cmap_HighResolution_571104001_571363201_4FGL_J1141.5-1408_daily_bin1280.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 1.17
user 0.37
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/998942/ft1_filtered_4FGL_J1141.5-1408_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/998942/ft2_4FGL_J1141.5-1408_daily_bin1280.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/998942/Model_4FGL_J1141.5-1408_daily_bin1280.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/998942/ft1_filtered_4FGL_J1141.5-1408_daily_bin1280.fits.....................!
real 46.71
user 45.28
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12618E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    86.855       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3948       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.001       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10522E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10252E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    69.963       1.0000         .10000E-03   10000.    
    10 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11568E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.890       1.0000         .10000E-03   10000.    
    13 'norm      '    .10377E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    114.11       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.064       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1741       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.032       1.0000         .10000E-03   10000.    
    20 'norm      '    4.8880       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.336       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.434       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.4154       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .78958       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=   4556.709     FROM MIGRAD    STATUS=CONVERGED    669 CALLS     3422 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.2336       -.38633E-08** at limit **
   2  Prefactor     .10001E-03    45.986       -.42245E-05** at limit **
   3  Prefactor     86.858        92.690        .88962E-09    .26997E-04
   4  Prefactor     5.3840        28.948        .84046E-07    .66420E-06
   5  Prefactor     .10000E-03    13.816       -.25534E-06** at limit **
   6  Prefactor     12.010        15.835       -.90363E-08    .16393E-04
   7  Prefactor     .10001E-03    130.44       -.52608E-05** at limit **
   8  norm          .10000E-03    18.460       -.53628E-06** at limit **
   9  Prefactor     69.970        55.495        .79424E-06    .75786E-04
  10  norm          .10000E-03    .42423        .30197E-07** at limit **
  11  Prefactor     .10000E-03    5.5300        .99227E-07** at limit **
  12  Prefactor     27.893        15.902        .33130E-07   -.12479E-04
  13  norm          .10000E-03    19.007       -.50117E-06** at limit **
  14  Prefactor     114.11        73.246        .37812E-06    .35949E-04
  15  Prefactor     .10000E-03    26.675        .17787E-05** at limit **
  16  norm          10.066        8.9997        .28313E-07    .26347E-04
  17  Prefactor     6.1756        5.4963        .19263E-06    .13794E-03
  18  Prefactor     .10000E-03    30.400       -.12139E-06** at limit **
  19  Prefactor     14.035        20.858       -.32859E-05   -.19017E-04
  20  norm          4.8871        5.6743        .27508E-05   -.69729E-03
  21  Prefactor     .10000E-03    18.234       -.50803E-06** at limit **
  22  Prefactor     11.341        17.312        .18498E-06   -.24603E-04
  23  Prefactor     .10003E-03    66.523        .73611E-05** at limit **
  24  Prefactor     12.430        42.762       -.11196E-05   -.29312E-04
  25  Prefactor     .10000E-03    16.090        .10252E-05** at limit **
  26  Prefactor     .10000E-03    6.4524        .49778E-07** at limit **
  27  Normalizat    1.4148        .29890       -.67666E-06   -.61193E-06
  28  Prefactor     .78989        .16638        .16597E-06   -.35074E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 86.8579
  Prefactor  = 5.38405
  Prefactor  = 0.0001
  Prefactor  = 12.01
  Prefactor  = 0.000100015
  norm       = 0.0001
  Prefactor  = 69.9701
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.8929
  norm       = 0.0001
  Prefactor  = 114.112
  Prefactor  = 0.000100002
  norm       = 10.066
  Prefactor  = 6.17557
  Prefactor  = 0.0001
  Prefactor  = 14.0352
  norm       = 4.88714
  Prefactor  = 0.0001
  Prefactor  = 11.3412
  Prefactor  = 0.000100026
  Prefactor  = 12.4302
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.41484
  Prefactor  = 0.78989
 **********
 **   18 **HESSE 
 **********

 FCN=   4556.709     FROM HESSE     STATUS=OK           513 CALLS     3935 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2350        .13565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    47.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     86.858        92.728        .43109E-04   -1.3841    
   4  Prefactor     5.3840        28.900        .17301E-03   -1.5244    
   5  Prefactor     .10000E-03    13.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.010        15.806        .11563E-03   -1.5015    
   7  Prefactor     .10001E-03    132.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    18.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     69.970        55.656        .23996E-03   -1.4033    
  10  norm          .10000E-03    .42761        .42898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.5495        .15491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.893        15.947        .75860E-04   -1.4651    
  13  norm          .10000E-03    19.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     114.11        73.321        .37662E-04   -1.3567    
  15  Prefactor     .10000E-03    26.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.066        8.9925        .12631E-03   -1.5073    
  17  Prefactor     6.1756        5.5046        .14101E-03   -1.5211    
  18  Prefactor     .10000E-03    30.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.035        21.072        .10693E-03   -1.4959    
  20  norm          4.8871        5.8455        .68805E-03   -1.5266    
  21  Prefactor     .10000E-03    18.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.341        17.345        .11899E-03   -1.5034    
  23  Prefactor     .10003E-03    71.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     12.430        42.766        .11360E-03   -1.5003    
  25  Prefactor     .10000E-03    16.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    6.5754        .16741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.4148        .36113        .30914E-03   -.80200    
  28  Prefactor     .78989        .20019        .22783E-03   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16896e-09
Minuit parameter uncertainties:
  1  2.9508e-09
  2  0.00133029
  3  92.8834
  4  24.9666
  5  4.32138e-05
  6  15.8112
  7  0.00280064
  8  0.000110368
  9  55.6973
  10  1.94052e-07
  11  4.92675e-06
  12  15.9492
  13  0.000108407
  14  73.3796
  15  0.000428259
  16  8.99375
  17  5.50507
  18  6.51501e-05
  19  21.083
  20  5.84621
  21  0.000105533
  22  17.3523
  23  0.0027463
  24  42.8722
  25  0.000204609
  26  8.35974e-06
  27  0.361782
  28  0.200376
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  4.283e-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:  7.899e-01  2.004e-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.415e+00  3.618e-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.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998942/likelihoodResults_571104001_571363201_4FGL_J1141.5-1408_daily_bin1280.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) = 4556.70913476
delta logL = -0.000176465211553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4556.70895862
delta logL = -3.21942934534e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1317       1.0000          .0000       10.000    
     3 'Normalizat'    1.4148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78989       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=   4556.709     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      235 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    11.338        .90712E-02** at limit **
   2  Index         2.1051        8.0908        .50000        .88253E-05
   3  Normalizat    1.4148        .50244E-02    .69874E-01   -.22607E-03
   4  Prefactor     .78989        .28758E-02    .43586E-01   -.55421E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100011
  Index      = 2.10509
  Normalizat = 1.41485
  Prefactor  = 0.789886
 **********
 **   18 **HESSE 
 **********

 FCN=   4556.709     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .97E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    84.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1051        6.6198        .50000       -.61748    
   3  Normalizat    1.4148        .13771E-01    .30915E-03   -.80200    
   4  Prefactor     .78989        .78865E-02    .22783E-03   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.7302e-08
Minuit parameter uncertainties:
  1  0.0019448
  2  125.275
  3  0.0137706
  4  0.0078865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998942': 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) = 4556.70895854
delta logL = -2.44997863774e-07

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  1.945e-03  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.105e+00  1.253e+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.899e-01  7.887e-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.415e+00  1.377e-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/998942/cmap_HighResolution_571104001_571363201_4FGL_J1141.5-1408_daily_bin1280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.87e-03', job_status='DONE', photon_flux_upper_limit='9.18e-08', time_completed='2021-09-04 07:54:48.812962', job_id='998942', GAL2='0.79', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1630767288.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='-2.45e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1280' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:54:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 998942: <4FGL_J1141.5-1408_daily_bin1280> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1280 175.387 -14.1457 571104001 571363201 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 :                                   661.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

