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


Performing analysis on: 4FGL_J0915.9+2933_weekly_bin750
RA = 138.986, Dec = 29.553
tmin = 692582401, tmax = 693187201
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='43662', job_status='RUN', time_executed='2022-12-20 02:49:01.813055', time_epoch_executed='1671533341.81' WHERE source_name='4FGL J0915.9+2933' and cadence='weekly' and bin_id='750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43662

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43662/ft1_4FGL_J0915.9+2933_weekly_bin750.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43662/ft1_4FGL_J0915.9+2933_weekly_bin750.fits outfile=/scratch/kocevski/43662/ft1_filteredMKT_4FGL_J0915.9+2933_weekly_bin750.fits ra=138.986 dec=29.553 rad=12.0 tmin=692582401.0 tmax=693187201.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 7.60
user 7.30
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.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/43662/ft1_filteredMKT_4FGL_J0915.9+2933_weekly_bin750.fits evtable="EVENTS" outfile="/scratch/kocevski/43662/ft1_filtered_4FGL_J0915.9+2933_weekly_bin750.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: 1290

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43662/ft1_filtered_4FGL_J0915.9+2933_weekly_bin750.fits" evtable="EVENTS" scfile=/scratch/kocevski/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.fits sctable="SC_DATA" outfile=/scratch/kocevski/43662/ltcube_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.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/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.fits
.....................!
real 26.44
user 26.03
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43662/ft1_filtered_4FGL_J0915.9+2933_weekly_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.fits sctable="SC_DATA" expcube=/scratch/kocevski/43662/ltcube_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.fits outfile=/scratch/kocevski/43662/expmap_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.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/43662/ltcube_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.fits
.....................!
real 191.51
user 186.05
sys 5.12

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 J0915.9+2933 @ 138.986 29.553

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/43662/ft1_filtered_4FGL_J0915.9+2933_weekly_bin750.fits scfile=/scratch/kocevski/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.fits outfile=/scratch/kocevski/43662/cmap_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.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=138.986 yref=29.553 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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43662/ft1_filtered_4FGL_J0915.9+2933_weekly_bin750.fits scfile=/scratch/kocevski/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.fits outfile=/scratch/kocevski/43662/cmap_HighResolution_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.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=138.986 yref=29.553 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.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/43662/ft1_filtered_4FGL_J0915.9+2933_weekly_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/43662/Model_4FGL_J0915.9+2933_weekly_bin750.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/43662/ft1_filtered_4FGL_J0915.9+2933_weekly_bin750.fits.....................!
real 110.02
user 108.48
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/43662/ft1_filtered_4FGL_J0915.9+2933_weekly_bin750.fits', '/scratch/kocevski/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.fits', expMap='/scratch/kocevski/43662/expmap_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.fits', expCube='/scratch/kocevski/43662/ltcube_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/43662/Model_4FGL_J0915.9+2933_weekly_bin750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0915.9+2933'

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.063e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/43662/ft1_filtered_4FGL_J0915.9+2933_weekly_bin750.fits
Spacecraft file(s): /scratch/kocevski/43662/ft2_4FGL_J0915.9+2933_weekly_bin750.fits
Exposure map: /scratch/kocevski/43662/expmap_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.fits
Exposure cube: /scratch/kocevski/43662/ltcube_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/43662/Model_4FGL_J0915.9+2933_weekly_bin750.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 14737.7665969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35496       1.0000          .0000       .10000E+07
     2 'Prefactor '    .56175E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .96493       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.767       1.0000          .0000       .10000E+07
     5 'Prefactor '    42.663       1.0000          .0000       .10000E+07
     6 'norm      '    .11217E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.322       1.0000          .0000       .10000E+07
     8 'Prefactor '    .63432       1.0000          .0000       .10000E+07
     9 'norm      '    .83271       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16643E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .81030E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.8852       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .46147E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .32531       1.0000          .0000       .10000E+07
    16 'Prefactor '    .98481E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.1541       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0028       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0341       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14737.60     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1168 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35441        .91036       -.48686E-07   -.51437E-02
   2  Prefactor     .21594E-07    9.5936        .30092E-06** at limit **
   3  norm          .96365        .51132        .11040E-07    .12421E-01
   4  Prefactor     12.836        5.6567        .68283E-08    .12470    
   5  Prefactor     42.628        1.2335        .27303E-08   -.34044E-03
   6  norm          .21094E-08    27.125       -.11082E-06** at limit **
   7  Prefactor     10.770        13.995        .11640E-06   -.43123E-01
   8  Prefactor     .65683        2.1281        .10525E-07    .20625E-02
   9  norm          .83306        .65490       -.72620E-08   -.34274E-02
  10  Prefactor     .74940E-08    2.7525        .90259E-07** at limit **
  11  norm          .27756E-09    1.8784        .38437E-07** at limit **
  12  Prefactor     1.8831        2.0802        .73800E-08    .22805E-02
  13  Prefactor     .55511E-10    3.7903        .87847E-07** at limit **
  14  Prefactor     .17764E-08    6.6434       -.40673E-08** at limit **
  15  Prefactor     .32882        11.570       -.66704E-07    .21866E-02
  16  Prefactor     .69389E-08    3.0286        .21670E-07** at limit **
  17  Prefactor     2.1535        1.1511       -.49285E-08   -.11524E-02
  18  Normalizat    1.0029        .12614        .64317E-07    .37822E-03
  19  Prefactor     1.0341        .12415        .64024E-06    .42145E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.35441
  Prefactor  = 2.15938e-08
  norm       = 0.963651
  Prefactor  = 12.8362
  Prefactor  = 42.6275
  norm       = 2.10942e-09
  Prefactor  = 10.7695
  Prefactor  = 0.656835
  norm       = 0.833064
  Prefactor  = 7.49401e-09
  norm       = 2.77556e-10
  Prefactor  = 1.88305
  Prefactor  = 5.55112e-11
  Prefactor  = 1.77636e-09
  Prefactor  = 0.328819
  Prefactor  = 6.93889e-09
  Prefactor  = 2.15354
  Normalizat = 1.00287
  Prefactor  = 1.03413
 **********
 **   18 **HESSE 
 **********

 FCN=   14737.60     FROM HESSE     STATUS=OK           312 CALLS     1480 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35441        .89822        .94903E-03   -1.5696    
   2  Prefactor     .21594E-07    9.6918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .96365        .52956        .42520E-03   -1.5688    
   4  Prefactor     12.836        9.5669        .28008E-03   -1.5636    
   5  Prefactor     42.628        12.854        .15311E-03   -1.5577    
   6  norm          .21094E-08    27.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.770        16.555        .29748E-03   -1.5642    
   8  Prefactor     .65683        2.1821        .66209E-03   -1.5692    
   9  norm          .83306        .65315        .50528E-03   -1.5690    
  10  Prefactor     .74940E-08    2.8070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .27756E-09    1.8801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.8831        2.1331        .75773E-03   -1.5681    
  13  Prefactor     .55511E-10    3.6336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17764E-08    6.6244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .32882        2.3718        .56296E-02   -1.5696    
  16  Prefactor     .69389E-08    3.0693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.1535        1.1550        .70168E-03   -1.5679    
  18  Normalizat    1.0029        .11159        .46202E-01   -.92934    
  19  Prefactor     1.0341        .10790        .40945E-01   -.91600    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79266e-07
Minuit parameter uncertainties:
  1  0.898216
  2  0.000914385
  3  0.529558
  4  9.5669
  5  12.854
  6  0.000479153
  7  16.5552
  8  2.18214
  9  0.653151
  10  0.000290547
  11  4.40814e-05
  12  2.13314
  13  3.30715e-05
  14  0.000217248
  15  1.76624
  16  0.000292268
  17  1.15497
  18  0.111621
  19  0.107926
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.331e-01  6.532e-01  0.000e+00  1.000e+06 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.034e+00  1.079e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.003e+00  1.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.51
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 8.43e-09 +/- 6.61e-09
Energy Flux (Fixed Index): 9.69e-06 +/- 7.60e-06

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) = 14737.5021218
delta logL = 0.102207661996

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14737.4999679
delta logL = 0.104361534348

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14737.50     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      203 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78961        .91238        .53711E-03    .22900E-01
   2  alpha         1.4912        .64865        .46483       -.36065E-04
   3  Normalizat    1.0043        .10831        .46220E-01   -.34392E-03
   4  Prefactor     1.0342        .10729        .40941E-01   -.33067E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.789609
  alpha      = 1.49122
  Normalizat = 1.00429
  Prefactor  = 1.03416
 **********
 **   18 **HESSE 
 **********

 FCN=   14737.50     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78961        .65373        .83297E-05   -1.5690    
   2  alpha         1.4912        .54576        .23249E-01   -.41535    
   3  Normalizat    1.0043        .12426        .24522E-03   -.92887    
   4  Prefactor     1.0342        .12354        .23928E-03   -.91599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5459e-09
Minuit parameter uncertainties:
  1  0.653726
  2  0.551078
  3  0.124296
  4  0.123572
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43662': 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) = 14737.4999679
delta logL = 0.104361553376

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.896e-01  6.537e-01  0.000e+00  1.000e+06 ( 1.000e-12)
271        alpha:  1.491e+00  5.511e-01  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.034e+00  1.236e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.004e+00  1.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.71
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.49 +/- 0.55
Photon Flux (Free Index): 6.14e-09 +/- 6.41e-09
Energy Flux (Free Index): 1.38e-05 +/- 1.57e-05

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/43662/cmap_HighResolution_692582401_693187201_4FGL_J0915.9+2933_weekly_bin750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.43e-09', energy_flux2='1.38e-05', photon_flux_error='6.61e-09', dlogl='1.04e-01', energy_flux='9.69e-06', photon_flux2='6.14e-09', job_status='DONE', time_completed='2022-12-20 03:01:18.508440', photon_index_error2='0.55', photon_index2='1.49', ts='4.51', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.57e-05', EG='1.00', time_epoch_completed='1671534078.51', return_code='0', job_id='43662', GAL2='1.03', EG2='1.00', return_code2='0', energy_flux_error='7.60e-06', photon_flux_error2='6.41e-09', ts2='4.71', photon_index='1.75' WHERE bin_id='750' AND source_name='4FGL J0915.9+2933' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 20 03:01:18 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 43662: <4FGL_J0915.9+2933_weekly_bin750> in cluster <slac> Done

Job <4FGL_J0915.9+2933_weekly_bin750> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 20 02:45:24 2022
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 02:45:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 02:45:25 2022
Terminated at Tue Dec 20 03:01:19 2022
Results reported at Tue Dec 20 03:01:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_weekly_bin750 138.986 29.553 692582401 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0915.9+2933 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   738.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             271.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            955 sec.

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

