/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 61 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 = 7401
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1121.4-0553_daily_bin1101
RA = 170.364, Dec = -5.8997
tmin = 524707201, tmax = 524966401
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='685694', job_status='RUN', time_executed='2021-09-03 16:47:48.485645', time_epoch_executed='1630712868.49' WHERE source_name='4FGL J1121.4-0553' and cadence='daily' and bin_id='1101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685694

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685694/ft1_4FGL_J1121.4-0553_daily_bin1101.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685694/ft2_4FGL_J1121.4-0553_daily_bin1101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685694/ft1_4FGL_J1121.4-0553_daily_bin1101.fits outfile=/scratch/kocevski/685694/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin1101.fits ra=170.364 dec=-5.8997 rad=12.0 tmin=524707201.0 tmax=524966401.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.39
user 3.19
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/685694/ft2_4FGL_J1121.4-0553_daily_bin1101.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/685694/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin1101.fits evtable="EVENTS" outfile="/scratch/kocevski/685694/ft1_filtered_4FGL_J1121.4-0553_daily_bin1101.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/685694/ft1_filtered_4FGL_J1121.4-0553_daily_bin1101.fits" evtable="EVENTS" scfile=/scratch/kocevski/685694/ft2_4FGL_J1121.4-0553_daily_bin1101.fits sctable="SC_DATA" outfile=/scratch/kocevski/685694/ltcube_524707201_524966401_4FGL_J1121.4-0553_daily_bin1101.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/685694/ft2_4FGL_J1121.4-0553_daily_bin1101.fits
.....................!
real 15.24
user 14.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685694/ft1_filtered_4FGL_J1121.4-0553_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/685694/ft2_4FGL_J1121.4-0553_daily_bin1101.fits sctable="SC_DATA" expcube=/scratch/kocevski/685694/ltcube_524707201_524966401_4FGL_J1121.4-0553_daily_bin1101.fits outfile=/scratch/kocevski/685694/expmap_524707201_524966401_4FGL_J1121.4-0553_daily_bin1101.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/685694/ltcube_524707201_524966401_4FGL_J1121.4-0553_daily_bin1101.fits
.....................!
real 193.13
user 188.59
sys 4.08

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/685694/ft1_filtered_4FGL_J1121.4-0553_daily_bin1101.fits scfile=/scratch/kocevski/685694/ft2_4FGL_J1121.4-0553_daily_bin1101.fits outfile=/scratch/kocevski/685694/cmap_524707201_524966401_4FGL_J1121.4-0553_daily_bin1101.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.54
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/685694/ft1_filtered_4FGL_J1121.4-0553_daily_bin1101.fits scfile=/scratch/kocevski/685694/ft2_4FGL_J1121.4-0553_daily_bin1101.fits outfile=/scratch/kocevski/685694/cmap_HighResolution_524707201_524966401_4FGL_J1121.4-0553_daily_bin1101.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.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/685694/ft1_filtered_4FGL_J1121.4-0553_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/685694/ft2_4FGL_J1121.4-0553_daily_bin1101.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/685694/Model_4FGL_J1121.4-0553_daily_bin1101.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/685694/ft1_filtered_4FGL_J1121.4-0553_daily_bin1101.fits.....................!
real 53.19
user 51.86
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96924       1.0000         .10000E-03   10000.    
     2 'norm      '    13.704       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.710       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10414E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.9691       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5275       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1218       1.0000         .10000E-03   10000.    
    11 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5763       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.931       1.0000         .10000E-03   10000.    
    15 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2485       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11120E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10397E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    123.34       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2028       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94768       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=   5288.214     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2505 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96924        .57158       -.93844E-07   -.23634E-03
   2  norm          13.703        8.8146       -.59978E-06   -.77618E-03
   3  Prefactor     .10000E-03    4.4404       -.25972E-07** at limit **
   4  Prefactor     14.702        21.564       -.46722E-05   -.26086E-05
   5  Prefactor     .10000E-03    13.228        .35990E-07** at limit **
   6  Prefactor     .10000E-03    6.4149        .65128E-07** at limit **
   7  Prefactor     .10000E-03    41.245       -.12409E-05** at limit **
   8  norm          4.9547        11.916        .17174E-05   -.70351E-04
   9  Prefactor     2.5290        5.0017       -.13834E-05   -.56979E-03
  10  Prefactor     7.1197        9.9467        .89768E-06   -.33952E-04
  11  norm          .10000E-03    18.253       -.77939E-06** at limit **
  12  Prefactor     1.5763        1.5006       -.62380E-07    .15287E-03
  13  Prefactor     .10000E-03    10.764        .24362E-05** at limit **
  14  Prefactor     30.911        33.304       -.21632E-04    .45552E-05
  15  norm          .10000E-03    3.7726        .37325E-07** at limit **
  16  Prefactor     .10000E-03    3.8194        .21463E-06** at limit **
  17  Prefactor     7.2403        18.738       -.41162E-05   -.17746E-04
  18  Prefactor     .10000E-03    18.358       -.27198E-06** at limit **
  19  Prefactor     .10000E-03    40.657        .32724E-05** at limit **
  20  Prefactor     .10000E-03    10.169       -.19278E-05** at limit **
  21  Prefactor     123.33        65.067       -.77130E-05    .59024E-05
  22  Normalizat    1.2029        .23044        .21178E-05    .12107E-04
  23  Prefactor     .94758        .16653        .16823E-05    .36223E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.969242
  norm       = 13.7034
  Prefactor  = 0.0001
  Prefactor  = 14.702
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.95475
  Prefactor  = 2.52898
  Prefactor  = 7.11974
  norm       = 0.0001
  Prefactor  = 1.57625
  Prefactor  = 0.0001
  Prefactor  = 30.9111
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.24029
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 123.329
  Normalizat = 1.20291
  Prefactor  = 0.947582
 **********
 **   18 **HESSE 
 **********

 FCN=   5288.214     FROM HESSE     STATUS=OK           370 CALLS     2875 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96924        .56539        .40519E-04   -1.5511    
   2  norm          13.703        8.8504        .54100E-03   -1.4967    
   3  Prefactor     .10000E-03    4.4535        .14951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.702        21.527        .10443E-03   -1.4941    
   5  Prefactor     .10000E-03    13.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.6113        .35837E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    41.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.9547        11.775        .18041E-03   -1.5263    
   9  Prefactor     2.5290        4.9675        .20553E-03   -1.5390    
  10  Prefactor     7.1197        9.9370        .15031E-03   -1.5174    
  11  norm          .10000E-03    18.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5763        1.5177        .84305E-04   -1.5457    
  13  Prefactor     .10000E-03    10.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.911        33.167        .72044E-04   -1.4595    
  15  norm          .10000E-03    3.7903        .13790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.9103        .27699E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.2403        18.727        .14898E-03   -1.5170    
  18  Prefactor     .10000E-03    18.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    40.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     123.33        65.033        .18121E-03   -1.3482    
  22  Normalizat    1.2029        .27302        .28126E-03   -.86513    
  23  Prefactor     .94758        .19746        .22880E-03   -.94498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.29624e-10
Minuit parameter uncertainties:
  1  0.565393
  2  8.85128
  3  6.2525e-06
  4  21.5385
  5  6.63249e-05
  6  1.03767e-05
  7  4.86953e-05
  8  11.7801
  9  4.96829
  10  9.93928
  11  2.82369e-05
  12  1.51776
  13  3.85106e-06
  14  33.1863
  15  8.68085e-06
  16  4.20944e-05
  17  18.7425
  18  3.17131e-05
  19  0.000186626
  20  5.05901e-05
  21  65.0704
  22  0.273343
  23  0.197608
Done.

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

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  4.955e+00  1.178e+01  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.476e-01  1.976e-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.203e+00  2.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 170.364 -5.900
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/685694/likelihoodResults_524707201_524966401_4FGL_J1121.4-0553_daily_bin1101.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) = 5288.21002978
delta logL = 0.00380932801727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5288.20990337
delta logL = 0.00393573679048

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0905       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1941       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94639       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=   5288.210     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      265 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0909        11.245        .17820E-03   -.65710E-05
   2  alpha         2.1941        1.2171        .31814E-01   -.32501E-05
   3  Normalizat    1.2052        .26606        .28104E-03    .55420E-05
   4  Prefactor     .94637        .19639        .22893E-03    .32428E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.09087
  alpha      = 2.19411
  Normalizat = 1.20515
  Prefactor  = 0.946375
 **********
 **   18 **HESSE 
 **********

 FCN=   5288.210     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .45E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0909        11.186        .71282E-05   -1.5257    
   2  alpha         2.1941        1.2115        .12726E-02   -.12266    
   3  Normalizat    1.2052        .26621        .11242E-04   -.86444    
   4  Prefactor     .94637        .19646        .91572E-05   -.94539    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45468e-12
Minuit parameter uncertainties:
  1  11.1904
  2  1.26565
  3  0.266512
  4  0.196603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685694': 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) = 5288.20990336
delta logL = 0.00393575601811

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  5.091e+00  1.119e+01  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  2.194e+00  1.266e+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.464e-01  1.966e-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.205e+00  2.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
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/685694/cmap_HighResolution_524707201_524966401_4FGL_J1121.4-0553_daily_bin1101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-05', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2021-09-03 16:58:47.519856', job_id='685694', GAL2='0.95', fit_tolerance='1e-08', EG2='1.21', EG='1.20', time_epoch_completed='1630713527.52', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.94e-03', ts2='0.24', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1101' AND source_name='4FGL J1121.4-0553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:58:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 685694: <4FGL_J1121.4-0553_daily_bin1101> in cluster <slac> Done

Job <4FGL_J1121.4-0553_daily_bin1101> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 16:46:28 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:46:30 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:46:30 2021
Terminated at Fri Sep  3 16:58:48 2021
Results reported at Fri Sep  3 16:58:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1121.4-0553_daily_bin1101 170.364 -5.8997 524707201 524966401 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 :                                   645.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            740 sec.

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

