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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin504
RA = 321.595, Dec = -46.0978
tmin = 369964801, tmax = 370224001
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='484731', job_status='RUN', time_executed='2021-09-26 13:18:24.382086', time_epoch_executed='1632687504.38' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='504'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484731

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484731/ft1_4FGL_J2126.3-4605_daily_bin504.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484731/ft2_4FGL_J2126.3-4605_daily_bin504.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484731/ft1_4FGL_J2126.3-4605_daily_bin504.fits outfile=/scratch/kocevski/484731/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin504.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=369964801.0 tmax=370224001.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 7.71
user 7.43
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/484731/ft2_4FGL_J2126.3-4605_daily_bin504.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/484731/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin504.fits evtable="EVENTS" outfile="/scratch/kocevski/484731/ft1_filtered_4FGL_J2126.3-4605_daily_bin504.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.56
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484731/ft1_filtered_4FGL_J2126.3-4605_daily_bin504.fits" evtable="EVENTS" scfile=/scratch/kocevski/484731/ft2_4FGL_J2126.3-4605_daily_bin504.fits sctable="SC_DATA" outfile=/scratch/kocevski/484731/ltcube_369964801_370224001_4FGL_J2126.3-4605_daily_bin504.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/484731/ft2_4FGL_J2126.3-4605_daily_bin504.fits
.....................!
real 14.08
user 13.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484731/ft1_filtered_4FGL_J2126.3-4605_daily_bin504.fits evtable="EVENTS" scfile=/scratch/kocevski/484731/ft2_4FGL_J2126.3-4605_daily_bin504.fits sctable="SC_DATA" expcube=/scratch/kocevski/484731/ltcube_369964801_370224001_4FGL_J2126.3-4605_daily_bin504.fits outfile=/scratch/kocevski/484731/expmap_369964801_370224001_4FGL_J2126.3-4605_daily_bin504.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/484731/ltcube_369964801_370224001_4FGL_J2126.3-4605_daily_bin504.fits
.....................!
real 193.51
user 188.62
sys 4.30

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/484731/ft1_filtered_4FGL_J2126.3-4605_daily_bin504.fits scfile=/scratch/kocevski/484731/ft2_4FGL_J2126.3-4605_daily_bin504.fits outfile=/scratch/kocevski/484731/cmap_369964801_370224001_4FGL_J2126.3-4605_daily_bin504.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484731/ft1_filtered_4FGL_J2126.3-4605_daily_bin504.fits scfile=/scratch/kocevski/484731/ft2_4FGL_J2126.3-4605_daily_bin504.fits outfile=/scratch/kocevski/484731/cmap_HighResolution_369964801_370224001_4FGL_J2126.3-4605_daily_bin504.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/484731/ft1_filtered_4FGL_J2126.3-4605_daily_bin504.fits evtable="EVENTS" scfile=/scratch/kocevski/484731/ft2_4FGL_J2126.3-4605_daily_bin504.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484731/Model_4FGL_J2126.3-4605_daily_bin504.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/484731/ft1_filtered_4FGL_J2126.3-4605_daily_bin504.fits.....................!
real 51.49
user 50.17
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36141E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.400       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27232       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.1112       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.7724       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2601       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.768       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.771       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10330E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0284       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.3843       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.7627       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .86153       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0945       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=   6593.703     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     3625 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10034E-03    1.3375        .17577E-06** at limit **
   2  norm          .10000E-03    10.093        .60882E-06** at limit **
   3  Prefactor     12.397        23.181        .11370E-07   -.37272E-04
   4  Prefactor     .10005E-03    80.928        .12909E-04** at limit **
   5  Prefactor     .27260        1.5429        .17626E-06   -.42608E-03
   6  Prefactor     .10000E-03    6.1011        .11264E-07** at limit **
   7  norm          6.1112        2.1713        .20489E-07   -.91848E-04
   8  Prefactor     .10000E-03    8.1768        .15463E-05** at limit **
   9  Prefactor     .10000E-03    50.114       -.10240E-05** at limit **
  10  Prefactor     9.7727        8.7351        .70099E-07   -.54722E-04
  11  Prefactor     3.2594        33.752        .21322E-06   -.21681E-04
  12  Prefactor     24.769        23.169        .18392E-07    .10704E-04
  13  Prefactor     .10000E-03    3.7711        .25129E-07** at limit **
  14  norm          .10000E-03    1.5590        .14968E-07** at limit **
  15  Prefactor     .10000E-03    5.3311        .39823E-07** at limit **
  16  Prefactor     .10000E-03    4.5747       -.20729E-07** at limit **
  17  Prefactor     19.755        35.992       -.56373E-05   -.24621E-03
  18  Prefactor     .10000E-03    8.4157       -.21491E-05** at limit **
  19  Prefactor     8.0277        4.5889        .61079E-06    .89099E-03
  20  Prefactor     .10006E-03    95.793       -.13765E-04** at limit **
  21  norm          3.3841        5.8467        .13359E-06   -.13012E-05
  22  Prefactor     .10000E-03    2.1502       -.10307E-06** at limit **
  23  Prefactor     3.7607        6.5905        .40667E-05   -.14547E-02
  24  Normalizat    .86167        .20391        .14012E-06   -.20339E-04
  25  Prefactor     1.0943        .12743       -.34301E-06    .31814E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100341
  norm       = 0.0001
  Prefactor  = 12.3973
  Prefactor  = 0.000100051
  Prefactor  = 0.272598
  Prefactor  = 0.0001
  norm       = 6.11116
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.77268
  Prefactor  = 3.25936
  Prefactor  = 24.7687
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7548
  Prefactor  = 0.0001
  Prefactor  = 8.02766
  Prefactor  = 0.000100056
  norm       = 3.38407
  Prefactor  = 0.0001
  Prefactor  = 3.76065
  Normalizat = 0.861672
  Prefactor  = 1.09434
 **********
 **   18 **HESSE 
 **********

 FCN=   6593.703     FROM HESSE     STATUS=OK           435 CALLS     4060 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10034E-03    1.8804        .35913E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    10.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.397        23.196        .11376E-03   -1.5004    
   4  Prefactor     .10005E-03    85.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27260        2.8850        .19492E-02   -1.5604    
   6  Prefactor     .10000E-03    6.1091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.1112        2.1708        .68126E-04   -1.5214    
   8  Prefactor     .10000E-03    8.2442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    50.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7727        8.7246        .12819E-03   -1.5083    
  11  Prefactor     3.2594        33.621        .22429E-03   -1.5347    
  12  Prefactor     24.769        23.167        .80491E-04   -1.4712    
  13  Prefactor     .10000E-03    3.9280        .30767E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.5717        .98974E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.4288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.969        .33559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.755        36.661        .90077E-04   -1.4819    
  18  Prefactor     .10000E-03    8.5752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0277        4.6367        .12746E-03   -1.5141    
  20  Prefactor     .10006E-03    100.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.3841        5.8314        .21994E-03   -1.5340    
  22  Prefactor     .10000E-03    2.1650        .11625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.7607        7.6875        .10407E-02   -1.5320    
  24  Normalizat    .86167        .23738        .31296E-03   -.97820    
  25  Prefactor     1.0943        .14896        .18384E-03   -.89648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32819e-09
Minuit parameter uncertainties:
  1  0.00160194
  2  6.98123e-05
  3  23.2132
  4  0.00417304
  5  1.77343
  6  1.27422e-09
  7  2.17083
  8  0.000155166
  9  0.000252118
  10  8.72577
  11  20.9511
  12  23.1755
  13  1.08722e-05
  14  1.25858e-06
  15  2.0595e-06
  16  6.66509e-05
  17  36.7032
  18  0.000125533
  19  4.63691
  20  0.00473489
  21  5.83238
  22  4.5377e-06
  23  7.68956
  24  0.237664
  25  0.149013
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  9.773e+00  8.726e+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.094e+00  1.490e-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.617e-01  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.75
Ra Dec: 321.595 -46.098
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 5.29e-08 +/- 4.72e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.29e-05

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

Saving results to:
/scratch/kocevski/484731/likelihoodResults_369964801_370224001_4FGL_J2126.3-4605_daily_bin504.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) = 6593.68782796
delta logL = 0.0154932030673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6593.67988438
delta logL = 0.0234367862813

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5388       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7446       1.0000          .0000       10.000    
     3 'Normalizat'    .85405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0981       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=   6593.680     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      217 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5431        173.37        .34296E-02    .17997E-03
   2  Index         2.7441        6.3656        .22760        .65169E-04
   3  Normalizat    .85387        .67889E-01    .71017E-01    .26218E-04
   4  Prefactor     1.0982        .42420E-01    .37658E-01    .33374E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.54313
  Index      = 2.7441
  Normalizat = 0.853871
  Prefactor  = 1.09821
 **********
 **   18 **HESSE 
 **********

 FCN=   6593.680     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .53E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5431        10.695        .13718E-03   -1.5123    
   2  Index         2.7441        .97920        .86082E-02   -.46809    
   3  Normalizat    .85387        .22667        .31424E-03   -.98101    
   4  Prefactor     1.0982        .14673        .18355E-03   -.89524    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28488e-12
Minuit parameter uncertainties:
  1  10.6977
  2  0.987235
  3  0.226918
  4  0.146783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484731': 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) = 6593.67988379
delta logL = 0.0234373694238

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  8.543e+00  1.070e+01  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.744e+00  9.872e-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.098e+00  1.468e-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.539e-01  2.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.81
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 2.74 +/- 0.99
Photon Flux (Free Index): 5.73e-08 +/- 5.17e-08
Energy Flux (Free Index): 1.33e-05 +/- 1.32e-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/484731/cmap_HighResolution_369964801_370224001_4FGL_J2126.3-4605_daily_bin504.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', comment='SUCCESS', photon_flux='5.29e-08', energy_flux2='1.33e-05', photon_flux_error='4.72e-08', dlogl='2.34e-02', energy_flux='1.45e-05', photon_flux2='5.73e-08', job_status='DONE', time_completed='2021-09-26 13:31:41.813575', photon_index_error2='0.99', photon_index2='2.74', ts='1.75', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='1.32e-05', EG='0.86', time_epoch_completed='1632688301.81', return_code='0', job_id='484731', GAL2='1.10', EG2='0.85', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='5.17e-08', ts2='1.81', photon_index='2.55' WHERE bin_id='504' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:31:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 484731: <4FGL_J2126.3-4605_daily_bin504> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin504> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 26 13:15:29 2021
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 13:16:12 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:16:12 2021
Terminated at Sun Sep 26 13:31:42 2021
Results reported at Sun Sep 26 13:31:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin504 321.595 -46.0978 369964801 370224001 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 :                                   793.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            973 sec.

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

