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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin586
RA = 321.595, Dec = -46.0978
tmin = 391219201, tmax = 391478401
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='484853', job_status='RUN', time_executed='2021-09-26 13:18:08.365168', time_epoch_executed='1632687488.37' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='586'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484853

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484853/ft1_4FGL_J2126.3-4605_daily_bin586.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484853/ft2_4FGL_J2126.3-4605_daily_bin586.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484853/ft1_4FGL_J2126.3-4605_daily_bin586.fits outfile=/scratch/kocevski/484853/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin586.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=391219201.0 tmax=391478401.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 3.51
user 3.16
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484853/ft1_filtered_4FGL_J2126.3-4605_daily_bin586.fits" evtable="EVENTS" scfile=/scratch/kocevski/484853/ft2_4FGL_J2126.3-4605_daily_bin586.fits sctable="SC_DATA" outfile=/scratch/kocevski/484853/ltcube_391219201_391478401_4FGL_J2126.3-4605_daily_bin586.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/484853/ft2_4FGL_J2126.3-4605_daily_bin586.fits
.....................!
real 14.77
user 14.22
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484853/ft1_filtered_4FGL_J2126.3-4605_daily_bin586.fits evtable="EVENTS" scfile=/scratch/kocevski/484853/ft2_4FGL_J2126.3-4605_daily_bin586.fits sctable="SC_DATA" expcube=/scratch/kocevski/484853/ltcube_391219201_391478401_4FGL_J2126.3-4605_daily_bin586.fits outfile=/scratch/kocevski/484853/expmap_391219201_391478401_4FGL_J2126.3-4605_daily_bin586.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/484853/ltcube_391219201_391478401_4FGL_J2126.3-4605_daily_bin586.fits
.....................!
real 193.16
user 186.27
sys 4.46

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/484853/ft1_filtered_4FGL_J2126.3-4605_daily_bin586.fits scfile=/scratch/kocevski/484853/ft2_4FGL_J2126.3-4605_daily_bin586.fits outfile=/scratch/kocevski/484853/cmap_391219201_391478401_4FGL_J2126.3-4605_daily_bin586.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.61
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484853/ft1_filtered_4FGL_J2126.3-4605_daily_bin586.fits scfile=/scratch/kocevski/484853/ft2_4FGL_J2126.3-4605_daily_bin586.fits outfile=/scratch/kocevski/484853/cmap_HighResolution_391219201_391478401_4FGL_J2126.3-4605_daily_bin586.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.62
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46228E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    7.4467       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.4296       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.2412       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.364       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1831       1.0000         .10000E-03   10000.    
    14 'norm      '    5.3168       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .84726       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.787       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4799       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    77.212       1.0000         .10000E-03   10000.    
    21 'norm      '    3.4977       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.4958       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3997       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .82353       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=   6588.752     FROM MIGRAD    STATUS=CONVERGED    626 CALLS     2579 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37318E-01    2.3342        .36963E-07   -.34293E-04
   2  norm          7.4460        11.416        .21576E-06    .14495E-05
   3  Prefactor     .10000E-03    20.268       -.14321E-05** at limit **
   4  Prefactor     .10000E-03    49.511       -.39071E-06** at limit **
   5  Prefactor     3.4298        2.6356        .40768E-07    .22658E-04
   6  Prefactor     .10000E-03    6.3850        .63794E-08** at limit **
   7  norm          4.2410        2.0914        .23722E-07    .48035E-04
   8  Prefactor     .10000E-03    14.091        .10048E-05** at limit **
   9  Prefactor     .10000E-03    24.917        .13471E-05** at limit **
  10  Prefactor     .10000E-03    3.4835       -.32140E-07** at limit **
  11  Prefactor     .10000E-03    8.7778       -.16298E-06** at limit **
  12  Prefactor     14.364        26.424       -.22305E-05   -.96645E-04
  13  Prefactor     2.1834        2.7747        .97708E-07    .70249E-04
  14  norm          5.3171        4.3185       -.14591E-08   -.57025E-05
  15  Prefactor     .78519        5.8672       -.56383E-06    .48939E-04
  16  Prefactor     11.800        10.716        .18436E-07    .26901E-04
  17  Prefactor     .10000E-03    11.240       -.17145E-05** at limit **
  18  Prefactor     3.4811        5.5686        .22134E-05   -.19305E-03
  19  Prefactor     .10000E-03    1.7639        .34976E-07** at limit **
  20  Prefactor     77.211        69.579       -.10668E-05   -.95933E-05
  21  norm          3.4978        3.6644       -.61862E-06    .12617E-03
  22  Prefactor     3.4961        3.9874        .40793E-07   -.53865E-04
  23  Prefactor     .10000E-03    10.187        .69856E-06** at limit **
  24  Normalizat    1.3999        .20659       -.90998E-06   -.37929E-04
  25  Prefactor     .82340        .12369        .61343E-06    .34665E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0373184
  norm       = 7.44598
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.42979
  Prefactor  = 0.0001
  norm       = 4.24099
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.3643
  Prefactor  = 2.18341
  norm       = 5.31712
  Prefactor  = 0.785187
  Prefactor  = 11.8005
  Prefactor  = 0.0001
  Prefactor  = 3.48109
  Prefactor  = 0.0001
  Prefactor  = 77.2109
  norm       = 3.49779
  Prefactor  = 3.49607
  Prefactor  = 0.0001
  Normalizat = 1.39986
  Prefactor  = 0.823401
 **********
 **   18 **HESSE 
 **********

 FCN=   6588.752     FROM HESSE     STATUS=OK           439 CALLS     3018 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37318E-01    4.9585        .41774E-01   -1.5669    
   2  norm          7.4460        11.416        .73485E-03   -1.5162    
   3  Prefactor     .10000E-03    20.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    49.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4298        2.6327        .11166E-03   -1.5338    
   6  Prefactor     .10000E-03    6.3919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.2410        2.0909        .78879E-04   -1.5296    
   8  Prefactor     .10000E-03    14.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.5028        .14792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.7869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.364        26.621        .10568E-03   -1.4950    
  13  Prefactor     2.1834        2.7636        .14744E-03   -1.5412    
  14  norm          5.3171        4.3158        .14669E-03   -1.5247    
  15  Prefactor     .78519        33.822        .34991E-02   -1.5531    
  16  Prefactor     11.800        10.741        .11668E-03   -1.5021    
  17  Prefactor     .10000E-03    11.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.4811        5.6150        .10838E-02   -1.5335    
  19  Prefactor     .10000E-03    1.7829        .10524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     77.211        69.663        .45699E-04   -1.3948    
  21  norm          3.4978        3.6728        .77720E-03   -1.5334    
  22  Prefactor     3.4961        3.9914        .16690E-03   -1.5334    
  23  Prefactor     .10000E-03    10.465        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3999        .24076        .26854E-03   -.80633    
  25  Prefactor     .82340        .14407        .21345E-03   -.98871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71524e-10
Minuit parameter uncertainties:
  1  0.859249
  2  11.4198
  3  0.000125995
  4  6.64499e-05
  5  2.63281
  6  1.04056e-06
  7  2.09094
  8  6.33469e-05
  9  0.000176531
  10  2.62618e-06
  11  9.19157e-06
  12  26.6434
  13  2.76372
  14  4.31609
  15  10.3122
  16  10.7424
  17  0.000108318
  18  5.61582
  19  2.15679e-06
  20  69.7366
  21  3.67308
  22  3.99168
  23  1.49995e-05
  24  0.240952
  25  0.144136
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  2.626e-06  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.554e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  8.234e-01  1.441e-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.400e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/484853/likelihoodResults_391219201_391478401_4FGL_J2126.3-4605_daily_bin586.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) = 6588.75366239
delta logL = -0.00135839959603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6588.75230441
delta logL = -4.17131559516e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5561       1.0000          .0000       10.000    
     3 'Normalizat'    1.3998       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82346       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6588.752     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      244 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    484.36        .14794E-02** at limit **
   2  Index         2.6567        8.6694        .50000       -.11005E-06
   3  Normalizat    1.3999        .77490E-01    .26854E-03   -.23195E-03
   4  Prefactor     .82340        .48861E-01    .21345E-03   -.30143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.65666
  Normalizat = 1.39986
  Prefactor  = 0.8234
 **********
 **   18 **HESSE 
 **********

 FCN=   6588.752     FROM HESSE     STATUS=OK            29 CALLS      273 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2235        .29588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6567        7.2187        .50000       -.48778    
   3  Normalizat    1.3999        .22498        .53708E-04   -.80633    
   4  Prefactor     .82340        .14225        .42690E-04   -.98871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.99962e-11
Minuit parameter uncertainties:
  1  2.36086e-05
  2  273.457
  3  0.225141
  4  0.142313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484853': 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) = 6588.75230394
delta logL = 5.13427949045e-08

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  2.361e-05  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.657e+00  2.735e+02  0.000e+00  1.000e+01 (-1.000e+00)
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  8.234e-01  1.423e-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.400e+00  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 321.595 -46.098

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/484853/cmap_HighResolution_391219201_391478401_4FGL_J2126.3-4605_daily_bin586.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2021-09-26 13:29:40.437285', job_id='484853', GAL2='0.82', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1632688180.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='5.13e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='586' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:29:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 484853: <4FGL_J2126.3-4605_daily_bin586> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin586 321.595 -46.0978 391219201 391478401 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 :                                   683.03 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            841 sec.

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

