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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1699
RA = 321.595, Dec = -46.0978
tmin = 679708801, tmax = 679968001
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='1265', job_status='RUN', time_executed='2022-07-20 00:38:47.083888', time_epoch_executed='1658302727.08' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1265

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1265/ft1_4FGL_J2126.3-4605_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1265/ft2_4FGL_J2126.3-4605_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1265/ft1_4FGL_J2126.3-4605_daily_bin1699.fits outfile=/scratch/kocevski/1265/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1699.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=679708801.0 tmax=679968001.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.80
user 3.57
sys 0.22

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

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

Number of photons that the gtmktime cut: 688

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1265/ft1_filtered_4FGL_J2126.3-4605_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/1265/ft2_4FGL_J2126.3-4605_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/1265/ltcube_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.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/1265/ft2_4FGL_J2126.3-4605_daily_bin1699.fits
.....................!
real 11.88
user 11.50
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1265/ft1_filtered_4FGL_J2126.3-4605_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1265/ft2_4FGL_J2126.3-4605_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/1265/ltcube_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.fits outfile=/scratch/kocevski/1265/expmap_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.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/1265/ltcube_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.fits
.....................!
real 191.08
user 184.98
sys 5.79

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/1265/ft1_filtered_4FGL_J2126.3-4605_daily_bin1699.fits scfile=/scratch/kocevski/1265/ft2_4FGL_J2126.3-4605_daily_bin1699.fits outfile=/scratch/kocevski/1265/cmap_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.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.51
user 0.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1265/ft1_filtered_4FGL_J2126.3-4605_daily_bin1699.fits scfile=/scratch/kocevski/1265/ft2_4FGL_J2126.3-4605_daily_bin1699.fits outfile=/scratch/kocevski/1265/cmap_HighResolution_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/1265/ft1_filtered_4FGL_J2126.3-4605_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1265/ft2_4FGL_J2126.3-4605_daily_bin1699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/1265/Model_4FGL_J2126.3-4605_daily_bin1699.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/1265/ft1_filtered_4FGL_J2126.3-4605_daily_bin1699.fits.....................!
real 56.03
user 54.71
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/1265/ft1_filtered_4FGL_J2126.3-4605_daily_bin1699.fits', '/scratch/kocevski/1265/ft2_4FGL_J2126.3-4605_daily_bin1699.fits', expMap='/scratch/kocevski/1265/expmap_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.fits', expCube='/scratch/kocevski/1265/ltcube_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/1265/Model_4FGL_J2126.3-4605_daily_bin1699.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/1265/ft1_filtered_4FGL_J2126.3-4605_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/1265/ft2_4FGL_J2126.3-4605_daily_bin1699.fits
Exposure map: /scratch/kocevski/1265/expmap_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.fits
Exposure cube: /scratch/kocevski/1265/ltcube_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/1265/Model_4FGL_J2126.3-4605_daily_bin1699.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) = 7365.31244316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.3427       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11377E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10449E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .24551       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.758       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17376E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .70630       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .56575       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4348       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .15787E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7865       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.4486       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    9.8109       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1536       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94764       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7365.247     FROM MIGRAD    STATUS=CONVERGED   1071 CALLS     3047 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2183        .92210E-03** at limit **
   2  norm          1.3402        17.273        .37812E-03   -.19663E-03
   3  Prefactor     .10000E-03    15.665        .18142E-02** at limit **
   4  Prefactor     .10000E-03    94.341        .18142E-02** at limit **
   5  Prefactor     .10000E-03    .49235        .58734E-03** at limit **
   6  Prefactor     .10000E-03    12.626        .18142E-02** at limit **
   7  norm          .24250        2.3012        .17495E-02    .59823E-03
   8  Prefactor     11.752        21.682        .11683E-03   -.11677E-05
   9  Prefactor     .10059E-03    24.093        .14206    ** at limit **
  10  Prefactor     .67591        22.667        .31305E-02    .66340E-03
  11  Prefactor     .62028        203.54        .71093E-02    .63407E-04
  12  Prefactor     1.4173        88.892        .36044E-03   -.39900E-04
  13  Prefactor     .10000E-03    2.9728        .28467E-03** at limit **
  14  norm          .10000E-03    5.4557        .26099E-02** at limit **
  15  Prefactor     .10000E-03    2.1432        .12240E-02** at limit **
  16  Prefactor     3.7861        3.8101        .16347E-03    .93333E-04
  17  Prefactor     .10000E-03    10.820        .18142E-02** at limit **
  18  Prefactor     .10000E-03    3.3674        .15316E-02** at limit **
  19  Prefactor     4.4486        3.2047        .12584E-03   -.25387E-04
  20  Prefactor     .10000E-03    28.263        .18142E-02** at limit **
  21  norm          9.8120        6.9269        .12793E-03    .38744E-04
  22  Prefactor     .10000E-03    1.1234        .88662E-03** at limit **
  23  Prefactor     .10000E-03    7.6894        .18142E-02** at limit **
  24  Normalizat    1.1538        .21237        .26681E-03    .80020E-04
  25  Prefactor     .94773        .13467        .18931E-03    .11657E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.34023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.242499
  Prefactor  = 11.7516
  Prefactor  = 0.000100592
  Prefactor  = 0.675913
  Prefactor  = 0.62028
  Prefactor  = 1.41732
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.78606
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.44857
  Prefactor  = 0.0001
  norm       = 9.81204
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1538
  Prefactor  = 0.947731
 **********
 **   18 **HESSE 
 **********

 FCN=   7365.247     FROM HESSE     STATUS=OK           417 CALLS     3464 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2184        .18442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3402        17.270        .15125E-04   -1.5476    
   3  Prefactor     .10000E-03    15.666        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    94.355        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    .49235        .11747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.628        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .24250        2.2880        .69982E-04   -1.5609    
   8  Prefactor     11.752        21.679        .46731E-05   -1.5022    
   9  Prefactor     .10059E-03    23.994        .14259       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .67591        22.133        .12522E-03   -1.5544    
  11  Prefactor     .62028        203.97        .28437E-03   -1.5550    
  12  Prefactor     1.4173        88.720        .14417E-04   -1.5470    
  13  Prefactor     .10000E-03    2.9729        .56933E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.4753        .52199E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.1434        .24481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.7861        3.8095        .65386E-05   -1.5319    
  17  Prefactor     .10000E-03    10.820        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.3681        .30632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.4486        3.2036        .50335E-05   -1.5286    
  20  Prefactor     .10000E-03    28.263        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          9.8120        6.9267        .51174E-05   -1.5081    
  22  Prefactor     .10000E-03    1.1235        .17732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.6947        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1538        .21127        .10673E-04   -.88043    
  25  Prefactor     .94773        .13471        .37863E-04   -.94493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69121e-09
Minuit parameter uncertainties:
  1  3.0126e-06
  2  9.62496
  3  3.98701e-05
  4  3.28639e-06
  5  2.23275e-06
  6  6.84878e-05
  7  1.4895
  8  21.6934
  9  0.00754164
  10  7.73814
  11  22.5724
  12  22.4612
  13  4.48924e-05
  14  2.32033e-06
  15  3.77026e-06
  16  3.80977
  17  1.66453e-05
  18  1.61678e-05
  19  3.20376
  20  2.51216e-05
  21  6.9273
  22  2.04123e-06
  23  2.35372e-05
  24  0.211428
  25  0.134762
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  6.759e-01  7.738e+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:  9.477e-01  1.348e-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:  1.154e+00  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 321.595 -46.098
Photon Flux Upper Limit: 9.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/1265/likelihoodResults_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.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): 102
logL (Free Index) = 7365.18260895
delta logL = 0.0641360859772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7365.1719348
delta logL = 0.0748102349271

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2490       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4342       1.0000          .0000       10.000    
     3 'Normalizat'    1.1345       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95378       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7365.172     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      275 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2485        8.6325        .22686E-03   -.16613E-03
   2  Index         3.4336        2.9071        .93597E-02   -.38272E-04
   3  Normalizat    1.1346        .21067        .26880E-03   -.19443E-03
   4  Prefactor     .95374        .13400        .18878E-03   -.14706E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.24854
  Index      = 3.43357
  Normalizat = 1.13457
  Prefactor  = 0.953742
 **********
 **   18 **HESSE 
 **********

 FCN=   7365.172     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2485        4.9812        .90744E-05   -1.5484    
   2  Index         3.4336        2.2743        .37439E-03   -.31865    
   3  Normalizat    1.1346        .21102        .10752E-04   -.88649    
   4  Prefactor     .95374        .13412        .37756E-04   -.94288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91966e-10
Minuit parameter uncertainties:
  1  4.98283
  2  2.37164
  3  0.211174
  4  0.134168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1265': 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) = 7365.17193462
delta logL = 0.0748104124023

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.249e+00  4.983e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  3.434e+00  2.372e+00  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:  9.537e-01  1.342e-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:  1.135e+00  2.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 321.595 -46.098

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/1265/cmap_HighResolution_679708801_679968001_4FGL_J2126.3-4605_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.74e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2022-07-20 00:51:27.523414', job_id='1265', GAL2='0.95', fit_tolerance='1e-08', EG2='1.13', EG='1.15', time_epoch_completed='1658303487.52', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.48e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1699' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:51:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 1265: <4FGL_J2126.3-4605_daily_bin1699> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 00:35:31 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:35:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:35:32 2022
Terminated at Wed Jul 20 00:51:28 2022
Results reported at Wed Jul 20 00:51:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1699 321.595 -46.0978 679708801 679968001 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 :                                   762.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

