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


Performing analysis on: 4FGL_J1121.4-0553_daily_bin1296
RA = 170.364, Dec = -5.8997
tmin = 575251201, tmax = 575510401
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='687128', job_status='RUN', time_executed='2021-09-03 16:51:33.148470', time_epoch_executed='1630713093.15' WHERE source_name='4FGL J1121.4-0553' and cadence='daily' and bin_id='1296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/687128

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/687128/ft1_4FGL_J1121.4-0553_daily_bin1296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/687128/ft1_4FGL_J1121.4-0553_daily_bin1296.fits outfile=/scratch/kocevski/687128/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin1296.fits ra=170.364 dec=-5.8997 rad=12.0 tmin=575251201.0 tmax=575510401.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.38
user 5.11
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.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/687128/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin1296.fits evtable="EVENTS" outfile="/scratch/kocevski/687128/ft1_filtered_4FGL_J1121.4-0553_daily_bin1296.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.52
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/687128/ft1_filtered_4FGL_J1121.4-0553_daily_bin1296.fits" evtable="EVENTS" scfile=/scratch/kocevski/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.fits sctable="SC_DATA" outfile=/scratch/kocevski/687128/ltcube_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.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/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.fits
.....................!
real 15.61
user 15.19
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/687128/ft1_filtered_4FGL_J1121.4-0553_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.fits sctable="SC_DATA" expcube=/scratch/kocevski/687128/ltcube_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.fits outfile=/scratch/kocevski/687128/expmap_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.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/687128/ltcube_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.fits
.....................!
real 191.91
user 186.74
sys 4.50

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 193 point sources and 0 extended sources

Setting source of interest to:
4FGL J1121.4-0553 @ 170.364 -5.8997

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/687128/ft1_filtered_4FGL_J1121.4-0553_daily_bin1296.fits scfile=/scratch/kocevski/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.fits outfile=/scratch/kocevski/687128/cmap_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.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=170.364 yref=-5.8997 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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/687128/ft1_filtered_4FGL_J1121.4-0553_daily_bin1296.fits scfile=/scratch/kocevski/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.fits outfile=/scratch/kocevski/687128/cmap_HighResolution_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.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=170.364 yref=-5.8997 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.68
user 0.41
sys 0.25

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/687128/ft1_filtered_4FGL_J1121.4-0553_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/687128/Model_4FGL_J1121.4-0553_daily_bin1296.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/687128/ft1_filtered_4FGL_J1121.4-0553_daily_bin1296.fits.....................!
real 46.45
user 44.86
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/687128/ft1_filtered_4FGL_J1121.4-0553_daily_bin1296.fits', '/scratch/kocevski/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.fits', expMap='/scratch/kocevski/687128/expmap_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.fits', expCube='/scratch/kocevski/687128/ltcube_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/687128/Model_4FGL_J1121.4-0553_daily_bin1296.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1121.4-0553'

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  9.256e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  2.309e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
296         beta:  1.378e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
297           Eb:  6.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/687128/ft1_filtered_4FGL_J1121.4-0553_daily_bin1296.fits
Spacecraft file(s): /scratch/kocevski/687128/ft2_4FGL_J1121.4-0553_daily_bin1296.fits
Exposure map: /scratch/kocevski/687128/expmap_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.fits
Exposure cube: /scratch/kocevski/687128/ltcube_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/687128/Model_4FGL_J1121.4-0553_daily_bin1296.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) = 4656.21022469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64976       1.0000         .10000E-03   10000.    
     2 'norm      '    22.131       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.684       1.0000         .10000E-03   10000.    
     8 'norm      '    .82713E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5150       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9088       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9322       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3792       1.0000         .10000E-03   10000.    
    17 'Prefactor '    77.057       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    32.852       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.2072       1.0000         .10000E-03   10000.    
    21 'Prefactor '    53.136       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1211       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97906       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4656.199     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2532 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .64981        .51042        .34059E-07    .96804E-03
   2  norm          22.131        11.615        .17441E-07    .59223E-04
   3  Prefactor     .10000E-03    3.0404       -.17541E-06** at limit **
   4  Prefactor     .10000E-03    7.2780        .25678E-06** at limit **
   5  Prefactor     .10000E-03    4.1653        .10235E-06** at limit **
   6  Prefactor     .10000E-03    7.1490        .17887E-05** at limit **
   7  Prefactor     30.680        55.693       -.12025E-05   -.63745E-04
   8  norm          .91348E-01    94.218        .28402E-04   -.74101E-04
   9  Prefactor     .10000E-03    1.7522        .33664E-06** at limit **
  10  Prefactor     1.5130        18.665       -.30546E-05   -.23403E-03
  11  norm          .10000E-03    8.0394        .25654E-06** at limit **
  12  Prefactor     6.9090        3.0619        .70970E-07    .62294E-03
  13  Prefactor     5.9338        16.373        .65211E-06    .14464E-03
  14  Prefactor     .10001E-03    56.479       -.19948E-05** at limit **
  15  norm          .10000E-03    2.4473        .62666E-06** at limit **
  16  Prefactor     5.3797        4.9588        .79011E-06    .86063E-03
  17  Prefactor     77.051        32.047       -.12447E-05   -.60125E-03
  18  Prefactor     .10000E-03    7.2383        .24998E-06** at limit **
  19  Prefactor     32.846        53.717        .62357E-06   -.31964E-04
  20  Prefactor     2.2073        33.995       -.13775E-04    .11705E-03
  21  Prefactor     53.129        52.405        .10581E-05   -.55083E-04
  22  Normalizat    1.1212        .24577       -.66630E-06   -.13685E-03
  23  Prefactor     .97902        .18278        .88765E-06    .38714E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.649808
  norm       = 22.1314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 30.6805
  norm       = 0.0913483
  Prefactor  = 0.0001
  Prefactor  = 1.51297
  norm       = 0.0001
  Prefactor  = 6.90902
  Prefactor  = 5.93384
  Prefactor  = 0.000100007
  norm       = 0.000100001
  Prefactor  = 5.37967
  Prefactor  = 77.051
  Prefactor  = 0.0001
  Prefactor  = 32.8464
  Prefactor  = 2.20729
  Prefactor  = 53.129
  Normalizat = 1.12119
  Prefactor  = 0.97902
 **********
 **   18 **HESSE 
 **********

 FCN=   4656.199     FROM HESSE     STATUS=OK           372 CALLS     2904 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .64981        .50377        .41473E-04   -1.5547    
   2  norm          22.131        11.619        .85143E-04   -1.4767    
   3  Prefactor     .10000E-03    3.0476        .11618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.2900        .17980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.1685        .13601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.4855        .35770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     30.680        55.739        .72332E-04   -1.4600    
   8  norm          .91348E-01    7.1354        .58238E-01   -1.5648    
   9  Prefactor     .10000E-03    1.7671        .88261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5130        18.851        .34733E-03   -1.5462    
  11  norm          .10000E-03    8.0424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9090        3.0675        .76143E-04   -1.5182    
  13  Prefactor     5.9338        16.375        .16487E-03   -1.5221    
  14  Prefactor     .10001E-03    56.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.4659        .10453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.3797        4.9858        .13539E-03   -1.5244    
  17  Prefactor     77.051        32.363        .45745E-04   -1.3950    
  18  Prefactor     .10000E-03    7.2418        .17934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     32.846        53.749        .69911E-04   -1.4561    
  20  Prefactor     2.2073        34.395        .13845E-02   -1.5411    
  21  Prefactor     53.129        52.490        .55023E-04   -1.4249    
  22  Normalizat    1.1212        .29209        .29041E-03   -.89074    
  23  Prefactor     .97902        .21638        .22998E-03   -.93432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30706e-09
Minuit parameter uncertainties:
  1  0.503769
  2  11.6198
  3  2.35452e-05
  4  4.61722e-05
  5  1.3196e-05
  6  0.000360197
  7  55.8336
  8  1.61401
  9  3.16343e-05
  10  10.6847
  11  5.01117e-05
  12  3.06762
  13  16.3875
  14  0.00126281
  15  7.52982e-05
  16  4.98616
  17  32.3706
  18  3.95732e-05
  19  53.8282
  20  17.4378
  21  52.5355
  22  0.292516
  23  0.216576
Done.

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

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  9.135e-02  1.614e+00  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  2.309e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
296         beta:  1.378e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
297           Eb:  6.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.790e-01  2.166e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.121e+00  2.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 170.364 -5.900
Photon Flux Upper Limit: 8.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/687128/likelihoodResults_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.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) = 4656.19575238
delta logL = 0.00281077833188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4656.18313869
delta logL = 0.0154244768637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92872       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7319       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97543       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4656.183     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      294 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .93499        8.4317        .19267E-02   -.67479E-03
   2  alpha         1.7344        1.9843        .57034E-01   -.51017E-04
   3  Normalizat    1.1239        .28588        .29011E-03    .10698E-04
   4  Prefactor     .97548        .21513        .23036E-03    .25564E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.93499
  alpha      = 1.7344
  Normalizat = 1.12387
  Prefactor  = 0.975479
 **********
 **   18 **HESSE 
 **********

 FCN=   4656.183     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .93499        8.5278        .77068E-04   -1.5515    
   2  alpha         1.7344        1.9953        .11407E-01   -.31124    
   3  Normalizat    1.1239        .28614        .11605E-04   -.88989    
   4  Prefactor     .97548        .21529        .92144E-05   -.93551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70929e-09
Minuit parameter uncertainties:
  1  5.64822
  2  2.36649
  3  0.286534
  4  0.215474
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/687128': 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) = 4656.18313746
delta logL = 0.0154256996429

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  9.350e-01  5.648e+00  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  1.734e+00  2.366e+00  0.000e+00  5.000e+00 ( 1.000e+00)
296         beta:  1.378e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
297           Eb:  6.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.755e-01  2.155e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.124e+00  2.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 170.364 -5.900

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/687128/cmap_HighResolution_575251201_575510401_4FGL_J1121.4-0553_daily_bin1296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-05', job_status='DONE', photon_flux_upper_limit='8.29e-08', time_completed='2021-09-03 17:02:05.616466', job_id='687128', GAL2='0.98', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1630713725.62', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.54e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1296' AND source_name='4FGL J1121.4-0553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 17:02:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 687128: <4FGL_J1121.4-0553_daily_bin1296> in cluster <slac> Done

Job <4FGL_J1121.4-0553_daily_bin1296> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 16:51:13 2021
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:51:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 16:51:16 2021
Terminated at Fri Sep  3 17:02:05 2021
Results reported at Fri Sep  3 17:02:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1121.4-0553_daily_bin1296 170.364 -5.8997 575251201 575510401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1121.4-0553 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   627.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            652 sec.

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

