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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1364
RA = 321.595, Dec = -46.0978
tmin = 592876801, tmax = 593136001
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='488004', job_status='RUN', time_executed='2021-09-26 13:28:34.137094', time_epoch_executed='1632688114.14' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1364'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/488004

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/488004/ft1_4FGL_J2126.3-4605_daily_bin1364.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/488004/ft2_4FGL_J2126.3-4605_daily_bin1364.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/488004/ft1_4FGL_J2126.3-4605_daily_bin1364.fits outfile=/scratch/kocevski/488004/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1364.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=592876801.0 tmax=593136001.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.01
user 3.57
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/488004/ft2_4FGL_J2126.3-4605_daily_bin1364.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/488004/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1364.fits evtable="EVENTS" outfile="/scratch/kocevski/488004/ft1_filtered_4FGL_J2126.3-4605_daily_bin1364.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/488004/ft1_filtered_4FGL_J2126.3-4605_daily_bin1364.fits" evtable="EVENTS" scfile=/scratch/kocevski/488004/ft2_4FGL_J2126.3-4605_daily_bin1364.fits sctable="SC_DATA" outfile=/scratch/kocevski/488004/ltcube_592876801_593136001_4FGL_J2126.3-4605_daily_bin1364.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/488004/ft2_4FGL_J2126.3-4605_daily_bin1364.fits
.....................!
real 14.62
user 14.17
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/488004/ft1_filtered_4FGL_J2126.3-4605_daily_bin1364.fits evtable="EVENTS" scfile=/scratch/kocevski/488004/ft2_4FGL_J2126.3-4605_daily_bin1364.fits sctable="SC_DATA" expcube=/scratch/kocevski/488004/ltcube_592876801_593136001_4FGL_J2126.3-4605_daily_bin1364.fits outfile=/scratch/kocevski/488004/expmap_592876801_593136001_4FGL_J2126.3-4605_daily_bin1364.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/488004/ltcube_592876801_593136001_4FGL_J2126.3-4605_daily_bin1364.fits
.....................!
real 191.52
user 185.53
sys 5.22

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/488004/ft1_filtered_4FGL_J2126.3-4605_daily_bin1364.fits scfile=/scratch/kocevski/488004/ft2_4FGL_J2126.3-4605_daily_bin1364.fits outfile=/scratch/kocevski/488004/cmap_592876801_593136001_4FGL_J2126.3-4605_daily_bin1364.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/488004/ft1_filtered_4FGL_J2126.3-4605_daily_bin1364.fits scfile=/scratch/kocevski/488004/ft2_4FGL_J2126.3-4605_daily_bin1364.fits outfile=/scratch/kocevski/488004/cmap_HighResolution_592876801_593136001_4FGL_J2126.3-4605_daily_bin1364.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/488004/ft1_filtered_4FGL_J2126.3-4605_daily_bin1364.fits evtable="EVENTS" scfile=/scratch/kocevski/488004/ft2_4FGL_J2126.3-4605_daily_bin1364.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/488004/Model_4FGL_J2126.3-4605_daily_bin1364.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/488004/ft1_filtered_4FGL_J2126.3-4605_daily_bin1364.fits.....................!
real 60.89
user 59.39
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5765       1.0000         .10000E-03   10000.    
     2 'norm      '    .10306E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.467       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10654E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    22.101       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7426       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.6670       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .35258       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4511       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4772       1.0000         .10000E-03   10000.    
    14 'norm      '    9.4405       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.1275       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    84.351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11101E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3357       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10494E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.0014       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .69625       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0842       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=   8014.209     FROM MIGRAD    STATUS=CONVERGED    597 CALLS     2945 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5759        3.6774        .10005E-07   -.10916E-03
   2  norm          .10000E-03    10.137       -.65589E-06** at limit **
   3  Prefactor     17.456        27.692        .11668E-06   -.61814E-04
   4  Prefactor     .10000E-03    39.785       -.27852E-06** at limit **
   5  Prefactor     .10000E-03    1.5001       -.85293E-07** at limit **
   6  Prefactor     .10000E-03    8.5071       -.79497E-07** at limit **
   7  norm          22.101        3.2603        .18698E-07    .17336E-03
   8  Prefactor     2.7430        26.842        .31244E-05    .35594E-04
   9  Prefactor     .10000E-03    25.795       -.34502E-06** at limit **
  10  Prefactor     5.6682        7.3184        .14956E-06    .14376E-03
  11  Prefactor     .39185        125.20        .39473E-04   -.83263E-04
  12  Prefactor     1.4520        10.287        .75793E-05   -.26141E-04
  13  Prefactor     3.4796        4.7460        .34254E-06   -.11985E-04
  14  norm          9.4395        4.9794        .14297E-06    .12968E-02
  15  Prefactor     8.1307        7.6079        .55933E-06    .16468E-03
  16  Prefactor     .10000E-03    3.0793       -.29201E-06** at limit **
  17  Prefactor     84.363        41.350        .35235E-06    .23278E-03
  18  Prefactor     .10001E-03    5.3985        .20128E-05** at limit **
  19  Prefactor     3.3369        3.2460        .16582E-06    .63686E-05
  20  Prefactor     .10001E-03    83.478        .18139E-05** at limit **
  21  norm          .10000E-03    3.0386        .45848E-07** at limit **
  22  Prefactor     3.0023        3.2543        .26879E-06    .10565E-03
  23  Prefactor     .10000E-03    7.3346        .69975E-06** at limit **
  24  Normalizat    .69576        .20009       -.38981E-05    .10874E-03
  25  Prefactor     1.0844        .12058        .13910E-05    .87396E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.57589
  norm       = 0.000100001
  Prefactor  = 17.4559
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 22.1013
  Prefactor  = 2.743
  Prefactor  = 0.0001
  Prefactor  = 5.66822
  Prefactor  = 0.391849
  Prefactor  = 1.45199
  Prefactor  = 3.47958
  norm       = 9.43947
  Prefactor  = 8.13067
  Prefactor  = 0.0001
  Prefactor  = 84.3629
  Prefactor  = 0.000100008
  Prefactor  = 3.33685
  Prefactor  = 0.000100013
  norm       = 0.0001
  Prefactor  = 3.00232
  Prefactor  = 0.000100001
  Normalizat = 0.695763
  Prefactor  = 1.08442
 **********
 **   18 **HESSE 
 **********

 FCN=   8014.209     FROM HESSE     STATUS=OK           435 CALLS     3380 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5759        3.6744        .19781E-03   -1.5387    
   2  norm          .10000E-03    10.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.456        27.703        .95833E-04   -1.4872    
   4  Prefactor     .10000E-03    39.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.8779        .21132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.5258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          22.101        3.2606        .58858E-04   -1.4767    
   8  Prefactor     2.7430        29.192        .12292E-02   -1.5377    
   9  Prefactor     .10000E-03    25.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.6682        7.3093        .16874E-03   -1.5232    
  11  Prefactor     .39185        15.164        .10664       -1.5583    
  12  Prefactor     1.4520        26.931        .17881E-02   -1.5467    
  13  Prefactor     3.4796        4.7296        .21076E-03   -1.5335    
  14  norm          9.4395        5.0087        .13043E-03   -1.5093    
  15  Prefactor     8.1307        7.6949        .70316E-03   -1.5138    
  16  Prefactor     .10000E-03    3.0934        .15347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     84.363        41.539        .43738E-04   -1.3868    
  18  Prefactor     .10001E-03    5.6902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3369        3.2424        .15165E-03   -1.5343    
  20  Prefactor     .10001E-03    83.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.0492        .15240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.0023        3.2552        .16168E-03   -1.5361    
  23  Prefactor     .10000E-03    7.5769        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .69576        .22620        .35460E-03   -1.0406    
  25  Prefactor     1.0844        .13899        .19080E-03   -.89966    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62583e-09
Minuit parameter uncertainties:
  1  3.67473
  2  0.000165091
  3  27.7235
  4  0.000179237
  5  1.16761e-05
  6  6.02966e-05
  7  3.26064
  8  17.9076
  9  0.000171732
  10  7.31044
  11  4.87589
  12  12.5126
  13  4.73013
  14  5.0089
  15  7.69588
  16  5.20523e-05
  17  41.5538
  18  0.000421301
  19  3.24262
  20  0.00208735
  21  1.07259e-05
  22  3.25538
  23  0.000197707
  24  0.226499
  25  0.139036
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  5.668e+00  7.310e+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.084e+00  1.390e-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:  6.958e-01  2.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/488004/likelihoodResults_592876801_593136001_4FGL_J2126.3-4605_daily_bin1364.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) = 8013.85809319
delta logL = 0.350979594776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8013.83943861
delta logL = 0.369634178383

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3927       1.0000         .10000E-03   10000.    
     2 'Index     '    4.2075       1.0000          .0000       10.000    
     3 'Normalizat'    .64686       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1069       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=   8013.839     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      262 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3808        18.907        .92030E-02    .97680E-03
   2  Index         4.2142        3.3171        .20409        .11851E-03
   3  Normalizat    .64694        .42966E-01    .82762E-01    .39858E-04
   4  Prefactor     1.1070        .28328E-01    .37329E-01   -.45486E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38075
  Index      = 4.21418
  Normalizat = 0.646942
  Prefactor  = 1.10696
 **********
 **   18 **HESSE 
 **********

 FCN=   8013.839     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      295 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3808        52.248        .89423E-04   -1.5473    
   2  Index         4.2142        6.9810        .75690E-02   -.15782    
   3  Normalizat    .64694        .17797        .36653E-03   -1.0603    
   4  Prefactor     1.1070        .11881        .18905E-03   -.89244    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.90928e-07
Minuit parameter uncertainties:
  1  17.0027
  2  8.55231
  3  0.178126
  4  0.118836
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/488004': 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) = 8013.83943562
delta logL = 0.369637165121

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.381e+00  1.700e+01  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  4.214e+00  8.552e+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:  1.107e+00  1.188e-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:  6.469e-01  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 4.21 +/- 8.55
Photon Flux (Free Index): 6.46e-08 +/- 5.67e-08
Energy Flux (Free Index): 9.36e-06 +/- 1.47e-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/488004/cmap_HighResolution_592876801_593136001_4FGL_J2126.3-4605_daily_bin1364.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.15e-03', comment='SUCCESS', energy_flux2='9.36e-06', dlogl='3.70e-01', photon_flux2='6.46e-08', job_status='DONE', time_completed='2021-09-26 13:42:19.446342', photon_index_error2='8.55', photon_index2='4.21', ts='0.80', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.47e-05', EG='0.70', time_epoch_completed='1632688939.45', return_code='0', job_id='488004', GAL2='1.11', EG2='0.65', return_code2='102', photon_flux_error2='5.67e-08', ts2='1.64', photon_index='2.55' WHERE bin_id='1364' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:42:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 488004: <4FGL_J2126.3-4605_daily_bin1364> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1364 321.595 -46.0978 592876801 593136001 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 :                                   821.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            985 sec.

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

