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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1060
RA = 321.595, Dec = -46.0978
tmin = 514080001, tmax = 514339201
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='487551', job_status='RUN', time_executed='2021-09-26 13:29:31.279235', time_epoch_executed='1632688171.28' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/487551

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/487551/ft1_4FGL_J2126.3-4605_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/487551/ft2_4FGL_J2126.3-4605_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/487551/ft1_4FGL_J2126.3-4605_daily_bin1060.fits outfile=/scratch/kocevski/487551/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1060.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=514080001.0 tmax=514339201.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.62
user 3.39
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/487551/ft1_filtered_4FGL_J2126.3-4605_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/487551/ft2_4FGL_J2126.3-4605_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/487551/ltcube_514080001_514339201_4FGL_J2126.3-4605_daily_bin1060.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/487551/ft2_4FGL_J2126.3-4605_daily_bin1060.fits
.....................!
real 15.41
user 14.31
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/487551/ft1_filtered_4FGL_J2126.3-4605_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/487551/ft2_4FGL_J2126.3-4605_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/487551/ltcube_514080001_514339201_4FGL_J2126.3-4605_daily_bin1060.fits outfile=/scratch/kocevski/487551/expmap_514080001_514339201_4FGL_J2126.3-4605_daily_bin1060.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/487551/ltcube_514080001_514339201_4FGL_J2126.3-4605_daily_bin1060.fits
.....................!
real 192.62
user 186.77
sys 5.14

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/487551/ft1_filtered_4FGL_J2126.3-4605_daily_bin1060.fits scfile=/scratch/kocevski/487551/ft2_4FGL_J2126.3-4605_daily_bin1060.fits outfile=/scratch/kocevski/487551/cmap_514080001_514339201_4FGL_J2126.3-4605_daily_bin1060.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.64
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/487551/ft1_filtered_4FGL_J2126.3-4605_daily_bin1060.fits scfile=/scratch/kocevski/487551/ft2_4FGL_J2126.3-4605_daily_bin1060.fits outfile=/scratch/kocevski/487551/cmap_HighResolution_514080001_514339201_4FGL_J2126.3-4605_daily_bin1060.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=321.595 yref=-46.0978 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/487551/ft1_filtered_4FGL_J2126.3-4605_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/487551/ft2_4FGL_J2126.3-4605_daily_bin1060.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/487551/Model_4FGL_J2126.3-4605_daily_bin1060.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/487551/ft1_filtered_4FGL_J2126.3-4605_daily_bin1060.fits.....................!
real 51.96
user 50.34
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3989       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.723       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.983       1.0000         .10000E-03   10000.    
     7 'norm      '    2.8681       1.0000         .10000E-03   10000.    
     8 'Prefactor '    34.101       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.983       1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.785       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.455       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.6684       1.0000         .10000E-03   10000.    
    14 'norm      '    4.4652       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3972       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2790       1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.957       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.144       1.0000         .10000E-03   10000.    
    20 'Prefactor '    212.20       1.0000         .10000E-03   10000.    
    21 'norm      '    1.8012       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2900       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .85247       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=   6334.097     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2892 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3988        3.6489        .11936E-06    .80408E-05
   2  norm          .10000E-03    9.5625        .27141E-07** at limit **
   3  Prefactor     .10000E-03    12.963        .88944E-07** at limit **
   4  Prefactor     15.732        47.893       -.22486E-05   -.30137E-04
   5  Prefactor     .10000E-03    1.1844       -.14596E-08** at limit **
   6  Prefactor     31.982        22.896        .24832E-06    .45840E-05
   7  norm          2.8681        1.8525        .51844E-07    .60919E-05
   8  Prefactor     34.101        29.554        .18823E-06    .14210E-05
   9  Prefactor     .10000E-03    29.174       -.13249E-06** at limit **
  10  Prefactor     17.985        13.166       -.22711E-07   -.15906E-04
  11  Prefactor     38.780        42.761        .12943E-06    .34166E-04
  12  Prefactor     23.455        37.058        .21067E-06   -.54092E-05
  13  Prefactor     8.6688        5.8559        .43230E-07   -.18023E-04
  14  norm          4.4655        5.0727        .50869E-06   -.95136E-04
  15  Prefactor     5.3979        9.4123        .11112E-05   -.53640E-04
  16  Prefactor     3.2791        10.185        .39140E-05   -.69791E-04
  17  Prefactor     32.946        42.502        .24011E-05    .58838E-04
  18  Prefactor     .10000E-03    5.1523        .45999E-07** at limit **
  19  Prefactor     12.145        5.6923        .65437E-07   -.96271E-05
  20  Prefactor     212.22        137.14       -.20603E-05   -.35295E-04
  21  norm          1.8011        5.0179        .33024E-06   -.19682E-05
  22  Prefactor     .10000E-03    3.9470       -.88788E-08** at limit **
  23  Prefactor     .10000E-03    28.116        .35118E-06** at limit **
  24  Normalizat    1.2899        .23901        .23368E-06    .53736E-04
  25  Prefactor     .85255        .13693       -.95430E-06   -.79091E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.39882
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.7317
  Prefactor  = 0.0001
  Prefactor  = 31.9823
  norm       = 2.86814
  Prefactor  = 34.1013
  Prefactor  = 0.0001
  Prefactor  = 17.9848
  Prefactor  = 38.78
  Prefactor  = 23.4546
  Prefactor  = 8.66878
  norm       = 4.46546
  Prefactor  = 5.39791
  Prefactor  = 3.27914
  Prefactor  = 32.946
  Prefactor  = 0.0001
  Prefactor  = 12.1447
  Prefactor  = 212.221
  norm       = 1.80109
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.28988
  Prefactor  = 0.852554
 **********
 **   18 **HESSE 
 **********

 FCN=   6334.097     FROM HESSE     STATUS=OK           433 CALLS     3325 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3988        3.6444        .15224E-03   -1.5339    
   2  norm          .10000E-03    9.5748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.732        47.975        .10101E-03   -1.4914    
   5  Prefactor     .10000E-03    1.1988        .84552E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.982        22.908        .70852E-04   -1.4576    
   7  norm          2.8681        1.8512        .83521E-04   -1.5369    
   8  Prefactor     34.101        29.567        .68622E-04   -1.4539    
   9  Prefactor     .10000E-03    29.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.985        13.196        .94447E-04   -1.4860    
  11  Prefactor     38.780        42.763        .64359E-04   -1.4462    
  12  Prefactor     23.455        37.287        .82710E-04   -1.4739    
  13  Prefactor     8.6688        5.8537        .13615E-03   -1.5119    
  14  norm          4.4655        5.0585        .86929E-03   -1.5285    
  15  Prefactor     5.3979        9.3624        .86488E-03   -1.5243    
  16  Prefactor     3.2791        10.174        .11181E-02   -1.5346    
  17  Prefactor     32.946        42.658        .69799E-04   -1.4559    
  18  Prefactor     .10000E-03    5.1604        .17623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.145        5.7031        .11495E-03   -1.5011    
  20  Prefactor     212.22        138.09        .13878E-03   -1.2784    
  21  norm          1.8011        4.9751        .29012E-03   -1.5440    
  22  Prefactor     .10000E-03    4.0319        .15433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    29.322        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2899        .28241        .30239E-03   -.83869    
  25  Prefactor     .85255        .15921        .22074E-03   -.97819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.463e-10
Minuit parameter uncertainties:
  1  3.64464
  2  6.48443e-06
  3  1.85105e-05
  4  48.0931
  5  2.53679e-07
  6  22.9145
  7  1.85125
  8  29.5802
  9  8.01806e-06
  10  13.1978
  11  42.7966
  12  37.3236
  13  5.85405
  14  5.05903
  15  9.36491
  16  10.1795
  17  42.698
  18  5.568e-06
  19  5.70338
  20  138.303
  21  4.97625
  22  1.98047e-06
  23  8.37369e-05
  24  0.282748
  25  0.1593
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.798e+01  1.320e+01  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.526e-01  1.593e-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.290e+00  2.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.50
Ra Dec: 321.595 -46.098
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 9.74e-08 +/- 7.14e-08
Energy Flux (Fixed Index): 2.67e-05 +/- 1.96e-05

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

Saving results to:
/scratch/kocevski/487551/likelihoodResults_514080001_514339201_4FGL_J2126.3-4605_daily_bin1060.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) = 6334.06286198
delta logL = 0.0341196555964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6334.0511108
delta logL = 0.0458708346468

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.814       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7617       1.0000          .0000       10.000    
     3 'Normalizat'    1.2742       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85994       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=   6334.051     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      283 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.808        15.272        .10072E-03    .17180E-03
   2  Index         2.7610        .76658        .77560E-02    .16245E-04
   3  Normalizat    1.2746        .26086        .30386E-03    .34047E-04
   4  Prefactor     .85973        .15606        .21993E-03    .13316E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8081
  Index      = 2.76097
  Normalizat = 1.27461
  Prefactor  = 0.85973
 **********
 **   18 **HESSE 
 **********

 FCN=   6334.051     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.808        14.341        .40287E-05   -1.4913    
   2  Index         2.7610        .71933        .31024E-03   -.46431    
   3  Normalizat    1.2746        .26090        .12154E-04   -.84327    
   4  Prefactor     .85973        .15593        .87971E-05   -.97563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67002e-11
Minuit parameter uncertainties:
  1  14.3436
  2  0.72247
  3  0.261172
  4  0.156015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/487551': 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) = 6334.05110852
delta logL = 0.0458731151521

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.581e+01  1.434e+01  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.761e+00  7.225e-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:  8.597e-01  1.560e-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.275e+00  2.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.61
Ra Dec: 321.595 -46.098
Photon Index (Free Index): 2.76 +/- 0.72
Photon Flux (Free Index): 1.08e-07 +/- 8.01e-08
Energy Flux (Free Index): 2.49e-05 +/- 1.84e-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/487551/cmap_HighResolution_514080001_514339201_4FGL_J2126.3-4605_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.78e-02', comment='SUCCESS', photon_flux='9.74e-08', energy_flux2='2.49e-05', photon_flux_error='7.14e-08', dlogl='4.59e-02', energy_flux='2.67e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-09-26 13:41:12.517727', photon_index_error2='0.72', photon_index2='2.76', ts='2.50', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='2.29e-07', energy_flux_error2='1.84e-05', EG='1.29', time_epoch_completed='1632688872.52', return_code='0', job_id='487551', GAL2='0.86', EG2='1.27', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='8.01e-08', ts2='2.61', photon_index='2.55' WHERE bin_id='1060' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:41:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 487551: <4FGL_J2126.3-4605_daily_bin1060> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1060 321.595 -46.0978 514080001 514339201 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 :                                   699.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            957 sec.

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

