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


Performing analysis on: 4FGL_J1121.4-0553_daily_bin859
RA = 170.364, Dec = -5.8997
tmin = 461980801, tmax = 462240001
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='684161', job_status='RUN', time_executed='2021-09-03 16:44:51.565525', time_epoch_executed='1630712691.57' WHERE source_name='4FGL J1121.4-0553' and cadence='daily' and bin_id='859'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/684161

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/684161/ft1_4FGL_J1121.4-0553_daily_bin859.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/684161/ft2_4FGL_J1121.4-0553_daily_bin859.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/684161/ft1_4FGL_J1121.4-0553_daily_bin859.fits outfile=/scratch/kocevski/684161/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin859.fits ra=170.364 dec=-5.8997 rad=12.0 tmin=461980801.0 tmax=462240001.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.63
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/684161/ft2_4FGL_J1121.4-0553_daily_bin859.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/684161/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin859.fits evtable="EVENTS" outfile="/scratch/kocevski/684161/ft1_filtered_4FGL_J1121.4-0553_daily_bin859.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/684161/ft1_filtered_4FGL_J1121.4-0553_daily_bin859.fits" evtable="EVENTS" scfile=/scratch/kocevski/684161/ft2_4FGL_J1121.4-0553_daily_bin859.fits sctable="SC_DATA" outfile=/scratch/kocevski/684161/ltcube_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.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/684161/ft2_4FGL_J1121.4-0553_daily_bin859.fits
.....................!
real 16.43
user 16.03
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/684161/ft1_filtered_4FGL_J1121.4-0553_daily_bin859.fits evtable="EVENTS" scfile=/scratch/kocevski/684161/ft2_4FGL_J1121.4-0553_daily_bin859.fits sctable="SC_DATA" expcube=/scratch/kocevski/684161/ltcube_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.fits outfile=/scratch/kocevski/684161/expmap_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.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/684161/ltcube_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.fits
.....................!
real 191.57
user 186.25
sys 4.51

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/684161/ft1_filtered_4FGL_J1121.4-0553_daily_bin859.fits scfile=/scratch/kocevski/684161/ft2_4FGL_J1121.4-0553_daily_bin859.fits outfile=/scratch/kocevski/684161/cmap_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/684161/ft1_filtered_4FGL_J1121.4-0553_daily_bin859.fits scfile=/scratch/kocevski/684161/ft2_4FGL_J1121.4-0553_daily_bin859.fits outfile=/scratch/kocevski/684161/cmap_HighResolution_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/684161/ft1_filtered_4FGL_J1121.4-0553_daily_bin859.fits evtable="EVENTS" scfile=/scratch/kocevski/684161/ft2_4FGL_J1121.4-0553_daily_bin859.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/684161/Model_4FGL_J1121.4-0553_daily_bin859.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/684161/ft1_filtered_4FGL_J1121.4-0553_daily_bin859.fits.....................!
real 56.05
user 54.71
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/684161/ft1_filtered_4FGL_J1121.4-0553_daily_bin859.fits', '/scratch/kocevski/684161/ft2_4FGL_J1121.4-0553_daily_bin859.fits', expMap='/scratch/kocevski/684161/expmap_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.fits', expCube='/scratch/kocevski/684161/ltcube_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/684161/Model_4FGL_J1121.4-0553_daily_bin859.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/684161/ft1_filtered_4FGL_J1121.4-0553_daily_bin859.fits
Spacecraft file(s): /scratch/kocevski/684161/ft2_4FGL_J1121.4-0553_daily_bin859.fits
Exposure map: /scratch/kocevski/684161/expmap_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.fits
Exposure cube: /scratch/kocevski/684161/ltcube_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/684161/Model_4FGL_J1121.4-0553_daily_bin859.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) = 5570.78035461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1538       1.0000         .10000E-03   10000.    
     2 'norm      '    3.7042       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.2485       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3113       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.4931       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0602       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8478       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11921E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    12.660       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .56138       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.471       1.0000         .10000E-03   10000.    
    15 'norm      '    5.4598       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.0089       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12666E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.875       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.1121       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .84626       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1595       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=   5570.777     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2583 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1540        1.0554        .54190E-07    .84724E-04
   2  norm          3.7047        4.8103        .23192E-06    .85649E-07
   3  Prefactor     7.2474        13.121        .57963E-06   -.66602E-03
   4  Prefactor     9.3057        17.745        .50492E-06    .68788E-04
   5  Prefactor     7.4984        17.234        .17740E-06    .78553E-04
   6  Prefactor     1.0586        4.2854       -.88208E-06   -.51798E-03
   7  Prefactor     .10000E-03    27.821       -.11534E-05** at limit **
   8  norm          1.8471        8.0614        .69639E-05    .33734E-03
   9  Prefactor     .10001E-03    3.9602       -.68872E-06** at limit **
  10  Prefactor     .10000E-03    3.9196        .17451E-06** at limit **
  11  norm          12.606        22.916        .16828E-05    .25186E-03
  12  Prefactor     .56050        2.0413        .14642E-06   -.24874E-03
  13  Prefactor     .10000E-03    15.992        .56420E-06** at limit **
  14  Prefactor     21.469        24.393        .14894E-07   -.85033E-06
  15  norm          5.4586        6.5974        .11144E-05   -.15539E-02
  16  Prefactor     5.0024        4.9338       -.22911E-06    .73971E-04
  17  Prefactor     .10000E-03    118.92       -.59519E-05** at limit **
  18  Prefactor     21.876        24.580       -.78504E-07   -.15666E-04
  19  Prefactor     .10000E-03    75.801        .83063E-07** at limit **
  20  Prefactor     6.1119        12.791        .11214E-05   -.55009E-03
  21  Prefactor     .10000E-03    13.074       -.29712E-06** at limit **
  22  Normalizat    .84620        .23338       -.75949E-06    .44713E-04
  23  Prefactor     1.1595        .16405       -.80612E-06    .11180E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.15398
  norm       = 3.70474
  Prefactor  = 7.24738
  Prefactor  = 9.30575
  Prefactor  = 7.4984
  Prefactor  = 1.05863
  Prefactor  = 0.0001
  norm       = 1.84709
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 12.6061
  Prefactor  = 0.560501
  Prefactor  = 0.0001
  Prefactor  = 21.4692
  norm       = 5.45863
  Prefactor  = 5.00236
  Prefactor  = 0.0001
  Prefactor  = 21.8761
  Prefactor  = 0.0001
  Prefactor  = 6.11192
  Prefactor  = 0.0001
  Normalizat = 0.846201
  Prefactor  = 1.15951
 **********
 **   18 **HESSE 
 **********

 FCN=   5570.777     FROM HESSE     STATUS=OK           378 CALLS     2961 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1540        1.0850        .52695E-04   -1.5493    
   2  norm          3.7047        4.8021        .18070E-03   -1.5323    
   3  Prefactor     7.2474        14.525        .74491E-03   -1.5169    
   4  Prefactor     9.3057        17.527        .13134E-03   -1.5098    
   5  Prefactor     7.4984        16.887        .14651E-03   -1.5160    
   6  Prefactor     1.0586        4.3473        .29039E-03   -1.5502    
   7  Prefactor     .10000E-03    27.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8471        8.0981        .30675E-03   -1.5436    
   9  Prefactor     .10001E-03    6.8113        .26179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.9374        .14430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.606        21.269        .11258E-03   -1.4998    
  12  Prefactor     .56050        2.9269        .18864E-02   -1.5558    
  13  Prefactor     .10000E-03    16.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.469        24.397        .86440E-04   -1.4781    
  15  norm          5.4586        8.0149        .85982E-03   -1.5241    
  16  Prefactor     5.0024        5.0162        .14461E-03   -1.5261    
  17  Prefactor     .10000E-03    122.05        .36345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.876        24.585        .85640E-04   -1.4772    
  19  Prefactor     .10000E-03    76.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.1119        13.460        .81197E-03   -1.5213    
  21  Prefactor     .10000E-03    13.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84620        .26429        .32306E-03   -.98377    
  23  Prefactor     1.1595        .18884        .20704E-03   -.87587    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20386e-08
Minuit parameter uncertainties:
  1  1.08505
  2  4.80264
  3  14.5321
  4  17.5365
  5  16.8977
  6  4.29085
  7  0.000107781
  8  7.73664
  9  0.000393877
  10  8.89609e-06
  11  21.2815
  12  2.56165
  13  2.33586e-05
  14  24.4084
  15  8.01647
  16  5.01665
  17  0.000468668
  18  24.5963
  19  7.36164e-05
  20  13.4666
  21  1.61943e-05
  22  0.264696
  23  0.188945
Done.

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

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  1.847e+00  7.737e+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:  1.160e+00  1.889e-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:  8.462e-01  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/684161/likelihoodResults_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.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) = 5570.75300352
delta logL = 0.0235880108257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5570.75030183
delta logL = 0.026289704515

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3802       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8977       1.0000          .0000       5.0000    
     3 'Normalizat'    .84908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1572       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5570.750     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      245 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3784        7.4386        .26552E-03    .14416E-03
   2  alpha         1.8975        1.5168        .42557E-01   -.59021E-05
   3  Normalizat    .84912        .25130        .32254E-03    .24317E-03
   4  Prefactor     1.1572        .18738        .20721E-03    .35520E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.37841
  alpha      = 1.89748
  Normalizat = 0.84912
  Prefactor  = 1.15717
 **********
 **   18 **HESSE 
 **********

 FCN=   5570.750     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3784        7.4852        .10621E-04   -1.5400    
   2  alpha         1.8975        1.5266        .17023E-02   -.24340    
   3  Normalizat    .84912        .25146        .12902E-04   -.98272    
   4  Prefactor     1.1572        .18749        .41442E-04   -.87660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55812e-10
Minuit parameter uncertainties:
  1  7.48818
  2  1.6511
  3  0.251808
  4  0.1876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/684161': 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) = 5570.75030178
delta logL = 0.0262897525072

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  2.378e+00  7.488e+00  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  1.897e+00  1.651e+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:  1.157e+00  1.876e-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:  8.491e-01  2.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/684161/cmap_HighResolution_461980801_462240001_4FGL_J1121.4-0553_daily_bin859.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-05', job_status='DONE', photon_flux_upper_limit='9.34e-08', time_completed='2021-09-03 16:56:58.535667', job_id='684161', GAL2='1.16', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1630713418.54', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='2.63e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='859' AND source_name='4FGL J1121.4-0553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:56:58 PDT 2021


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

Job <4FGL_J1121.4-0553_daily_bin859> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 16:41:17 2021
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:41:21 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:41:21 2021
Terminated at Fri Sep  3 16:56:58 2021
Results reported at Fri Sep  3 16:56:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1121.4-0553_daily_bin859 170.364 -5.8997 461980801 462240001 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 :                                   666.53 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            941 sec.

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

