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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin1766
RA = 138.986, Dec = 29.553
tmin = 697075201, tmax = 697334401
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='845069', job_status='RUN', time_executed='2023-02-06 00:36:24.703113', time_epoch_executed='1675672584.7' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845069

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845069/ft1_4FGL_J0915.9+2933_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845069/ft2_4FGL_J0915.9+2933_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845069/ft1_4FGL_J0915.9+2933_daily_bin1766.fits outfile=/scratch/kocevski/845069/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin1766.fits ra=138.986 dec=29.553 rad=12.0 tmin=697075201.0 tmax=697334401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.70
user 3.45
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/845069/ft2_4FGL_J0915.9+2933_daily_bin1766.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/845069/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/845069/ft1_filtered_4FGL_J0915.9+2933_daily_bin1766.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 600

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845069/ft1_filtered_4FGL_J0915.9+2933_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/845069/ft2_4FGL_J0915.9+2933_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/845069/ltcube_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.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/845069/ft2_4FGL_J0915.9+2933_daily_bin1766.fits
.....................!
real 16.06
user 15.67
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845069/ft1_filtered_4FGL_J0915.9+2933_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/845069/ft2_4FGL_J0915.9+2933_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/845069/ltcube_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.fits outfile=/scratch/kocevski/845069/expmap_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.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/845069/ltcube_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.fits
.....................!
real 191.87
user 186.71
sys 4.48

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/845069/ft1_filtered_4FGL_J0915.9+2933_daily_bin1766.fits scfile=/scratch/kocevski/845069/ft2_4FGL_J0915.9+2933_daily_bin1766.fits outfile=/scratch/kocevski/845069/cmap_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845069/ft1_filtered_4FGL_J0915.9+2933_daily_bin1766.fits scfile=/scratch/kocevski/845069/ft2_4FGL_J0915.9+2933_daily_bin1766.fits outfile=/scratch/kocevski/845069/cmap_HighResolution_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/845069/ft1_filtered_4FGL_J0915.9+2933_daily_bin1766.fits', '/scratch/kocevski/845069/ft2_4FGL_J0915.9+2933_daily_bin1766.fits', expMap='/scratch/kocevski/845069/expmap_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.fits', expCube='/scratch/kocevski/845069/ltcube_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/845069/Model_4FGL_J0915.9+2933_daily_bin1766.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/845069/ft1_filtered_4FGL_J0915.9+2933_daily_bin1766.fits
Spacecraft file(s): /scratch/kocevski/845069/ft2_4FGL_J0915.9+2933_daily_bin1766.fits
Exposure map: /scratch/kocevski/845069/expmap_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.fits
Exposure cube: /scratch/kocevski/845069/ltcube_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/845069/Model_4FGL_J0915.9+2933_daily_bin1766.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) = 6716.90281259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6283       1.0000          .0000       .10000E+07
     2 'Prefactor '    44.728       1.0000          .0000       .10000E+07
     3 'norm      '    .25093       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.6990       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18740E-03   1.0000          .0000       .10000E+07
     6 'norm      '    33.801       1.0000          .0000       .10000E+07
     7 'Prefactor '    15.795       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82562       1.0000          .0000       .10000E+07
     9 'norm      '    .27420       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79691E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .13346E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11851E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38636E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    35.206       1.0000          .0000       .10000E+07
    15 'Prefactor '    .96169E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9889       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0210       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6095       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .79175       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=   6716.830     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1444 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6220        2.0619       -.10123E-06    .73739E-04
   2  Prefactor     44.984        1.2570        .11932E-07   -.24317E-01
   3  norm          .25652        .61209        .89638E-07    .62143E-03
   4  Prefactor     6.1950        17.313       -.56470E-06   -.82193E-01
   5  Prefactor     .33196E-07    14.564       -.99601E-06** at limit **
   6  norm          34.191        19.443        .68090E-06   -.17333    
   7  Prefactor     15.759        10.592        .53284E-06   -.26054E-01
   8  Prefactor     .87339        6.2168        .24003E-06    .67956E-04
   9  norm          .27643        1.8237       -.65088E-06   -.68347E-03
  10  Prefactor     .18744E-05    30.268       -.15595E-05** at limit **
  11  norm          .16098E-08    5.9790        .50656E-07** at limit **
  12  Prefactor     .16653E-09    6.6009       -.16527E-06** at limit **
  13  Prefactor      .0000        1.1192       -.19967E-06** at limit **
  14  Prefactor     36.241        11.316        .43080E-06    .18859E-01
  15  Prefactor     .36713E-05    25.098        .11367E-05** at limit **
  16  Prefactor     2.9931        5.5196        .24624E-06    .26758E-04
  17  Prefactor     1.0214        1.8044        .10568E-06    .20826E-03
  18  Normalizat    1.6083        .22458        .65733E-05    .45818E-04
  19  Prefactor     .79219        .20949       -.14526E-04   -.33928E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.62195
  Prefactor  = 44.9838
  norm       = 0.256521
  Prefactor  = 6.19504
  Prefactor  = 3.31957e-08
  norm       = 34.1913
  Prefactor  = 15.759
  Prefactor  = 0.873387
  norm       = 0.276428
  Prefactor  = 1.87445e-06
  norm       = 1.60982e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 36.2407
  Prefactor  = 3.67134e-06
  Prefactor  = 2.99314
  Prefactor  = 1.02144
  Normalizat = 1.60831
  Prefactor  = 0.792186
 **********
 **   18 **HESSE 
 **********

 FCN=   6716.830     FROM HESSE     STATUS=OK           318 CALLS     1762 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6220        2.1969        .53015E-03   -1.5670    
   2  Prefactor     44.984        25.022        .14954E-03   -1.5574    
   3  norm          .25652        .72430        .22256E-02   -1.5698    
   4  Prefactor     6.1950        20.928        .38745E-03   -1.5658    
   5  Prefactor     .33196E-07    14.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          34.191        38.500        .17203E-03   -1.5591    
   7  Prefactor     15.759        33.271        .25175E-03   -1.5629    
   8  Prefactor     .87339        6.4945        .51045E-03   -1.5689    
   9  norm          .27643        1.1039        .31963E-02   -1.5697    
  10  Prefactor     .18744E-05    34.065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .16098E-08    5.9808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    6.4353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.1285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     36.241        29.359        .16856E-03   -1.5588    
  15  Prefactor     .36713E-05    27.484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9931        5.5541        .58694E-03   -1.5673    
  17  Prefactor     1.0214        2.0965        .33428E-02   -1.5688    
  18  Normalizat    1.6083        .19442        .54085E-01   -.74779    
  19  Prefactor     .79219        .17897        .69107E-01   -1.0002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72381e-06
Minuit parameter uncertainties:
  1  2.19688
  2  25.0221
  3  0.724304
  4  20.9279
  5  0.00139126
  6  38.5006
  7  33.2715
  8  4.76329
  9  1.10393
  10  0.0159818
  11  0.000197157
  12  6.40032e-05
  13  5.66814e-07
  14  29.3593
  15  0.0200902
  16  5.55413
  17  2.09649
  18  0.194507
  19  0.179106
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.764e-01  1.104e+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

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.922e-01  1.791e-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.608e+00  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 138.986 29.553
Photon Flux Upper Limit: 4.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/845069/likelihoodResults_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.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) = 6716.81413709
delta logL = 0.016266868497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6716.81303374
delta logL = 0.0173702207258

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33801       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0212       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79125       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6716.813     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      277 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33616        1.4037        .17473E-04   -.91743E-04
   2  alpha         2.0183        1.3616        .35223E-01    .88959E-04
   3  Normalizat    1.6077        .22098        .23915E-03    .12787E-04
   4  Prefactor     .79114        .20881        .30595E-03    .12634E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.336157
  alpha      = 2.01833
  Normalizat = 1.60773
  Prefactor  = 0.791145
 **********
 **   18 **HESSE 
 **********

 FCN=   6716.813     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33616        1.3217        .69890E-06   -1.5696    
   2  alpha         2.0183        1.3174        .70446E-02   -.19388    
   3  Normalizat    1.6077        .22113        .95662E-05   -.74795    
   4  Prefactor     .79114        .20891        .12238E-04   -1.0006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48e-12
Minuit parameter uncertainties:
  1  1.32171
  2  1.39073
  3  0.221269
  4  0.209122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845069': 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) = 6716.81302958
delta logL = 0.0173743750356

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.362e-01  1.322e+00  0.000e+00  1.000e+06 ( 1.000e-12)
271        alpha:  2.018e+00  1.391e+00  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:  7.911e-01  2.091e-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.608e+00  2.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 138.986 29.553

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/845069/cmap_HighResolution_697075201_697334401_4FGL_J0915.9+2933_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-05', job_status='DONE', photon_flux_upper_limit='4.49e-08', time_completed='2023-02-06 00:45:42.122602', job_id='845069', GAL2='0.79', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1675673142.12', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.74e-02', ts2='0.08', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1766' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 00:45:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 845069: <4FGL_J0915.9+2933_daily_bin1766> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin1766> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Feb  6 00:35:17 2023
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 00:36:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 00:36:10 2023
Terminated at Mon Feb  6 00:45:42 2023
Results reported at Mon Feb  6 00:45:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin1766 138.986 29.553 697075201 697334401 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 :                                   559.15 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             359.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   572 sec.
    Turnaround time :                            625 sec.

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

