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


Performing analysis on: 4FGL_J0259.0+0552_daily_bin1764
RA = 44.7519, Dec = 5.878
tmin = 696556801, tmax = 696816001
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='434447', job_status='RUN', time_executed='2023-01-31 00:10:17.665807', time_epoch_executed='1675152617.67' WHERE source_name='4FGL J0259.0+0552' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434447

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434447/ft1_4FGL_J0259.0+0552_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434447/ft1_4FGL_J0259.0+0552_daily_bin1764.fits outfile=/scratch/kocevski/434447/ft1_filteredMKT_4FGL_J0259.0+0552_daily_bin1764.fits ra=44.7519 dec=5.878 rad=12.0 tmin=696556801.0 tmax=696816001.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.81
user 3.47
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.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/434447/ft1_filteredMKT_4FGL_J0259.0+0552_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/434447/ft1_filtered_4FGL_J0259.0+0552_daily_bin1764.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.32
sys 0.18

Number of photons that the gtmktime cut: 867

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434447/ft1_filtered_4FGL_J0259.0+0552_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434447/ltcube_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.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/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.fits
.....................!
real 13.73
user 13.31
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434447/ft1_filtered_4FGL_J0259.0+0552_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434447/ltcube_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.fits outfile=/scratch/kocevski/434447/expmap_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.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/434447/ltcube_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.fits
.....................!
real 191.72
user 186.05
sys 5.15

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

Setting source of interest to:
4FGL J0259.0+0552 @ 44.7519 5.878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/434447/ft1_filtered_4FGL_J0259.0+0552_daily_bin1764.fits scfile=/scratch/kocevski/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.fits outfile=/scratch/kocevski/434447/cmap_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.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=44.7519 yref=5.878 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 3.10
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434447/ft1_filtered_4FGL_J0259.0+0552_daily_bin1764.fits scfile=/scratch/kocevski/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.fits outfile=/scratch/kocevski/434447/cmap_HighResolution_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.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=44.7519 yref=5.878 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/434447/ft1_filtered_4FGL_J0259.0+0552_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434447/Model_4FGL_J0259.0+0552_daily_bin1764.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/434447/ft1_filtered_4FGL_J0259.0+0552_daily_bin1764.fits.....................!
real 121.44
user 119.87
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434447/ft1_filtered_4FGL_J0259.0+0552_daily_bin1764.fits', '/scratch/kocevski/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.fits', expMap='/scratch/kocevski/434447/expmap_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.fits', expCube='/scratch/kocevski/434447/ltcube_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434447/Model_4FGL_J0259.0+0552_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0259.0+0552'

4FGL J0259.0+0552
   Spectrum: LogParabola
285         norm:  1.939e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        alpha:  1.870e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  2.098e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/434447/ft1_filtered_4FGL_J0259.0+0552_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/434447/ft2_4FGL_J0259.0+0552_daily_bin1764.fits
Exposure map: /scratch/kocevski/434447/expmap_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.fits
Exposure cube: /scratch/kocevski/434447/ltcube_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434447/Model_4FGL_J0259.0+0552_daily_bin1764.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) = 9386.42116193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3579       1.0000          .0000       .10000E+07
     2 'norm      '    1.2964       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.953       1.0000          .0000       .10000E+07
     4 'Prefactor '    .41256E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .69267E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .65634E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5436       1.0000          .0000       .10000E+07
     8 'norm      '    .10675       1.0000          .0000       .10000E+07
     9 'Prefactor '    .92223E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.2441       1.0000          .0000       .10000E+07
    11 'norm      '    .67328E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    14.527       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.6069       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28845E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .69543       1.0000          .0000       .10000E+07
    16 'norm      '    31.039       1.0000          .0000       .10000E+07
    17 'norm      '    5.0292       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11859E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .39977E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    9.2187       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.2754       1.0000          .0000       .10000E+07
    22 'Prefactor '    .99866E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3379       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88286       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9386.318     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1593 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3753        2.4405       -.52865E-07    .33017E-04
   2  norm          1.2976        .94806        .53834E-07    .11531E-01
   3  Prefactor     36.193        17.382        .65354E-06    .10059    
   4  Prefactor     .13703E-05    11.386       -.20747E-05** at limit **
   5  Prefactor     .38858E-09    2.9594        .34840E-06** at limit **
   6  Prefactor     .27756E-08    8.7204       -.28721E-06** at limit **
   7  Prefactor     3.5338        7.0175       -.50717E-06   -.20433E-02
   8  norm          .10696        .36210       -.83391E-07** at limit **
   9  Prefactor     .97017E-06    12.039        .14097E-05** at limit **
  10  Prefactor     3.5444        10.940       -.62360E-05   -.15880E-01
  11  norm          .25545E-05    45.989        .23341E-05** at limit **
  12  Prefactor     14.928        27.724        .46294E-05   -.52289E-01
  13  Prefactor     7.9532        7.2550        .18372E-05   -.17079E-01
  14  Prefactor     .38858E-08    7.5383       -.26295E-06** at limit **
  15  Prefactor     .71579        1.9073       -.24324E-05   -.35012E-01
  16  norm          31.020        2.3781       -.43367E-06   -.50850E-01
  17  norm          5.0303        3.3578        .20966E-06    .93816E-02
  18  Prefactor     .66613E-09    4.0080        .42457E-06** at limit **
  19  norm          .27756E-09    2.0706       -.26762E-06** at limit **
  20  Prefactor     9.2498        5.6811       -.20481E-05   -.63991E-01
  21  Prefactor     3.2769        3.1366        .12042E-07    .42287E-03
  22  Prefactor     .61062E-09    5.9910       -.19941E-06** at limit **
  23  Normalizat    1.3372        .21579        .89829E-05   -.19821E-03
  24  Prefactor     .88294        .85181E-01   -.24472E-05   -.28939E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.37531
  norm       = 1.29755
  Prefactor  = 36.1932
  Prefactor  = 1.37035e-06
  Prefactor  = 3.88578e-10
  Prefactor  = 2.77556e-09
  Prefactor  = 3.53385
  norm       = 0.106961
  Prefactor  = 9.70168e-07
  Prefactor  = 3.54436
  norm       = 2.55446e-06
  Prefactor  = 14.9284
  Prefactor  = 7.95317
  Prefactor  = 3.88578e-09
  Prefactor  = 0.715786
  norm       = 31.0199
  norm       = 5.03033
  Prefactor  = 6.66134e-10
  norm       = 2.77556e-10
  Prefactor  = 9.24978
  Prefactor  = 3.27688
  Prefactor  = 6.10623e-10
  Normalizat = 1.3372
  Prefactor  = 0.882939
 **********
 **   18 **HESSE 
 **********

 FCN=   9386.318     FROM HESSE     STATUS=OK           449 CALLS     2042 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3753        2.5159        .93730E-03   -1.5685    
   2  norm          1.2976        .96186        .97098E-03   -1.5685    
   3  Prefactor     36.193        25.835        .16452E-03   -1.5588    
   4  Prefactor     .13703E-05    19.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38858E-09    2.9595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-08    8.7718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5338        7.2536        .53670E-03   -1.5670    
   8  norm          .10696        .38060        .13751E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .97017E-06    18.808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5444        18.596        .56209E-03   -1.5670    
  11  norm          .25545E-05    48.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.928        36.487        .26253E-03   -1.5631    
  13  Prefactor     7.9532        45.809        .36336E-03   -1.5652    
  14  Prefactor     .38858E-08    7.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .71579        15.078        .61080E-03   -1.5691    
  16  norm          31.020        14.425        .17952E-03   -1.5597    
  17  norm          5.0303        3.3850        .44816E-03   -1.5663    
  18  Prefactor     .66613E-09    4.0056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .27756E-09    2.0707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2498        12.221        .32984E-03   -1.5647    
  21  Prefactor     3.2769        3.1333        .55926E-03   -1.5672    
  22  Prefactor     .61062E-09    6.0120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3372        .19783        .76707E-01   -.82463    
  24  Prefactor     .88294        .76684E-01    .44786E-01   -.96740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.79815e-07
Minuit parameter uncertainties:
  1  2.5159
  2  0.961864
  3  25.8347
  4  0.0103064
  5  6.99145e-05
  6  0.000313064
  7  7.25366
  8  0.380598
  9  0.00854342
  10  16.2371
  11  0.0223275
  12  36.4875
  13  38.1751
  14  0.000343781
  15  6.57048
  16  14.425
  17  3.38503
  18  0.000104523
  19  4.57501e-05
  20  12.221
  21  3.13329
  22  0.000118819
  23  0.197943
  24  0.0766938
Done.

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

Extracting fit parameters...

4FGL J0259.0+0552
   Spectrum: LogParabola
285         norm:  3.102e+01  1.442e+01  0.000e+00  1.000e+06 ( 1.000e-13)
286        alpha:  1.870e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  2.098e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  8.829e-01  7.669e-02  0.000e+00  1.000e+01 ( 1.000e+00)
495        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
496        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
493   Normalization:  1.337e+00  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.32
Ra Dec: 44.752 5.878
Photon Index (Fixed Index): 1.87 +/- 0.00
Photon Flux (Fixed Index): 5.81e-08 +/- 2.70e-08
Energy Flux (Fixed Index): 6.23e-05 +/- 2.90e-05

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) = 9385.66643065
delta logL = 0.651688830319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9385.6652882
delta logL = 0.652831275398

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.607       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3117       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88343       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+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.

 FCN=   9385.665     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      282 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.607        14.184        .84149E-05   -.87006E-03
   2  alpha         2.3117        .40274        .82575E-02    .40694E-03
   3  Normalizat    1.3148        .19954        .34159E-03    .49391E-04
   4  Prefactor     .88342        .83655E-01    .17085E-03    .14352E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 22.6073
  alpha      = 2.31168
  Normalizat = 1.31477
  Prefactor  = 0.883419
 **********
 **   18 **HESSE 
 **********

 FCN=   9385.665     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.607        13.548        .33660E-06   -1.5613    
   2  alpha         2.3117        .38469        .16515E-02   -.75399E-01
   3  Normalizat    1.3148        .19944        .13663E-04   -.83127    
   4  Prefactor     .88342        .83677E-01    .34170E-04   -.96723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17993e-11
Minuit parameter uncertainties:
  1  13.5483
  2  0.386232
  3  0.19956
  4  0.0836888
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434447': 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) = 9385.66528819
delta logL = 0.652831283693

Extracting fit parameters...

4FGL J0259.0+0552
   Spectrum: LogParabola
285         norm:  2.261e+01  1.355e+01  0.000e+00  1.000e+06 ( 1.000e-13)
286        alpha:  2.312e+00  3.862e-01  0.000e+00  5.000e+00 ( 1.000e+00)
287         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  2.098e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  8.834e-01  8.369e-02  0.000e+00  1.000e+01 ( 1.000e+00)
495        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
496        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
493   Normalization:  1.315e+00  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.61
Ra Dec: 44.752 5.878
Photon Index (Free Index): 2.31 +/- 0.39
Photon Flux (Free Index): 9.38e-08 +/- 4.95e-08
Energy Flux (Free Index): 4.73e-05 +/- 2.16e-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/434447/cmap_HighResolution_696556801_696816001_4FGL_J0259.0+0552_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.81e-08', energy_flux2='4.73e-05', photon_flux_error='2.70e-08', dlogl='6.53e-01', energy_flux='6.23e-05', photon_flux2='9.38e-08', job_status='DONE', time_completed='2023-01-31 00:21:31.909557', photon_index_error2='0.39', photon_index2='2.31', ts='14.32', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='2.16e-05', EG='1.34', time_epoch_completed='1675153291.91', return_code='0', job_id='434447', GAL2='0.88', EG2='1.31', return_code2='0', energy_flux_error='2.90e-05', photon_flux_error2='4.95e-08', ts2='15.61', photon_index='1.87' WHERE bin_id='1764' AND source_name='4FGL J0259.0+0552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:21:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 434447: <4FGL_J0259.0+0552_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0259.0+0552_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:04:57 2023
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:08:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:08:33 2023
Terminated at Tue Jan 31 00:21:32 2023
Results reported at Tue Jan 31 00:21:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0259.0+0552_daily_bin1764 44.7519 5.878 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0259.0+0552 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   673.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             330.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            995 sec.

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

