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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin983
RA = 321.595, Dec = -46.0978
tmin = 494121601, tmax = 494380801
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='486445', job_status='RUN', time_executed='2021-09-26 13:22:08.724109', time_epoch_executed='1632687728.72' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='983'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/486445

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/486445/ft1_4FGL_J2126.3-4605_daily_bin983.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/486445/ft2_4FGL_J2126.3-4605_daily_bin983.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/486445/ft1_4FGL_J2126.3-4605_daily_bin983.fits outfile=/scratch/kocevski/486445/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin983.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=494121601.0 tmax=494380801.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.82
user 3.55
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/486445/ft1_filtered_4FGL_J2126.3-4605_daily_bin983.fits" evtable="EVENTS" scfile=/scratch/kocevski/486445/ft2_4FGL_J2126.3-4605_daily_bin983.fits sctable="SC_DATA" outfile=/scratch/kocevski/486445/ltcube_494121601_494380801_4FGL_J2126.3-4605_daily_bin983.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/486445/ft2_4FGL_J2126.3-4605_daily_bin983.fits
.....................!
real 15.16
user 14.77
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/486445/ft1_filtered_4FGL_J2126.3-4605_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/486445/ft2_4FGL_J2126.3-4605_daily_bin983.fits sctable="SC_DATA" expcube=/scratch/kocevski/486445/ltcube_494121601_494380801_4FGL_J2126.3-4605_daily_bin983.fits outfile=/scratch/kocevski/486445/expmap_494121601_494380801_4FGL_J2126.3-4605_daily_bin983.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/486445/ltcube_494121601_494380801_4FGL_J2126.3-4605_daily_bin983.fits
.....................!
real 191.27
user 186.85
sys 3.82

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/486445/ft1_filtered_4FGL_J2126.3-4605_daily_bin983.fits scfile=/scratch/kocevski/486445/ft2_4FGL_J2126.3-4605_daily_bin983.fits outfile=/scratch/kocevski/486445/cmap_494121601_494380801_4FGL_J2126.3-4605_daily_bin983.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/486445/ft1_filtered_4FGL_J2126.3-4605_daily_bin983.fits scfile=/scratch/kocevski/486445/ft2_4FGL_J2126.3-4605_daily_bin983.fits outfile=/scratch/kocevski/486445/cmap_HighResolution_494121601_494380801_4FGL_J2126.3-4605_daily_bin983.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5176       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7363       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.822       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.975       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.864       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .73573       1.0000         .10000E-03   10000.    
    14 'norm      '    5.3883       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.7649       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.947       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.3507       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    84.411       1.0000         .10000E-03   10000.    
    21 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .31417E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.3195       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .39091       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3356       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=   9284.954     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2862 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5177        2.2742       -.22190E-07   -.14716E-03
   2  norm          .10000E-03    4.0111       -.58463E-07** at limit **
   3  Prefactor     .10000E-03    8.6412       -.12906E-06** at limit **
   4  Prefactor     .10000E-03    34.711       -.22204E-05** at limit **
   5  Prefactor     7.7364        2.7735        .12526E-06   -.11359E-03
   6  Prefactor     .10000E-03    18.914        .41309E-05** at limit **
   7  norm          19.823        2.8509        .22902E-06   -.22307E-03
   8  Prefactor     .10000E-03    8.5674       -.14311E-05** at limit **
   9  Prefactor     20.977        32.081        .19870E-05   -.44186E-05
  10  Prefactor     10.865        7.0967        .54461E-07   -.54878E-05
  11  Prefactor     .10000E-03    10.582        .66194E-05** at limit **
  12  Prefactor     .10000E-03    12.444       -.75809E-05** at limit **
  13  Prefactor     .73763        2.5232       -.99572E-06   -.60789E-03
  14  norm          5.3888        3.4244       -.51469E-06    .19557E-04
  15  Prefactor     8.7662        6.4137        .38867E-07   -.10864E-03
  16  Prefactor     .10000E-03    2.4546       -.80284E-07** at limit **
  17  Prefactor     16.951        30.133        .52468E-05   -.55031E-04
  18  Prefactor     5.3499        6.8008       -.15456E-05   -.14268E-03
  19  Prefactor     .10000E-03    1.2263       -.10706E-06** at limit **
  20  Prefactor     84.423        99.216        .12132E-04   -.64528E-04
  21  norm          .10000E-03    3.4994       -.93827E-07** at limit **
  22  Prefactor     .10000E-03    1.7321        .31727E-06** at limit **
  23  Prefactor     2.3181        8.5894       -.14849E-05   -.35087E-03
  24  Normalizat    .39073        .22513       -.29212E-05   -.34211E-04
  25  Prefactor     1.3356        .13625        .43463E-06    .17035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.51773
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.73643
  Prefactor  = 0.0001
  norm       = 19.8228
  Prefactor  = 0.0001
  Prefactor  = 20.9767
  Prefactor  = 10.8655
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.737631
  norm       = 5.38882
  Prefactor  = 8.76615
  Prefactor  = 0.0001
  Prefactor  = 16.9506
  Prefactor  = 5.34994
  Prefactor  = 0.0001
  Prefactor  = 84.4225
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 2.31806
  Normalizat = 0.390727
  Prefactor  = 1.33564
 **********
 **   18 **HESSE 
 **********

 FCN=   9284.954     FROM HESSE     STATUS=OK           431 CALLS     3293 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5177        2.2711        .13417E-03   -1.5391    
   2  norm          .10000E-03    4.0128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.6596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    34.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.7364        2.7705        .92975E-04   -1.5152    
   6  Prefactor     .10000E-03    19.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.823        2.8337        .58119E-04   -1.4817    
   8  Prefactor     .10000E-03    8.5969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.977        32.074        .87455E-04   -1.4792    
  10  Prefactor     10.865        7.0542        .12155E-03   -1.5049    
  11  Prefactor     .10000E-03    10.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .73763        3.8687        .26509E-02   -1.5536    
  14  norm          5.3888        3.4229        .13740E-03   -1.5244    
  15  Prefactor     8.7662        6.3850        .13539E-03   -1.5116    
  16  Prefactor     .10000E-03    2.4636        .14738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.951        30.092        .97292E-04   -1.4884    
  18  Prefactor     5.3499        6.7713        .17374E-03   -1.5245    
  19  Prefactor     .10000E-03    1.2358        .10416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     84.423        99.170        .43723E-04   -1.3868    
  21  norm          .10000E-03    3.5091        .17604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.939        .24089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.3181        8.5903        .26934E-03   -1.5403    
  24  Normalizat    .39073        .21315        .46762E-03   -1.1778    
  25  Prefactor     1.3356        .13510        .17797E-03   -.82253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12936e-09
Minuit parameter uncertainties:
  1  2.27117
  2  1.48643e-06
  3  6.32058e-06
  4  0.000127188
  5  2.77059
  6  0.000191442
  7  2.83376
  8  4.46922e-05
  9  32.0999
  10  7.05471
  11  0.000176171
  12  0.00025262
  13  3.37866
  14  3.42302
  15  6.38548
  16  5.06198e-06
  17  30.1191
  18  6.7723
  19  1.96084e-07
  20  99.3654
  21  3.1383e-06
  22  0.000390895
  23  8.59487
  24  0.213594
  25  0.135134
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.087e+01  7.055e+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.336e+00  1.351e-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:  3.907e-01  2.136e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.67
Ra Dec: 321.595 -46.098
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 5.88e-08 +/- 3.82e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.05e-05

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

Saving results to:
/scratch/kocevski/486445/likelihoodResults_494121601_494380801_4FGL_J2126.3-4605_daily_bin983.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) = 9284.94510404
delta logL = 0.00912151463672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9284.94117821
delta logL = 0.0130473372683

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.186       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6444       1.0000          .0000       10.000    
     3 'Normalizat'    .38753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3372       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=   9284.941     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      236 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.185        8.3041        .12555E-03    .10084E-02
   2  Index         2.6445        .58972        .77455E-02    .22687E-03
   3  Normalizat    .38754        .19736        .46945E-03   -.18410E-03
   4  Prefactor     1.3372        .13281        .17788E-03   -.49708E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1855
  Index      = 2.64451
  Normalizat = 0.387543
  Prefactor  = 1.33722
 **********
 **   18 **HESSE 
 **********

 FCN=   9284.941     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.185        7.9841        .50218E-05   -1.5070    
   2  Index         2.6445        .56689        .30982E-03   -.49053    
   3  Normalizat    .38754        .19733        .18778E-04   -1.1795    
   4  Prefactor     1.3372        .13276        .35576E-04   -.82207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8443e-10
Minuit parameter uncertainties:
  1  7.98492
  2  0.568464
  3  0.197683
  4  0.13279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/486445': 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) = 9284.94117816
delta logL = 0.0130473912741

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.019e+01  7.985e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.645e+00  5.685e-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.337e+00  1.328e-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:  3.875e-01  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.69
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 2.64 +/- 0.57
Photon Flux (Free Index): 6.10e-08 +/- 4.07e-08
Energy Flux (Free Index): 1.54e-05 +/- 1.09e-05

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/486445/cmap_HighResolution_494121601_494380801_4FGL_J2126.3-4605_daily_bin983.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='5.88e-08', energy_flux2='1.54e-05', photon_flux_error='3.82e-08', dlogl='1.30e-02', energy_flux='1.61e-05', photon_flux2='6.10e-08', job_status='DONE', time_completed='2021-09-26 13:36:52.316254', photon_index_error2='0.57', photon_index2='2.64', ts='3.67', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='1.09e-05', EG='0.39', time_epoch_completed='1632688612.32', return_code='0', job_id='486445', GAL2='1.34', EG2='0.39', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='4.07e-08', ts2='3.69', photon_index='2.55' WHERE bin_id='983' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:36:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 486445: <4FGL_J2126.3-4605_daily_bin983> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin983> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 13:20:47 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 13:21:53 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:21:53 2021
Terminated at Sun Sep 26 13:36:53 2021
Results reported at Sun Sep 26 13:36:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin983 321.595 -46.0978 494121601 494380801 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 :                                   881.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            966 sec.

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

