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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1295
RA = 321.595, Dec = -46.0978
tmin = 574992001, tmax = 575251201
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='487902', job_status='RUN', time_executed='2021-09-26 13:29:54.735083', time_epoch_executed='1632688194.74' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1295'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/487902

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/487902/ft1_4FGL_J2126.3-4605_daily_bin1295.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/487902/ft2_4FGL_J2126.3-4605_daily_bin1295.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/487902/ft1_4FGL_J2126.3-4605_daily_bin1295.fits outfile=/scratch/kocevski/487902/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1295.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=574992001.0 tmax=575251201.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 5.45
user 5.11
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/487902/ft1_filtered_4FGL_J2126.3-4605_daily_bin1295.fits" evtable="EVENTS" scfile=/scratch/kocevski/487902/ft2_4FGL_J2126.3-4605_daily_bin1295.fits sctable="SC_DATA" outfile=/scratch/kocevski/487902/ltcube_574992001_575251201_4FGL_J2126.3-4605_daily_bin1295.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/487902/ft2_4FGL_J2126.3-4605_daily_bin1295.fits
.....................!
real 13.50
user 12.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/487902/ft1_filtered_4FGL_J2126.3-4605_daily_bin1295.fits evtable="EVENTS" scfile=/scratch/kocevski/487902/ft2_4FGL_J2126.3-4605_daily_bin1295.fits sctable="SC_DATA" expcube=/scratch/kocevski/487902/ltcube_574992001_575251201_4FGL_J2126.3-4605_daily_bin1295.fits outfile=/scratch/kocevski/487902/expmap_574992001_575251201_4FGL_J2126.3-4605_daily_bin1295.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/487902/ltcube_574992001_575251201_4FGL_J2126.3-4605_daily_bin1295.fits
.....................!
real 190.90
user 186.04
sys 4.15

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/487902/ft1_filtered_4FGL_J2126.3-4605_daily_bin1295.fits scfile=/scratch/kocevski/487902/ft2_4FGL_J2126.3-4605_daily_bin1295.fits outfile=/scratch/kocevski/487902/cmap_574992001_575251201_4FGL_J2126.3-4605_daily_bin1295.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.60
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/487902/ft1_filtered_4FGL_J2126.3-4605_daily_bin1295.fits scfile=/scratch/kocevski/487902/ft2_4FGL_J2126.3-4605_daily_bin1295.fits outfile=/scratch/kocevski/487902/cmap_HighResolution_574992001_575251201_4FGL_J2126.3-4605_daily_bin1295.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.64
user 0.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22355E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.164       1.0000         .10000E-03   10000.    
     4 'Prefactor '    106.74       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1304       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.1575       1.0000         .10000E-03   10000.    
     7 'norm      '    9.9547       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.633       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.853       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.756       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.5042       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .90746E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12387E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11074E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1263       1.0000         .10000E-03   10000.    
    20 'Prefactor '    55.508       1.0000         .10000E-03   10000.    
    21 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.178       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .51695       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3253       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9447.560     FROM MIGRAD    STATUS=CONVERGED     77 CALLS     2471 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18003E-01    2.3151       -.32418E-05    .86001E-03
   2  norm          .10001E-03    3.4097        .59398E-05** at limit **
   3  Prefactor     10.164        1.0057        .65532E-07   -.22238E-03
   4  Prefactor     106.74        1.0345        .57382E-07   -.17800E-02
   5  Prefactor     3.1308        2.3248        .25598E-06    .62346E-03
   6  Prefactor     8.1587        1.0070       -.58914E-07    .76091E-04
   7  norm          9.9551        2.2433        .21907E-06    .16788E-02
   8  Prefactor     15.635        1.0452        .12909E-06   -.59820E-03
   9  Prefactor     .10000E-03    23.155       -.53802E-06** at limit **
  10  Prefactor     13.854        1.2308        .46345E-06   -.31092E-03
  11  Prefactor     .10000E-03    3.7588        .20078E-06** at limit **
  12  Prefactor     11.762        1.2742        .40549E-06   -.12963E-02
  13  Prefactor     .10000E-03    .64778        .33721E-08** at limit **
  14  norm          5.5046        2.1392        .20487E-05    .10695E-01
  15  Prefactor     .10785E-01    4.7809        .94772E-05   -.32506E-02
  16  Prefactor     .10000E-03    2.0031        .41038E-07** at limit **
  17  Prefactor     .10057E-03    66.854       -.20739E-05** at limit **
  18  Prefactor     .10001E-03    4.2743       -.43569E-05** at limit **
  19  Prefactor     1.1258        2.6699        .13099E-05    .71954E-03
  20  Prefactor     55.506        1.1274       -.15301E-06    .23627E-02
  21  norm          .10000E-03    4.2406       -.19184E-05** at limit **
  22  Prefactor     .10000E-03    1.4936       -.20657E-08** at limit **
  23  Prefactor     11.178        1.0066       -.75432E-07   -.13898E-03
  24  Normalizat    .51691        .18717        .83723E-06    .22483E-04
  25  Prefactor     1.3253        .12776       -.44795E-06    .44209E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0180034
  norm       = 0.00010001
  Prefactor  = 10.1643
  Prefactor  = 106.736
  Prefactor  = 3.13078
  Prefactor  = 8.15871
  norm       = 9.95513
  Prefactor  = 15.6352
  Prefactor  = 0.000100001
  Prefactor  = 13.8535
  Prefactor  = 0.0001
  Prefactor  = 11.7616
  Prefactor  = 0.0001
  norm       = 5.50464
  Prefactor  = 0.0107848
  Prefactor  = 0.0001
  Prefactor  = 0.000100575
  Prefactor  = 0.000100006
  Prefactor  = 1.12577
  Prefactor  = 55.5059
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 11.1775
  Normalizat = 0.516912
  Prefactor  = 1.32531
 **********
 **   18 **HESSE 
 **********

 FCN=   9447.560     FROM HESSE     STATUS=OK           491 CALLS     2962 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18003E-01    1.3479        .64749E-01   -1.5681    
   2  norm          .10001E-03    4.7962        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.164        19.846        .31421E-02   -1.5070    
   4  Prefactor     106.74        70.151        .97315E-03   -1.3638    
   5  Prefactor     3.1308        2.3457        .57285E-02   -1.5354    
   6  Prefactor     8.1587        11.053        .35093E-02   -1.5137    
   7  norm          9.9551        2.2606        .31751E-02   -1.5077    
   8  Prefactor     15.635        28.319        .25325E-02   -1.4917    
   9  Prefactor     .10000E-03    23.144        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.854        6.7467        .26904E-02   -1.4963    
  11  Prefactor     .10000E-03    3.7613        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.762        25.088        .29210E-02   -1.5022    
  13  Prefactor     .10000E-03    .64685        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.5046        2.9312        .42814E-02   -1.5239    
  15  Prefactor     .10785E-01    3.8392        .66609E-01   -1.5687    
  16  Prefactor     .10000E-03    1.9972        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10057E-03    67.490        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    4.8968        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.1258        2.7130        .11030E-01   -1.5496    
  20  Prefactor     55.506        59.594        .13460E-02   -1.4217    
  21  norm          .10000E-03    4.3437        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.4696        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     11.178        7.4558        .29957E-02   -1.5039    
  24  Normalizat    .51691        .18903        .91637E-01   -1.1164    
  25  Prefactor     1.3253        .12140        .32182E-01   -.82557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10379e-07
Minuit parameter uncertainties:
  1  0.310693
  2  0.000443622
  3  19.8586
  4  70.2056
  5  2.3458
  6  11.0557
  7  2.26065
  8  28.3435
  9  0.000222547
  10  6.74711
  11  6.90373e-07
  12  25.1102
  13  1.14272e-07
  14  2.93124
  15  0.405097
  16  2.80079e-06
  17  0.0124725
  18  0.000356506
  19  2.71332
  20  59.6585
  21  9.81186e-05
  22  1.24305e-07
  23  7.45643
  24  0.189267
  25  0.121431
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.385e+01  6.747e+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.325e+00  1.214e-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:  5.169e-01  1.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.58
Ra Dec: 321.595 -46.098
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 7.50e-08 +/- 3.65e-08
Energy Flux (Fixed Index): 2.06e-05 +/- 1.00e-05

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) = 9447.01627125
delta logL = 0.543851847147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9447.00996029
delta logL = 0.550162810559

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.682       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0747       1.0000          .0000       10.000    
     3 'Normalizat'    .54768       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3123       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=   9447.010     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      240 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.678        17.900        .25285E-02    .77174E-04
   2  Index         2.0739        .75054        .21882       -.64947E-04
   3  Normalizat    .54769        .17766        .89209E-01    .47810E-04
   4  Prefactor     1.3122        .12065        .32398E-01   -.25282E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6781
  Index      = 2.07392
  Normalizat = 0.547689
  Prefactor  = 1.31225
 **********
 **   18 **HESSE 
 **********

 FCN=   9447.010     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.678        8.1957        .10114E-03   -1.4916    
   2  Index         2.0739        .42462        .77949E-02   -.62515    
   3  Normalizat    .54769        .18760        .39524E-03   -1.1025    
   4  Prefactor     1.3122        .12769        .18088E-03   -.82944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26758e-11
Minuit parameter uncertainties:
  1  8.1963
  2  0.425399
  3  0.187813
  4  0.12772
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/487902': 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) = 9447.00995785
delta logL = 0.55016524587

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.568e+01  8.196e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.074e+00  4.254e-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.312e+00  1.277e-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:  5.477e-01  1.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.64
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 2.07 +/- 0.43
Photon Flux (Free Index): 5.33e-08 +/- 3.58e-08
Energy Flux (Free Index): 3.10e-05 +/- 2.27e-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/487902/cmap_HighResolution_574992001_575251201_4FGL_J2126.3-4605_daily_bin1295.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.50e-08', energy_flux2='3.10e-05', photon_flux_error='3.65e-08', dlogl='5.50e-01', energy_flux='2.06e-05', photon_flux2='5.33e-08', job_status='DONE', time_completed='2021-09-26 13:42:19.547388', photon_index_error2='0.43', photon_index2='2.07', ts='7.58', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', energy_flux_error2='2.27e-05', EG='0.52', time_epoch_completed='1632688939.55', return_code='0', job_id='487902', GAL2='1.31', EG2='0.55', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='3.58e-08', ts2='8.64', photon_index='2.55' WHERE bin_id='1295' 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@bullet0210>
Subject: Job 487902: <4FGL_J2126.3-4605_daily_bin1295> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1295 321.595 -46.0978 574992001 575251201 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 :                                   740.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             253.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            994 sec.

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

