aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 14 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 = 7709
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1829.2-5813_daily_bin1692
RA = 277.311, Dec = -58.2323
tmin = 677894401, tmax = 678153601
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='406336', job_status='RUN', time_executed='2022-06-29 04:52:50.895681', time_epoch_executed='1656503570.9' WHERE source_name='4FGL J1829.2-5813' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406336

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406336/ft1_4FGL_J1829.2-5813_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406336/ft1_4FGL_J1829.2-5813_daily_bin1692.fits outfile=/scratch/kocevski/406336/ft1_filteredMKT_4FGL_J1829.2-5813_daily_bin1692.fits ra=277.311 dec=-58.2323 rad=12.0 tmin=677894401.0 tmax=678153601.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.61
user 4.24
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.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/406336/ft1_filteredMKT_4FGL_J1829.2-5813_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/406336/ft1_filtered_4FGL_J1829.2-5813_daily_bin1692.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.55
user 0.34
sys 0.18

Number of photons that the gtmktime cut: 900

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406336/ft1_filtered_4FGL_J1829.2-5813_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/406336/ltcube_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.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/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.fits
.....................!
real 16.12
user 15.63
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406336/ft1_filtered_4FGL_J1829.2-5813_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/406336/ltcube_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.fits outfile=/scratch/kocevski/406336/expmap_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.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/406336/ltcube_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.fits
.....................!
real 197.01
user 186.25
sys 5.49

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
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Added 318 point sources and 11 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1829.2-5813 @ 277.311 -58.2323

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/406336/ft1_filtered_4FGL_J1829.2-5813_daily_bin1692.fits scfile=/scratch/kocevski/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.fits outfile=/scratch/kocevski/406336/cmap_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.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=277.311 yref=-58.2323 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.62
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406336/ft1_filtered_4FGL_J1829.2-5813_daily_bin1692.fits scfile=/scratch/kocevski/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.fits outfile=/scratch/kocevski/406336/cmap_HighResolution_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.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=277.311 yref=-58.2323 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406336/ft1_filtered_4FGL_J1829.2-5813_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406336/Model_4FGL_J1829.2-5813_daily_bin1692.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
Working on...
/scratch/kocevski/406336/ft1_filtered_4FGL_J1829.2-5813_daily_bin1692.fits....................!
real 344.65
user 341.31
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/406336/ft1_filtered_4FGL_J1829.2-5813_daily_bin1692.fits', '/scratch/kocevski/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.fits', expMap='/scratch/kocevski/406336/expmap_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.fits', expCube='/scratch/kocevski/406336/ltcube_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/406336/Model_4FGL_J1829.2-5813_daily_bin1692.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1829.2-5813'

4FGL J1829.2-5813
   Spectrum: LogParabola
806         norm:  1.490e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
807        alpha:  2.500e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
808         beta:  1.293e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
809           Eb:  6.137e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/406336/ft1_filtered_4FGL_J1829.2-5813_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/406336/ft2_4FGL_J1829.2-5813_daily_bin1692.fits
Exposure map: /scratch/kocevski/406336/expmap_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.fits
Exposure cube: /scratch/kocevski/406336/ltcube_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/406336/Model_4FGL_J1829.2-5813_daily_bin1692.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) = 9020.54694362

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1837       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4682       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.9338       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    17.360       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .91083E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16316E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.3689       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    185.82       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.882       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    5.1122       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .82777       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0086       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1159E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9020.537     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2777 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1829        5.1512       -.52639E-06    .10670E-04
   2  norm          2.4654        6.9831        .87007E-08    .16082E-04
   3  Prefactor     .10000E-03    4.8030       -.76503E-07** at limit **
   4  Prefactor     6.9296        11.996        .77487E-07   -.24344E-04
   5  Prefactor     .10000E-03    15.082       -.72789E-07** at limit **
   6  norm          17.367        26.913       -.25094E-06    .59034E-04
   7  Prefactor     .10000E-03    11.427       -.14473E-05** at limit **
   8  Prefactor     .10000E-03    39.161        .47438E-07** at limit **
   9  norm          .10000E-03    5.4117       -.76118E-07** at limit **
  10  Prefactor     .10000E-03    5.0444       -.95273E-07** at limit **
  11  Prefactor     .10000E-03    8.3421       -.15413E-06** at limit **
  12  Prefactor     .10000E-03    4.9340       -.46368E-07** at limit **
  13  Prefactor     .10000E-03    125.00       -.46159E-05** at limit **
  14  norm          .10000E-03    4.0658       -.16688E-06** at limit **
  15  norm          2.3681        4.3110       -.31156E-06    .26771E-04
  16  norm          .10000E-03    .91374        .14690E-05** at limit **
  17  Prefactor     186.04        96.096        .13278E-05   -.20167E-04
  18  Prefactor     .10000E-03    59.527        .32213E-05** at limit **
  19  Prefactor     20.924        57.242        .49114E-05   -.31456E-04
  20  Prefactor     .10000E-03    49.944       -.26355E-05** at limit **
  21  norm          5.1170        11.276       -.18330E-05    .41423E-04
  22  norm          .10000E-03    .48476       -.10030E-06** at limit **
  23  Normalizat    .82779        .31215        .34982E-05    .61507E-04
  24  Prefactor     1.0087        .84402E-01    .33765E-06    .59085E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.18286
  norm       = 2.46541
  Prefactor  = 0.0001
  Prefactor  = 6.92962
  Prefactor  = 0.0001
  norm       = 17.3667
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 2.36808
  norm       = 0.0001
  Prefactor  = 186.038
  Prefactor  = 0.0001
  Prefactor  = 20.9239
  Prefactor  = 0.0001
  norm       = 5.11704
  norm       = 0.0001
  Normalizat = 0.827791
  Prefactor  = 1.00872
 **********
 **   18 **HESSE 
 **********

 FCN=   9020.537     FROM HESSE     STATUS=OK           403 CALLS     3180 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1829        5.1505        .27856E-03   -1.5412    
   2  norm          2.4654        7.0010        .26028E-03   -1.5394    
   3  Prefactor     .10000E-03    4.8558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.9296        11.966        .15236E-03   -1.5181    
   5  Prefactor     .10000E-03    15.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          17.367        26.981        .96125E-04   -1.4874    
   7  Prefactor     .10000E-03    15.875        .87855E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    39.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.4327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.0490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.3601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.9453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    128.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.1495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.3681        4.2970        .25584E-03   -1.5400    
  16  norm          .10000E-03    .91234        .13254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     186.04        96.070        .14810E-03   -1.2972    
  18  Prefactor     .10000E-03    59.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.924        56.883        .87651E-04   -1.4793    
  20  Prefactor     .10000E-03    49.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.1170        11.263        .17782E-03   -1.5256    
  22  norm          .10000E-03    .49550        .64605E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .82779        .33549        .53873E-03   -.99046    
  24  Prefactor     1.0087        .93508E-01    .13619E-03   -.92440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37328e-10
Minuit parameter uncertainties:
  1  5.15159
  2  7.0033
  3  8.96959e-06
  4  11.9699
  5  2.06827e-05
  6  26.9999
  7  0.000467921
  8  4.97786e-05
  9  1.47599e-05
  10  6.72552e-06
  11  3.01186e-05
  12  1.84836e-05
  13  0.000585326
  14  2.55844e-05
  15  4.2976
  16  3.20071e-06
  17  96.1509
  18  0.000235155
  19  57.0306
  20  0.000210646
  21  11.2672
  22  4.98234e-06
  23  0.336332
  24  0.0935227
Done.

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

Extracting fit parameters...

4FGL J1829.2-5813
   Spectrum: LogParabola
806         norm:  1.000e-04  3.201e-06  1.000e-04  1.000e+04 ( 1.000e-11)
807        alpha:  2.500e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
808         beta:  1.293e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
809           Eb:  6.137e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1141    Prefactor:  1.009e+00  9.352e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1142        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1143        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1117   Normalization:  8.278e-01  3.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 277.311 -58.232
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/406336/likelihoodResults_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.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) = 9020.54185028
delta logL = -0.00524147515716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9020.53660896
delta logL = -1.58654074767e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5170       1.0000          .0000       5.0000    
     3 'Normalizat'    .82804       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0086       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1159E+06   .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=   9020.537     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      256 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1206        .13232E-02** at limit **
   2  alpha         2.9273        3.9522        .16461E-01   -.20719E-07
   3  Normalizat    .82779        .31493        .53876E-03   -.76142E-03
   4  Prefactor     1.0087        .88070E-01    .13619E-03   -.31104E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.92735
  Normalizat = 0.827788
  Prefactor  = 1.00871
 **********
 **   18 **HESSE 
 **********

 FCN=   9020.537     FROM HESSE     STATUS=OK            23 CALLS      279 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0843        .26463E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9273        3.5432        .65845E-03    .17178    
   3  Normalizat    .82779        .31499        .21551E-04   -.99046    
   4  Prefactor     1.0087        .88092E-01    .27238E-04   -.92440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16767e-09
Minuit parameter uncertainties:
  1  4.81794e-07
  2  95.0712
  3  0.315684
  4  0.088105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406336': 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) = 9020.5366002
delta logL = 8.60120417201e-06

Extracting fit parameters...

4FGL J1829.2-5813
   Spectrum: LogParabola
806         norm:  1.000e-04  4.818e-07  1.000e-04  1.000e+04 ( 1.000e-11)
807        alpha:  2.927e+00  9.507e+01  0.000e+00  5.000e+00 ( 1.000e+00)
808         beta:  1.293e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
809           Eb:  6.137e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1141    Prefactor:  1.009e+00  8.810e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1142        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1143        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1117   Normalization:  8.278e-01  3.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 277.311 -58.232

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/406336/cmap_HighResolution_677894401_678153601_4FGL_J1829.2-5813_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-05', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2022-06-29 05:22:01.998811', job_id='406336', GAL2='1.01', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1656505322.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='8.60e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1692' AND source_name='4FGL J1829.2-5813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 05:22:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 406336: <4FGL_J1829.2-5813_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1829.2-5813_daily_bin1692> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun 29 00:07:38 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:52:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:52:26 2022
Terminated at Wed Jun 29 05:22:02 2022
Results reported at Wed Jun 29 05:22:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1829.2-5813_daily_bin1692 277.311 -58.2323 677894401 678153601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1829.2-5813 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1743.17 sec.
    Max Memory :                                 1098 MB
    Average Memory :                             385.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1776 sec.
    Turnaround time :                            18864 sec.

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

