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 93 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0830.8+2410_weekly_bin760
RA = 127.701, Dec = 24.1727
tmin = 698630401, tmax = 699235201
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='15868', job_status='RUN', time_executed='2023-02-28 00:47:16.807232', time_epoch_executed='1677574036.81' WHERE source_name='4FGL J0830.8+2410' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/15868

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/15868/ft1_4FGL_J0830.8+2410_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/15868/ft1_4FGL_J0830.8+2410_weekly_bin760.fits outfile=/scratch/kocevski/15868/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin760.fits ra=127.701 dec=24.1727 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.21
user 5.93
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.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/15868/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/15868/ft1_filtered_4FGL_J0830.8+2410_weekly_bin760.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.54
user 0.35
sys 0.18

Number of photons that the gtmktime cut: 226

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/15868/ft1_filtered_4FGL_J0830.8+2410_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/15868/ltcube_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.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/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.fits
.....................!
real 32.54
user 32.09
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/15868/ft1_filtered_4FGL_J0830.8+2410_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/15868/ltcube_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.fits outfile=/scratch/kocevski/15868/expmap_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.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/15868/ltcube_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.fits
.....................!
real 190.86
user 186.38
sys 4.10

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

Setting source of interest to:
4FGL J0830.8+2410 @ 127.701 24.1727

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/15868/ft1_filtered_4FGL_J0830.8+2410_weekly_bin760.fits scfile=/scratch/kocevski/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.fits outfile=/scratch/kocevski/15868/cmap_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.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=127.701 yref=24.1727 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/15868/ft1_filtered_4FGL_J0830.8+2410_weekly_bin760.fits scfile=/scratch/kocevski/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.fits outfile=/scratch/kocevski/15868/cmap_HighResolution_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.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=127.701 yref=24.1727 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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/15868/ft1_filtered_4FGL_J0830.8+2410_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/15868/Model_4FGL_J0830.8+2410_weekly_bin760.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/15868/ft1_filtered_4FGL_J0830.8+2410_weekly_bin760.fits.....................!
real 39.37
user 38.08
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/15868/ft1_filtered_4FGL_J0830.8+2410_weekly_bin760.fits', '/scratch/kocevski/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.fits', expMap='/scratch/kocevski/15868/expmap_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.fits', expCube='/scratch/kocevski/15868/ltcube_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/15868/Model_4FGL_J0830.8+2410_weekly_bin760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0830.8+2410'

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  1.247e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  2.412e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  5.176e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/15868/ft1_filtered_4FGL_J0830.8+2410_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/15868/ft2_4FGL_J0830.8+2410_weekly_bin760.fits
Exposure map: /scratch/kocevski/15868/expmap_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.fits
Exposure cube: /scratch/kocevski/15868/ltcube_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/15868/Model_4FGL_J0830.8+2410_weekly_bin760.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) = 2719.25023682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .52358E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    25.777       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17511E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    50.836       1.0000          .0000       .10000E+07
     5 'norm      '    152.53       1.0000          .0000       .10000E+07
     6 'Prefactor '    .30978E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .83408E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    46.907       1.0000          .0000       .10000E+07
     9 'norm      '    2.1034       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12361E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    32.196       1.0000          .0000       .10000E+07
    12 'norm      '    .66613E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.8084       1.0000          .0000       .10000E+07
    14 'Prefactor '    .56488E-01   1.0000          .0000       .10000E+07
    15 'norm      '    233.87       1.0000          .0000       .10000E+07
    16 'norm      '    .38064E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .38621       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2719.134     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1295 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.5961       -.32067E-07** at limit **
   2  Prefactor     24.090        39.057        .15807E-06    .40495E-01
   3  Prefactor      .0000        9.0882        .28996E-07** at limit **
   4  Prefactor     47.228        34.663        .81940E-07    .25477    
   5  norm          156.42        79.190        .10826E-05   -.25923    
   6  Prefactor     .22204E-09    15.937       -.33886E-06** at limit **
   7  Prefactor      .0000        27.288       -.66404E-07** at limit **
   8  Prefactor     39.676        59.367       -.82030E-06   -.12604    
   9  norm          2.3804        3.5484       -.13611E-06    .23730E-02
  10  Prefactor     .55511E-10    11.239        .92397E-07** at limit **
  11  Prefactor     28.167        74.292       -.26242E-05   -.11055    
  12  norm           .0000        1.3902       -.81769E-07** at limit **
  13  Prefactor     7.2194        86.818       -.45779E-05    .20637E-01
  14  Prefactor      .0000        24.673        .72028E-07** at limit **
  15  norm          233.48        12.502       -.15719E-06    .29248    
  16  norm           .0000        5.8325        .15683E-06** at limit **
  17  Normalizat    .39803        .32437        .26503E-04    .53706E-04
  18  Prefactor     1.2158        .24807       -.92863E-05    .28537E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 24.0903
  Prefactor  = 0
  Prefactor  = 47.2278
  norm       = 156.416
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 39.6762
  norm       = 2.38043
  Prefactor  = 5.55112e-11
  Prefactor  = 28.167
  norm       = 0
  Prefactor  = 7.2194
  Prefactor  = 0
  norm       = 233.483
  norm       = 0
  Normalizat = 0.398031
  Prefactor  = 1.21583
 **********
 **   18 **HESSE 
 **********

 FCN=   2719.134     FROM HESSE     STATUS=OK           272 CALLS     1567 TOTAL
                     EDM=   .45E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.5948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.090        39.569        .19700E-03   -1.5610    
   3  Prefactor      .0000        8.9520        .17206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     47.228        63.401        .14026E-03   -1.5571    
   5  norm          156.42        124.04        .80976E-04   -1.5458    
   6  Prefactor     .22204E-09    15.966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        26.972        .14398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     39.676        66.402        .14602E-03   -1.5582    
   9  norm          2.3804        3.7826        .71122E-03   -1.5677    
  10  Prefactor     .55511E-10    11.215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     28.167        100.63        .17626E-03   -1.5602    
  12  norm           .0000        1.3840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2194        101.03        .41649E-03   -1.5654    
  14  Prefactor      .0000        24.615        .15291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          233.48        274.38        .65399E-04   -1.5402    
  16  norm           .0000        5.8251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .39803        .31142        .88475E-01   -1.1740    
  18  Prefactor     1.2158        .23197        .34213E-01   -.85846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45534e-05
Minuit parameter uncertainties:
  1  2.70185e-06
  2  39.5697
  3  9.46407e-06
  4  63.4023
  5  124.04
  6  0.000112508
  7  2.45991e-06
  8  66.4034
  9  3.78265
  10  3.73554e-05
  11  100.641
  12  1.97658e-06
  13  54.0146
  14  1.34074e-05
  15  274.392
  16  4.1636e-06
  17  0.312785
  18  0.232161
Done.

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

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  2.380e+00  3.783e+00  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  2.412e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  5.176e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.216e+00  2.322e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  3.980e-01  3.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.18
Ra Dec: 127.701 24.173
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 7.50e-08 +/- 1.19e-07
Energy Flux (Fixed Index): 2.22e-05 +/- 3.53e-05

TS (Fixed Index): 1.18
Ra Dec: 127.701 24.173
Photon Flux Upper Limit: 2.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/15868/likelihoodResults_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.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) = 2719.10779818
delta logL = 0.0266812688146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2719.10648592
delta logL = 0.0279935289195

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3068       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6249       1.0000          .0000       5.0000    
     3 'Normalizat'    .38811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2203       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2719.106     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3065        107.87        .67530E-03    .21542E-02
   2  alpha         2.6249        3.4303        .39669        .62329E-05
   3  Normalizat    .38787        .13562        .89588E-01    .22302E-04
   4  Prefactor     1.2206        .12170        .34167E-01   -.16568E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.30654
  alpha      = 2.62491
  Normalizat = 0.387875
  Prefactor  = 1.22059
 **********
 **   18 **HESSE 
 **********

 FCN=   2719.106     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3065        2.5865        .80458E-05   -1.5678    
   2  alpha         2.6249        .90080        .15950E-01    .49984E-01
   3  Normalizat    .38787        .31651        .39694E-03   -1.1793    
   4  Prefactor     1.2206        .24775        .18206E-03   -.85700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2833e-12
Minuit parameter uncertainties:
  1  2.58653
  2  0.921581
  3  0.317981
  4  0.247991
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/15868': 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) = 2719.10648509
delta logL = 0.0279943605951

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  2.307e+00  2.587e+00  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  2.625e+00  9.216e-01  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  5.176e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.221e+00  2.480e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  3.879e-01  3.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 127.701 24.173
Photon Index (Free Index): 2.62 +/- 0.92
Photon Flux (Free Index): 8.87e-08 +/- 1.07e-07
Energy Flux (Free Index): 2.25e-05 +/- 2.40e-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/15868/cmap_HighResolution_698630401_699235201_4FGL_J0830.8+2410_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.86e-05', comment='SUCCESS', photon_flux='7.50e-08', energy_flux2='2.25e-05', photon_flux_error='1.19e-07', dlogl='2.80e-02', energy_flux='2.22e-05', photon_flux2='8.87e-08', job_status='DONE', time_completed='2023-02-28 00:54:36.518293', photon_index_error2='0.92', photon_index2='2.62', ts='1.18', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='2.65e-07', energy_flux_error2='2.40e-05', EG='0.40', time_epoch_completed='1677574476.52', return_code='0', job_id='15868', GAL2='1.22', EG2='0.39', return_code2='0', energy_flux_error='3.53e-05', photon_flux_error2='1.07e-07', ts2='1.27', photon_index='2.41' WHERE bin_id='760' AND source_name='4FGL J0830.8+2410' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 00:54:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 15868: <4FGL_J0830.8+2410_weekly_bin760> in cluster <slac> Done

Job <4FGL_J0830.8+2410_weekly_bin760> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Feb 28 00:45:28 2023
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 00:45:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 00:45:29 2023
Terminated at Tue Feb 28 00:54:36 2023
Results reported at Tue Feb 28 00:54:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0830.8+2410_weekly_bin760 127.701 24.1727 698630401 699235201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0830.8+2410 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   441.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   547 sec.
    Turnaround time :                            548 sec.

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

