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


Performing analysis on: 4FGL_J0259.0+0552_daily_bin1770
RA = 44.7519, Dec = 5.878
tmin = 698112001, tmax = 698371201
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='475277', job_status='RUN', time_executed='2023-02-18 00:08:32.098757', time_epoch_executed='1676707712.1' WHERE source_name='4FGL J0259.0+0552' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475277

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475277/ft1_4FGL_J0259.0+0552_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475277/ft2_4FGL_J0259.0+0552_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475277/ft1_4FGL_J0259.0+0552_daily_bin1770.fits outfile=/scratch/kocevski/475277/ft1_filteredMKT_4FGL_J0259.0+0552_daily_bin1770.fits ra=44.7519 dec=5.878 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.63
user 4.20
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/475277/ft2_4FGL_J0259.0+0552_daily_bin1770.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/475277/ft1_filteredMKT_4FGL_J0259.0+0552_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/475277/ft1_filtered_4FGL_J0259.0+0552_daily_bin1770.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.81
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 982

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/475277/ft1_filtered_4FGL_J0259.0+0552_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/475277/ft2_4FGL_J0259.0+0552_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/475277/ltcube_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.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/475277/ft2_4FGL_J0259.0+0552_daily_bin1770.fits
.....................!
real 12.36
user 11.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475277/ft1_filtered_4FGL_J0259.0+0552_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/475277/ft2_4FGL_J0259.0+0552_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/475277/ltcube_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.fits outfile=/scratch/kocevski/475277/expmap_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.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/475277/ltcube_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.fits
.....................!
real 189.76
user 185.30
sys 4.09

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/475277/ft1_filtered_4FGL_J0259.0+0552_daily_bin1770.fits scfile=/scratch/kocevski/475277/ft2_4FGL_J0259.0+0552_daily_bin1770.fits outfile=/scratch/kocevski/475277/cmap_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.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 0.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475277/ft1_filtered_4FGL_J0259.0+0552_daily_bin1770.fits scfile=/scratch/kocevski/475277/ft2_4FGL_J0259.0+0552_daily_bin1770.fits outfile=/scratch/kocevski/475277/cmap_HighResolution_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/475277/ft1_filtered_4FGL_J0259.0+0552_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/475277/ft2_4FGL_J0259.0+0552_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/475277/Model_4FGL_J0259.0+0552_daily_bin1770.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/475277/ft1_filtered_4FGL_J0259.0+0552_daily_bin1770.fits.....................!
real 130.35
user 129.00
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/475277/ft1_filtered_4FGL_J0259.0+0552_daily_bin1770.fits', '/scratch/kocevski/475277/ft2_4FGL_J0259.0+0552_daily_bin1770.fits', expMap='/scratch/kocevski/475277/expmap_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.fits', expCube='/scratch/kocevski/475277/ltcube_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/475277/Model_4FGL_J0259.0+0552_daily_bin1770.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/475277/ft1_filtered_4FGL_J0259.0+0552_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/475277/ft2_4FGL_J0259.0+0552_daily_bin1770.fits
Exposure map: /scratch/kocevski/475277/expmap_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.fits
Exposure cube: /scratch/kocevski/475277/ltcube_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/475277/Model_4FGL_J0259.0+0552_daily_bin1770.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) = 10782.8634284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2968       1.0000          .0000       .10000E+07
     2 'norm      '    1.3905       1.0000          .0000       .10000E+07
     3 'Prefactor '    19.619       1.0000          .0000       .10000E+07
     4 'Prefactor '    111.83       1.0000          .0000       .10000E+07
     5 'Prefactor '    .46605E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    25.408       1.0000          .0000       .10000E+07
     7 'Prefactor '    .66054       1.0000          .0000       .10000E+07
     8 'norm      '    2.0816       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17936E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    24.954       1.0000          .0000       .10000E+07
    11 'norm      '    .32871E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18407       1.0000          .0000       .10000E+07
    13 'Prefactor '    26.291       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16203E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.2078       1.0000          .0000       .10000E+07
    16 'norm      '    19.368       1.0000          .0000       .10000E+07
    17 'norm      '    8.6912       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.2503       1.0000          .0000       .10000E+07
    19 'norm      '    .93958E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    20.817       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.0755       1.0000          .0000       .10000E+07
    22 'Prefactor '    8.1947       1.0000          .0000       .10000E+07
    23 'Normalizat'    .66888       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0229       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=   10782.56     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     2011 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3007        2.3433       -.26716E-07   -.63582E-04
   2  norm          1.3895        .73827        .11396E-07    .50252E-04
   3  Prefactor     19.887        14.144       -.21815E-06    .11966E-01
   4  Prefactor     109.09        72.810        .14999E-06   -.10314E-02
   5  Prefactor     .22204E-09    7.7290       -.42322E-06** at limit **
   6  Prefactor     25.999        16.998       -.17042E-08   -.28785E-01
   7  Prefactor     .71490        13.444       -.35827E-06    .73422E-02
   8  norm          2.0801        .81629        .20959E-07   -.90310E-03
   9  Prefactor     .27756E-09    11.028        .29643E-06** at limit **
  10  Prefactor     24.635        4.8760       -.10516E-07    .54111E-02
  11  norm          .49960E-09    13.916       -.62004E-06** at limit **
  12  Prefactor     .87541E-07    46.324        .11480E-05** at limit **
  13  Prefactor     26.821        26.032        .25467E-06    .16762E-01
  14  Prefactor      .0000        6.2809       -.28387E-06** at limit **
  15  Prefactor     3.2356        4.7033        .14012E-06   -.28530E-04
  16  norm          19.494        10.335       -.10273E-06    .13152E-02
  17  norm          8.6471        3.8261       -.13876E-07   -.72013E-04
  18  Prefactor     4.2502        3.2809       -.26360E-07    .10834E-03
  19  norm           .0000        5.1862       -.62532E-07** at limit **
  20  Prefactor     20.633        7.8173        .17395E-06   -.52137E-02
  21  Prefactor     2.0621        5.9752        .12085E-06   -.71167E-04
  22  Prefactor     8.3347        10.668       -.29861E-07   -.29150E-03
  23  Normalizat    .66920        .17838       -.56759E-06    .38239E-05
  24  Prefactor     1.0229        .81483E-01    .62377E-06    .40369E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.30065
  norm       = 1.38952
  Prefactor  = 19.8866
  Prefactor  = 109.089
  Prefactor  = 2.22045e-10
  Prefactor  = 25.9991
  Prefactor  = 0.7149
  norm       = 2.08005
  Prefactor  = 2.77556e-10
  Prefactor  = 24.6353
  norm       = 4.996e-10
  Prefactor  = 8.75411e-08
  Prefactor  = 26.8209
  Prefactor  = 0
  Prefactor  = 3.2356
  norm       = 19.4943
  norm       = 8.64713
  Prefactor  = 4.25015
  norm       = 0
  Prefactor  = 20.6332
  Prefactor  = 2.06207
  Prefactor  = 8.3347
  Normalizat = 0.669198
  Prefactor  = 1.02285
 **********
 **   18 **HESSE 
 **********

 FCN=   10782.56     FROM HESSE     STATUS=OK           457 CALLS     2468 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3007        2.3753        .55736E-03   -1.5672    
   2  norm          1.3895        .74201        .92123E-03   -1.5684    
   3  Prefactor     19.887        24.917        .22584E-03   -1.5619    
   4  Prefactor     109.09        72.969        .94568E-04   -1.5499    
   5  Prefactor     .22204E-09    7.7565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.999        25.196        .19843E-03   -1.5606    
   7  Prefactor     .71490        43.125        .63971E-03   -1.5691    
   8  norm          2.0801        .93372        .71545E-03   -1.5679    
   9  Prefactor     .27756E-09    11.135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.635        15.631        .20023E-03   -1.5609    
  11  norm          .49960E-09    13.864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .87541E-07    65.769        .12066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.821        29.317        .19507E-03   -1.5604    
  14  Prefactor      .0000        6.2834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.2356        4.7267        .56543E-03   -1.5672    
  16  norm          19.494        10.339        .22731E-03   -1.5620    
  17  norm          8.6471        3.8269        .33977E-03   -1.5649    
  18  Prefactor     4.2502        3.2907        .48849E-03   -1.5667    
  19  norm           .0000        5.1670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     20.633        14.258        .21924E-03   -1.5617    
  21  Prefactor     2.0621        5.9575        .71664E-03   -1.5679    
  22  Prefactor     8.3347        10.685        .34998E-03   -1.5650    
  23  Normalizat    .66920        .17517        .97229E-01   -1.0512    
  24  Prefactor     1.0229        .75851E-01    .41861E-01   -.91972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.36049e-07
Minuit parameter uncertainties:
  1  2.37534
  2  0.742009
  3  24.9176
  4  72.9696
  5  8.17053e-05
  6  25.1965
  7  11.1051
  8  0.933723
  9  0.000108662
  10  15.631
  11  0.000169425
  12  0.00479878
  13  29.317
  14  4.52663e-06
  15  4.72666
  16  10.3387
  17  3.8269
  18  3.29066
  19  8.11871e-06
  20  14.2576
  21  5.95747
  22  10.6846
  23  0.17532
  24  0.0758593
Done.

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

Extracting fit parameters...

4FGL J0259.0+0552
   Spectrum: LogParabola
285         norm:  1.949e+01  1.034e+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:  1.023e+00  7.586e-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:  6.692e-01  1.753e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.75
Ra Dec: 44.752 5.878
Photon Index (Fixed Index): 1.87 +/- 0.00
Photon Flux (Fixed Index): 3.65e-08 +/- 1.94e-08
Energy Flux (Fixed Index): 3.91e-05 +/- 2.08e-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) = 10782.1022161
delta logL = 0.455152035172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10782.0999139
delta logL = 0.457454212015

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.015       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4143       1.0000          .0000       5.0000    
     3 'Normalizat'    .67353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0247       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.

 FCN=   10782.10     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      244 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.022        333.86        .21820E-03   -.78662E-03
   2  alpha         1.4146        2.7161        .45508       -.13322E-04
   3  Normalizat    .67349        .21762        .96977E-01    .97670E-04
   4  Prefactor     1.0247        .60985E-01    .41704E-01    .16057E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 21.0215
  alpha      = 1.41458
  Normalizat = 0.673487
  Prefactor  = 1.02469
 **********
 **   18 **HESSE 
 **********

 FCN=   10782.10     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.022        11.422        .87282E-05   -1.5616    
   2  alpha         1.4146        .45285        .16302E-01   -.44911    
   3  Normalizat    .67349        .17056        .42982E-03   -1.0495    
   4  Prefactor     1.0247        .77765E-01    .15986E-03   -.91911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99662e-10
Minuit parameter uncertainties:
  1  11.4223
  2  0.455961
  3  0.170693
  4  0.0777731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475277': 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) = 10782.0999136
delta logL = 0.457454556761

Extracting fit parameters...

4FGL J0259.0+0552
   Spectrum: LogParabola
285         norm:  2.102e+01  1.142e+01  0.000e+00  1.000e+06 ( 1.000e-13)
286        alpha:  1.415e+00  4.560e-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:  1.025e+00  7.777e-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:  6.735e-01  1.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.67
Ra Dec: 44.752 5.878
Photon Index (Free Index): 1.41 +/- 0.46
Photon Flux (Free Index): 2.26e-08 +/- 1.62e-08
Energy Flux (Free Index): 6.67e-05 +/- 5.34e-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/475277/cmap_HighResolution_698112001_698371201_4FGL_J0259.0+0552_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.65e-08', energy_flux2='6.67e-05', photon_flux_error='1.94e-08', dlogl='4.57e-01', energy_flux='3.91e-05', photon_flux2='2.26e-08', job_status='DONE', time_completed='2023-02-18 00:21:19.101023', photon_index_error2='0.46', photon_index2='1.41', ts='12.75', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='5.34e-05', EG='0.67', time_epoch_completed='1676708479.1', return_code='0', job_id='475277', GAL2='1.02', EG2='0.67', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='1.62e-08', ts2='13.67', photon_index='1.87' WHERE bin_id='1770' AND source_name='4FGL J0259.0+0552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:21:19 PST 2023



------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 475278: <4FGL_J0259.0+0552_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0259.0+0552_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 00:05:28 2023
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:05:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:05:58 2023
Terminated at Sat Feb 18 00:20:27 2023
Results reported at Sat Feb 18 00:20:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0259.0+0552_daily_bin1770 44.7519 5.878 698112001 698371201 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 :                                   752.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             303.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            899 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 475277: <4FGL_J0259.0+0552_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0259.0+0552_daily_bin1770> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Feb 18 00:05:28 2023
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:05:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:05:58 2023
Terminated at Sat Feb 18 00:21:19 2023
Results reported at Sat Feb 18 00:21:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0259.0+0552_daily_bin1770 44.7519 5.878 698112001 698371201 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 :                                   768.11 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             353.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            951 sec.

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

