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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1073
RA = 321.595, Dec = -46.0978
tmin = 517449601, tmax = 517708801
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='487570', job_status='RUN', time_executed='2021-09-26 13:26:37.648149', time_epoch_executed='1632687997.65' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1073'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/487570

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/487570/ft1_4FGL_J2126.3-4605_daily_bin1073.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/487570/ft2_4FGL_J2126.3-4605_daily_bin1073.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/487570/ft1_4FGL_J2126.3-4605_daily_bin1073.fits outfile=/scratch/kocevski/487570/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1073.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=517449601.0 tmax=517708801.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 5.62
user 5.33
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/487570/ft2_4FGL_J2126.3-4605_daily_bin1073.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/487570/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1073.fits evtable="EVENTS" outfile="/scratch/kocevski/487570/ft1_filtered_4FGL_J2126.3-4605_daily_bin1073.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/487570/ft1_filtered_4FGL_J2126.3-4605_daily_bin1073.fits" evtable="EVENTS" scfile=/scratch/kocevski/487570/ft2_4FGL_J2126.3-4605_daily_bin1073.fits sctable="SC_DATA" outfile=/scratch/kocevski/487570/ltcube_517449601_517708801_4FGL_J2126.3-4605_daily_bin1073.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/487570/ft2_4FGL_J2126.3-4605_daily_bin1073.fits
.....................!
real 12.18
user 11.71
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/487570/ft1_filtered_4FGL_J2126.3-4605_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/487570/ft2_4FGL_J2126.3-4605_daily_bin1073.fits sctable="SC_DATA" expcube=/scratch/kocevski/487570/ltcube_517449601_517708801_4FGL_J2126.3-4605_daily_bin1073.fits outfile=/scratch/kocevski/487570/expmap_517449601_517708801_4FGL_J2126.3-4605_daily_bin1073.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/487570/ltcube_517449601_517708801_4FGL_J2126.3-4605_daily_bin1073.fits
.....................!
real 195.76
user 190.75
sys 4.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/487570/ft1_filtered_4FGL_J2126.3-4605_daily_bin1073.fits scfile=/scratch/kocevski/487570/ft2_4FGL_J2126.3-4605_daily_bin1073.fits outfile=/scratch/kocevski/487570/cmap_517449601_517708801_4FGL_J2126.3-4605_daily_bin1073.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.67
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/487570/ft1_filtered_4FGL_J2126.3-4605_daily_bin1073.fits scfile=/scratch/kocevski/487570/ft2_4FGL_J2126.3-4605_daily_bin1073.fits outfile=/scratch/kocevski/487570/cmap_HighResolution_517449601_517708801_4FGL_J2126.3-4605_daily_bin1073.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.72
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/487570/ft1_filtered_4FGL_J2126.3-4605_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/487570/ft2_4FGL_J2126.3-4605_daily_bin1073.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/487570/Model_4FGL_J2126.3-4605_daily_bin1073.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/487570/ft1_filtered_4FGL_J2126.3-4605_daily_bin1073.fits.....................!
real 60.53
user 58.92
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.3756       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .79740       1.0000         .10000E-03   10000.    
     8 'Prefactor '    39.200       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    83.778       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10631E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.9723       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10207E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    33.817       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.1557       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1027       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.9508       1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.0599       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .96091       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0772       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=   8046.155     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2901 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2388       -.64841E-07** at limit **
   2  norm          6.3757        8.3374       -.51467E-07   -.84195E-05
   3  Prefactor     .10000E-03    6.5697        .30471E-05** at limit **
   4  Prefactor     .10000E-03    20.414        .28572E-06** at limit **
   5  Prefactor     .10000E-03    .80426        .34433E-07** at limit **
   6  Prefactor     .10000E-03    13.333       -.24319E-05** at limit **
   7  norm          .79717        1.3908       -.47982E-06   -.16126E-02
   8  Prefactor     39.198        23.714       -.20189E-05   -.87115E-05
   9  Prefactor     .10000E-03    13.561       -.29052E-05** at limit **
  10  Prefactor     .10000E-03    4.5127       -.15993E-06** at limit **
  11  Prefactor     83.771        35.679       -.52430E-05   -.31004E-04
  12  Prefactor     .10000E-03    7.3489       -.53854E-05** at limit **
  13  Prefactor     .10006E-03    2.0366        .54239E-06** at limit **
  14  norm          5.9724        4.2308        .16224E-06   -.60787E-04
  15  Prefactor     .10000E-03    9.4025        .50134E-05** at limit **
  16  Prefactor     .10000E-03    4.1335        .11073E-06** at limit **
  17  Prefactor     33.811        39.587       -.76019E-05   -.19624E-04
  18  Prefactor     6.1511        8.8264        .82123E-06   -.13452E-03
  19  Prefactor     1.1025        2.6502       -.10359E-05   -.12421E-02
  20  Prefactor     .10000E-03    32.776       -.34784E-05** at limit **
  21  norm          .10000E-03    1.9730       -.15702E-07** at limit **
  22  Prefactor     1.9506        2.0382        .28037E-07    .24441E-03
  23  Prefactor     6.0590        6.0245       -.57958E-07   -.39261E-05
  24  Normalizat    .96114        .19263        .29009E-05   -.21232E-03
  25  Prefactor     1.0771        .11520       -.25519E-06    .13779E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.37567
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.797166
  Prefactor  = 39.1977
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 83.7713
  Prefactor  = 0.0001
  Prefactor  = 0.000100055
  norm       = 5.97237
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.8108
  Prefactor  = 6.15115
  Prefactor  = 1.1025
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.95057
  Prefactor  = 6.05898
  Normalizat = 0.961136
  Prefactor  = 1.07708
 **********
 **   18 **HESSE 
 **********

 FCN=   8046.155     FROM HESSE     STATUS=OK           427 CALLS     3328 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5700        .19442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.3757        8.3360        .15896E-03   -1.5203    
   3  Prefactor     .10000E-03    6.5503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    .81209        .78534E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .79717        1.3723        .13422E-03   -1.5529    
   8  Prefactor     39.198        23.716        .64018E-04   -1.4455    
   9  Prefactor     .10000E-03    13.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.5389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     83.771        35.544        .43886E-04   -1.3875    
  12  Prefactor     .10000E-03    7.3037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10006E-03    21.762        .24165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.9724        4.2248        .14726E-03   -1.5219    
  15  Prefactor     .10000E-03    9.5365        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.1628        .17806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     33.811        39.318        .68909E-04   -1.4544    
  18  Prefactor     6.1511        8.7884        .16181E-03   -1.5212    
  19  Prefactor     1.1025        2.6594        .22225E-03   -1.5498    
  20  Prefactor     .10000E-03    32.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.9742        .12305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.9506        2.0464        .12768E-03   -1.5429    
  23  Prefactor     6.0590        6.0291        .16310E-03   -1.5216    
  24  Normalizat    .96114        .22055        .31049E-03   -.94344    
  25  Prefactor     1.0771        .13411        .18878E-03   -.90202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14242e-09
Minuit parameter uncertainties:
  1  1.22817e-05
  2  8.3375
  3  3.40976e-06
  4  6.30199e-06
  5  2.09889e-06
  6  2.2736e-05
  7  1.37237
  8  23.7215
  9  6.75972e-06
  10  2.04598e-05
  11  35.5529
  12  4.55152e-06
  13  0.00218939
  14  4.22501
  15  6.31945e-05
  16  1.57472e-06
  17  39.3477
  18  8.79027
  19  2.65971
  20  7.17848e-06
  21  8.27293e-08
  22  2.04649
  23  6.02972
  24  0.22076
  25  0.134155
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.077e+00  1.342e-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:  9.611e-01  2.208e-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: 8.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/487570/likelihoodResults_517449601_517708801_4FGL_J2126.3-4605_daily_bin1073.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) = 8046.15562788
delta logL = -0.00104994862704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8046.15457775
delta logL = 1.80226379598e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5769       1.0000          .0000       10.000    
     3 'Normalizat'    .96116       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0771       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=   8046.155     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      241 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    192.26        .18142E-02** at limit **
   2  Index         2.6002        5.2331        .50000       -.45729E-04
   3  Normalizat    .96114        .20400        .31049E-03    .10908E-03
   4  Prefactor     1.0771        .13139        .18878E-03    .10103E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  Index      = 2.60023
  Normalizat = 0.96114
  Prefactor  = 1.07708
 **********
 **   18 **HESSE 
 **********

 FCN=   8046.155     FROM HESSE     STATUS=OK            29 CALLS      270 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    4.9369        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6002        6.2971        .50000       -.50060    
   3  Normalizat    .96114        .20402        .12419E-04   -.94344    
   4  Prefactor     1.0771        .13147        .37756E-04   -.90203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52192e-09
Minuit parameter uncertainties:
  1  0.000446059
  2  4.47892
  3  0.204188
  4  0.131514
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/487570': 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) = 8046.15457746
delta logL = 4.72985448141e-07

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  4.461e-04  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.600e+00  4.479e+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.077e+00  1.315e-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:  9.611e-01  2.042e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/487570/cmap_HighResolution_517449601_517708801_4FGL_J2126.3-4605_daily_bin1073.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.55e-03', job_status='DONE', photon_flux_upper_limit='8.40e-08', time_completed='2021-09-26 13:40:05.888450', job_id='487570', GAL2='1.08', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632688805.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1073' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:40:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 487570: <4FGL_J2126.3-4605_daily_bin1073> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1073 321.595 -46.0978 517449601 517708801 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 :                                   804.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            889 sec.

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

