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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1275
RA = 321.595, Dec = -46.0978
tmin = 569808001, tmax = 570067201
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='487873', job_status='RUN', time_executed='2021-09-26 13:31:04.665732', time_epoch_executed='1632688264.67' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/487873

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/487873/ft1_4FGL_J2126.3-4605_daily_bin1275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/487873/ft2_4FGL_J2126.3-4605_daily_bin1275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/487873/ft1_4FGL_J2126.3-4605_daily_bin1275.fits outfile=/scratch/kocevski/487873/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1275.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=569808001.0 tmax=570067201.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.65
user 3.34
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/487873/ft1_filtered_4FGL_J2126.3-4605_daily_bin1275.fits" evtable="EVENTS" scfile=/scratch/kocevski/487873/ft2_4FGL_J2126.3-4605_daily_bin1275.fits sctable="SC_DATA" outfile=/scratch/kocevski/487873/ltcube_569808001_570067201_4FGL_J2126.3-4605_daily_bin1275.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/487873/ft2_4FGL_J2126.3-4605_daily_bin1275.fits
.....................!
real 15.41
user 15.00
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/487873/ft1_filtered_4FGL_J2126.3-4605_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/487873/ft2_4FGL_J2126.3-4605_daily_bin1275.fits sctable="SC_DATA" expcube=/scratch/kocevski/487873/ltcube_569808001_570067201_4FGL_J2126.3-4605_daily_bin1275.fits outfile=/scratch/kocevski/487873/expmap_569808001_570067201_4FGL_J2126.3-4605_daily_bin1275.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/487873/ltcube_569808001_570067201_4FGL_J2126.3-4605_daily_bin1275.fits
.....................!
real 193.51
user 187.37
sys 5.34

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/487873/ft1_filtered_4FGL_J2126.3-4605_daily_bin1275.fits scfile=/scratch/kocevski/487873/ft2_4FGL_J2126.3-4605_daily_bin1275.fits outfile=/scratch/kocevski/487873/cmap_569808001_570067201_4FGL_J2126.3-4605_daily_bin1275.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=321.595 yref=-46.0978 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.60
user 0.39
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1058       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 '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2654       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.9448       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7678       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .91475E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10386E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7925       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.734       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.055       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.3376       1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.723       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3648       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .82493       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6332.492     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     2102 TOTAL
                     EDM=   .66E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1053        3.0617        .40408E-06    .78094E-05
   2  norm          .10000E-03    6.5451        .51117E-06** at limit **
   3  Prefactor     .10001E-03    8.6509       -.16516E-06** at limit **
   4  Prefactor     .10000E-03    58.478        .30074E-05** at limit **
   5  Prefactor     1.2654        1.5059       -.67385E-07   -.74722E-05
   6  Prefactor     .10000E-03    12.717        .83728E-06** at limit **
   7  norm          1.9444        2.0910        .28520E-06    .14001E-04
   8  Prefactor     .10001E-03    9.3263        .29396E-06** at limit **
   9  Prefactor     .10000E-03    19.308        .10051E-05** at limit **
  10  Prefactor     1.7684        4.1011        .36051E-06    .94429E-05
  11  Prefactor     .10000E-03    15.239       -.63176E-06** at limit **
  12  Prefactor     .10000E-03    1091.7       -.97207E-05** at limit **
  13  Prefactor     .10000E-03    103.11        .19332E-05** at limit **
  14  norm          .10000E-03    5.3294       -.33846E-06** at limit **
  15  Prefactor     3.7894        6.6219        .58431E-06    .68483E-04
  16  Prefactor     .10000E-03    7.1717       -.14400E-06** at limit **
  17  Prefactor     20.735        1.1104       -.14003E-07    .25296E-03
  18  Prefactor     12.057        1.1398       -.28525E-07   -.98664E-04
  19  Prefactor     .10000E-03    3.2898        .25020E-06** at limit **
  20  Prefactor     .10000E-03    45.283        .17853E-05** at limit **
  21  norm          .10000E-03    8.3976       -.37096E-06** at limit **
  22  Prefactor     7.3368        4.9550       -.13803E-06   -.91269E-05
  23  Prefactor     17.722        1.0625       -.15924E-07   -.10765E-04
  24  Normalizat    1.3648        .23491       -.25562E-05    .24100E-05
  25  Prefactor     .82500        .14510        .27632E-06    .92815E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10525
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 1.26539
  Prefactor  = 0.0001
  norm       = 1.94442
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 1.76837
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.78945
  Prefactor  = 0.0001
  Prefactor  = 20.7354
  Prefactor  = 12.0569
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.33676
  Prefactor  = 17.7222
  Normalizat = 1.36484
  Prefactor  = 0.825002
 **********
 **   18 **HESSE 
 **********

 FCN=   6332.492     FROM HESSE     STATUS=OK           493 CALLS     2595 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1053        3.1135        .11260E-01   -1.5498    
   2  norm          .10000E-03    6.5497        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    16.995        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    58.559        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2654        1.5177        .99009E-02   -1.5483    
   6  Prefactor     .10000E-03    12.690        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.9444        2.1139        .74413E-02   -1.5429    
   8  Prefactor     .10001E-03    17.484        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.481        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7684        4.1480        .78753E-02   -1.5442    
  11  Prefactor     .10000E-03    15.401        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.304        .11701       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.2702        .70383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.6201        .44645E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7894        6.6983        .51821E-02   -1.5319    
  16  Prefactor     .10000E-03    7.0822        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.735        27.463        .21991E-02   -1.4797    
  18  Prefactor     12.057        8.2986        .28844E-02   -1.5013    
  19  Prefactor     .10000E-03    3.2143        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    45.402        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    8.2748        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.3368        4.9701        .37017E-02   -1.5166    
  23  Prefactor     17.722        9.3397        .23784E-02   -1.4866    
  24  Normalizat    1.3648        .20830        .60087E-01   -.81651    
  25  Prefactor     .82500        .12417        .44041E-01   -.98813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47014e-09
Minuit parameter uncertainties:
  1  3.11395
  2  2.47133e-06
  3  0.000672782
  4  2.70553e-05
  5  1.51771
  6  7.74006e-06
  7  2.11394
  8  0.000677759
  9  0.000104114
  10  4.1487
  11  0.000100164
  12  2.20453e-05
  13  3.32929e-05
  14  1.02273e-06
  15  6.69966
  16  2.31361e-06
  17  27.48
  18  8.2994
  19  9.31231e-07
  20  1.59429e-05
  21  6.79884e-07
  22  4.97043
  23  9.34042
  24  0.20843
  25  0.124212
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.768e+00  4.149e+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:  8.250e-01  1.242e-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.365e+00  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/487873/likelihoodResults_569808001_570067201_4FGL_J2126.3-4605_daily_bin1275.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) = 6332.47726415
delta logL = 0.0145005846816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6332.47607963
delta logL = 0.015685107991

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9701       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2779       1.0000          .0000       10.000    
     3 'Normalizat'    1.3669       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82410       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6332.476     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      264 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9701        4.4134        .12188E-02   -.31460E-03
   2  Index         2.2778        1.4465        .13781E-01   -.14857E-05
   3  Normalizat    1.3669        .22798        .26556E-03    .21405E-06
   4  Prefactor     .82410        .14358        .20838E-03    .54558E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.97013
  Index      = 2.27779
  Normalizat = 1.36695
  Prefactor  = 0.824099
 **********
 **   18 **HESSE 
 **********

 FCN=   6332.476     FROM HESSE     STATUS=OK            27 CALLS      291 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9701        4.3940        .48752E-04   -1.5427    
   2  Index         2.2778        1.4413        .55124E-03   -.57572    
   3  Normalizat    1.3669        .22814        .53112E-04   -.81589    
   4  Prefactor     .82410        .14368        .83352E-05   -.98846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0926e-10
Minuit parameter uncertainties:
  1  4.39467
  2  1.47127
  3  0.228314
  4  0.143747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/487873': 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) = 6332.47607963
delta logL = 0.0156851100492

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.970e+00  4.395e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.278e+00  1.471e+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:  8.241e-01  1.437e-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.367e+00  2.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/487873/cmap_HighResolution_569808001_570067201_4FGL_J2126.3-4605_daily_bin1275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-03', job_status='DONE', photon_flux_upper_limit='8.24e-08', time_completed='2021-09-26 13:42:04.362795', job_id='487873', GAL2='0.82', fit_tolerance='1e-08', EG2='1.37', EG='1.36', time_epoch_completed='1632688924.36', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.57e-02', ts2='0.29', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1275' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:42:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 487873: <4FGL_J2126.3-4605_daily_bin1275> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1275 321.595 -46.0978 569808001 570067201 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 :                                   653.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             266.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            982 sec.

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

