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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1108
RA = 321.595, Dec = -46.0978
tmin = 526521601, tmax = 526780801
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='487621', job_status='RUN', time_executed='2021-09-26 13:26:23.770445', time_epoch_executed='1632687983.77' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1108'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/487621

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/487621/ft1_4FGL_J2126.3-4605_daily_bin1108.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/487621/ft2_4FGL_J2126.3-4605_daily_bin1108.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/487621/ft1_4FGL_J2126.3-4605_daily_bin1108.fits outfile=/scratch/kocevski/487621/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1108.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=526521601.0 tmax=526780801.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.39
user 4.15
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/487621/ft1_filtered_4FGL_J2126.3-4605_daily_bin1108.fits" evtable="EVENTS" scfile=/scratch/kocevski/487621/ft2_4FGL_J2126.3-4605_daily_bin1108.fits sctable="SC_DATA" outfile=/scratch/kocevski/487621/ltcube_526521601_526780801_4FGL_J2126.3-4605_daily_bin1108.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/487621/ft2_4FGL_J2126.3-4605_daily_bin1108.fits
.....................!
real 13.40
user 13.05
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/487621/ft1_filtered_4FGL_J2126.3-4605_daily_bin1108.fits evtable="EVENTS" scfile=/scratch/kocevski/487621/ft2_4FGL_J2126.3-4605_daily_bin1108.fits sctable="SC_DATA" expcube=/scratch/kocevski/487621/ltcube_526521601_526780801_4FGL_J2126.3-4605_daily_bin1108.fits outfile=/scratch/kocevski/487621/expmap_526521601_526780801_4FGL_J2126.3-4605_daily_bin1108.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/487621/ltcube_526521601_526780801_4FGL_J2126.3-4605_daily_bin1108.fits
.....................!
real 190.56
user 185.26
sys 4.76

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/487621/ft1_filtered_4FGL_J2126.3-4605_daily_bin1108.fits scfile=/scratch/kocevski/487621/ft2_4FGL_J2126.3-4605_daily_bin1108.fits outfile=/scratch/kocevski/487621/cmap_526521601_526780801_4FGL_J2126.3-4605_daily_bin1108.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.71
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/487621/ft1_filtered_4FGL_J2126.3-4605_daily_bin1108.fits scfile=/scratch/kocevski/487621/ft2_4FGL_J2126.3-4605_daily_bin1108.fits outfile=/scratch/kocevski/487621/cmap_HighResolution_526521601_526780801_4FGL_J2126.3-4605_daily_bin1108.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.57
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/487621/ft1_filtered_4FGL_J2126.3-4605_daily_bin1108.fits evtable="EVENTS" scfile=/scratch/kocevski/487621/ft2_4FGL_J2126.3-4605_daily_bin1108.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/487621/Model_4FGL_J2126.3-4605_daily_bin1108.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/487621/ft1_filtered_4FGL_J2126.3-4605_daily_bin1108.fits.....................!
real 54.03
user 52.72
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5809       1.0000         .10000E-03   10000.    
     2 'norm      '    .16000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.772       1.0000         .10000E-03   10000.    
     7 'norm      '    1.8288       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.775       1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.289       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17302E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.759       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .64026       1.0000         .10000E-03   10000.    
    14 'norm      '    7.3751       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.506       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.5240       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14225       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.4373       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.300       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2044       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .77235       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=   6786.075     FROM MIGRAD    STATUS=CONVERGED    588 CALLS     2927 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5809        2.7325        .83163E-08    .66573E-05
   2  norm          .10000E-03    51.752       -.86063E-05** at limit **
   3  Prefactor     .10000E-03    11.506       -.11384E-06** at limit **
   4  Prefactor     .10000E-03    71.515        .13739E-05** at limit **
   5  Prefactor     .10000E-03    .61296       -.15650E-07** at limit **
   6  Prefactor     19.774        14.282        .10487E-06   -.51106E-05
   7  norm          1.8287        1.5526        .93649E-07    .17439E-05
   8  Prefactor     14.778        27.282        .33443E-06   -.28918E-05
   9  Prefactor     33.294        39.870        .77453E-07   -.49543E-05
  10  Prefactor     .10000E-03    4.9297        .28133E-06** at limit **
  11  Prefactor     24.752        27.526       -.24031E-07   -.25817E-04
  12  Prefactor     .10000E-03    14.831       -.31149E-06** at limit **
  13  Prefactor     .64046        4.7348        .42931E-07    .12690E-04
  14  norm          7.3756        4.2970        .16703E-07   -.36525E-04
  15  Prefactor     14.509        9.1037        .13388E-06   -.11103E-04
  16  Prefactor     .10000E-03    6.4935        .12753E-08** at limit **
  17  Prefactor     .10000E-03    9.3054       -.82265E-08** at limit **
  18  Prefactor     1.5236        6.2880        .15357E-05    .32683E-04
  19  Prefactor     .13850        2.4391       -.39524E-06    .15319E-03
  20  Prefactor     .10000E-03    32.007        .32027E-06** at limit **
  21  norm          3.4385        7.5565        .30730E-06    .74829E-05
  22  Prefactor     .10000E-03    1.2263       -.13976E-07** at limit **
  23  Prefactor     11.302        9.4858        .13617E-06   -.33151E-05
  24  Normalizat    1.2043        .19646       -.10906E-05   -.24826E-04
  25  Prefactor     .77231        .11325        .12372E-06   -.37234E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.58092
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7737
  norm       = 1.82867
  Prefactor  = 14.778
  Prefactor  = 33.2938
  Prefactor  = 0.0001
  Prefactor  = 24.7516
  Prefactor  = 0.0001
  Prefactor  = 0.640458
  norm       = 7.37564
  Prefactor  = 14.5094
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.52359
  Prefactor  = 0.138498
  Prefactor  = 0.0001
  norm       = 3.43846
  Prefactor  = 0.0001
  Prefactor  = 11.3024
  Normalizat = 1.20431
  Prefactor  = 0.772313
 **********
 **   18 **HESSE 
 **********

 FCN=   6786.075     FROM HESSE     STATUS=OK           437 CALLS     3364 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5809        2.7328        .11540E-03   -1.5329    
   2  norm          .10000E-03    51.343        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    72.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    .61849        .62968E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.774        14.286        .45038E-03   -1.4818    
   7  norm          1.8287        1.5455        .89860E-04   -1.5438    
   8  Prefactor     14.778        27.296        .10420E-03   -1.4939    
   9  Prefactor     33.294        39.886        .69451E-04   -1.4553    
  10  Prefactor     .10000E-03    33.344        .34496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.752        27.381        .80504E-04   -1.4713    
  12  Prefactor     .10000E-03    14.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .64046        4.8201        .33437E-03   -1.5548    
  14  norm          7.3756        4.2950        .12254E-03   -1.5165    
  15  Prefactor     14.509        9.1153        .10516E-03   -1.4946    
  16  Prefactor     .10000E-03    6.5507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.3088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.5236        6.3282        .17299E-02   -1.5461    
  19  Prefactor     .13850        27.229        .22415E-02   -1.5634    
  20  Prefactor     .10000E-03    32.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.4385        7.5422        .10908E-02   -1.5337    
  22  Prefactor     .10000E-03    1.2328        .89078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     11.302        9.5252        .11918E-03   -1.5035    
  24  Normalizat    1.2043        .23052        .26131E-03   -.86470    
  25  Prefactor     .77231        .13333        .19841E-03   -1.0076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70076e-10
Minuit parameter uncertainties:
  1  2.73287
  2  3.66453e-05
  3  8.84026e-06
  4  0.00017802
  5  3.86395e-07
  6  14.2883
  7  1.54551
  8  27.3194
  9  39.9178
  10  9.3622e-06
  11  27.3946
  12  3.17517e-06
  13  3.51414
  14  4.29516
  15  9.11618
  16  4.47921e-06
  17  2.24227e-06
  18  6.21109
  19  3.88428
  20  3.19482e-05
  21  7.54425
  22  5.35104e-07
  23  9.52651
  24  0.230712
  25  0.133387
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  9.362e-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:  7.723e-01  1.334e-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.204e+00  2.307e-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: 8.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/487621/likelihoodResults_526521601_526780801_4FGL_J2126.3-4605_daily_bin1108.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) = 6786.07483582
delta logL = -0.000140430331157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6786.07469135
delta logL = 4.03690046369e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93715E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6917       1.0000          .0000       10.000    
     3 'Normalizat'    1.2044       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77226       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=   6785.139     FROM MIGRAD    STATUS=CONVERGED    211 CALLS      394 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25791E-02    .35922E-01    .10402E-02** at limit **
   2  Index         8.1796        3.1343        .22914        .94487E-04
   3  Normalizat    1.1318        .39385E-01    .60634E-01   -.99194E-05
   4  Prefactor     .80133        .24647E-01    .43355E-01   -.27819E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0025791
  Index      = 8.17959
  Normalizat = 1.13176
  Prefactor  = 0.801328
 **********
 **   18 **HESSE 
 **********

 FCN=   6785.139     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      429 TOTAL
                     EDM=   .96E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25791E-02    .10778        .39157E-04   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.1796        8.9897        .97935E-02    .68920    
   3  Normalizat    1.1318        .15726        .26819E-03   -.88738    
   4  Prefactor     .80133        .96752E-01    .19513E-03   -.99679    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.61477e-08
Minuit parameter uncertainties:
  1  0.032693
  2  7.62493
  3  0.157324
  4  0.0967723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/487621': 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): 102
logL (Free Index) = 6785.13866468
delta logL = 0.936030708174

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  2.579e-03  3.269e-02  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  8.180e+00  7.625e+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:  8.013e-01  9.677e-02  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.132e+00  1.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.96
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 8.18 +/- 7.62
Photon Flux (Free Index): 5.34e-08 +/- 5.03e-08
Energy Flux (Free Index): 6.17e-06 +/- 6.43e-06

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/487621/cmap_HighResolution_526521601_526780801_4FGL_J2126.3-4605_daily_bin1108.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-03', comment='SUCCESS', energy_flux2='6.17e-06', dlogl='9.36e-01', photon_flux2='5.34e-08', job_status='DONE', time_completed='2021-09-26 13:38:52.943475', photon_index_error2='7.62', photon_index2='8.18', ts='-0.00', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='8.36e-08', energy_flux_error2='6.43e-06', EG='1.20', time_epoch_completed='1632688732.94', return_code='0', job_id='487621', GAL2='0.80', EG2='1.13', return_code2='102', photon_flux_error2='5.03e-08', ts2='1.96', photon_index='2.55' WHERE bin_id='1108' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:38:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 487621: <4FGL_J2126.3-4605_daily_bin1108> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1108 321.595 -46.0978 526521601 526780801 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 :                                   746.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            810 sec.

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

