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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1636
RA = 321.595, Dec = -46.0978
tmin = 663379201, tmax = 663638401
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='952878', job_status='RUN', time_executed='2022-01-12 01:24:03.684407', time_epoch_executed='1641979443.68' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/952878

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/952878/ft1_4FGL_J2126.3-4605_daily_bin1636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/952878/ft2_4FGL_J2126.3-4605_daily_bin1636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/952878/ft1_4FGL_J2126.3-4605_daily_bin1636.fits outfile=/scratch/kocevski/952878/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1636.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=663379201.0 tmax=663638401.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 4.42
user 2.33
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/952878/ft2_4FGL_J2126.3-4605_daily_bin1636.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/952878/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1636.fits evtable="EVENTS" outfile="/scratch/kocevski/952878/ft1_filtered_4FGL_J2126.3-4605_daily_bin1636.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/952878/ft1_filtered_4FGL_J2126.3-4605_daily_bin1636.fits" evtable="EVENTS" scfile=/scratch/kocevski/952878/ft2_4FGL_J2126.3-4605_daily_bin1636.fits sctable="SC_DATA" outfile=/scratch/kocevski/952878/ltcube_663379201_663638401_4FGL_J2126.3-4605_daily_bin1636.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/952878/ft2_4FGL_J2126.3-4605_daily_bin1636.fits
.....................!
real 14.07
user 13.65
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/952878/ft1_filtered_4FGL_J2126.3-4605_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/952878/ft2_4FGL_J2126.3-4605_daily_bin1636.fits sctable="SC_DATA" expcube=/scratch/kocevski/952878/ltcube_663379201_663638401_4FGL_J2126.3-4605_daily_bin1636.fits outfile=/scratch/kocevski/952878/expmap_663379201_663638401_4FGL_J2126.3-4605_daily_bin1636.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/952878/ltcube_663379201_663638401_4FGL_J2126.3-4605_daily_bin1636.fits
.....................!
real 192.55
user 186.92
sys 5.05

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/952878/ft1_filtered_4FGL_J2126.3-4605_daily_bin1636.fits scfile=/scratch/kocevski/952878/ft2_4FGL_J2126.3-4605_daily_bin1636.fits outfile=/scratch/kocevski/952878/cmap_663379201_663638401_4FGL_J2126.3-4605_daily_bin1636.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/952878/ft1_filtered_4FGL_J2126.3-4605_daily_bin1636.fits scfile=/scratch/kocevski/952878/ft2_4FGL_J2126.3-4605_daily_bin1636.fits outfile=/scratch/kocevski/952878/cmap_HighResolution_663379201_663638401_4FGL_J2126.3-4605_daily_bin1636.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/952878/ft1_filtered_4FGL_J2126.3-4605_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/952878/ft2_4FGL_J2126.3-4605_daily_bin1636.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/952878/Model_4FGL_J2126.3-4605_daily_bin1636.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/952878/ft1_filtered_4FGL_J2126.3-4605_daily_bin1636.fits.....................!
real 35.70
user 34.12
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .18087E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    141.41       1.0000         .10000E-03   10000.    
     4 'Prefactor '    312.83       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9378       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10513E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.9959       1.0000         .10000E-03   10000.    
     8 'Prefactor '    63.124       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15367E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.6429       1.0000         .10000E-03   10000.    
    14 'norm      '    .44095       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.7759       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5237       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20241E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    7.5894       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.1455       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4257       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .71867       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=   3640.540     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2938 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4301        .30977E-06** at limit **
   2  norm          .10003E-03    121.01        .30392E-05** at limit **
   3  Prefactor     141.37        101.30       -.22708E-04   -.98045E-05
   4  Prefactor     312.79        201.45       -.24730E-04    .17218E-05
   5  Prefactor     4.9350        5.2566       -.10437E-05   -.20699E-03
   6  Prefactor     .10000E-03    51.464       -.11089E-05** at limit **
   7  norm          6.9959        3.7959        .24734E-07    .13833E-04
   8  Prefactor     63.114        49.365       -.40381E-05    .39910E-05
   9  Prefactor     .10000E-03    25.778        .31641E-06** at limit **
  10  Prefactor     .10002E-03    12.373        .28777E-06** at limit **
  11  Prefactor     .10000E-03    13.060        .40350E-06** at limit **
  12  Prefactor     .10000E-03    9.8427        .12512E-06** at limit **
  13  Prefactor     4.6442        5.1342       -.57978E-06   -.36976E-04
  14  norm          .42625        4.5378       -.58876E-06   -.19751E-03
  15  Prefactor     .10000E-03    17.374       -.28540E-07** at limit **
  16  Prefactor     4.7696        14.538       -.91600E-06   -.50509E-04
  17  Prefactor     5.4826        87.291       -.34049E-04   -.63825E-05
  18  Prefactor     .10000E-03    4.6908        .84266E-07** at limit **
  19  Prefactor     .10000E-03    3.0516        .59464E-07** at limit **
  20  Prefactor     .10000E-03    241.17        .57068E-05** at limit **
  21  norm          7.5900        7.1051       -.38620E-06    .65518E-04
  22  Prefactor     .10000E-03    1.4251        .32547E-07** at limit **
  23  Prefactor     6.1429        12.096        .33845E-06   -.68140E-04
  24  Normalizat    1.4261        .28472        .21647E-05    .62233E-04
  25  Prefactor     .71870        .17786        .32780E-05    .61568E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100028
  Prefactor  = 141.374
  Prefactor  = 312.786
  Prefactor  = 4.93505
  Prefactor  = 0.0001
  norm       = 6.99593
  Prefactor  = 63.114
  Prefactor  = 0.0001
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.6442
  norm       = 0.426255
  Prefactor  = 0.0001
  Prefactor  = 4.76956
  Prefactor  = 5.48258
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.59
  Prefactor  = 0.0001
  Prefactor  = 6.1429
  Normalizat = 1.42614
  Prefactor  = 0.718705
 **********
 **   18 **HESSE 
 **********

 FCN=   3640.540     FROM HESSE     STATUS=OK           429 CALLS     3367 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4333        .10915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10003E-03    121.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     141.37        101.41        .16939E-03   -1.3324    
   4  Prefactor     312.79        201.36        .11489E-03   -1.2152    
   5  Prefactor     4.9350        5.2576        .13556E-03   -1.5264    
   6  Prefactor     .10000E-03    52.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.9959        3.7950        .82650E-04   -1.5179    
   8  Prefactor     63.114        49.371        .25254E-03   -1.4117    
   9  Prefactor     .10000E-03    25.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    64.638        .40096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.8474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6442        5.1267        .13760E-03   -1.5277    
  14  norm          .42625        16.616        .24198E-02   -1.5577    
  15  Prefactor     .10000E-03    17.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.7696        14.494        .18410E-03   -1.5271    
  17  Prefactor     5.4826        88.524        .17095E-03   -1.5240    
  18  Prefactor     .10000E-03    4.7052        .12759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.1182        .10286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    242.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.5900        7.1069        .14557E-03   -1.5157    
  22  Prefactor     .10000E-03    1.4271        .70340E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.1429        12.164        .16195E-03   -1.5212    
  24  Normalizat    1.4261        .33606        .26402E-03   -.79875    
  25  Prefactor     .71870        .20873        .23181E-03   -1.0280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.55897e-10
Minuit parameter uncertainties:
  1  1.56815e-05
  2  0.0037
  3  101.539
  4  201.813
  5  5.25809
  6  0.000102199
  7  3.79511
  8  49.4027
  9  1.4526e-05
  10  0.00246019
  11  1.14714e-06
  12  8.50846e-06
  13  5.12718
  14  5.32366
  15  6.77683e-05
  16  14.5044
  17  44.1379
  18  1.90738e-05
  19  1.42023e-05
  20  7.06723e-05
  21  7.10771
  22  1.42089e-06
  23  12.1691
  24  0.336582
  25  0.208958
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  2.460e-03  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:  7.187e-01  2.090e-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.426e+00  3.366e-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: 1.67e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.31e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/952878/likelihoodResults_663379201_663638401_4FGL_J2126.3-4605_daily_bin1636.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) = 3640.54051994
delta logL = -7.26978678358e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3640.54051991
delta logL = -7.26677471903e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96332E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5543       1.0000          .0000       10.000    
     3 'Normalizat'    1.4261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71871       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.

 FCN=   3640.407     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      271 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6332        8.3866        .90715E-02    .25375E-03
   2  Index         1.6175        .69194        .23349       -.41777E-04
   3  Normalizat    1.4413        .26868        .59445E-01   -.20214E-04
   4  Prefactor     .70214        .17577        .42650E-01    .78186E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.63317
  Index      = 1.61745
  Normalizat = 1.44134
  Prefactor  = 0.702141
 **********
 **   18 **HESSE 
 **********

 FCN=   3640.407     FROM HESSE     STATUS=OK            33 CALLS      304 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6332        9.1531        .25373E-03   -1.5327    
   2  Index         1.6175        .97466        .10988E-01   -.74301    
   3  Normalizat    1.4413        .31436        .26288E-03   -.79440    
   4  Prefactor     .70214        .20556        .23431E-03   -1.0344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11536e-09
Minuit parameter uncertainties:
  1  9.15666
  2  0.986414
  3  0.314785
  4  0.205786
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/952878': 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) = 3640.40736718
delta logL = 0.13308006068

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  3.633e+00  9.157e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  1.617e+00  9.864e-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:  7.021e-01  2.058e-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.441e+00  3.148e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/952878/cmap_HighResolution_663379201_663638401_4FGL_J2126.3-4605_daily_bin1636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', job_status='DONE', photon_flux_upper_limit='1.67e-07', time_completed='2022-01-12 01:32:58.033426', job_id='952878', GAL2='0.70', fit_tolerance='1e-08', EG2='1.44', EG='1.43', time_epoch_completed='1641979978.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.33e-01', ts2='0.27', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1636' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 12 01:32:58 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 952878: <4FGL_J2126.3-4605_daily_bin1636> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin1636> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jan 12 01:20:26 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 12 01:22:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 12 01:22:43 2022
Terminated at Wed Jan 12 01:32:58 2022
Results reported at Wed Jan 12 01:32:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1636 321.595 -46.0978 663379201 663638401 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 :                                   533.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   615 sec.
    Turnaround time :                            752 sec.

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

