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


Performing analysis on: 4FGL_J0833.3-4342c_monthly_bin170
RA = 128.34, Dec = -43.7136
tmin = 677635201, tmax = 680227201
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='88753', job_status='RUN', time_executed='2022-07-23 00:57:01.444266', time_epoch_executed='1658563021.44' WHERE source_name='4FGL J0833.3-4342c' and cadence='monthly' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88753

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88753/ft1_4FGL_J0833.3-4342c_monthly_bin170.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88753/ft1_4FGL_J0833.3-4342c_monthly_bin170.fits outfile=/scratch/kocevski/88753/ft1_filteredMKT_4FGL_J0833.3-4342c_monthly_bin170.fits ra=128.34 dec=-43.7136 rad=12.0 tmin=677635201.0 tmax=680227201.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 32.39
user 31.48
sys 0.84

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.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/88753/ft1_filteredMKT_4FGL_J0833.3-4342c_monthly_bin170.fits evtable="EVENTS" outfile="/scratch/kocevski/88753/ft1_filtered_4FGL_J0833.3-4342c_monthly_bin170.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.91
user 0.69
sys 0.21

Number of photons that the gtmktime cut: 73678

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88753/ft1_filtered_4FGL_J0833.3-4342c_monthly_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/88753/ltcube_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.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/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.fits
.....................!
real 108.29
user 107.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88753/ft1_filtered_4FGL_J0833.3-4342c_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/88753/ltcube_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.fits outfile=/scratch/kocevski/88753/expmap_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.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/88753/ltcube_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.fits
.....................!
real 190.82
user 185.62
sys 4.86

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 221 point sources and 3 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 J0833.3-4342c @ 128.34 -43.7136

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/88753/ft1_filtered_4FGL_J0833.3-4342c_monthly_bin170.fits scfile=/scratch/kocevski/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.fits outfile=/scratch/kocevski/88753/cmap_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.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=128.34 yref=-43.7136 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 1.50
user 0.74
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88753/ft1_filtered_4FGL_J0833.3-4342c_monthly_bin170.fits scfile=/scratch/kocevski/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.fits outfile=/scratch/kocevski/88753/cmap_HighResolution_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.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=128.34 yref=-43.7136 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.92
user 0.75
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88753/ft1_filtered_4FGL_J0833.3-4342c_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88753/Model_4FGL_J0833.3-4342c_monthly_bin170.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
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/88753/ft1_filtered_4FGL_J0833.3-4342c_monthly_bin170.fits.....................!
real 9686.02
user 9668.11
sys 2.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88753/ft1_filtered_4FGL_J0833.3-4342c_monthly_bin170.fits', '/scratch/kocevski/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.fits', expMap='/scratch/kocevski/88753/expmap_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.fits', expCube='/scratch/kocevski/88753/ltcube_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88753/Model_4FGL_J0833.3-4342c_monthly_bin170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0833.3-4342c'

4FGL J0833.3-4342c
   Spectrum: PowerLaw
333    Prefactor:  7.218e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
334        Index:  2.515e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
335        Scale:  3.010e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/88753/ft1_filtered_4FGL_J0833.3-4342c_monthly_bin170.fits
Spacecraft file(s): /scratch/kocevski/88753/ft2_4FGL_J0833.3-4342c_monthly_bin170.fits
Exposure map: /scratch/kocevski/88753/expmap_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.fits
Exposure cube: /scratch/kocevski/88753/ltcube_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88753/Model_4FGL_J0833.3-4342c_monthly_bin170.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) = 586933.744897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4059       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .99859E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9607       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.776       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.402       1.0000         .10000E-03   10000.    
     8 'norm      '    .18778       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16843       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.077       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5269       1.0000         .10000E-03   10000.    
    12 'norm      '    2.0266       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12596E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.0487       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .89353       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0195       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   586933.7     FROM MIGRAD    STATUS=CONVERGED    397 CALLS     1672 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3948        1.7670        .61547E-07   -.67388E-02
   2  Prefactor     .29998        1.1051       -.20207E-06   -.31514E-04
   3  Prefactor     3.9640        5.3657       -.36546E-06   -.53490E-04
   4  Prefactor     13.763        1.8979       -.95385E-08    .49775E-03
   5  norm          .10000E-03    .11607        .88619E-08** at limit **
   6  norm          .10000E-03    3.1797        .61719E-07** at limit **
   7  Prefactor     22.371        21.989       -.20813E-04   -.10208E-03
   8  norm          .12979        .41912       -.14472E-06    .70045E-04
   9  Prefactor     .17039        .21293        .20164E-07   -.25037E-03
  10  Prefactor     15.089        11.987       -.36777E-06    .21504E-04
  11  norm          1.5258        .78219        .20072E-08    .87043E-03
  12  norm          2.0275        4.7034        .10517E-05   -.21689E-02
  13  Prefactor     .10000E-03    1.4706       -.59836E-07** at limit **
  14  Prefactor     .10000E-03    .11489       -.57394E-08** at limit **
  15  Prefactor     .10000E-03    .70323       -.64933E-08** at limit **
  16  Prefactor     2.0494        1.1355       -.24540E-07   -.17248E-02
  17  Normalizat    .89326        .10648       -.27854E-06   -.99334E-04
  18  Prefactor     1.0195        .97545E-02    .86395E-07   -.26079E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.39485
  Prefactor  = 0.299983
  Prefactor  = 3.96402
  Prefactor  = 13.763
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 22.3714
  norm       = 0.12979
  Prefactor  = 0.170392
  Prefactor  = 15.0888
  norm       = 1.52583
  norm       = 2.0275
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.04939
  Normalizat = 0.893263
  Prefactor  = 1.01947
 **********
 **   18 **HESSE 
 **********

 FCN=   586933.7     FROM HESSE     STATUS=OK           282 CALLS     1954 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3948        2.6844        .13198E-02   -1.5398    
   2  Prefactor     .29998        1.0479        .22981       -1.5598    
   3  Prefactor     3.9640        5.3472        .20268E-03   -1.5310    
   4  Prefactor     13.763        1.8904        .10792E-03   -1.4966    
   5  norm          .10000E-03    .67733        .50130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.2008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.371        22.011        .84627E-04   -1.4762    
   8  norm          .12979        .42462        .15884       -1.5636    
   9  Prefactor     .17039        1.3538        .36908E-02   -1.5625    
  10  Prefactor     15.089        11.964        .10315E-03   -1.4931    
  11  norm          1.5258        .78922        .34553E-03   -1.5461    
  12  norm          2.0275        5.6938        .14532E-02   -1.5423    
  13  Prefactor     .10000E-03    1.4995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .18317        .92836E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .72110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.0494        1.1260        .28883E-03   -1.5422    
  17  Normalizat    .89326        .92793E-01    .15308E-02   -.96697    
  18  Prefactor     1.0195        .89714E-02    .14629E-03   -.92083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18805e-06
Minuit parameter uncertainties:
  1  2.68452
  2  1.04797
  3  5.34784
  4  1.89036
  5  1.70325e-06
  6  5.57465e-07
  7  22.0188
  8  0.42463
  9  0.960334
  10  11.9654
  11  0.789223
  12  5.69536
  13  1.429e-06
  14  9.39636e-06
  15  1.69229e-06
  16  1.12599
  17  0.0928096
  18  0.00897141
Done.

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

Extracting fit parameters...

4FGL J0833.3-4342c
   Spectrum: PowerLaw
333    Prefactor:  1.509e+01  1.197e+01  1.000e-04  1.000e+04 ( 1.000e-14)
334        Index:  2.515e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
335        Scale:  3.010e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
750    Prefactor:  1.019e+00  8.971e-03  0.000e+00  1.000e+01 ( 1.000e+00)
751        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
752        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
749   Normalization:  8.933e-01  9.281e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.76
Ra Dec: 128.340 -43.714
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 5.21e-08 +/- 4.13e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.18e-05

TS (Fixed Index): 1.76
Ra Dec: 128.340 -43.714
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88753/likelihoodResults_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.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) = 586933.645539
delta logL = 0.021793406806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 586933.604784
delta logL = 0.0625490809325

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.579       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6765       1.0000          .0000       10.000    
     3 'Normalizat'    .89085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7630E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   586933.6     FROM MIGRAD    STATUS=FAILED       109 CALLS      276 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.577        40.988        .11773E-03   -.10383E-02
   2  Index         2.6767        1.3441        .10847E-01   -.10224E-02
   3  Normalizat    .89085        .87106E-01    .15324E-02   -.91542E-03
   4  Prefactor     1.0194        .88770E-02    .14628E-03   -.10923E-01
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   586933.6     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      352 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.577        40.988        .20101E-03   -1.5027    
   2  Index         2.6767        1.3441        .38175E-03   -.48326    
   3  Normalizat    .89085        .87106E-01    .14020E-03   -.96783    
   4  Prefactor     1.0194        .88770E-02    .14493E-04   -.92085    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   586933.6     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      381 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.576        14.328        .47093E-05   -.20394E-02
   2  Index         2.6767        .47728        .43388E-03   -.75798E-03
   3  Normalizat    .89085        .85208E-01    .61296E-04   -.93536E-03
   4  Prefactor     1.0194        .88298E-02    .58514E-05   -.10743E-01
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.5761
  Index      = 2.6767
  Normalizat = 0.890846
  Prefactor  = 1.01943
 **********
 **   18 **HESSE 
 **********

 FCN=   586933.6     FROM HESSE     STATUS=OK            23 CALLS      404 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.576        13.793        .94185E-06   -1.5027    
   2  Index         2.6767        .45688        .17355E-04   -.48325    
   3  Normalizat    .89085        .85153E-01    .12259E-04   -.96783    
   4  Prefactor     1.0194        .88277E-02    .11703E-05   -.92085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83815e-09
Minuit parameter uncertainties:
  1  13.7966
  2  0.457691
  3  0.085166
  4  0.00882774
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88753': 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) = 586933.604783
delta logL = 0.0625491831452

Extracting fit parameters...

4FGL J0833.3-4342c
   Spectrum: PowerLaw
333    Prefactor:  1.158e+01  1.380e+01  1.000e-04  1.000e+04 ( 1.000e-14)
334        Index:  2.677e+00  4.577e-01  0.000e+00  1.000e+01 (-1.000e+00)
335        Scale:  3.010e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
750    Prefactor:  1.019e+00  8.828e-03  0.000e+00  1.000e+01 ( 1.000e+00)
751        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
752        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
749   Normalization:  8.908e-01  8.517e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.91
Ra Dec: 128.340 -43.714
Photon Index (Free Index): 2.68 +/- 0.46
Photon Flux (Free Index): 6.27e-08 +/- 5.26e-08
Energy Flux (Free Index): 1.54e-05 +/- 1.16e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+01 [aplpy.core]
Saving /scratch/kocevski/88753/cmap_HighResolution_677635201_680227201_4FGL_J0833.3-4342c_monthly_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.70e-03', comment='SUCCESS', photon_flux='5.21e-08', energy_flux2='1.54e-05', photon_flux_error='4.13e-08', dlogl='6.25e-02', energy_flux='1.49e-05', photon_flux2='6.27e-08', job_status='DONE', time_completed='2022-07-23 14:49:19.597221', photon_index_error2='0.46', photon_index2='2.68', ts='1.76', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='1.16e-05', EG='0.89', time_epoch_completed='1658612959.6', return_code='0', job_id='88753', GAL2='1.02', EG2='0.89', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='5.26e-08', ts2='1.91', photon_index='2.51' WHERE bin_id='170' AND source_name='4FGL J0833.3-4342c' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Jul 23 14:49:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 88753: <4FGL_J0833.3-4342c_monthly_bin170> in cluster <slac> Done

Job <4FGL_J0833.3-4342c_monthly_bin170> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jul 23 00:55:39 2022
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:55:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:55:40 2022
Terminated at Sat Jul 23 14:49:25 2022
Results reported at Sat Jul 23 14:49:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0833.3-4342c_monthly_bin170 128.34 -43.7136 677635201 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0833.3-4342c fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   49837.00 sec.
    Max Memory :                                 1694 MB
    Average Memory :                             1482.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                22
    Run time :                                   50024 sec.
    Turnaround time :                            50026 sec.

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

