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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin625
RA = 322.296, Dec = -2.6829
tmin = 401328001, tmax = 401587201
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='506166', job_status='RUN', time_executed='2021-09-26 14:39:08.807795', time_epoch_executed='1632692348.81' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/506166

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/506166/ft1_4FGL_J2129.1-0240_daily_bin625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/506166/ft2_4FGL_J2129.1-0240_daily_bin625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/506166/ft1_4FGL_J2129.1-0240_daily_bin625.fits outfile=/scratch/kocevski/506166/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin625.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=401328001.0 tmax=401587201.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.43
user 3.18
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/506166/ft2_4FGL_J2129.1-0240_daily_bin625.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/506166/ft2_4FGL_J2129.1-0240_daily_bin625.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/506166/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin625.fits evtable="EVENTS" outfile="/scratch/kocevski/506166/ft1_filtered_4FGL_J2129.1-0240_daily_bin625.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.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/506166/ft1_filtered_4FGL_J2129.1-0240_daily_bin625.fits" evtable="EVENTS" scfile=/scratch/kocevski/506166/ft2_4FGL_J2129.1-0240_daily_bin625.fits sctable="SC_DATA" outfile=/scratch/kocevski/506166/ltcube_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.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/506166/ft2_4FGL_J2129.1-0240_daily_bin625.fits
.....................!
real 15.26
user 14.88
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/506166/ft1_filtered_4FGL_J2129.1-0240_daily_bin625.fits evtable="EVENTS" scfile=/scratch/kocevski/506166/ft2_4FGL_J2129.1-0240_daily_bin625.fits sctable="SC_DATA" expcube=/scratch/kocevski/506166/ltcube_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.fits outfile=/scratch/kocevski/506166/expmap_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.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/506166/ltcube_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.fits
.....................!
real 194.50
user 188.84
sys 5.15

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 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J2129.1-0240 @ 322.296 -2.6829

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/506166/ft1_filtered_4FGL_J2129.1-0240_daily_bin625.fits scfile=/scratch/kocevski/506166/ft2_4FGL_J2129.1-0240_daily_bin625.fits outfile=/scratch/kocevski/506166/cmap_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.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=322.296 yref=-2.6829 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/506166/ft1_filtered_4FGL_J2129.1-0240_daily_bin625.fits scfile=/scratch/kocevski/506166/ft2_4FGL_J2129.1-0240_daily_bin625.fits outfile=/scratch/kocevski/506166/cmap_HighResolution_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.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=322.296 yref=-2.6829 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/506166/ft1_filtered_4FGL_J2129.1-0240_daily_bin625.fits evtable="EVENTS" scfile=/scratch/kocevski/506166/ft2_4FGL_J2129.1-0240_daily_bin625.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/506166/Model_4FGL_J2129.1-0240_daily_bin625.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/506166/ft1_filtered_4FGL_J2129.1-0240_daily_bin625.fits.....................!
real 69.88
user 68.45
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/506166/ft1_filtered_4FGL_J2129.1-0240_daily_bin625.fits', '/scratch/kocevski/506166/ft2_4FGL_J2129.1-0240_daily_bin625.fits', expMap='/scratch/kocevski/506166/expmap_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.fits', expCube='/scratch/kocevski/506166/ltcube_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/506166/Model_4FGL_J2129.1-0240_daily_bin625.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2129.1-0240'

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  5.059e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.637e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/506166/ft1_filtered_4FGL_J2129.1-0240_daily_bin625.fits
Spacecraft file(s): /scratch/kocevski/506166/ft2_4FGL_J2129.1-0240_daily_bin625.fits
Exposure map: /scratch/kocevski/506166/expmap_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.fits
Exposure cube: /scratch/kocevski/506166/ltcube_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/506166/Model_4FGL_J2129.1-0240_daily_bin625.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) = 7256.18504596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.988       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.137       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.077       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0980       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1471       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12624E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.323       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    21.099       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0822       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.924       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.6207       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0576       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .74264       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=   7256.173     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2887 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1598        .12030E-07** at limit **
   2  Prefactor     .10000E-03    8.0134        .45178E-06** at limit **
   3  Prefactor     .10000E-03    13.088        .11920E-04** at limit **
   4  Prefactor     25.991        27.366        .44777E-06    .12944E-04
   5  Prefactor     .10000E-03    11.579       -.12662E-05** at limit **
   6  Prefactor     .10000E-03    27.064        .24390E-05** at limit **
   7  Prefactor     18.137        14.878        .56511E-08    .10134E-03
   8  Prefactor     .10000E-03    11.282       -.45323E-05** at limit **
   9  Prefactor     24.077        18.878       -.29534E-07   -.23448E-04
  10  Prefactor     7.0931        22.453        .18289E-05    .85059E-05
  11  Prefactor     1.1478        6.2444       -.75515E-06   -.22929E-03
  12  Prefactor     .10000E-03    1.1511       -.43518E-07** at limit **
  13  Prefactor     .10000E-03    120.16       -.21761E-05** at limit **
  14  Prefactor     22.322        22.490        .30465E-06    .89570E-05
  15  norm          .10000E-03    2.7863       -.53565E-08** at limit **
  16  Prefactor     .10000E-03    15.538       -.80572E-05** at limit **
  17  norm          21.101        18.775       -.42549E-06    .15734E-04
  18  Prefactor     2.0820        1.7793        .50311E-06   -.27197E-02
  19  Prefactor     .10000E-03    5.3370       -.78131E-07** at limit **
  20  Prefactor     21.925        11.197       -.21524E-07    .18980E-04
  21  Prefactor     1.6219        59.858       -.15260E-05   -.11825E-04
  22  Prefactor     .10000E-03    4.5222        .62021E-07** at limit **
  23  Prefactor     .10000E-03    4.2253       -.35283E-07** at limit **
  24  Normalizat    1.0575        .19103       -.36894E-07    .76127E-04
  25  Prefactor     .74265        .95489E-01    .11032E-07    .97031E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.991
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1371
  Prefactor  = 0.0001
  Prefactor  = 24.0773
  Prefactor  = 7.09313
  Prefactor  = 1.14785
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.322
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 21.1007
  Prefactor  = 2.08202
  Prefactor  = 0.0001
  Prefactor  = 21.925
  Prefactor  = 1.62188
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05751
  Prefactor  = 0.742653
 **********
 **   18 **HESSE 
 **********

 FCN=   7256.173     FROM HESSE     STATUS=OK           423 CALLS     3310 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.2026        .12219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.1065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.991        27.357        .78581E-04   -1.4688    
   5  Prefactor     .10000E-03    11.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    27.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.137        14.865        .94045E-04   -1.4856    
   8  Prefactor     .10000E-03    11.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.077        18.881        .40817E-03   -1.4726    
  10  Prefactor     7.0931        22.416        .15057E-03   -1.5175    
  11  Prefactor     1.1478        6.4507        .40361E-03   -1.5494    
  12  Prefactor     .10000E-03    1.1992        .17795E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    124.14        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.322        22.495        .84778E-04   -1.4763    
  15  norm          .10000E-03    2.7890        .13887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.101        18.769        .87198E-04   -1.4789    
  18  Prefactor     2.0820        4.4681        .12837E-02   -1.5419    
  19  Prefactor     .10000E-03    5.5241        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     21.925        11.205        .85543E-04   -1.4771    
  21  Prefactor     1.6219        60.501        .33244E-03   -1.5453    
  22  Prefactor     .10000E-03    4.5273        .17690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.2283        .17100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0575        .22999        .28861E-03   -.91128    
  25  Prefactor     .74265        .11543        .17328E-03   -1.0188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22883e-09
Minuit parameter uncertainties:
  1  9.76348e-07
  2  1.54408e-06
  3  0.000115049
  4  27.37
  5  1.73711e-05
  6  2.69753e-05
  7  14.8684
  8  1.78612e-05
  9  18.8856
  10  22.4425
  11  5.44288
  12  3.47409e-06
  13  8.29417e-05
  14  22.5032
  15  6.03955e-08
  16  8.20336e-05
  17  18.7745
  18  4.46883
  19  1.75382e-06
  20  11.2061
  21  19.8328
  22  6.04019e-07
  23  3.19691e-07
  24  0.230209
  25  0.115464
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  7.093e+00  2.244e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.637e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  7.427e-01  1.155e-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.058e+00  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 322.296 -2.683
Photon Flux Upper Limit: 9.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/506166/likelihoodResults_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.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) = 7256.15699317
delta logL = 0.0159611161471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7256.15045368
delta logL = 0.0225005995335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.217       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2752       1.0000          .0000       10.000    
     3 'Normalizat'    1.0595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74171       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=   7256.150     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      265 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.216        29.163        .12535E-03    .29838E-04
   2  Index         2.2770        1.5129        .10670E-01    .21726E-04
   3  Normalizat    1.0601        .22404        .28829E-03   -.16452E-03
   4  Prefactor     .74141        .11510        .17341E-03   -.26864E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2158
  Index      = 2.27701
  Normalizat = 1.06007
  Prefactor  = 0.74141
 **********
 **   18 **HESSE 
 **********

 FCN=   7256.150     FROM HESSE     STATUS=OK            23 CALLS      288 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.216        28.769        .50141E-05   -1.5069    
   2  Index         2.2770        1.4939        .42680E-03   -.57591    
   3  Normalizat    1.0601        .22423        .11532E-04   -.91044    
   4  Prefactor     .74141        .11520        .34682E-04   -1.0193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.93382e-11
Minuit parameter uncertainties:
  1  28.8079
  2  1.5275
  3  0.224431
  4  0.115232
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/506166': 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) = 7256.15044945
delta logL = 0.0225048349221

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.022e+01  2.881e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.277e+00  1.527e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  7.414e-01  1.152e-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.060e+00  2.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 322.296 -2.683

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/506166/cmap_HighResolution_401328001_401587201_4FGL_J2129.1-0240_daily_bin625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.06e-08', time_completed='2021-09-26 14:51:58.205725', job_id='506166', GAL2='0.74', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1632693118.21', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='2.25e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='625' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 14:51:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 506166: <4FGL_J2129.1-0240_daily_bin625> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin625> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 14:35:31 2021
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 14:36:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 14:36:55 2021
Terminated at Sun Sep 26 14:51:58 2021
Results reported at Sun Sep 26 14:51:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin625 322.296 -2.6829 401328001 401587201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2129.1-0240 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   769.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            987 sec.

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

