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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1221
RA = 175.387, Dec = -14.1457
tmin = 555811201, tmax = 556070401
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='998859', job_status='RUN', time_executed='2021-09-04 07:43:47.043720', time_epoch_executed='1630766627.04' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998859

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998859/ft1_4FGL_J1141.5-1408_daily_bin1221.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998859/ft2_4FGL_J1141.5-1408_daily_bin1221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998859/ft1_4FGL_J1141.5-1408_daily_bin1221.fits outfile=/scratch/kocevski/998859/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1221.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=555811201.0 tmax=556070401.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.60
user 3.33
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998859/ft1_filtered_4FGL_J1141.5-1408_daily_bin1221.fits" evtable="EVENTS" scfile=/scratch/kocevski/998859/ft2_4FGL_J1141.5-1408_daily_bin1221.fits sctable="SC_DATA" outfile=/scratch/kocevski/998859/ltcube_555811201_556070401_4FGL_J1141.5-1408_daily_bin1221.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/998859/ft2_4FGL_J1141.5-1408_daily_bin1221.fits
.....................!
real 11.53
user 11.21
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998859/ft1_filtered_4FGL_J1141.5-1408_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/998859/ft2_4FGL_J1141.5-1408_daily_bin1221.fits sctable="SC_DATA" expcube=/scratch/kocevski/998859/ltcube_555811201_556070401_4FGL_J1141.5-1408_daily_bin1221.fits outfile=/scratch/kocevski/998859/expmap_555811201_556070401_4FGL_J1141.5-1408_daily_bin1221.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/998859/ltcube_555811201_556070401_4FGL_J1141.5-1408_daily_bin1221.fits
.....................!
real 189.23
user 184.89
sys 3.94

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/998859/ft1_filtered_4FGL_J1141.5-1408_daily_bin1221.fits scfile=/scratch/kocevski/998859/ft2_4FGL_J1141.5-1408_daily_bin1221.fits outfile=/scratch/kocevski/998859/cmap_555811201_556070401_4FGL_J1141.5-1408_daily_bin1221.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998859/ft1_filtered_4FGL_J1141.5-1408_daily_bin1221.fits scfile=/scratch/kocevski/998859/ft2_4FGL_J1141.5-1408_daily_bin1221.fits outfile=/scratch/kocevski/998859/cmap_HighResolution_555811201_556070401_4FGL_J1141.5-1408_daily_bin1221.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.65
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/998859/ft1_filtered_4FGL_J1141.5-1408_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/998859/ft2_4FGL_J1141.5-1408_daily_bin1221.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/998859/Model_4FGL_J1141.5-1408_daily_bin1221.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/998859/ft1_filtered_4FGL_J1141.5-1408_daily_bin1221.fits......................!
real 34.03
user 32.35
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.375       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    328.66       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .34367E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.674       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.839       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.348       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10703E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6441       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.409       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.045       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.8884       1.0000         .10000E-03   10000.    
    20 'norm      '    .10767E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.5737       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.7124       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10397E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .17973E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.972       1.0000         .10000E-03   10000.    
    26 'Prefactor '    8.5387       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .92710       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0613       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=   2808.877     FROM MIGRAD    STATUS=CONVERGED    687 CALLS     3483 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.376        17.178       -.68098E-07    .93748E-05
   2  Prefactor     .10000E-03    71.800       -.29727E-05** at limit **
   3  Prefactor     328.72        268.74       -.28997E-05    .25860E-05
   4  Prefactor     .10000E-03    308.24       -.12042E-05** at limit **
   5  Prefactor     17.669        20.712        .49867E-07    .17432E-04
   6  Prefactor     .10000E-03    3.2294       -.62675E-07** at limit **
   7  Prefactor     .10000E-03    176.00       -.66091E-05** at limit **
   8  norm          10.839        11.547        .92936E-08    .11469E-04
   9  Prefactor     .10000E-03    110.68        .11456E-04** at limit **
  10  norm          .10000E-03    1.2832       -.45604E-07** at limit **
  11  Prefactor     .10000E-03    2.5733       -.46875E-07** at limit **
  12  Prefactor     .10000E-03    25.687        .25486E-07** at limit **
  13  norm          .10000E-03    9.5382       -.27814E-07** at limit **
  14  Prefactor     40.344        35.974       -.60108E-06    .10787E-04
  15  Prefactor     .10000E-03    223.07       -.99340E-05** at limit **
  16  norm          1.6421        11.559        .10572E-04   -.79881E-04
  17  Prefactor     10.409        8.6447       -.68133E-06    .60898E-04
  18  Prefactor     15.059        44.610        .16348E-06    .14544E-04
  19  Prefactor     5.8573        89.633        .13880E-04    .38155E-04
  20  norm          .10000E-03    27.814       -.22256E-05** at limit **
  21  Prefactor     2.5864        294.33       -.23152E-05   -.37506E-05
  22  Prefactor     8.7132        25.467       -.47669E-06    .95451E-05
  23  Prefactor     .10000E-03    32.985        .59446E-06** at limit **
  24  Prefactor     .10000E-03    180.45       -.28727E-05** at limit **
  25  Prefactor     12.185        108.74       -.35928E-04   -.62747E-05
  26  Prefactor     8.5406        9.8045       -.50272E-06    .72811E-05
  27  Normalizat    .92703        .39558        .38119E-05    .46719E-04
  28  Prefactor     1.0613        .22959       -.20102E-05    .60779E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3761
  Prefactor  = 0.0001
  Prefactor  = 328.717
  Prefactor  = 0.000100003
  Prefactor  = 17.6688
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.8388
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.3437
  Prefactor  = 0.0001
  norm       = 1.64214
  Prefactor  = 10.4086
  Prefactor  = 15.0588
  Prefactor  = 5.85725
  norm       = 0.000100001
  Prefactor  = 2.58643
  Prefactor  = 8.71323
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 12.1852
  Prefactor  = 8.54064
  Normalizat = 0.927029
  Prefactor  = 1.06132
 **********
 **   18 **HESSE 
 **********

 FCN=   2808.877     FROM HESSE     STATUS=OK           519 CALLS     4002 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.376        17.184        .10214E-03   -1.4924    
   2  Prefactor     .10000E-03    71.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     328.72        268.70        .11218E-03   -1.2062    
   4  Prefactor     .10000E-03    314.93        .36774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.669        20.599        .95268E-04   -1.4867    
   6  Prefactor     .10000E-03    3.2393        .92991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    176.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.839        11.539        .12170E-03   -1.5049    
   9  Prefactor     .10000E-03    110.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.2918        .58604E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5769        .82999E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.5389        .15988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     40.344        36.179        .63105E-04   -1.4437    
  15  Prefactor     .10000E-03    223.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6421        11.666        .16415E-02   -1.5452    
  17  Prefactor     10.409        8.6101        .11280E-03   -1.5063    
  18  Prefactor     15.059        44.519        .10326E-03   -1.4932    
  19  Prefactor     5.8573        88.615        .16549E-03   -1.5224    
  20  norm          .10000E-03    28.097        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.5864        288.53        .25442E-03   -1.5386    
  22  Prefactor     8.7132        25.539        .13580E-03   -1.5118    
  23  Prefactor     .10000E-03    32.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    179.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     12.185        108.71        .11577E-03   -1.5010    
  26  Prefactor     8.5406        9.8048        .13718E-03   -1.5123    
  27  Normalizat    .92703        .45226        .36664E-03   -.95517    
  28  Prefactor     1.0613        .26216        .21459E-03   -.90713    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79717e-10
Minuit parameter uncertainties:
  1  17.1899
  2  8.04949e-05
  3  269.728
  4  0.00198311
  5  20.6075
  6  4.16876e-06
  7  5.97918e-05
  8  11.541
  9  0.000128586
  10  7.29048e-07
  11  4.80719e-06
  12  5.75822e-05
  13  2.67017e-06
  14  36.1984
  15  0.000188346
  16  8.75597
  17  8.6111
  18  44.6174
  19  45.6454
  20  0.000401093
  21  54.908
  22  25.5706
  23  9.70731e-06
  24  0.00187472
  25  72.9701
  26  9.80667
  27  0.454133
  28  0.262482
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  1.883e-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:  1.061e+00  2.625e-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:  9.270e-01  4.541e-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: 2.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.63e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998859/likelihoodResults_555811201_556070401_4FGL_J1141.5-1408_daily_bin1221.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) = 2808.87720992
delta logL = -2.11495403164e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2808.87720992
delta logL = -2.11463429878e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96361E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9650       1.0000          .0000       10.000    
     3 'Normalizat'    .92703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0613       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=   2805.701     FROM MIGRAD    STATUS=CONVERGED    149 CALLS      293 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37871        .61593        .33923E-02   -.13087E-02
   2  Index         4.4638        .52209        .25994E-01    .25173E-03
   3  Normalizat    .51139        .41349        .10834        .65364E-04
   4  Prefactor     1.2024        .24756        .39288E-01   -.23698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.378708
  Index      = 4.46378
  Normalizat = 0.51139
  Prefactor  = 1.20241
 **********
 **   18 **HESSE 
 **********

 FCN=   2805.701     FROM HESSE     STATUS=OK            29 CALLS      322 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37871        1.2466        .15074E-04   -1.5831    
   2  Index         4.4638        1.0636        .15676E-03   -.10745    
   3  Normalizat    .51139        .42354        .48021E-03   -1.1189    
   4  Prefactor     1.2024        .25762        .20243E-03   -.86257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.02798e-10
Minuit parameter uncertainties:
  1  1.24672
  2  1.07188
  3  0.42625
  4  0.257885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998859': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2805.70077467
delta logL = 3.17641410339

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  3.787e-01  1.247e+00  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  4.464e+00  1.072e+00  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.202e+00  2.579e-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:  5.114e-01  4.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.30
Ra Dec: 175.387 -14.146
Photon Index (Free Index): 4.46 +/- 1.07
Photon Flux (Free Index): 4.92e-07 +/- 3.25e-06
Energy Flux (Free Index): 6.90e-05 +/- 4.48e-04

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/998859/cmap_HighResolution_555811201_556070401_4FGL_J1141.5-1408_daily_bin1221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.63e-02', comment='SUCCESS', energy_flux2='6.90e-05', dlogl='3.18e+00', photon_flux2='4.92e-07', job_status='DONE', time_completed='2021-09-04 07:53:32.577434', photon_index_error2='1.07', photon_index2='4.46', ts='-0.00', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='2.19e-07', energy_flux_error2='4.48e-04', EG='0.93', time_epoch_completed='1630767212.58', return_code='0', job_id='998859', GAL2='1.20', EG2='0.51', return_code2='0', photon_flux_error2='3.25e-06', ts2='7.30', photon_index='1.97' WHERE bin_id='1221' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:53:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 998859: <4FGL_J1141.5-1408_daily_bin1221> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1221> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 07:41:13 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:41:15 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:15 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_bin1221 175.387 -14.1457 555811201 556070401 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 :                                   527.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            740 sec.

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

