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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1687
RA = 321.595, Dec = -46.0978
tmin = 676598401, tmax = 676857601
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='700171', job_status='RUN', time_executed='2022-06-14 01:38:26.579526', time_epoch_executed='1655195906.58' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1687'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700171

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700171/ft1_4FGL_J2126.3-4605_daily_bin1687.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700171/ft1_4FGL_J2126.3-4605_daily_bin1687.fits outfile=/scratch/kocevski/700171/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1687.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=676598401.0 tmax=676857601.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 2.93
user 2.72
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.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/700171/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1687.fits evtable="EVENTS" outfile="/scratch/kocevski/700171/ft1_filtered_4FGL_J2126.3-4605_daily_bin1687.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.32
sys 0.17

Number of photons that the gtmktime cut: 590

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700171/ft1_filtered_4FGL_J2126.3-4605_daily_bin1687.fits" evtable="EVENTS" scfile=/scratch/kocevski/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.fits sctable="SC_DATA" outfile=/scratch/kocevski/700171/ltcube_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.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/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.fits
.....................!
real 14.39
user 14.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700171/ft1_filtered_4FGL_J2126.3-4605_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.fits sctable="SC_DATA" expcube=/scratch/kocevski/700171/ltcube_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.fits outfile=/scratch/kocevski/700171/expmap_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.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/700171/ltcube_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.fits
.....................!
real 192.12
user 187.04
sys 4.53

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

Setting source of interest to:
4FGL J2126.3-4605 @ 321.595 -46.0978

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/700171/ft1_filtered_4FGL_J2126.3-4605_daily_bin1687.fits scfile=/scratch/kocevski/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.fits outfile=/scratch/kocevski/700171/cmap_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.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=321.595 yref=-46.0978 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700171/ft1_filtered_4FGL_J2126.3-4605_daily_bin1687.fits scfile=/scratch/kocevski/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.fits outfile=/scratch/kocevski/700171/cmap_HighResolution_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.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=321.595 yref=-46.0978 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/700171/ft1_filtered_4FGL_J2126.3-4605_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/700171/Model_4FGL_J2126.3-4605_daily_bin1687.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/700171/ft1_filtered_4FGL_J2126.3-4605_daily_bin1687.fits.....................!
real 52.27
user 50.92
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/700171/ft1_filtered_4FGL_J2126.3-4605_daily_bin1687.fits', '/scratch/kocevski/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.fits', expMap='/scratch/kocevski/700171/expmap_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.fits', expCube='/scratch/kocevski/700171/ltcube_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/700171/Model_4FGL_J2126.3-4605_daily_bin1687.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2126.3-4605'

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  5.352e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.554e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/700171/ft1_filtered_4FGL_J2126.3-4605_daily_bin1687.fits
Spacecraft file(s): /scratch/kocevski/700171/ft2_4FGL_J2126.3-4605_daily_bin1687.fits
Exposure map: /scratch/kocevski/700171/expmap_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.fits
Exposure cube: /scratch/kocevski/700171/ltcube_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/700171/Model_4FGL_J2126.3-4605_daily_bin1687.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) = 6529.61579957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9308       1.0000         .10000E-03   10000.    
     2 'norm      '    10.398       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10113E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.324       1.0000         .10000E-03   10000.    
     7 'norm      '    2.5462       1.0000         .10000E-03   10000.    
     8 'Prefactor '    52.475       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.568       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.947       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0215       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2795       1.0000         .10000E-03   10000.    
    14 'norm      '    2.9563       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0321       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.6338       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7215       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13721E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .16119E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .89677       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0608       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6529.608     FROM MIGRAD    STATUS=CONVERGED    590 CALLS     2930 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9298        2.2866        .11623E-05   -.33273E-02
   2  norm          10.316        22.637       -.92544E-05    .47853E-04
   3  Prefactor     .10001E-03    141.52       -.23070E-04** at limit **
   4  Prefactor     .10000E-03    75.014        .17060E-04** at limit **
   5  Prefactor     .10000E-03    2.7666        .70625E-07** at limit **
   6  Prefactor     26.314        29.679       -.52478E-05   -.73403E-04
   7  norm          2.5455        2.1897       -.46322E-07   -.22006E-04
   8  Prefactor     52.467        39.935       -.47044E-05   -.71811E-04
   9  Prefactor     13.568        20.373       -.15831E-07    .18587E-05
  10  Prefactor     15.947        9.2211        .10054E-05    .17890E-03
  11  Prefactor     3.0126        69.593       -.10342E-04   -.30234E-04
  12  Prefactor     .10000E-03    6.0838       -.63687E-07** at limit **
  13  Prefactor     5.2791        4.5944        .15733E-06    .32612E-04
  14  norm          2.9557        4.3626        .38377E-06    .38100E-04
  15  Prefactor     .10000E-03    10.963        .45328E-08** at limit **
  16  Prefactor     4.0330        8.1285       -.17090E-05   -.81480E-04
  17  Prefactor     8.6293        27.899       -.36295E-05   -.10384E-04
  18  Prefactor     2.7201        6.5788       -.15487E-05   -.14030E-03
  19  Prefactor     .10000E-03    1.8059       -.73679E-07** at limit **
  20  Prefactor     .10000E-03    40.120       -.52143E-05** at limit **
  21  norm          .10013E-03    4.5884        .73809E-06** at limit **
  22  Prefactor     .10000E-03    .92704       -.74128E-08** at limit **
  23  Prefactor     .10000E-03    6.4770        .35188E-08** at limit **
  24  Normalizat    .89680        .20382        .14244E-05    .84132E-04
  25  Prefactor     1.0608        .13184        .89956E-06    .83106E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.92976
  norm       = 10.3158
  Prefactor  = 0.000100014
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 26.3142
  norm       = 2.54551
  Prefactor  = 52.4674
  Prefactor  = 13.5677
  Prefactor  = 15.9467
  Prefactor  = 3.01261
  Prefactor  = 0.0001
  Prefactor  = 5.27906
  norm       = 2.95567
  Prefactor  = 0.0001
  Prefactor  = 4.03302
  Prefactor  = 8.62928
  Prefactor  = 2.7201
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100133
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.8968
  Prefactor  = 1.06077
 **********
 **   18 **HESSE 
 **********

 FCN=   6529.608     FROM HESSE     STATUS=OK           433 CALLS     3363 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9298        4.8073        .13668E-02   -1.5430    
   2  norm          10.316        22.243        .12425E-03   -1.5065    
   3  Prefactor     .10001E-03    137.34        .20755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    75.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.8604        .26210E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.314        29.785        .78079E-04   -1.4682    
   7  norm          2.5455        2.1796        .10587E-03   -1.5389    
   8  Prefactor     52.467        40.131        .55367E-04   -1.4258    
   9  Prefactor     13.568        20.373        .10874E-03   -1.4971    
  10  Prefactor     15.947        9.2164        .10029E-03   -1.4909    
  11  Prefactor     3.0126        67.971        .23347E-03   -1.5361    
  12  Prefactor     .10000E-03    6.0901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.2791        4.5892        .15286E-03   -1.5248    
  14  norm          2.9557        4.2851        .18304E-03   -1.5364    
  15  Prefactor     .10000E-03    11.259        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0330        8.1124        .20082E-03   -1.5306    
  17  Prefactor     8.6293        27.866        .13642E-03   -1.5120    
  18  Prefactor     2.7201        6.5474        .24686E-03   -1.5378    
  19  Prefactor     .10000E-03    3.4373        .20880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    40.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10013E-03    39.296        .33594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    .93065        .75971E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.5914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .89680        .23490        .30679E-03   -.96573    
  25  Prefactor     1.0608        .15355        .19300E-03   -.90731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67005e-08
Minuit parameter uncertainties:
  1  4.80826
  2  22.2607
  3  0.00282445
  4  0.000869689
  5  1.24388e-05
  6  29.8022
  7  2.17971
  8  40.1513
  9  20.3831
  10  9.21721
  11  28.6559
  12  4.41261e-06
  13  4.58951
  14  4.28552
  15  9.71331e-06
  16  8.11458
  17  27.9081
  18  6.54917
  19  2.76266e-05
  20  0.000175168
  21  0.00458197
  22  1.26494e-06
  23  1.43007e-05
  24  0.235167
  25  0.153618
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.595e+01  9.217e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.554e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.061e+00  1.536e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  8.968e-01  2.352e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.97
Ra Dec: 321.595 -46.098
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 8.63e-08 +/- 4.99e-08
Energy Flux (Fixed Index): 2.37e-05 +/- 1.37e-05

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) = 6529.37663383
delta logL = 0.231583189044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6529.36944136
delta logL = 0.238775653098

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.868       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2232       1.0000          .0000       10.000    
     3 'Normalizat'    .91738       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0538       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6529.369     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      216 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.872        26.058        .24380E-02    .84632E-04
   2  Index         2.2234        1.0115        .19968        .12666E-05
   3  Normalizat    .91718        .19446        .68688E-01    .54242E-04
   4  Prefactor     1.0539        .13163        .39692E-01    .45500E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8716
  Index      = 2.22338
  Normalizat = 0.917177
  Prefactor  = 1.05389
 **********
 **   18 **HESSE 
 **********

 FCN=   6529.369     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.872        10.413        .97519E-04   -1.4886    
   2  Index         2.2234        .47524        .75001E-02   -.58875    
   3  Normalizat    .91718        .22278        .30387E-03   -.95859    
   4  Prefactor     1.0539        .15033        .19360E-03   -.90954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57631e-12
Minuit parameter uncertainties:
  1  10.4138
  2  0.476279
  3  0.223
  4  0.150391
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700171': 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) = 6529.36944081
delta logL = 0.238776202701

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.687e+01  1.041e+01  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.223e+00  4.763e-01  0.000e+00  1.000e+01 (-1.000e+00)
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.054e+00  1.504e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  9.172e-01  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.44
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 2.22 +/- 0.48
Photon Flux (Free Index): 6.53e-08 +/- 5.22e-08
Energy Flux (Free Index): 2.81e-05 +/- 1.96e-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/700171/cmap_HighResolution_676598401_676857601_4FGL_J2126.3-4605_daily_bin1687.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.63e-08', energy_flux2='2.81e-05', photon_flux_error='4.99e-08', dlogl='2.39e-01', energy_flux='2.37e-05', photon_flux2='6.53e-08', job_status='DONE', time_completed='2022-06-14 01:48:52.596888', photon_index_error2='0.48', photon_index2='2.22', ts='7.97', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='0.90', time_epoch_completed='1655196532.6', return_code='0', job_id='700171', GAL2='1.05', EG2='0.92', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='5.22e-08', ts2='8.44', photon_index='2.55' WHERE bin_id='1687' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun 14 01:48:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 700171: <4FGL_J2126.3-4605_daily_bin1687> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin1687> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jun 14 01:35:13 2022
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 14 01:35:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 14 01:35:19 2022
Terminated at Tue Jun 14 01:48:53 2022
Results reported at Tue Jun 14 01:48:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1687 321.595 -46.0978 676598401 676857601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2126.3-4605 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   628.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             267.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            820 sec.

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

