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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1650
RA = 322.296, Dec = -2.6829
tmin = 667008001, tmax = 667267201
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='322784', job_status='RUN', time_executed='2022-02-23 00:52:40.878594', time_epoch_executed='1645606360.88' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/322784

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/322784/ft1_4FGL_J2129.1-0240_daily_bin1650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/322784/ft2_4FGL_J2129.1-0240_daily_bin1650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/322784/ft1_4FGL_J2129.1-0240_daily_bin1650.fits outfile=/scratch/kocevski/322784/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1650.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=667008001.0 tmax=667267201.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.04
user 2.81
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/322784/ft1_filtered_4FGL_J2129.1-0240_daily_bin1650.fits" evtable="EVENTS" scfile=/scratch/kocevski/322784/ft2_4FGL_J2129.1-0240_daily_bin1650.fits sctable="SC_DATA" outfile=/scratch/kocevski/322784/ltcube_667008001_667267201_4FGL_J2129.1-0240_daily_bin1650.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/322784/ft2_4FGL_J2129.1-0240_daily_bin1650.fits
.....................!
real 15.56
user 15.12
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/322784/ft1_filtered_4FGL_J2129.1-0240_daily_bin1650.fits evtable="EVENTS" scfile=/scratch/kocevski/322784/ft2_4FGL_J2129.1-0240_daily_bin1650.fits sctable="SC_DATA" expcube=/scratch/kocevski/322784/ltcube_667008001_667267201_4FGL_J2129.1-0240_daily_bin1650.fits outfile=/scratch/kocevski/322784/expmap_667008001_667267201_4FGL_J2129.1-0240_daily_bin1650.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/322784/ltcube_667008001_667267201_4FGL_J2129.1-0240_daily_bin1650.fits
.....................!
real 191.27
user 185.84
sys 4.87

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/322784/ft1_filtered_4FGL_J2129.1-0240_daily_bin1650.fits scfile=/scratch/kocevski/322784/ft2_4FGL_J2129.1-0240_daily_bin1650.fits outfile=/scratch/kocevski/322784/cmap_667008001_667267201_4FGL_J2129.1-0240_daily_bin1650.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/322784/ft1_filtered_4FGL_J2129.1-0240_daily_bin1650.fits scfile=/scratch/kocevski/322784/ft2_4FGL_J2129.1-0240_daily_bin1650.fits outfile=/scratch/kocevski/322784/cmap_HighResolution_667008001_667267201_4FGL_J2129.1-0240_daily_bin1650.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/322784/ft1_filtered_4FGL_J2129.1-0240_daily_bin1650.fits evtable="EVENTS" scfile=/scratch/kocevski/322784/ft2_4FGL_J2129.1-0240_daily_bin1650.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/322784/Model_4FGL_J2129.1-0240_daily_bin1650.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/322784/ft1_filtered_4FGL_J2129.1-0240_daily_bin1650.fits.....................!
real 37.98
user 36.71
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7894       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .57448E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16780E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13927E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20150E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .96181E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13907E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13601E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18251E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11163       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14771E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2221       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17655E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .70882E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .18736E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .63644E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    5.0362       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .55164E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .59145E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .67315       1.0000         .10000E-03   10000.    
    21 'Prefactor '    67.389       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.5097       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .99954E-01   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.4335       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=   2771.286     FROM MIGRAD    STATUS=CONVERGED   1094 CALLS     3019 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8543        12.349        .16692E-03    .28183E-03
   2  Prefactor     .10000E-03    23.068        .21087E-02** at limit **
   3  Prefactor     .10000E-03    18.044        .18142E-02** at limit **
   4  Prefactor     .10000E-03    17.614        .18142E-02** at limit **
   5  Prefactor     .10000E-03    10.196        .16418E-02** at limit **
   6  Prefactor     .10000E-03    61.668        .20788E-02** at limit **
   7  Prefactor     .10000E-03    27.340        .18142E-02** at limit **
   8  Prefactor     .10000E-03    16.511        .18142E-02** at limit **
   9  Prefactor     .10000E-03    15.950        .18142E-02** at limit **
  10  Prefactor     .10005E-03    353.89        .19133E-02** at limit **
  11  Prefactor     .10000E-03    7.7828        .14343E-02** at limit **
  12  Prefactor     1.2362        7.1267        .26522E-03    .32687E-03
  13  Prefactor     .10000E-03    33.355        .20338E-02** at limit **
  14  Prefactor     .10000E-03    57.809        .18679E-02** at limit **
  15  norm          .10000E-03    75.886        .18233E-02** at limit **
  16  Prefactor     .10000E-03    40.649        .18850E-02** at limit **
  17  norm          5.4020        58.824        .17918E-03    .67889E-05
  18  Prefactor     .10000E-03    6.1253        .12716E-02** at limit **
  19  Prefactor     .10001E-03    106.22        .18629E-02** at limit **
  20  Prefactor     2.2152        140.11        .47834E-03   -.12135E-03
  21  Prefactor     69.665        63.928        .24446E-03   -.66827E-04
  22  Prefactor     .10012E-03    104.41        .14220    ** at limit **
  23  Prefactor     .10014E-03    1204.8        .38044E-02** at limit **
  24  Normalizat    .10000E-01    .39084        .12147E-01** at limit **
  25  Prefactor     1.4318        .12293        .15190E-03    .17497E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.85427
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100046
  Prefactor  = 0.0001
  Prefactor  = 1.23621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.40197
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 2.21521
  Prefactor  = 69.6649
  Prefactor  = 0.00010012
  Prefactor  = 0.000100143
  Normalizat = 0.01
  Prefactor  = 1.43182
 **********
 **   18 **HESSE 
 **********

 FCN=   2771.286     FROM HESSE     STATUS=OK           411 CALLS     3430 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8543        12.346        .66768E-05   -1.5224    
   2  Prefactor     .10000E-03    23.070        .42174E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.045        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.615        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.196        .32836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    61.670        .41576E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    27.341        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.511        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.950        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10005E-03    353.92        .38266E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.7828        .28686E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.2362        7.1222        .10609E-04   -1.5486    
  13  Prefactor     .10000E-03    33.356        .40675E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    57.809        .37359E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    75.886        .36465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    40.649        .37700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.4020        58.819        .71673E-05   -1.5243    
  18  Prefactor     .10000E-03    6.1254        .25432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    106.22        .37258E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.2152        139.79        .19134E-04   -1.5410    
  21  Prefactor     69.665        63.912        .97786E-05   -1.4037    
  22  Prefactor     .10012E-03    106.03        .14036       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10014E-03    1209.0        .76088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .39100        .24293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.4318        .12277        .30379E-04   -.79467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18341e-09
Minuit parameter uncertainties:
  1  12.3512
  2  0.000478808
  3  5.13006e-05
  4  5.00156e-05
  5  3.65058e-06
  6  0.000955805
  7  1.86332e-05
  8  1.62032e-05
  9  2.69623e-05
  10  0.00812605
  11  8.02882e-06
  12  5.93532
  13  5.61089e-05
  14  0.00013047
  15  0.000621687
  16  0.000182911
  17  35.695
  18  2.9701e-05
  19  0.00234803
  20  35.2802
  21  63.975
  22  0.00715149
  23  0.0268702
  24  1.1415e-05
  25  0.122792
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.000e-04  8.126e-03  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.432e+00  1.228e-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.000e-02  1.141e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 322.296 -2.683
Photon Flux Upper Limit: 3.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.66e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/322784/likelihoodResults_667008001_667267201_4FGL_J2129.1-0240_daily_bin1650.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) = 2771.28584552
delta logL = -2.3153179427e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2771.28583566
delta logL = -1.32866007334e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96168E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6371       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4318       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=   2771.286     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      209 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10086E-03    415.75        .90731E-02** at limit **
   2  Index         2.5717        6.5340        .50000        .11748E-05
   3  Normalizat    .10000E-01    .28241E-03    .32094    ** at limit **
   4  Prefactor     1.4318        .46435E-02    .30636E-01    .94605E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100861
  Index      = 2.57175
  Normalizat = 0.01
  Prefactor  = 1.43182
 **********
 **   18 **HESSE 
 **********

 FCN=   2771.286     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      242 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10086E-03    1936.3        .18146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5717        7.7608        .50000       -.50711    
   3  Normalizat    .10000E-01    .39211E-02    .12184E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4318        .10310E-01    .15190E-03   -.79467    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.22211e-08
Minuit parameter uncertainties:
  1  0.0845636
  2  783.375
  3  2.7491e-07
  4  0.0103103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/322784': 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): 102
logL (Free Index) = 2771.28582235
delta logL = 2.01589500648e-08

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.009e-04  8.456e-02  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.572e+00  7.834e+02  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.432e+00  1.031e-02  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.000e-02  2.749e-07  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/322784/cmap_HighResolution_667008001_667267201_4FGL_J2129.1-0240_daily_bin1650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.66e-02', job_status='DONE', photon_flux_upper_limit='3.39e-07', time_completed='2022-02-23 01:00:41.301582', job_id='322784', GAL2='1.43', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1645606841.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.43', dlogl='2.02e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1650' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 23 01:00:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 322784: <4FGL_J2129.1-0240_daily_bin1650> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1650> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Feb 23 00:50:15 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 23 00:51:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 23 00:51:03 2022
Terminated at Wed Feb 23 01:00:42 2022
Results reported at Wed Feb 23 01:00:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1650 322.296 -2.6829 667008001 667267201 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 :                                   482.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   580 sec.
    Turnaround time :                            627 sec.

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

