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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1485
RA = 321.595, Dec = -46.0978
tmin = 624240001, tmax = 624499201
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='488780', job_status='RUN', time_executed='2021-09-26 13:32:12.090821', time_epoch_executed='1632688332.09' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/488780

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/488780/ft1_4FGL_J2126.3-4605_daily_bin1485.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/488780/ft2_4FGL_J2126.3-4605_daily_bin1485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/488780/ft1_4FGL_J2126.3-4605_daily_bin1485.fits outfile=/scratch/kocevski/488780/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1485.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=624240001.0 tmax=624499201.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.50
user 3.24
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/488780/ft1_filtered_4FGL_J2126.3-4605_daily_bin1485.fits" evtable="EVENTS" scfile=/scratch/kocevski/488780/ft2_4FGL_J2126.3-4605_daily_bin1485.fits sctable="SC_DATA" outfile=/scratch/kocevski/488780/ltcube_624240001_624499201_4FGL_J2126.3-4605_daily_bin1485.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/488780/ft2_4FGL_J2126.3-4605_daily_bin1485.fits
.....................!
real 14.81
user 13.64
sys 0.93

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/488780/ft1_filtered_4FGL_J2126.3-4605_daily_bin1485.fits evtable="EVENTS" scfile=/scratch/kocevski/488780/ft2_4FGL_J2126.3-4605_daily_bin1485.fits sctable="SC_DATA" expcube=/scratch/kocevski/488780/ltcube_624240001_624499201_4FGL_J2126.3-4605_daily_bin1485.fits outfile=/scratch/kocevski/488780/expmap_624240001_624499201_4FGL_J2126.3-4605_daily_bin1485.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/488780/ltcube_624240001_624499201_4FGL_J2126.3-4605_daily_bin1485.fits
.....................!
real 190.87
user 185.40
sys 4.74

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/488780/ft1_filtered_4FGL_J2126.3-4605_daily_bin1485.fits scfile=/scratch/kocevski/488780/ft2_4FGL_J2126.3-4605_daily_bin1485.fits outfile=/scratch/kocevski/488780/cmap_624240001_624499201_4FGL_J2126.3-4605_daily_bin1485.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/488780/ft1_filtered_4FGL_J2126.3-4605_daily_bin1485.fits scfile=/scratch/kocevski/488780/ft2_4FGL_J2126.3-4605_daily_bin1485.fits outfile=/scratch/kocevski/488780/cmap_HighResolution_624240001_624499201_4FGL_J2126.3-4605_daily_bin1485.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1404       1.0000         .10000E-03   10000.    
     2 'norm      '    11.127       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.490       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.0837       1.0000         .10000E-03   10000.    
     8 'Prefactor '    62.745       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.370       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7295       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .22876E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.0375       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10652E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .67045       1.0000         .10000E-03   10000.    
    20 'Prefactor '    43.007       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4656       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88376       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=   6277.067     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     3334 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1369        2.8394       -.39321E-06   -.10670E-02
   2  norm          11.128        13.389        .10250E-06    .46495E-05
   3  Prefactor     .10000E-03    16.940        .33617E-05** at limit **
   4  Prefactor     .10000E-03    39.589       -.27269E-04** at limit **
   5  Prefactor     18.489        4.9602        .11442E-06   -.37193E-03
   6  Prefactor     .10000E-03    36.754        .21905E-04** at limit **
   7  norm          6.0838        2.6710        .24425E-06   -.21655E-03
   8  Prefactor     62.729        35.914        .15414E-04   -.58414E-05
   9  Prefactor     23.374        49.324       -.26679E-05   -.19640E-04
  10  Prefactor     2.7271        7.6556       -.65087E-05   -.33616E-03
  11  Prefactor     .10086E-03    24.957        .19382E-06** at limit **
  12  Prefactor     .10000E-03    17.835       -.37846E-05** at limit **
  13  Prefactor     .10000E-03    2.7698        .10038E-06** at limit **
  14  norm          .10000E-03    2.0828        .18646E-07** at limit **
  15  Prefactor     .10000E-03    2.8262       -.59011E-07** at limit **
  16  Prefactor     3.0256        11.195        .64005E-05   -.17460E-03
  17  Prefactor     .10000E-03    53.552        .58967E-05** at limit **
  18  Prefactor     .10001E-03    8.9376       -.15045E-05** at limit **
  19  Prefactor     .67012        2.0780       -.10448E-05   -.15357E-02
  20  Prefactor     43.084        72.841        .39937E-04    .26210E-04
  21  norm          .10000E-03    3.1592       -.40042E-07** at limit **
  22  Prefactor     .10000E-03    1.3213        .23991E-08** at limit **
  23  Prefactor     .10000E-03    4.6265       -.51677E-07** at limit **
  24  Normalizat    1.4655        .22450       -.16397E-05    .13285E-05
  25  Prefactor     .88376        .13795       -.12057E-05   -.10070E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.13693
  norm       = 11.1284
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.4894
  Prefactor  = 0.0001
  norm       = 6.08382
  Prefactor  = 62.729
  Prefactor  = 23.3742
  Prefactor  = 2.72714
  Prefactor  = 0.000100857
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.02557
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.670121
  Prefactor  = 43.0842
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.4655
  Prefactor  = 0.883758
 **********
 **   18 **HESSE 
 **********

 FCN=   6277.067     FROM HESSE     STATUS=OK           433 CALLS     3767 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1369        2.2404        .20525E-02   -1.5495    
   2  norm          11.128        13.390        .12010E-03   -1.5041    
   3  Prefactor     .10000E-03    16.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    39.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.489        4.9589        .87891E-04   -1.4848    
   6  Prefactor     .10000E-03    36.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.0838        2.6690        .81633E-04   -1.5215    
   8  Prefactor     62.729        35.743        .50658E-04   -1.4122    
   9  Prefactor     23.374        49.341        .82859E-04   -1.4741    
  10  Prefactor     2.7271        7.6829        .24647E-03   -1.5378    
  11  Prefactor     .10086E-03    27.447        .11658       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.8012        .12869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.0896        .11161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.8285        .13003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0256        11.134        .23282E-03   -1.5360    
  17  Prefactor     .10000E-03    53.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    9.0928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .67012        2.0451        .19526E-03   -1.5544    
  20  Prefactor     43.084        72.762        .61131E-04   -1.4394    
  21  norm          .10000E-03    3.1663        .13753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.3237        .88934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.6571        .16641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.4655        .26129        .28409E-03   -.78753    
  25  Prefactor     .88376        .16097        .22208E-03   -.96711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07482e-09
Minuit parameter uncertainties:
  1  2.24059
  2  13.3935
  3  1.5502e-05
  4  2.84901e-05
  5  4.95899
  6  4.58503e-05
  7  2.66902
  8  35.7557
  9  49.4269
  10  7.68565
  11  0.00970498
  12  4.7611e-05
  13  1.68326e-05
  14  5.04587e-07
  15  1.45852e-05
  16  11.1419
  17  0.000134018
  18  0.000455657
  19  2.04531
  20  72.9128
  21  4.32885e-06
  22  6.27633e-07
  23  6.16591e-06
  24  0.261535
  25  0.161056
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  2.727e+00  7.686e+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.838e-01  1.611e-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.465e+00  2.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 321.595 -46.098
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/488780/likelihoodResults_624240001_624499201_4FGL_J2126.3-4605_daily_bin1485.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) = 6277.03274101
delta logL = 0.0338017933836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6277.02984745
delta logL = 0.0366953537887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2561       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1011       1.0000          .0000       10.000    
     3 'Normalizat'    1.4554       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88756       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=   6277.030     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      264 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2567        7.6231        .26082E-03    .55627E-03
   2  Index         3.1006        2.4179        .85277E-02    .15560E-03
   3  Normalizat    1.4553        .25959        .28490E-03    .65792E-03
   4  Prefactor     .88757        .16079        .22164E-03    .64968E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.25673
  Index      = 3.10056
  Normalizat = 1.45529
  Prefactor  = 0.887566
 **********
 **   18 **HESSE 
 **********

 FCN=   6277.030     FROM HESSE     STATUS=OK            23 CALLS      287 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2567        6.9532        .10433E-04   -1.5408    
   2  Index         3.1006        2.2224        .34111E-03   -.38967    
   3  Normalizat    1.4553        .25972        .56980E-04   -.79043    
   4  Prefactor     .88757        .16079        .44328E-04   -.96577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12687e-09
Minuit parameter uncertainties:
  1  6.9557
  2  2.31829
  3  0.259952
  4  0.160875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/488780': 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) = 6277.02984721
delta logL = 0.0366955898035

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  2.257e+00  6.956e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  3.101e+00  2.318e+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.876e-01  1.609e-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.455e+00  2.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/488780/cmap_HighResolution_624240001_624499201_4FGL_J2126.3-4605_daily_bin1485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.89e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-09-26 13:44:28.501596', job_id='488780', GAL2='0.89', fit_tolerance='1e-08', EG2='1.46', EG='1.47', time_epoch_completed='1632689068.5', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='3.67e-02', ts2='0.24', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1485' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:44:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 488780: <4FGL_J2126.3-4605_daily_bin1485> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin1485> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 26 13:30:31 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 13:31:00 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:31:00 2021
Terminated at Sun Sep 26 13:44:29 2021
Results reported at Sun Sep 26 13:44:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1485 321.595 -46.0978 624240001 624499201 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 :                                   731.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            838 sec.

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

