/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 87 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 = 7474
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1150
RA = 321.595, Dec = -46.0978
tmin = 537408001, tmax = 537667201
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='487683', job_status='RUN', time_executed='2021-09-26 13:27:59.467768', time_epoch_executed='1632688079.47' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/487683

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/487683/ft1_4FGL_J2126.3-4605_daily_bin1150.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/487683/ft2_4FGL_J2126.3-4605_daily_bin1150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/487683/ft1_4FGL_J2126.3-4605_daily_bin1150.fits outfile=/scratch/kocevski/487683/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1150.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=537408001.0 tmax=537667201.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.64
user 4.34
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/487683/ft2_4FGL_J2126.3-4605_daily_bin1150.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/487683/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1150.fits evtable="EVENTS" outfile="/scratch/kocevski/487683/ft1_filtered_4FGL_J2126.3-4605_daily_bin1150.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.52
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/487683/ft1_filtered_4FGL_J2126.3-4605_daily_bin1150.fits" evtable="EVENTS" scfile=/scratch/kocevski/487683/ft2_4FGL_J2126.3-4605_daily_bin1150.fits sctable="SC_DATA" outfile=/scratch/kocevski/487683/ltcube_537408001_537667201_4FGL_J2126.3-4605_daily_bin1150.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/487683/ft2_4FGL_J2126.3-4605_daily_bin1150.fits
.....................!
real 14.81
user 14.34
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/487683/ft1_filtered_4FGL_J2126.3-4605_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/487683/ft2_4FGL_J2126.3-4605_daily_bin1150.fits sctable="SC_DATA" expcube=/scratch/kocevski/487683/ltcube_537408001_537667201_4FGL_J2126.3-4605_daily_bin1150.fits outfile=/scratch/kocevski/487683/expmap_537408001_537667201_4FGL_J2126.3-4605_daily_bin1150.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/487683/ltcube_537408001_537667201_4FGL_J2126.3-4605_daily_bin1150.fits
.....................!
real 191.96
user 186.35
sys 5.17

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/487683/ft1_filtered_4FGL_J2126.3-4605_daily_bin1150.fits scfile=/scratch/kocevski/487683/ft2_4FGL_J2126.3-4605_daily_bin1150.fits outfile=/scratch/kocevski/487683/cmap_537408001_537667201_4FGL_J2126.3-4605_daily_bin1150.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=321.595 yref=-46.0978 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/487683/ft1_filtered_4FGL_J2126.3-4605_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/487683/ft2_4FGL_J2126.3-4605_daily_bin1150.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/487683/Model_4FGL_J2126.3-4605_daily_bin1150.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/487683/ft1_filtered_4FGL_J2126.3-4605_daily_bin1150.fits.....................!
real 49.41
user 47.96
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56791       1.0000         .10000E-03   10000.    
     2 'norm      '    13.117       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16715E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11114E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6559       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10403E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.7763       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7550       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1278       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.8709       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12061E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .64676       1.0000         .10000E-03   10000.    
    14 'norm      '    10.566       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10533E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10703E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.6519       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5879       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.754       1.0000         .10000E-03   10000.    
    21 'norm      '    15.397       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.1391       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.4589       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3567       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98646       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=   5991.867     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2888 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .56866        5.8280        .29839E-04    .40626E-03
   2  norm          13.108        27.907        .19426E-05   -.33169E-04
   3  Prefactor     .10000E-03    49.496        .49883E-06** at limit **
   4  Prefactor     .10000E-03    49.823        .13727E-05** at limit **
   5  Prefactor     3.6548        2.9508        .33900E-06    .21092E-05
   6  Prefactor     .10000E-03    32.827       -.27676E-05** at limit **
   7  norm          5.7758        2.9623        .25352E-06   -.49313E-04
   8  Prefactor     4.7682        23.260        .61612E-06    .38685E-05
   9  Prefactor     3.1101        113.26        .10596E-04   -.12917E-04
  10  Prefactor     .10000E-03    5.0592       -.30086E-07** at limit **
  11  Prefactor     6.8592        40.177        .47701E-05   -.68909E-05
  12  Prefactor     .10000E-03    27.864        .34599E-05** at limit **
  13  Prefactor     .64600        2.1852        .24012E-06   -.21950E-03
  14  norm          10.566        6.0314        .56584E-07   -.65384E-04
  15  Prefactor     .10000E-03    8.8738        .19694E-06** at limit **
  16  Prefactor     .10000E-03    5.7685        .16469E-06** at limit **
  17  Prefactor     .10000E-03    32.414       -.37256E-05** at limit **
  18  Prefactor     9.6571        8.9676       -.39619E-05   -.63186E-03
  19  Prefactor     2.5877        4.2296        .21797E-05   -.31539E-03
  20  Prefactor     12.392        286.50        .93895E-04   -.15750E-03
  21  norm          15.400        11.996       -.89572E-06   -.15682E-03
  22  Prefactor     2.1374        3.4868        .16294E-05    .29922E-04
  23  Prefactor     4.4588        9.3967       -.15651E-05   -.19201E-03
  24  Normalizat    1.3567        .23859        .45136E-05   -.56622E-04
  25  Prefactor     .98645        .14653       -.74465E-05   -.22613E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.56866
  norm       = 13.1077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.65481
  Prefactor  = 0.0001
  norm       = 5.77577
  Prefactor  = 4.76825
  Prefactor  = 3.11011
  Prefactor  = 0.0001
  Prefactor  = 6.85922
  Prefactor  = 0.0001
  Prefactor  = 0.645998
  norm       = 10.5661
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.65715
  Prefactor  = 2.5877
  Prefactor  = 12.3922
  norm       = 15.4001
  Prefactor  = 2.13739
  Prefactor  = 4.45876
  Normalizat = 1.35669
  Prefactor  = 0.986448
 **********
 **   18 **HESSE 
 **********

 FCN=   5991.867     FROM HESSE     STATUS=OK           431 CALLS     3319 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .56866        5.8371        .17659E-02   -1.5557    
   2  norm          13.108        27.937        .11060E-03   -1.4984    
   3  Prefactor     .10000E-03    49.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    49.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.6548        2.9461        .11541E-03   -1.5326    
   6  Prefactor     .10000E-03    33.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.7758        2.9631        .89828E-04   -1.5227    
   8  Prefactor     4.7682        23.280        .18452E-03   -1.5271    
   9  Prefactor     3.1101        113.93        .22924E-03   -1.5355    
  10  Prefactor     .10000E-03    5.0824        .16998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.8592        40.101        .15306E-03   -1.5184    
  12  Prefactor     .10000E-03    28.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .64600        2.3159        .20279E-02   -1.5547    
  14  norm          10.566        6.0201        .12326E-03   -1.5058    
  15  Prefactor     .10000E-03    9.0391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.8762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    32.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.6571        8.9624        .12899E-03   -1.5086    
  19  Prefactor     2.5877        4.2396        .97131E-03   -1.5386    
  20  Prefactor     12.392        290.00        .11216E-03   -1.5004    
  21  norm          15.400        11.993        .10207E-03   -1.4923    
  22  Prefactor     2.1374        3.4711        .89632E-03   -1.5416    
  23  Prefactor     4.4588        9.4176        .19069E-03   -1.5286    
  24  Normalizat    1.3567        .28045        .29849E-03   -.81890    
  25  Prefactor     .98645        .17158        .21508E-03   -.93183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58836e-08
Minuit parameter uncertainties:
  1  3.64395
  2  27.9653
  3  0.000287825
  4  4.07941e-06
  5  2.94618
  6  0.00019285
  7  2.96318
  8  21.0847
  9  37.7249
  10  1.16989e-06
  11  33.2035
  12  0.000134264
  13  2.3162
  14  6.02045
  15  4.93908e-05
  16  1.31694e-05
  17  0.000217827
  18  8.96365
  19  4.24008
  20  120.559
  21  11.9944
  22  3.47146
  23  9.42076
  24  0.280764
  25  0.171673
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  1.170e-06  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.864e-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:  1.357e+00  2.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 321.595 -46.098
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/487683/likelihoodResults_537408001_537667201_4FGL_J2126.3-4605_daily_bin1150.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) = 5991.86796843
delta logL = -0.000937013217481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5991.86703147
delta logL = -5.19730747328e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5598       1.0000          .0000       10.000    
     3 'Normalizat'    1.3566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98649       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=   5991.860     FROM MIGRAD    STATUS=CONVERGED    168 CALLS      321 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18856E-01    1.7056        .12386E-01   -.30078E-03
   2  Index         5.7356        7.8228        .36349        .58038E-05
   3  Normalizat    1.3470        .28166E-01    .29848E-03    .33099E-04
   4  Prefactor     .98998        .17593E-01    .21508E-03   -.46832E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0188564
  Index      = 5.73557
  Normalizat = 1.34704
  Prefactor  = 0.989977
 **********
 **   18 **HESSE 
 **********

 FCN=   5991.860     FROM HESSE     STATUS=OK            31 CALLS      352 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18856E-01    .93201        .43581E-03   -1.5735    
   2  Index         5.7356        7.8513        .25500E-01    .14765    
   3  Normalizat    1.3470        .27451        .11939E-04   -.82173    
   4  Prefactor     .98998        .16818        .86032E-05   -.93064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70735e-10
Minuit parameter uncertainties:
  1  0.264438
  2  7.93014
  3  0.274806
  4  0.168273
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/487683': 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) = 5991.86025143
delta logL = 0.00677999331765

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.886e-02  2.644e-01  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  5.736e+00  7.930e+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.900e-01  1.683e-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.347e+00  2.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/487683/cmap_HighResolution_537408001_537667201_4FGL_J2126.3-4605_daily_bin1150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.91e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-26 13:39:22.395332', job_id='487683', GAL2='0.99', fit_tolerance='1e-08', EG2='1.35', EG='1.36', time_epoch_completed='1632688762.4', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='6.78e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1150' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:39:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 487683: <4FGL_J2126.3-4605_daily_bin1150> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin1150> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 13:25:27 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 13:26:18 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:26:18 2021
Terminated at Sun Sep 26 13:39:23 2021
Results reported at Sun Sep 26 13:39:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1150 321.595 -46.0978 537408001 537667201 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 :                                   681.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            836 sec.

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

