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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin925
RA = 175.387, Dec = -14.1457
tmin = 479088001, tmax = 479347201
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='997425', job_status='RUN', time_executed='2021-09-04 07:36:47.505092', time_epoch_executed='1630766207.51' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='925'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/997425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/997425/ft1_4FGL_J1141.5-1408_daily_bin925.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/997425/ft2_4FGL_J1141.5-1408_daily_bin925.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/997425/ft1_4FGL_J1141.5-1408_daily_bin925.fits outfile=/scratch/kocevski/997425/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin925.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=479088001.0 tmax=479347201.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.43
user 3.22
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/997425/ft1_filtered_4FGL_J1141.5-1408_daily_bin925.fits" evtable="EVENTS" scfile=/scratch/kocevski/997425/ft2_4FGL_J1141.5-1408_daily_bin925.fits sctable="SC_DATA" outfile=/scratch/kocevski/997425/ltcube_479088001_479347201_4FGL_J1141.5-1408_daily_bin925.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/997425/ft2_4FGL_J1141.5-1408_daily_bin925.fits
.....................!
real 11.61
user 11.26
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/997425/ft1_filtered_4FGL_J1141.5-1408_daily_bin925.fits evtable="EVENTS" scfile=/scratch/kocevski/997425/ft2_4FGL_J1141.5-1408_daily_bin925.fits sctable="SC_DATA" expcube=/scratch/kocevski/997425/ltcube_479088001_479347201_4FGL_J1141.5-1408_daily_bin925.fits outfile=/scratch/kocevski/997425/expmap_479088001_479347201_4FGL_J1141.5-1408_daily_bin925.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/997425/ltcube_479088001_479347201_4FGL_J1141.5-1408_daily_bin925.fits
.....................!
real 189.21
user 184.93
sys 3.92

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/997425/ft1_filtered_4FGL_J1141.5-1408_daily_bin925.fits scfile=/scratch/kocevski/997425/ft2_4FGL_J1141.5-1408_daily_bin925.fits outfile=/scratch/kocevski/997425/cmap_479088001_479347201_4FGL_J1141.5-1408_daily_bin925.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/997425/ft1_filtered_4FGL_J1141.5-1408_daily_bin925.fits scfile=/scratch/kocevski/997425/ft2_4FGL_J1141.5-1408_daily_bin925.fits outfile=/scratch/kocevski/997425/cmap_HighResolution_479088001_479347201_4FGL_J1141.5-1408_daily_bin925.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.881       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5220       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.6529       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10282E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.4592       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.054       1.0000         .10000E-03   10000.    
    15 'Prefactor '    34.137       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.6736       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    40.688       1.0000         .10000E-03   10000.    
    20 'norm      '    5.5292       1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.121       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.7852       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.1526       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.636       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .86097       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1649       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=   5373.133     FROM MIGRAD    STATUS=CONVERGED    663 CALLS     3444 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.882        8.3019        .48900E-07    .14266E-04
   2  Prefactor     .10000E-03    18.433       -.61627E-06** at limit **
   3  Prefactor     .10000E-03    40.420       -.92950E-07** at limit **
   4  Prefactor     .10000E-03    27.903       -.20353E-06** at limit **
   5  Prefactor     1.5232        19.364        .16194E-04   -.10930E-03
   6  Prefactor     .10000E-03    3.1894        .80078E-08** at limit **
   7  Prefactor     .10000E-03    20.707        .36838E-06** at limit **
   8  norm          7.6539        7.9702       -.64695E-06   -.25156E-04
   9  Prefactor     .10000E-03    20.171        .22551E-06** at limit **
  10  norm          .10000E-03    .67241       -.22008E-07** at limit **
  11  Prefactor     .10000E-03    4.1272        .31829E-06** at limit **
  12  Prefactor     .10000E-03    3.4928        .26068E-07** at limit **
  13  norm          5.4590        16.449        .10098E-06   -.34843E-05
  14  Prefactor     24.060        33.279        .44541E-07    .34257E-05
  15  Prefactor     34.147        38.361       -.63621E-06    .43144E-04
  16  norm          .10000E-03    2.2583        .13113E-07** at limit **
  17  Prefactor     3.6737        3.3919        .48234E-07   -.13535E-03
  18  Prefactor     .10000E-03    40.154       -.31441E-06** at limit **
  19  Prefactor     40.706        41.613       -.23994E-05   -.12164E-04
  20  norm          5.5254        11.092        .19509E-05    .18138E-03
  21  Prefactor     22.128        47.080       -.34235E-05   -.12072E-03
  22  Prefactor     8.7903        20.173       -.20454E-05   -.20617E-03
  23  Prefactor     5.1169        188.20        .18306E-04   -.52202E-05
  24  Prefactor     .10000E-03    38.332       -.80781E-07** at limit **
  25  Prefactor     .10000E-03    13.232        .21960E-06** at limit **
  26  Prefactor     10.636        9.1511        .47293E-06   -.32498E-04
  27  Normalizat    .86086        .27067       -.40680E-05   -.13742E-03
  28  Prefactor     1.1650        .16071        .13658E-05    .86192E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.8816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.5232
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.65394
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.45898
  Prefactor  = 24.06
  Prefactor  = 34.1475
  norm       = 0.0001
  Prefactor  = 3.67374
  Prefactor  = 0.0001
  Prefactor  = 40.706
  norm       = 5.52538
  Prefactor  = 22.1275
  Prefactor  = 8.79031
  Prefactor  = 5.11692
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6361
  Normalizat = 0.860856
  Prefactor  = 1.16499
 **********
 **   18 **HESSE 
 **********

 FCN=   5373.133     FROM HESSE     STATUS=OK           517 CALLS     3961 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.882        8.3089        .10751E-03   -1.4963    
   2  Prefactor     .10000E-03    18.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    40.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5232        19.604        .17314E-02   -1.5461    
   6  Prefactor     .10000E-03    3.2093        .12776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.6539        7.9694        .14496E-03   -1.5155    
   9  Prefactor     .10000E-03    20.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.0040        .11532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.1957        .14484E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.4997        .13376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.4590        16.426        .17197E-03   -1.5241    
  14  Prefactor     24.060        33.367        .81673E-04   -1.4727    
  15  Prefactor     34.147        38.332        .68586E-04   -1.4539    
  16  norm          .10000E-03    2.2645        .10756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.6737        3.3848        .12397E-03   -1.5325    
  18  Prefactor     .10000E-03    41.338        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     40.706        41.122        .62841E-04   -1.4431    
  20  norm          5.5254        10.953        .17086E-03   -1.5238    
  21  Prefactor     22.128        46.958        .85164E-04   -1.4767    
  22  Prefactor     8.7903        20.180        .13523E-03   -1.5115    
  23  Prefactor     5.1169        187.16        .17711E-03   -1.5256    
  24  Prefactor     .10000E-03    38.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    13.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     10.636        9.1502        .61426E-03   -1.5056    
  27  Normalizat    .86086        .30645        .36019E-03   -.97850    
  28  Prefactor     1.1650        .18468        .19945E-03   -.87416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31807e-10
Minuit parameter uncertainties:
  1  8.30956
  2  2.92843e-05
  3  1.34519e-05
  4  0.00012181
  5  10.933
  6  2.97479e-06
  7  4.06046e-05
  8  7.97047
  9  1.90395e-05
  10  4.17171e-06
  11  3.10022e-05
  12  3.28923e-06
  13  16.4395
  14  33.3925
  15  38.3593
  16  8.92922e-07
  17  3.38502
  18  0.000201434
  19  41.1508
  20  10.957
  21  47.0361
  22  20.1961
  23  62.1029
  24  0.000212427
  25  4.03272e-05
  26  9.15142
  27  0.307067
  28  0.184779
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  3.415e+01  3.836e+01  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.165e+00  1.848e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.609e-01  3.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.16
Ra Dec: 175.387 -14.146
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.99e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 2.26e-05 +/- 2.54e-05

TS (Fixed Index): 1.16
Ra Dec: 175.387 -14.146
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/997425/likelihoodResults_479088001_479347201_4FGL_J1141.5-1408_daily_bin925.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): 0
logL (Free Index) = 5373.12263594
delta logL = 0.0104637290015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5373.10942055
delta logL = 0.0236791177376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.604       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1499       1.0000          .0000       10.000    
     3 'Normalizat'    .85281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1684       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5373.109     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      278 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.591        61.011        .79167E-04   -.29818E-03
   2  Index         2.1489        1.0927        .58457E-02   -.70886E-04
   3  Normalizat    .85256        .28705        .36182E-03    .13071E-03
   4  Prefactor     1.1685        .18216        .19919E-03   -.58729E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.5912
  Index      = 2.1489
  Normalizat = 0.852562
  Prefactor  = 1.16855
 **********
 **   18 **HESSE 
 **********

 FCN=   5373.109     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.591        50.880        .15833E-04   -1.4696    
   2  Index         2.1489        .91331        .23383E-03   -.60677    
   3  Normalizat    .85256        .28554        .14473E-04   -.98148    
   4  Prefactor     1.1685        .18151        .39839E-04   -.87305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77556e-10
Minuit parameter uncertainties:
  1  50.9661
  2  0.921012
  3  0.286041
  4  0.181611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/997425': 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) = 5373.10941718
delta logL = 0.0236824900776

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  2.559e+01  5.097e+01  1.000e-04  1.000e+04 ( 1.000e-14)
293        Index:  2.149e+00  9.210e-01  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.169e+00  1.816e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.526e-01  2.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.20
Ra Dec: 175.387 -14.146
Photon Index (Free Index): 2.15 +/- 0.92
Photon Flux (Free Index): 3.55e-08 +/- 4.65e-08
Energy Flux (Free Index): 1.76e-05 +/- 2.79e-05

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/997425/cmap_HighResolution_479088001_479347201_4FGL_J1141.5-1408_daily_bin925.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.38e-03', comment='SUCCESS', photon_flux='2.99e-08', energy_flux2='1.76e-05', photon_flux_error='3.36e-08', dlogl='2.37e-02', energy_flux='2.26e-05', photon_flux2='3.55e-08', job_status='DONE', time_completed='2021-09-04 07:48:47.266782', photon_index_error2='0.92', photon_index2='2.15', ts='1.16', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='2.79e-05', EG='0.86', time_epoch_completed='1630766927.27', return_code='0', job_id='997425', GAL2='1.17', EG2='0.85', return_code2='0', energy_flux_error='2.54e-05', photon_flux_error2='4.65e-08', ts2='1.20', photon_index='1.97' WHERE bin_id='925' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 07:48:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 997425: <4FGL_J1141.5-1408_daily_bin925> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin925> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 07:36:25 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 07:36:27 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:36:27 2021
Terminated at Sat Sep  4 07:48:48 2021
Results reported at Sat Sep  4 07:48:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin925 175.387 -14.1457 479088001 479347201 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 :                                   715.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            743 sec.

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

