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


Performing analysis on: 4FGL_J1121.4-0553_daily_bin1762
RA = 170.364, Dec = -5.8997
tmin = 696038401, tmax = 696297601
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='107768', job_status='RUN', time_executed='2023-01-25 00:53:38.715410', time_epoch_executed='1674636818.72' WHERE source_name='4FGL J1121.4-0553' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107768

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107768/ft1_4FGL_J1121.4-0553_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107768/ft2_4FGL_J1121.4-0553_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107768/ft1_4FGL_J1121.4-0553_daily_bin1762.fits outfile=/scratch/kocevski/107768/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin1762.fits ra=170.364 dec=-5.8997 rad=12.0 tmin=696038401.0 tmax=696297601.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.66
user 3.44
sys 0.20

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

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

Number of photons that the gtmktime cut: 790

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107768/ft1_filtered_4FGL_J1121.4-0553_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107768/ft2_4FGL_J1121.4-0553_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107768/ltcube_696038401_696297601_4FGL_J1121.4-0553_daily_bin1762.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/107768/ft2_4FGL_J1121.4-0553_daily_bin1762.fits
.....................!
real 13.92
user 13.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107768/ft1_filtered_4FGL_J1121.4-0553_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107768/ft2_4FGL_J1121.4-0553_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107768/ltcube_696038401_696297601_4FGL_J1121.4-0553_daily_bin1762.fits outfile=/scratch/kocevski/107768/expmap_696038401_696297601_4FGL_J1121.4-0553_daily_bin1762.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/107768/ltcube_696038401_696297601_4FGL_J1121.4-0553_daily_bin1762.fits
.....................!
real 195.11
user 189.48
sys 5.26

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/107768/ft1_filtered_4FGL_J1121.4-0553_daily_bin1762.fits scfile=/scratch/kocevski/107768/ft2_4FGL_J1121.4-0553_daily_bin1762.fits outfile=/scratch/kocevski/107768/cmap_696038401_696297601_4FGL_J1121.4-0553_daily_bin1762.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107768/ft1_filtered_4FGL_J1121.4-0553_daily_bin1762.fits scfile=/scratch/kocevski/107768/ft2_4FGL_J1121.4-0553_daily_bin1762.fits outfile=/scratch/kocevski/107768/cmap_HighResolution_696038401_696297601_4FGL_J1121.4-0553_daily_bin1762.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107768/ft1_filtered_4FGL_J1121.4-0553_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107768/ft2_4FGL_J1121.4-0553_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107768/Model_4FGL_J1121.4-0553_daily_bin1762.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/107768/ft1_filtered_4FGL_J1121.4-0553_daily_bin1762.fits.....................!
real 74.60
user 73.15
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86331E-06   1.0000          .0000       .10000E+07
     2 'norm      '    5.2740       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16644E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .55298       1.0000          .0000       .10000E+07
     6 'norm      '    9.0696       1.0000          .0000       .10000E+07
     7 'Prefactor '    .64626       1.0000          .0000       .10000E+07
     8 'Prefactor '    103.59       1.0000          .0000       .10000E+07
     9 'norm      '    16.798       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5828       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25661E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.873       1.0000          .0000       .10000E+07
    13 'norm      '    1.8371       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.0107       1.0000          .0000       .10000E+07
    15 'Prefactor '    23.554       1.0000          .0000       .10000E+07
    16 'Prefactor '    .59950E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .93837E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .92587       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99065       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=   8337.022     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1505 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.5014       -.42783E-06** at limit **
   2  norm          5.2840        4.1655       -.81568E-07   -.41055E-03
   3  Prefactor     11.238        11.463        .33091E-07   -.82031E-03
   4  Prefactor     .55511E-10    11.567        .44124E-06** at limit **
   5  Prefactor     .16653E-09    119.65       -.27405E-07** at limit **
   6  norm          9.0298        8.3001       -.31936E-06   -.99900E-03
   7  Prefactor     .72194        6.8962        .44980E-06   -.72029E-03
   8  Prefactor     103.60        13.213       -.11290E-06    .41426E-02
   9  norm          16.146        22.150       -.50849E-06    .12321E-02
  10  Prefactor     1.5828        1.5562        .73650E-07   -.23376E-02
  11  Prefactor     .55511E-10    4.6940        .19270E-06** at limit **
  12  Prefactor     14.061        6.6648        .13719E-06    .38211E-02
  13  norm          1.8786        4.1285        .35576E-06    .32288E-03
  14  Prefactor     2.9883        3.3494        .41773E-07    .27683E-02
  15  Prefactor     23.581        2.2774       -.41364E-07   -.16293E-01
  16  Prefactor     .55511E-10    9.9513       -.59234E-06** at limit **
  17  Prefactor     .33307E-09    51.690       -.12852E-05** at limit **
  18  Normalizat    .92500        .20475       -.27431E-05    .50447E-04
  19  Prefactor     .99106        .14997        .44421E-05    .97185E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 5.28399
  Prefactor  = 11.2376
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  norm       = 9.02983
  Prefactor  = 0.721938
  Prefactor  = 103.604
  norm       = 16.1456
  Prefactor  = 1.58283
  Prefactor  = 5.55112e-11
  Prefactor  = 14.0608
  norm       = 1.87862
  Prefactor  = 2.98828
  Prefactor  = 23.581
  Prefactor  = 5.55112e-11
  Prefactor  = 3.33067e-10
  Normalizat = 0.924995
  Prefactor  = 0.991064
 **********
 **   18 **HESSE 
 **********

 FCN=   8337.022     FROM HESSE     STATUS=OK           320 CALLS     1825 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .19966        .28240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.2840        4.1792        .43743E-03   -1.5662    
   3  Prefactor     11.238        11.489        .30073E-03   -1.5641    
   4  Prefactor     .55511E-10    11.300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    119.77        .73550E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.0298        8.7212        .33256E-03   -1.5648    
   7  Prefactor     .72194        9.4890        .65182E-03   -1.5691    
   8  Prefactor     103.60        13.539        .98259E-04   -1.5504    
   9  norm          16.146        26.038        .24410E-03   -1.5628    
  10  Prefactor     1.5828        1.5798        .84369E-03   -1.5683    
  11  Prefactor     .55511E-10    4.6988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.061        23.911        .26865E-03   -1.5633    
  13  norm          1.8786        4.2401        .76944E-03   -1.5681    
  14  Prefactor     2.9883        3.4946        .58468E-03   -1.5673    
  15  Prefactor     23.581        12.530        .20610E-03   -1.5611    
  16  Prefactor     .55511E-10    9.9455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33307E-09    52.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .92500        .17748        .68195E-01   -.95587    
  19  Prefactor     .99106        .12863        .46150E-01   -.93028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68331e-06
Minuit parameter uncertainties:
  1  1.0592e-06
  2  4.17922
  3  11.4888
  4  4.63642e-05
  5  0.000279818
  6  8.72121
  7  5.2347
  8  13.539
  9  26.0383
  10  1.57979
  11  2.90524e-05
  12  23.9108
  13  4.24012
  14  3.49457
  15  12.5295
  16  3.73568e-05
  17  0.000260079
  18  0.177594
  19  0.128665
Done.

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

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  9.030e+00  8.721e+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:  9.911e-01  1.287e-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.250e-01  1.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.90
Ra Dec: 170.364 -5.900
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 3.44e-08
Energy Flux (Fixed Index): 1.21e-05 +/- 1.16e-05

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

Saving results to:
/scratch/kocevski/107768/likelihoodResults_696038401_696297601_4FGL_J1121.4-0553_daily_bin1762.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) = 8336.77108357
delta logL = 0.250597309658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8336.76540034
delta logL = 0.256280542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9854       1.0000          .0000       .10000E+07
     2 'alpha     '    2.8845       1.0000          .0000       5.0000    
     3 'Normalizat'    .90267       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0019       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=   8336.765     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      267 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9876        118.16        .37934E-03    .32575E-02
   2  alpha         2.8852        3.7598        .41784        .56419E-04
   3  Normalizat    .90267        .64552E-01    .68908E-01    .23037E-04
   4  Prefactor     1.0019        .46178E-01    .45017E-01    .95969E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.98758
  alpha      = 2.88517
  Normalizat = 0.90267
  Prefactor  = 1.00185
 **********
 **   18 **HESSE 
 **********

 FCN=   8336.765     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9876        8.1182        .15174E-04   -1.5655    
   2  alpha         2.8852        .92987        .17939E-01    .15468    
   3  Normalizat    .90267        .20111        .30486E-03   -.96366    
   4  Prefactor     1.0019        .15042        .21844E-03   -.92668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4236e-11
Minuit parameter uncertainties:
  1  8.11818
  2  0.953361
  3  0.201281
  4  0.150479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107768': 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) = 8336.76539938
delta logL = 0.256281497665

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  6.988e+00  8.118e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        alpha:  2.885e+00  9.534e-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.002e+00  1.505e-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.027e-01  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.42
Ra Dec: 170.364 -5.900
Photon Index (Free Index): 2.89 +/- 0.95
Photon Flux (Free Index): 5.23e-08 +/- 4.14e-08
Energy Flux (Free Index): 1.17e-05 +/- 9.12e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/107768/cmap_HighResolution_696038401_696297601_4FGL_J1121.4-0553_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.40e-05', comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.17e-05', photon_flux_error='3.44e-08', dlogl='2.56e-01', energy_flux='1.21e-05', photon_flux2='5.23e-08', job_status='DONE', time_completed='2023-01-25 01:05:15.013382', photon_index_error2='0.95', photon_index2='2.89', ts='1.90', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='9.12e-06', EG='0.92', time_epoch_completed='1674637515.01', return_code='0', job_id='107768', GAL2='1.00', EG2='0.90', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='4.14e-08', ts2='2.42', photon_index='2.31' WHERE bin_id='1762' AND source_name='4FGL J1121.4-0553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:05:15 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 107768: <4FGL_J1121.4-0553_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1121.4-0553_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:18 2023
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:51:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:51:26 2023
Terminated at Wed Jan 25 01:05:15 2023
Results reported at Wed Jan 25 01:05:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1121.4-0553_daily_bin1762 170.364 -5.8997 696038401 696297601 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 :                                   698.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            897 sec.

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

