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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin492
RA = 321.595, Dec = -46.0978
tmin = 366854401, tmax = 367113601
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='484714', job_status='RUN', time_executed='2021-09-26 13:18:14.047360', time_epoch_executed='1632687494.05' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='492'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484714

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484714/ft1_4FGL_J2126.3-4605_daily_bin492.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484714/ft2_4FGL_J2126.3-4605_daily_bin492.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484714/ft1_4FGL_J2126.3-4605_daily_bin492.fits outfile=/scratch/kocevski/484714/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin492.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=366854401.0 tmax=367113601.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 7.25
user 5.12
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484714/ft1_filtered_4FGL_J2126.3-4605_daily_bin492.fits" evtable="EVENTS" scfile=/scratch/kocevski/484714/ft2_4FGL_J2126.3-4605_daily_bin492.fits sctable="SC_DATA" outfile=/scratch/kocevski/484714/ltcube_366854401_367113601_4FGL_J2126.3-4605_daily_bin492.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/484714/ft2_4FGL_J2126.3-4605_daily_bin492.fits
.....................!
real 14.61
user 14.21
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484714/ft1_filtered_4FGL_J2126.3-4605_daily_bin492.fits evtable="EVENTS" scfile=/scratch/kocevski/484714/ft2_4FGL_J2126.3-4605_daily_bin492.fits sctable="SC_DATA" expcube=/scratch/kocevski/484714/ltcube_366854401_367113601_4FGL_J2126.3-4605_daily_bin492.fits outfile=/scratch/kocevski/484714/expmap_366854401_367113601_4FGL_J2126.3-4605_daily_bin492.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/484714/ltcube_366854401_367113601_4FGL_J2126.3-4605_daily_bin492.fits
.....................!
real 190.64
user 185.66
sys 4.43

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/484714/ft1_filtered_4FGL_J2126.3-4605_daily_bin492.fits scfile=/scratch/kocevski/484714/ft2_4FGL_J2126.3-4605_daily_bin492.fits outfile=/scratch/kocevski/484714/cmap_366854401_367113601_4FGL_J2126.3-4605_daily_bin492.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.57
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484714/ft1_filtered_4FGL_J2126.3-4605_daily_bin492.fits scfile=/scratch/kocevski/484714/ft2_4FGL_J2126.3-4605_daily_bin492.fits outfile=/scratch/kocevski/484714/cmap_HighResolution_366854401_367113601_4FGL_J2126.3-4605_daily_bin492.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.63
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/484714/ft1_filtered_4FGL_J2126.3-4605_daily_bin492.fits evtable="EVENTS" scfile=/scratch/kocevski/484714/ft2_4FGL_J2126.3-4605_daily_bin492.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484714/Model_4FGL_J2126.3-4605_daily_bin492.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/484714/ft1_filtered_4FGL_J2126.3-4605_daily_bin492.fits.....................!
real 51.14
user 49.51
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96789       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    69.510       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4941       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8134       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7294       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.200       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.6295       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.850       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4143       1.0000         .10000E-03   10000.    
    14 'norm      '    .25012       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.2767       1.0000         .10000E-03   10000.    
    17 'Prefactor '    33.032       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.717       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .40728E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.9547       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2340       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1411       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=   6365.981     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2974 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96719        2.5761        .82479E-06    .24724E-03
   2  norm          .10000E-03    6.5152        .68098E-07** at limit **
   3  Prefactor     .10000E-03    12.225       -.12089E-06** at limit **
   4  Prefactor     69.513        72.102        .85091E-06    .17300E-04
   5  Prefactor     2.4942        2.3289       -.20172E-07   -.76411E-04
   6  Prefactor     3.8126        14.250        .84911E-05   -.32013E-03
   7  norm          1.7294        2.0459        .11968E-06   -.18173E-03
   8  Prefactor     .10000E-03    53.277        .52691E-06** at limit **
   9  Prefactor     36.200        46.869       -.12009E-06   -.13304E-04
  10  Prefactor     7.6303        9.7942        .27762E-05   -.44749E-03
  11  Prefactor     16.853        28.088       -.26823E-06    .13520E-04
  12  Prefactor     .10000E-03    13.510        .31648E-06** at limit **
  13  Prefactor     3.4154        4.4428        .37743E-06    .12748E-03
  14  norm          .25161        2.2086        .20582E-06   -.30434E-03
  15  Prefactor     .10000E-03    20.539       -.77364E-07** at limit **
  16  Prefactor     8.2778        8.8141        .11219E-05   -.23194E-03
  17  Prefactor     33.039        42.572        .18059E-05    .15300E-03
  18  Prefactor     14.700        13.335       -.16066E-06    .29377E-03
  19  Prefactor     .10000E-03    3.0761        .69207E-07** at limit **
  20  Prefactor     .10073E-03    370.98       -.40411E-04** at limit **
  21  norm          2.9541        6.1957        .26199E-06   -.23309E-04
  22  Prefactor     .10000E-03    4.7519        .10662E-06** at limit **
  23  Prefactor     .10000E-03    20.060       -.16071E-07** at limit **
  24  Normalizat    1.2339        .24613       -.26042E-05    .43122E-04
  25  Prefactor     1.1412        .14683       -.25804E-07   -.58687E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.967187
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 69.5129
  Prefactor  = 2.49418
  Prefactor  = 3.81256
  norm       = 1.72943
  Prefactor  = 0.0001
  Prefactor  = 36.2001
  Prefactor  = 7.63026
  Prefactor  = 16.8526
  Prefactor  = 0.0001
  Prefactor  = 3.41539
  norm       = 0.251613
  Prefactor  = 0.0001
  Prefactor  = 8.27785
  Prefactor  = 33.0388
  Prefactor  = 14.7004
  Prefactor  = 0.0001
  Prefactor  = 0.000100734
  norm       = 2.9541
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23387
  Prefactor  = 1.14121
 **********
 **   18 **HESSE 
 **********

 FCN=   6365.981     FROM HESSE     STATUS=OK           431 CALLS     3405 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96719        2.2741        .20502E-02   -1.5511    
   2  norm          .10000E-03    6.5170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     69.513        72.107        .48146E-04   -1.4039    
   5  Prefactor     2.4942        2.3240        .11388E-03   -1.5392    
   6  Prefactor     3.8126        14.581        .10335E-02   -1.5317    
   7  norm          1.7294        2.0267        .11770E-03   -1.5445    
   8  Prefactor     .10000E-03    53.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.200        46.869        .66609E-04   -1.4504    
  10  Prefactor     7.6303        9.8977        .72592E-03   -1.5155    
  11  Prefactor     16.853        27.987        .97571E-04   -1.4887    
  12  Prefactor     .10000E-03    13.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.4154        4.4316        .18336E-03   -1.5338    
  14  norm          .25161        4.7321        .22900E-02   -1.5608    
  15  Prefactor     .10000E-03    21.069        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.2778        8.8206        .69675E-03   -1.5132    
  17  Prefactor     33.039        42.707        .69720E-04   -1.4558    
  18  Prefactor     14.700        13.403        .10441E-03   -1.4941    
  19  Prefactor     .10000E-03    3.1203        .13656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10073E-03    429.82        .21255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.9541        6.1756        .23626E-03   -1.5364    
  22  Prefactor     .10000E-03    4.8208        .16978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    20.877        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2339        .28515        .31949E-03   -.85563    
  25  Prefactor     1.1412        .17088        .20662E-03   -.88160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00564e-08
Minuit parameter uncertainties:
  1  2.27435
  2  7.33236e-06
  3  1.94673e-05
  4  72.1977
  5  2.32404
  6  14.5946
  7  2.02675
  8  0.000178232
  9  46.9171
  10  9.89984
  11  28.0091
  12  5.17702e-05
  13  4.43207
  14  2.18212
  15  1.72263e-05
  16  8.82194
  17  42.7463
  18  13.4056
  19  9.47877e-06
  20  0.0357824
  21  6.17688
  22  1.54543e-05
  23  3.63361e-05
  24  0.285507
  25  0.170967
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  7.630e+00  9.900e+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.141e+00  1.710e-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.234e+00  2.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/484714/likelihoodResults_366854401_367113601_4FGL_J2126.3-4605_daily_bin492.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) = 6365.74684717
delta logL = 0.234562740799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6365.74153219
delta logL = 0.239877723938

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5373       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2205       1.0000          .0000       10.000    
     3 'Normalizat'    1.2044       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1521       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=   6365.742     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      230 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5472        137.14        .42684E-02    .41480E-03
   2  Index         3.2197        6.6058        .21645        .83383E-04
   3  Normalizat    1.2050        .74291E-01    .72911E-01    .68096E-04
   4  Prefactor     1.1517        .45415E-01    .35876E-01    .15238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.54724
  Index      = 3.21967
  Normalizat = 1.20499
  Prefactor  = 1.1517
 **********
 **   18 **HESSE 
 **********

 FCN=   6365.742     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5472        9.3113        .17074E-03   -1.5237    
   2  Index         3.2197        1.1885        .87033E-02   -.36406    
   3  Normalizat    1.2050        .27301        .32265E-03   -.86449    
   4  Prefactor     1.1517        .16825        .20577E-03   -.87831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89864e-11
Minuit parameter uncertainties:
  1  9.31369
  2  1.20172
  3  0.273331
  4  0.168329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484714': 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) = 6365.74152873
delta logL = 0.239881184512

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  5.547e+00  9.314e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  3.220e+00  1.202e+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.152e+00  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.205e+00  2.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.24
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 3.22 +/- 1.20
Photon Flux (Free Index): 6.68e-08 +/- 6.88e-08
Energy Flux (Free Index): 1.21e-05 +/- 1.26e-05

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/484714/cmap_HighResolution_366854401_367113601_4FGL_J2126.3-4605_daily_bin492.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='2.40e-01', photon_flux2='6.68e-08', job_status='DONE', time_completed='2021-09-26 13:30:17.467133', photon_index_error2='1.20', photon_index2='3.22', ts='0.74', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.56e-07', energy_flux_error2='1.26e-05', EG='1.23', time_epoch_completed='1632688217.47', return_code='0', job_id='484714', GAL2='1.15', EG2='1.20', return_code2='0', photon_flux_error2='6.88e-08', ts2='1.24', photon_index='2.55' WHERE bin_id='492' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:30:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 484714: <4FGL_J2126.3-4605_daily_bin492> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin492> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 26 13:15:28 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 13:16:03 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:16:03 2021
Terminated at Sun Sep 26 13:30:18 2021
Results reported at Sun Sep 26 13:30:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin492 321.595 -46.0978 366854401 367113601 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 :                                   718.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            890 sec.

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

