/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 64 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 = 7630
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1045
RA = 321.595, Dec = -46.0978
tmin = 510192001, tmax = 510451201
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='487530', job_status='RUN', time_executed='2021-09-26 13:26:42.155056', time_epoch_executed='1632688002.16' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1045'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/487530

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/487530/ft1_4FGL_J2126.3-4605_daily_bin1045.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/487530/ft2_4FGL_J2126.3-4605_daily_bin1045.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/487530/ft1_4FGL_J2126.3-4605_daily_bin1045.fits outfile=/scratch/kocevski/487530/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1045.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=510192001.0 tmax=510451201.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 4.58
user 4.11
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/487530/ft1_filtered_4FGL_J2126.3-4605_daily_bin1045.fits" evtable="EVENTS" scfile=/scratch/kocevski/487530/ft2_4FGL_J2126.3-4605_daily_bin1045.fits sctable="SC_DATA" outfile=/scratch/kocevski/487530/ltcube_510192001_510451201_4FGL_J2126.3-4605_daily_bin1045.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/487530/ft2_4FGL_J2126.3-4605_daily_bin1045.fits
.....................!
real 14.18
user 13.83
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/487530/ft1_filtered_4FGL_J2126.3-4605_daily_bin1045.fits evtable="EVENTS" scfile=/scratch/kocevski/487530/ft2_4FGL_J2126.3-4605_daily_bin1045.fits sctable="SC_DATA" expcube=/scratch/kocevski/487530/ltcube_510192001_510451201_4FGL_J2126.3-4605_daily_bin1045.fits outfile=/scratch/kocevski/487530/expmap_510192001_510451201_4FGL_J2126.3-4605_daily_bin1045.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/487530/ltcube_510192001_510451201_4FGL_J2126.3-4605_daily_bin1045.fits
.....................!
real 193.24
user 187.42
sys 5.43

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/487530/ft1_filtered_4FGL_J2126.3-4605_daily_bin1045.fits scfile=/scratch/kocevski/487530/ft2_4FGL_J2126.3-4605_daily_bin1045.fits outfile=/scratch/kocevski/487530/cmap_510192001_510451201_4FGL_J2126.3-4605_daily_bin1045.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 1.00
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/487530/ft1_filtered_4FGL_J2126.3-4605_daily_bin1045.fits scfile=/scratch/kocevski/487530/ft2_4FGL_J2126.3-4605_daily_bin1045.fits outfile=/scratch/kocevski/487530/cmap_HighResolution_510192001_510451201_4FGL_J2126.3-4605_daily_bin1045.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.61
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/487530/ft1_filtered_4FGL_J2126.3-4605_daily_bin1045.fits evtable="EVENTS" scfile=/scratch/kocevski/487530/ft2_4FGL_J2126.3-4605_daily_bin1045.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/487530/Model_4FGL_J2126.3-4605_daily_bin1045.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/487530/ft1_filtered_4FGL_J2126.3-4605_daily_bin1045.fits.....................!
real 54.44
user 53.06
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.091       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7978       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.712       1.0000         .10000E-03   10000.    
     7 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    107.74       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.7918       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17389E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    53.027       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.3242       1.0000         .10000E-03   10000.    
    14 'norm      '    12.687       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.191       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.7534       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.1731       1.0000         .10000E-03   10000.    
    20 'Prefactor '    110.30       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.559       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .99358       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94051       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=   6769.237     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2893 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .87337        .90712E-02** at limit **
   2  norm          .10000E-03    5.2465        .90712E-02** at limit **
   3  Prefactor     .10000E-03    8.9756        .90712E-02** at limit **
   4  Prefactor     20.090        33.307        .22339E-02    .51706E-04
   5  Prefactor     5.7978        3.2453        .41700E-02    .41648E-03
   6  Prefactor     10.711        13.961        .30604E-02   -.36663E-03
   7  norm          .10000E-03    .70731        .90712E-02** at limit **
   8  Prefactor     107.74        43.633        .96866E-03    .51866E-03
   9  Prefactor     .10000E-03    14.215        .90712E-02** at limit **
  10  Prefactor     8.7935        9.4055        .33795E-02    .60049E-03
  11  Prefactor     .10000E-03    182.19        .90712E-02** at limit **
  12  Prefactor     53.027        32.563        .13770E-02    .21087E-03
  13  Prefactor     8.3249        4.7685        .34737E-02    .11589E-02
  14  norm          12.688        5.5242        .28114E-02    .35656E-02
  15  Prefactor     11.191        9.0591        .29940E-02   -.30486E-03
  16  Prefactor     7.7537        7.3486        .36002E-02    .70216E-04
  17  Prefactor     .10000E-03    26.194        .90712E-02** at limit **
  18  Prefactor     .10000E-03    3.6784        .90712E-02** at limit **
  19  Prefactor     4.1742        4.4787        .49323E-02    .35564E-02
  20  Prefactor     110.30        86.091        .95747E-03   -.79337E-03
  21  norm          .10000E-03    2.4898        .90712E-02** at limit **
  22  Prefactor     .10000E-03    3.0964        .90712E-02** at limit **
  23  Prefactor     17.560        9.6052        .23895E-02   -.16980E-02
  24  Normalizat    .99337        .21364        .70708E-01    .30783E-04
  25  Prefactor     .94065        .12680        .45519E-01    .46985E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.0905
  Prefactor  = 5.79779
  Prefactor  = 10.7112
  norm       = 0.0001
  Prefactor  = 107.737
  Prefactor  = 0.0001
  Prefactor  = 8.79348
  Prefactor  = 0.000100003
  Prefactor  = 53.0268
  Prefactor  = 8.32492
  norm       = 12.6883
  Prefactor  = 11.1914
  Prefactor  = 7.75371
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.17419
  Prefactor  = 110.3
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.5605
  Normalizat = 0.993368
  Prefactor  = 0.940651
 **********
 **   18 **HESSE 
 **********

 FCN=   6769.237     FROM HESSE     STATUS=OK           419 CALLS     3312 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .87490        .75089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.2479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.9876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.090        33.312        .89357E-04   -1.4811    
   5  Prefactor     5.7978        3.2434        .10625E-03   -1.5226    
   6  Prefactor     10.711        13.958        .12241E-03   -1.5053    
   7  norm          .10000E-03    .72044        .67505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     107.74        43.664        .38746E-04   -1.3628    
   9  Prefactor     .10000E-03    14.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.7935        9.4367        .13518E-03   -1.5115    
  11  Prefactor     .10000E-03    188.23        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     53.027        32.637        .55079E-04   -1.4250    
  13  Prefactor     8.3249        4.7722        .12902E-03   -1.5131    
  14  norm          12.688        5.5157        .11246E-03   -1.4995    
  15  Prefactor     11.191        9.0748        .11976E-03   -1.5039    
  16  Prefactor     7.7537        7.3435        .14401E-03   -1.5151    
  17  Prefactor     .10000E-03    26.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.6925        .15397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.1742        4.4806        .17006E-03   -1.5299    
  20  Prefactor     110.30        86.180        .19149E-03   -1.3604    
  21  norm          .10000E-03    2.4914        .12678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.1612        .14128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.560        9.6483        .95580E-04   -1.4870    
  24  Normalizat    .99337        .25034        .31282E-03   -.93253    
  25  Prefactor     .94065        .14836        .20373E-03   -.94735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52136e-08
Minuit parameter uncertainties:
  1  1.48259e-06
  2  1.9809e-06
  3  5.59342e-06
  4  33.343
  5  3.24355
  6  13.9626
  7  3.65751e-07
  8  43.6774
  9  8.36556e-06
  10  9.43829
  11  0.00151867
  12  32.6475
  13  4.77237
  14  5.51595
  15  9.07593
  16  7.3444
  17  5.28737e-05
  18  1.98778e-06
  19  4.48095
  20  86.2782
  21  2.21105e-07
  22  1.10957e-06
  23  9.64917
  24  0.250639
  25  0.148421
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  8.793e+00  9.438e+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.407e-01  1.484e-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.934e-01  2.506e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.12
Ra Dec: 321.595 -46.098
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 4.76e-08 +/- 5.11e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 1.40e-05

TS (Fixed Index): 1.12
Ra Dec: 321.595 -46.098
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/487530/likelihoodResults_510192001_510451201_4FGL_J2126.3-4605_daily_bin1045.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) = 6767.89091625
delta logL = 1.34592436554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6767.87221023
delta logL = 1.36463038798

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4645       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1917       1.0000          .0000       10.000    
     3 'Normalizat'    .91524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97160       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=   6767.872     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      253 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4540        24.426        .65125E-02    .23623E-03
   2  Index         4.1945        3.3619        .14537        .99718E-04
   3  Normalizat    .91537        .67894E-01    .73216E-01    .16404E-04
   4  Prefactor     .97161        .43115E-01    .45911E-01    .75411E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.45399
  Index      = 4.19448
  Normalizat = 0.915371
  Prefactor  = 0.971612
 **********
 **   18 **HESSE 
 **********

 FCN=   6767.872     FROM HESSE     STATUS=OK            33 CALLS      286 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4540        514.69        .73260E-04   -1.5395    
   2  Index         4.1945        7.5674        .55492E-02   -.16181    
   3  Normalizat    .91537        .23471        .32398E-03   -.95922    
   4  Prefactor     .97161        .17164        .20069E-03   -.93682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31522e-06
Minuit parameter uncertainties:
  1  71.7108
  2  19.8702
  3  0.234976
  4  0.171741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/487530': 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) = 6767.87220726
delta logL = 1.36463335687

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  2.454e+00  7.171e+01  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  4.194e+00  1.987e+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:  9.716e-01  1.717e-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.154e-01  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.05
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 4.19 +/- 19.87
Photon Flux (Free Index): 1.12e-07 +/- 1.27e-07
Energy Flux (Free Index): 1.62e-05 +/- 6.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/487530/cmap_HighResolution_510192001_510451201_4FGL_J2126.3-4605_daily_bin1045.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='4.76e-08', energy_flux2='1.62e-05', photon_flux_error='5.11e-08', dlogl='1.36e+00', energy_flux='1.31e-05', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-09-26 13:38:51.818316', photon_index_error2='19.87', photon_index2='4.19', ts='1.12', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='6.22e-05', EG='0.99', time_epoch_completed='1632688731.82', return_code='0', job_id='487530', GAL2='0.97', EG2='0.92', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='1.27e-07', ts2='4.05', photon_index='2.55' WHERE bin_id='1045' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:38:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 487530: <4FGL_J2126.3-4605_daily_bin1045> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin1045> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 13:25:14 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 13:25:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 13:25:29 2021
Terminated at Sun Sep 26 13:38:52 2021
Results reported at Sun Sep 26 13:38:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1045 321.595 -46.0978 510192001 510451201 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 :                                   728.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            818 sec.

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

