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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin650
RA = 321.595, Dec = -46.0978
tmin = 407808001, tmax = 408067201
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='484947', job_status='RUN', time_executed='2021-09-26 13:17:41.256896', time_epoch_executed='1632687461.26' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484947

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484947/ft1_4FGL_J2126.3-4605_daily_bin650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484947/ft2_4FGL_J2126.3-4605_daily_bin650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484947/ft1_4FGL_J2126.3-4605_daily_bin650.fits outfile=/scratch/kocevski/484947/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin650.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=407808001.0 tmax=408067201.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.25
user 3.87
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484947/ft1_filtered_4FGL_J2126.3-4605_daily_bin650.fits" evtable="EVENTS" scfile=/scratch/kocevski/484947/ft2_4FGL_J2126.3-4605_daily_bin650.fits sctable="SC_DATA" outfile=/scratch/kocevski/484947/ltcube_407808001_408067201_4FGL_J2126.3-4605_daily_bin650.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/484947/ft2_4FGL_J2126.3-4605_daily_bin650.fits
.....................!
real 13.35
user 12.82
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484947/ft1_filtered_4FGL_J2126.3-4605_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/484947/ft2_4FGL_J2126.3-4605_daily_bin650.fits sctable="SC_DATA" expcube=/scratch/kocevski/484947/ltcube_407808001_408067201_4FGL_J2126.3-4605_daily_bin650.fits outfile=/scratch/kocevski/484947/expmap_407808001_408067201_4FGL_J2126.3-4605_daily_bin650.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/484947/ltcube_407808001_408067201_4FGL_J2126.3-4605_daily_bin650.fits
.....................!
real 193.23
user 187.20
sys 5.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/484947/ft1_filtered_4FGL_J2126.3-4605_daily_bin650.fits scfile=/scratch/kocevski/484947/ft2_4FGL_J2126.3-4605_daily_bin650.fits outfile=/scratch/kocevski/484947/cmap_407808001_408067201_4FGL_J2126.3-4605_daily_bin650.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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484947/ft1_filtered_4FGL_J2126.3-4605_daily_bin650.fits scfile=/scratch/kocevski/484947/ft2_4FGL_J2126.3-4605_daily_bin650.fits outfile=/scratch/kocevski/484947/cmap_HighResolution_407808001_408067201_4FGL_J2126.3-4605_daily_bin650.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/484947/ft1_filtered_4FGL_J2126.3-4605_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/484947/ft2_4FGL_J2126.3-4605_daily_bin650.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484947/Model_4FGL_J2126.3-4605_daily_bin650.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/484947/ft1_filtered_4FGL_J2126.3-4605_daily_bin650.fits.....................!
real 64.96
user 63.31
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.328       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.619       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2752       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.6804       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2520       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .55182       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.0663       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.6172       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.334       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.3898       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .17696E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.7642       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.230       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1586       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97756       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=   8568.042     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2903 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5892       -.96724E-08** at limit **
   2  norm          .10000E-03    5.7521        .50536E-06** at limit **
   3  Prefactor     17.333        21.734        .74866E-06    .22445E-03
   4  Prefactor     16.622        60.117        .11476E-05    .35155E-04
   5  Prefactor     6.2758        2.7407        .38011E-07   -.19888E-04
   6  Prefactor     .10000E-03    7.5628        .29342E-06** at limit **
   7  norm          3.6810        2.1030        .63489E-07    .15828E-03
   8  Prefactor     6.2531        13.139        .12657E-06   -.31645E-05
   9  Prefactor     .10000E-03    10.092       -.47024E-06** at limit **
  10  Prefactor     .58985        8.7548        .53762E-05   -.39884E-05
  11  Prefactor     .10000E-03    9.3836        .32425E-06** at limit **
  12  Prefactor     4.0673        15.461        .36292E-06   -.10547E-03
  13  Prefactor     .10000E-03    5.4136       -.60255E-05** at limit **
  14  norm          1.6174        2.8556        .97909E-07    .56663E-04
  15  Prefactor     17.340        10.648        .34967E-06    .17500E-03
  16  Prefactor     .10000E-03    7.4759       -.29130E-07** at limit **
  17  Prefactor     .10004E-03    39.475       -.38179E-05** at limit **
  18  Prefactor     1.3849        2.6636        .17867E-05   -.14345E-02
  19  Prefactor     .10000E-03    1.8078       -.25707E-06** at limit **
  20  Prefactor     .10002E-03    34.073        .27351E-05** at limit **
  21  norm          4.7641        4.4485        .45915E-08    .18914E-04
  22  Prefactor     .10000E-03    1.6613       -.44914E-07** at limit **
  23  Prefactor     11.231        8.5936       -.68128E-07   -.96644E-04
  24  Normalizat    1.1583        .18936       -.70446E-06    .13123E-03
  25  Prefactor     .97766        .11035       -.17431E-06    .34315E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 17.3331
  Prefactor  = 16.6217
  Prefactor  = 6.27583
  Prefactor  = 0.0001
  norm       = 3.68104
  Prefactor  = 6.25307
  Prefactor  = 0.000100001
  Prefactor  = 0.589846
  Prefactor  = 0.0001
  Prefactor  = 4.06728
  Prefactor  = 0.0001
  norm       = 1.61736
  Prefactor  = 17.34
  Prefactor  = 0.0001
  Prefactor  = 0.000100038
  Prefactor  = 1.38487
  Prefactor  = 0.0001
  Prefactor  = 0.000100023
  norm       = 4.76414
  Prefactor  = 0.0001
  Prefactor  = 11.2311
  Normalizat = 1.1583
  Prefactor  = 0.977655
 **********
 **   18 **HESSE 
 **********

 FCN=   8568.042     FROM HESSE     STATUS=OK           433 CALLS     3336 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6179        .11391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.7799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.333        21.798        .96216E-04   -1.4875    
   4  Prefactor     16.622        60.123        .98245E-04   -1.4892    
   5  Prefactor     6.2758        2.7408        .97751E-04   -1.5207    
   6  Prefactor     .10000E-03    7.6055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.6810        2.0996        .94774E-04   -1.5324    
   8  Prefactor     6.2531        13.140        .16054E-03   -1.5208    
   9  Prefactor     .10000E-03    10.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .58985        23.094        .40906E-02   -1.5554    
  11  Prefactor     .10000E-03    9.4145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.0673        15.555        .99973E-03   -1.5305    
  13  Prefactor     .10000E-03    6.6087        .24657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6174        2.8222        .20123E-03   -1.5454    
  15  Prefactor     17.340        10.699        .96198E-04   -1.4875    
  16  Prefactor     .10000E-03    7.5836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10004E-03    41.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.3849        7.8604        .18433E-02   -1.5473    
  19  Prefactor     .10000E-03    4.1297        .24094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    35.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.7641        4.4507        .18425E-03   -1.5271    
  22  Prefactor     .10000E-03    1.6729        .11650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     11.231        8.6268        .11955E-03   -1.5038    
  24  Normalizat    1.1583        .22375        .29632E-03   -.87901    
  25  Prefactor     .97766        .13075        .19753E-03   -.93478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52418e-08
Minuit parameter uncertainties:
  1  1.17996e-06
  2  0.000109016
  3  21.8081
  4  60.3431
  5  2.74082
  6  9.42475e-05
  7  2.09966
  8  13.1461
  9  0.000159313
  10  7.38408
  11  0.000103291
  12  15.5707
  13  8.74033e-05
  14  2.82241
  15  10.7007
  16  2.43375e-05
  17  0.00251361
  18  6.59977
  19  6.39632e-06
  20  0.00179189
  21  4.45101
  22  4.33841e-06
  23  8.62772
  24  0.22393
  25  0.130794
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  5.898e-01  7.384e+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:  9.777e-01  1.308e-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.158e+00  2.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 321.595 -46.098
Photon Flux Upper Limit: 9.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/484947/likelihoodResults_407808001_408067201_4FGL_J2126.3-4605_daily_bin650.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) = 8567.53496151
delta logL = 0.506549386508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8567.45381399
delta logL = 0.587696906006

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1674       1.0000         .10000E-03   10000.    
     2 'Index     '    4.2798       1.0000          .0000       10.000    
     3 'Normalizat'    1.0886       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0015       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=   8567.454     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      227 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1682        17.649        .10632E-01    .12844E-02
   2  Index         4.2794        3.3280        .20360        .12639E-03
   3  Normalizat    1.0886        .41376E-01    .68814E-01    .17203E-04
   4  Prefactor     1.0015        .25714E-01    .45170E-01    .14963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16824
  Index      = 4.27937
  Normalizat = 1.08862
  Prefactor  = 1.00148
 **********
 **   18 **HESSE 
 **********

 FCN=   8567.454     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      260 TOTAL
                     EDM=   .86E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1682        54.023        .93198E-04   -1.5492    
   2  Index         4.2794        6.9542        .81800E-02   -.14463    
   3  Normalizat    1.0886        .20454        .30446E-03   -.90118    
   4  Prefactor     1.0015        .12351        .19541E-03   -.92680    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.57254e-07
Minuit parameter uncertainties:
  1  15.9031
  2  8.9742
  3  0.204687
  4  0.123547
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484947': 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) = 8567.45381367
delta logL = 0.587697224517

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.168e+00  1.590e+01  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  4.279e+00  8.974e+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.001e+00  1.235e-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.089e+00  2.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 4.28 +/- 8.97
Photon Flux (Free Index): 6.00e-08 +/- 7.42e-08
Energy Flux (Free Index): 8.61e-06 +/- 1.88e-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/484947/cmap_HighResolution_407808001_408067201_4FGL_J2126.3-4605_daily_bin650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.46e-03', comment='SUCCESS', energy_flux2='8.61e-06', dlogl='5.88e-01', photon_flux2='6.00e-08', job_status='DONE', time_completed='2021-09-26 13:31:35.345695', photon_index_error2='8.97', photon_index2='4.28', ts='0.01', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='9.57e-08', energy_flux_error2='1.88e-05', EG='1.16', time_epoch_completed='1632688295.35', return_code='0', job_id='484947', GAL2='1.00', EG2='1.09', return_code2='102', photon_flux_error2='7.42e-08', ts2='1.27', photon_index='2.55' WHERE bin_id='650' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:31:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 484947: <4FGL_J2126.3-4605_daily_bin650> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin650> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 26 13:15:47 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 13:17:25 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:17:25 2021
Terminated at Sun Sep 26 13:31:36 2021
Results reported at Sun Sep 26 13:31:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin650 321.595 -46.0978 407808001 408067201 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 :                                   831.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            949 sec.

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

