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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin693
RA = 322.296, Dec = -2.6829
tmin = 418953601, tmax = 419212801
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='507365', job_status='RUN', time_executed='2021-09-26 14:43:18.699250', time_epoch_executed='1632692598.7' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='693'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507365

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507365/ft1_4FGL_J2129.1-0240_daily_bin693.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507365/ft2_4FGL_J2129.1-0240_daily_bin693.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507365/ft1_4FGL_J2129.1-0240_daily_bin693.fits outfile=/scratch/kocevski/507365/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin693.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=418953601.0 tmax=419212801.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.55
user 5.26
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/507365/ft2_4FGL_J2129.1-0240_daily_bin693.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/507365/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin693.fits evtable="EVENTS" outfile="/scratch/kocevski/507365/ft1_filtered_4FGL_J2129.1-0240_daily_bin693.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.50
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507365/ft1_filtered_4FGL_J2129.1-0240_daily_bin693.fits" evtable="EVENTS" scfile=/scratch/kocevski/507365/ft2_4FGL_J2129.1-0240_daily_bin693.fits sctable="SC_DATA" outfile=/scratch/kocevski/507365/ltcube_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.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/507365/ft2_4FGL_J2129.1-0240_daily_bin693.fits
.....................!
real 13.88
user 13.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507365/ft1_filtered_4FGL_J2129.1-0240_daily_bin693.fits evtable="EVENTS" scfile=/scratch/kocevski/507365/ft2_4FGL_J2129.1-0240_daily_bin693.fits sctable="SC_DATA" expcube=/scratch/kocevski/507365/ltcube_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.fits outfile=/scratch/kocevski/507365/expmap_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.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/507365/ltcube_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.fits
.....................!
real 191.65
user 186.63
sys 4.29

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/507365/ft1_filtered_4FGL_J2129.1-0240_daily_bin693.fits scfile=/scratch/kocevski/507365/ft2_4FGL_J2129.1-0240_daily_bin693.fits outfile=/scratch/kocevski/507365/cmap_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507365/ft1_filtered_4FGL_J2129.1-0240_daily_bin693.fits scfile=/scratch/kocevski/507365/ft2_4FGL_J2129.1-0240_daily_bin693.fits outfile=/scratch/kocevski/507365/cmap_HighResolution_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507365/ft1_filtered_4FGL_J2129.1-0240_daily_bin693.fits evtable="EVENTS" scfile=/scratch/kocevski/507365/ft2_4FGL_J2129.1-0240_daily_bin693.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507365/Model_4FGL_J2129.1-0240_daily_bin693.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/507365/ft1_filtered_4FGL_J2129.1-0240_daily_bin693.fits.....................!
real 68.67
user 66.91
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/507365/ft1_filtered_4FGL_J2129.1-0240_daily_bin693.fits', '/scratch/kocevski/507365/ft2_4FGL_J2129.1-0240_daily_bin693.fits', expMap='/scratch/kocevski/507365/expmap_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.fits', expCube='/scratch/kocevski/507365/ltcube_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/507365/Model_4FGL_J2129.1-0240_daily_bin693.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/507365/ft1_filtered_4FGL_J2129.1-0240_daily_bin693.fits
Spacecraft file(s): /scratch/kocevski/507365/ft2_4FGL_J2129.1-0240_daily_bin693.fits
Exposure map: /scratch/kocevski/507365/expmap_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.fits
Exposure cube: /scratch/kocevski/507365/ltcube_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/507365/Model_4FGL_J2129.1-0240_daily_bin693.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) = 6398.02844061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.6603       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.5583       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .26457E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.764       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    90.853       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11143E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    137.10       1.0000         .10000E-03   10000.    
    17 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.694       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10293E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    32.698       1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.846       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.4240       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .71042       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0798       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=   6397.886     FROM MIGRAD    STATUS=CONVERGED   1022 CALLS     3380 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9295        .25915E-02** at limit **
   2  Prefactor     4.6664        12.425        .93212E-03   -.69972E-04
   3  Prefactor     .10000E-03    10.763        .18142E-02** at limit **
   4  Prefactor     8.5632        44.231        .13702E-03    .12528E-04
   5  Prefactor     .10000E-03    16.268        .18142E-02** at limit **
   6  Prefactor     .10000E-03    59.423        .17358    ** at limit **
   7  Prefactor     14.770        18.859        .10424E-03   -.11779E-04
   8  Prefactor     .10000E-03    34.325        .36285E-03** at limit **
   9  Prefactor     .10000E-03    9.0968        .18142E-02** at limit **
  10  Prefactor     90.794        57.925        .21079E-03    .60837E-04
  11  Prefactor     .10000E-03    4.1634        .15819E-02** at limit **
  12  Prefactor     .10000E-03    3.0762        .26990E-03** at limit **
  13  Prefactor     .10000E-03    38.973        .18142E-02** at limit **
  14  Prefactor     .10000E-03    151.68        .18142E-02** at limit **
  15  norm          .10000E-03    3.4159        .14436E-02** at limit **
  16  Prefactor     137.08        95.791        .34398E-04   -.12559E-05
  17  norm          .10000E-03    18.282        .18142E-02** at limit **
  18  Prefactor     .10000E-03    8.0281        .18142E-02** at limit **
  19  Prefactor     17.695        10.421        .47608E-03   -.46327E-05
  20  Prefactor     .10000E-03    40.535        .18142E-02** at limit **
  21  Prefactor     32.718        44.608        .70075E-04    .80079E-04
  22  Prefactor     21.840        36.775        .85697E-04    .13266E-04
  23  Prefactor     2.4454        175.59        .26287E-03   -.42815E-05
  24  Normalizat    .71069        .32360        .41877E-03    .28003E-03
  25  Prefactor     1.0796        .14550        .16792E-03    .78722E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 4.66635
  Prefactor  = 0.0001
  Prefactor  = 8.56322
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 14.7699
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 90.7943
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 137.084
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6947
  Prefactor  = 0.0001
  Prefactor  = 32.7183
  Prefactor  = 21.8398
  Prefactor  = 2.44539
  Normalizat = 0.710693
  Prefactor  = 1.07962
 **********
 **   18 **HESSE 
 **********

 FCN=   6397.886     FROM HESSE     STATUS=OK           413 CALLS     3793 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9573        .51830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.6664        12.415        .37285E-04   -1.5276    
   3  Prefactor     .10000E-03    10.763        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.5632        44.217        .54810E-05   -1.5123    
   5  Prefactor     .10000E-03    16.268        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    61.552        .16939       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.770        18.858        .41696E-05   -1.4939    
   8  Prefactor     .10000E-03    34.326        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.0971        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     90.794        57.920        .84316E-05   -1.3799    
  11  Prefactor     .10000E-03    4.1652        .31638E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.0762        .53980E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    38.976        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    151.73        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.4159        .28872E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     137.08        95.786        .68796E-05   -1.3361    
  17  norm          .10000E-03    18.283        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.0299        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.695        10.420        .19043E-04   -1.4866    
  20  Prefactor     .10000E-03    40.564        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.718        44.605        .14015E-04   -1.4563    
  22  Prefactor     21.840        36.726        .34279E-05   -1.4773    
  23  Prefactor     2.4454        175.00        .10515E-04   -1.5395    
  24  Normalizat    .71069        .32363        .16751E-04   -1.0347    
  25  Prefactor     1.0796        .14559        .33584E-04   -.90120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.47549e-10
Minuit parameter uncertainties:
  1  0.000234476
  2  12.4223
  3  2.55106e-05
  4  38.9626
  5  0.000138224
  6  0.000546711
  7  18.8654
  8  0.00030594
  9  1.53753e-05
  10  57.9561
  11  1.0667e-06
  12  2.83536e-05
  13  9.31579e-06
  14  0.000581029
  15  1.10101e-08
  16  95.8947
  17  0.000164685
  18  1.27952e-05
  19  10.4212
  20  0.000180367
  21  44.6507
  22  36.7637
  23  41.4989
  24  0.324509
  25  0.14564
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  9.079e+01  5.796e+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:  1.080e+00  1.456e-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:  7.107e-01  3.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.20
Ra Dec: 322.296 -2.683
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 1.15e-07 +/- 7.36e-08
Energy Flux (Fixed Index): 2.92e-05 +/- 1.87e-05

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) = 6396.2546822
delta logL = 1.63156749894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6396.23555486
delta logL = 1.65069484315

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.419       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9140       1.0000          .0000       10.000    
     3 'Normalizat'    .53196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1405       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=   6396.236     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      304 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.402        55.715        .77940E-04   -.76894E-03
   2  Index         3.9149        1.3107        .37338E-02   -.22936E-03
   3  Normalizat    .53142        .31991        .47964E-03   -.38896E-04
   4  Prefactor     1.1406        .15084        .16377E-03   -.18660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.4019
  Index      = 3.91486
  Normalizat = 0.531415
  Prefactor  = 1.14064
 **********
 **   18 **HESSE 
 **********

 FCN=   6396.236     FROM HESSE     STATUS=OK            25 CALLS      329 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.402        34.265        .15588E-04   -1.4680    
   2  Index         3.9149        .81011        .14935E-03   -.21877    
   3  Normalizat    .53142        .31786        .19186E-04   -1.1098    
   4  Prefactor     1.1406        .14954        .32754E-04   -.88178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59855e-10
Minuit parameter uncertainties:
  1  34.2905
  2  0.813877
  3  0.318958
  4  0.149596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507365': 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) = 6396.23555193
delta logL = 1.6506977717

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  2.640e+01  3.429e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  3.915e+00  8.139e-01  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:  1.141e+00  1.496e-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:  5.314e-01  3.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.43
Ra Dec: 322.296 -2.683
Photon Index (Free Index): 3.91 +/- 0.81
Photon Flux (Free Index): 2.51e-07 +/- 1.17e-07
Energy Flux (Free Index): 3.81e-05 +/- 1.69e-05

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/507365/cmap_HighResolution_418953601_419212801_4FGL_J2129.1-0240_daily_bin693.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.15e-07', energy_flux2='3.81e-05', photon_flux_error='7.36e-08', dlogl='1.65e+00', energy_flux='2.92e-05', photon_flux2='2.51e-07', job_status='DONE', time_completed='2021-09-26 14:54:36.925433', photon_index_error2='0.81', photon_index2='3.91', ts='4.20', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.69e-05', EG='0.71', time_epoch_completed='1632693276.93', return_code='0', job_id='507365', GAL2='1.14', EG2='0.53', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='1.17e-07', ts2='8.43', photon_index='2.64' WHERE bin_id='693' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 14:54:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 507365: <4FGL_J2129.1-0240_daily_bin693> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin693> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 26 14:40:22 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 14:40:46 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:40:46 2021
Terminated at Sun Sep 26 14:54:37 2021
Results reported at Sun Sep 26 14:54:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin693 322.296 -2.6829 418953601 419212801 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 :                                   676.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            855 sec.

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

