aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 209 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1121.4-0553_daily_bin1752
RA = 170.364, Dec = -5.8997
tmin = 693446401, tmax = 693705601
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='260527', job_status='RUN', time_executed='2022-12-26 00:50:20.410071', time_epoch_executed='1672044620.41' WHERE source_name='4FGL J1121.4-0553' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260527

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260527/ft1_4FGL_J1121.4-0553_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260527/ft2_4FGL_J1121.4-0553_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260527/ft1_4FGL_J1121.4-0553_daily_bin1752.fits outfile=/scratch/kocevski/260527/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin1752.fits ra=170.364 dec=-5.8997 rad=12.0 tmin=693446401.0 tmax=693705601.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.48
user 3.24
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/260527/ft2_4FGL_J1121.4-0553_daily_bin1752.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/260527/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/260527/ft1_filtered_4FGL_J1121.4-0553_daily_bin1752.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 558

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260527/ft1_filtered_4FGL_J1121.4-0553_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/260527/ft2_4FGL_J1121.4-0553_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/260527/ltcube_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.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/260527/ft2_4FGL_J1121.4-0553_daily_bin1752.fits
.....................!
real 14.71
user 14.26
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260527/ft1_filtered_4FGL_J1121.4-0553_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260527/ft2_4FGL_J1121.4-0553_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/260527/ltcube_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.fits outfile=/scratch/kocevski/260527/expmap_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.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/260527/ltcube_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.fits
.....................!
real 191.52
user 185.70
sys 5.45

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/260527/ft1_filtered_4FGL_J1121.4-0553_daily_bin1752.fits scfile=/scratch/kocevski/260527/ft2_4FGL_J1121.4-0553_daily_bin1752.fits outfile=/scratch/kocevski/260527/cmap_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/260527/ft1_filtered_4FGL_J1121.4-0553_daily_bin1752.fits scfile=/scratch/kocevski/260527/ft2_4FGL_J1121.4-0553_daily_bin1752.fits outfile=/scratch/kocevski/260527/cmap_HighResolution_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.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.59
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/260527/ft1_filtered_4FGL_J1121.4-0553_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260527/ft2_4FGL_J1121.4-0553_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/260527/Model_4FGL_J1121.4-0553_daily_bin1752.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/260527/ft1_filtered_4FGL_J1121.4-0553_daily_bin1752.fits.....................!
real 57.20
user 55.72
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/260527/ft1_filtered_4FGL_J1121.4-0553_daily_bin1752.fits', '/scratch/kocevski/260527/ft2_4FGL_J1121.4-0553_daily_bin1752.fits', expMap='/scratch/kocevski/260527/expmap_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.fits', expCube='/scratch/kocevski/260527/ltcube_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/260527/Model_4FGL_J1121.4-0553_daily_bin1752.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  0.000e+00  1.000e+06 ( 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 -5.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/260527/ft1_filtered_4FGL_J1121.4-0553_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/260527/ft2_4FGL_J1121.4-0553_daily_bin1752.fits
Exposure map: /scratch/kocevski/260527/expmap_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.fits
Exposure cube: /scratch/kocevski/260527/ltcube_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/260527/Model_4FGL_J1121.4-0553_daily_bin1752.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6181.59960072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26090E-08   1.0000          .0000       .10000E+07
     2 'norm      '    .35472E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.0427       1.0000          .0000       .10000E+07
     4 'Prefactor '    .85065E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    29.373       1.0000          .0000       .10000E+07
     6 'norm      '    4.7133       1.0000          .0000       .10000E+07
     7 'Prefactor '    .59563E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    48.498       1.0000          .0000       .10000E+07
     9 'norm      '    .15729E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.7636       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4172       1.0000          .0000       .10000E+07
    12 'Prefactor '    18.904       1.0000          .0000       .10000E+07
    13 'norm      '    .51076E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43299E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    .24196E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.4760       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11433E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    .89673       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6179.555     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      859 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .26856       -.16975E-06** at limit **
   2  norm          .11102E-09    3.1055       -.33240E-06** at limit **
   3  Prefactor     7.0730        7.0049        .34620E-05    .55685E-01
   4  Prefactor     .22204E-09    2.8754        .13693E-06** at limit **
   5  Prefactor     29.492        3.8115        .23334E-06   -.38056E-01
   6  norm          4.8446        8.5036       -.55136E-06   -.90282E-02
   7  Prefactor     .77716E-09    1.6716       -.80909E-07** at limit **
   8  Prefactor     48.574        10.694        .15657E-05   -.60798E-01
   9  norm          .63560E-07    11.273       -.55026E-05** at limit **
  10  Prefactor     3.7692        2.6094        .27269E-06   -.62204E-02
  11  Prefactor     2.6500        5.6728       -.35114E-06    .59260E-02
  12  Prefactor     20.312        43.760       -.17440E-05   -.45348E-02
  13  norm          .56288E-07    3.6907        .11426E-05** at limit **
  14  Prefactor     .11657E-08    2.4184        .37274E-06** at limit **
  15  Prefactor     .28033E-07    10.306        .24646E-05** at limit **
  16  Prefactor     6.5628        6.9613       -.12064E-05    .13116E-01
  17  Prefactor     .27756E-09    12.418        .25999E-05** at limit **
  18  Normalizat    .89650        .25032       -.12863E-04   -.20020E-03
  19  Prefactor     1.2263        .19102        .28796E-05   -.82088E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 7.07296
  Prefactor  = 2.22045e-10
  Prefactor  = 29.4915
  norm       = 4.8446
  Prefactor  = 7.77156e-10
  Prefactor  = 48.5743
  norm       = 6.35603e-08
  Prefactor  = 3.76923
  Prefactor  = 2.65004
  Prefactor  = 20.3124
  norm       = 5.62883e-08
  Prefactor  = 1.16573e-09
  Prefactor  = 2.80331e-08
  Prefactor  = 6.5628
  Prefactor  = 2.77556e-10
  Normalizat = 0.896496
  Prefactor  = 1.22634
 **********
 **   18 **HESSE 
 **********

 FCN=   6179.555     FROM HESSE     STATUS=OK           306 CALLS     1165 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .25977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    3.1009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.0730        12.052        .37778E-03   -1.5655    
   4  Prefactor     .22204E-09    2.8603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.492        45.489        .18454E-03   -1.5599    
   6  norm          4.8446        8.6129        .46326E-03   -1.5664    
   7  Prefactor     .77716E-09    1.6674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     48.574        14.904        .14361E-03   -1.5569    
   9  norm          .63560E-07    12.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7692        2.6166        .52016E-03   -1.5669    
  11  Prefactor     2.6500        26.507        .65810E-03   -1.5675    
  12  Prefactor     20.312        43.797        .23008E-03   -1.5618    
  13  norm          .56288E-07    17.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11657E-08    2.4051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28033E-07    11.075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.5628        15.596        .39414E-03   -1.5657    
  17  Prefactor     .27756E-09    15.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .89650        .21949        .72310E-01   -.96583    
  19  Prefactor     1.2263        .16448        .34011E-01   -.85524    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18708e-07
Minuit parameter uncertainties:
  1  2.91071e-06
  2  3.75065e-05
  3  12.0523
  4  5.074e-05
  5  45.49
  6  8.61295
  7  7.17712e-05
  8  14.9044
  9  0.00180736
  10  2.6166
  11  16.7625
  12  43.7974
  13  0.00198004
  14  0.000106144
  15  0.00111409
  16  15.5963
  17  0.000129598
  18  0.219711
  19  0.164552
Done.

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

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  4.845e+00  8.613e+00  0.000e+00  1.000e+06 ( 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 -5.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.226e+00  1.646e-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.965e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/260527/likelihoodResults_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.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) = 6178.99319895
delta logL = 0.562098244985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6178.88609971
delta logL = 0.669197477431

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7165       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4885       1.0000          .0000       5.0000    
     3 'Normalizat'    .91553       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2080       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.

 FCN=   6178.886     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7220        9.5023        .33927E-03    .14069E-01
   2  alpha         1.4887        .54728        .44125       -.16888E-04
   3  Normalizat    .91563        .21400        .71619E-01    .84541E-04
   4  Prefactor     1.2079        .16277        .34445E-01   -.10429E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.72199
  alpha      = 1.48872
  Normalizat = 0.915632
  Prefactor  = 1.20787
 **********
 **   18 **HESSE 
 **********

 FCN=   6178.886     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7220        9.1778        .67854E-04   -1.5649    
   2  alpha         1.4887        .61572        .16696E-01   -.41645    
   3  Normalizat    .91563        .24802        .31689E-03   -.95913    
   4  Prefactor     1.2079        .18892        .21097E-03   -.86089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.82145e-10
Minuit parameter uncertainties:
  1  9.17784
  2  0.623415
  3  0.248334
  4  0.18903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260527': 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) = 6178.88609942
delta logL = 0.669197769583

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  8.722e+00  9.178e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        alpha:  1.489e+00  6.234e-01  0.000e+00  5.000e+00 ( 1.000e+00)
296         beta:  1.378e-01  0.000e+00 -5.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.208e+00  1.890e-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:  9.156e-01  2.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.75
Ra Dec: 170.364 -5.900
Photon Index (Free Index): 1.49 +/- 0.62
Photon Flux (Free Index): 1.97e-08 +/- 2.22e-08
Energy Flux (Free Index): 2.29e-05 +/- 2.81e-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/260527/cmap_HighResolution_693446401_693705601_4FGL_J1121.4-0553_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', comment='SUCCESS', energy_flux2='2.29e-05', dlogl='6.69e-01', photon_flux2='1.97e-08', job_status='DONE', time_completed='2022-12-26 00:59:01.490529', photon_index_error2='0.62', photon_index2='1.49', ts='0.40', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='2.81e-05', EG='0.90', time_epoch_completed='1672045141.49', return_code='0', job_id='260527', GAL2='1.21', EG2='0.92', return_code2='0', photon_flux_error2='2.22e-08', ts2='1.75', photon_index='2.31' WHERE bin_id='1752' AND source_name='4FGL J1121.4-0553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:59:01 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 260527: <4FGL_J1121.4-0553_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1121.4-0553_daily_bin1752> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec 26 00:45:16 2022
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:46:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:46:41 2022
Terminated at Mon Dec 26 00:59:02 2022
Results reported at Mon Dec 26 00:59:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1121.4-0553_daily_bin1752 170.364 -5.8997 693446401 693705601 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 :                                   523.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            826 sec.

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

