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


Performing analysis on: 4FGL_J0245.4+2408_daily_bin1736
RA = 41.3545, Dec = 24.1498
tmin = 689299201, tmax = 689558401
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='82310', job_status='RUN', time_executed='2022-11-08 08:32:07.195615', time_epoch_executed='1667925127.2' WHERE source_name='4FGL J0245.4+2408' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/82310

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/82310/ft1_4FGL_J0245.4+2408_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/82310/ft1_4FGL_J0245.4+2408_daily_bin1736.fits outfile=/scratch/kocevski/82310/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin1736.fits ra=41.3545 dec=24.1498 rad=12.0 tmin=689299201.0 tmax=689558401.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 2.92
user 2.68
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.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/82310/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/82310/ft1_filtered_4FGL_J0245.4+2408_daily_bin1736.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.43
user 0.27
sys 0.14

Number of photons that the gtmktime cut: 966

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/82310/ft1_filtered_4FGL_J0245.4+2408_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/82310/ltcube_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.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/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.fits
.....................!
real 9.93
user 9.45
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/82310/ft1_filtered_4FGL_J0245.4+2408_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/82310/ltcube_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.fits outfile=/scratch/kocevski/82310/expmap_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.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/82310/ltcube_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.fits
.....................!
real 153.92
user 146.92
sys 6.67

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

Setting source of interest to:
4FGL J0245.4+2408 @ 41.3545 24.1498

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/82310/ft1_filtered_4FGL_J0245.4+2408_daily_bin1736.fits scfile=/scratch/kocevski/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.fits outfile=/scratch/kocevski/82310/cmap_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.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=41.3545 yref=24.1498 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.48
user 0.30
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/82310/ft1_filtered_4FGL_J0245.4+2408_daily_bin1736.fits scfile=/scratch/kocevski/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.fits outfile=/scratch/kocevski/82310/cmap_HighResolution_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.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=41.3545 yref=24.1498 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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/82310/ft1_filtered_4FGL_J0245.4+2408_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/82310/Model_4FGL_J0245.4+2408_daily_bin1736.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/82310/ft1_filtered_4FGL_J0245.4+2408_daily_bin1736.fits.....................!
real 125.59
user 122.36
sys 2.89

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/82310/ft1_filtered_4FGL_J0245.4+2408_daily_bin1736.fits', '/scratch/kocevski/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.fits', expMap='/scratch/kocevski/82310/expmap_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.fits', expCube='/scratch/kocevski/82310/ltcube_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/82310/Model_4FGL_J0245.4+2408_daily_bin1736.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0245.4+2408'

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/82310/ft1_filtered_4FGL_J0245.4+2408_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/82310/ft2_4FGL_J0245.4+2408_daily_bin1736.fits
Exposure map: /scratch/kocevski/82310/expmap_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.fits
Exposure cube: /scratch/kocevski/82310/ltcube_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/82310/Model_4FGL_J0245.4+2408_daily_bin1736.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) = 10670.5169159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39135E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.8472       1.0000          .0000       .10000E+07
     3 'Prefactor '    .71837E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .70770E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19069E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .15408E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.916       1.0000          .0000       .10000E+07
     8 'norm      '    2.4294       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30575E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .49024       1.0000          .0000       .10000E+07
    11 'Prefactor '    .24617E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .23945E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .27068       1.0000          .0000       .10000E+07
    14 'Prefactor '    20.628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17978E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.6620       1.0000          .0000       .10000E+07
    17 'norm      '    .57986E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .66132E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6430       1.0000          .0000       .10000E+07
    20 'Prefactor '    6.3898       1.0000          .0000       .10000E+07
    21 'norm      '    4.1479       1.0000          .0000       .10000E+07
    22 'Normalizat'    .94799       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1190       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=   10670.46     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1498 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.4863        .86180E-07** at limit **
   2  Prefactor     8.8343        5.9679        .17587E-09    .22417E-01
   3  Prefactor      .0000        2.1159        .37122E-06** at limit **
   4  norm          .66613E-09    23.836        .90786E-06** at limit **
   5  Prefactor     .49960E-09    53.964       -.13110E-06** at limit **
   6  Prefactor      .0000        39.680       -.47399E-06** at limit **
   7  Prefactor     11.949        2.5749        .55007E-07   -.20355E-01
   8  norm          2.4296        2.0614        .45044E-07   -.47253E-03
   9  Prefactor     .15099E-07    12.079        .10110E-05** at limit **
  10  norm          .49035        .42694       -.92478E-07   -.26815E-02
  11  Prefactor     .16098E-08    18.366        .52205E-06** at limit **
  12  Prefactor      .0000        5.1355       -.16782E-06** at limit **
  13  Prefactor     .13672E-05    4.9401        .13466E-06** at limit **
  14  Prefactor     20.586        1.7878        .69304E-07   -.76519E-02
  15  Prefactor     .16653E-09    8.6980        .64134E-06** at limit **
  16  Prefactor     4.9185        164.57        .38839E-05    .47041E-04
  17  norm          .21094E-08    5.5609       -.64332E-06** at limit **
  18  norm          .16653E-09    5.7632        .46456E-06** at limit **
  19  Prefactor     3.6543        4.4810        .12577E-06   -.56897E-04
  20  Prefactor     6.4060        8.6966        .52850E-06    .15348E-01
  21  norm          4.1452        2.6377        .39366E-07    .17519E-03
  22  Normalizat    .94852        .24389       -.75881E-05   -.51266E-04
  23  Prefactor     1.1191        .93992E-01   -.19022E-06   -.12575E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 8.83433
  Prefactor  = 0
  norm       = 6.66134e-10
  Prefactor  = 4.996e-10
  Prefactor  = 0
  Prefactor  = 11.9493
  norm       = 2.42964
  Prefactor  = 1.5099e-08
  norm       = 0.490348
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  Prefactor  = 1.36718e-06
  Prefactor  = 20.5859
  Prefactor  = 1.66533e-10
  Prefactor  = 4.91848
  norm       = 2.10942e-09
  norm       = 1.66533e-10
  Prefactor  = 3.6543
  Prefactor  = 6.40602
  norm       = 4.14515
  Normalizat = 0.948516
  Prefactor  = 1.11906
 **********
 **   18 **HESSE 
 **********

 FCN=   10670.46     FROM HESSE     STATUS=OK           416 CALLS     1914 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.4724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.8343        10.705        .33674E-03   -1.5649    
   3  Prefactor      .0000        2.1177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .66613E-09    23.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    52.736        .17099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        39.392        .17360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.949        13.377        .28995E-03   -1.5639    
   8  norm          2.4296        2.0794        .65629E-03   -1.5677    
   9  Prefactor     .15099E-07    12.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .49035        .47947        .14209E-02   -1.5694    
  11  Prefactor     .16098E-08    18.531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        5.1470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13672E-05    75.820        .10633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.586        11.267        .22024E-03   -1.5617    
  15  Prefactor     .16653E-09    8.7886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.9185        168.85        .42192E-03   -1.5664    
  17  norm          .21094E-08    6.0615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16653E-09    6.2292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6543        4.4938        .52903E-03   -1.5670    
  20  Prefactor     6.4060        9.6728        .39683E-03   -1.5657    
  21  norm          4.1452        2.6488        .49467E-03   -1.5667    
  22  Normalizat    .94852        .23155        .10337       -.94776    
  23  Prefactor     1.1191        .84838E-01    .36905E-01   -.88860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19357e-08
Minuit parameter uncertainties:
  1  1.27071e-05
  2  10.7053
  3  4.39639e-06
  4  0.000250018
  5  0.000328202
  6  4.87997e-05
  7  13.3772
  8  2.07936
  9  0.000875548
  10  0.479465
  11  0.000346253
  12  1.88934e-06
  13  0.0203631
  14  11.2671
  15  7.38441e-05
  16  57.6372
  17  0.000225736
  18  6.77747e-05
  19  4.49383
  20  9.67283
  21  2.64883
  22  0.231789
  23  0.0848482
Done.

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

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  2.059e+01  1.127e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.119e+00  8.485e-02  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:  9.485e-01  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.64
Ra Dec: 41.355 24.150
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.18e-07 +/- 6.46e-08
Energy Flux (Fixed Index): 2.90e-05 +/- 1.59e-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) = 10670.4032738
delta logL = 0.0580658237195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10670.3985398
delta logL = 0.0627998950331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.962       1.0000          .0000       .10000E+07
     2 'Index     '    2.4763       1.0000          .0000       10.000    
     3 'Normalizat'    .96727       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1148       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10670.40     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      268 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.963        12.594        .85376E-05   -.76945E-02
   2  Index         2.4764        .55507        .89073E-02   -.24150E-03
   3  Normalizat    .96732        .24925        .45414E-03    .11160E-03
   4  Prefactor     1.1148        .93443E-01    .16281E-03    .38595E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.9631
  Index      = 2.47642
  Normalizat = 0.967318
  Prefactor  = 1.11478
 **********
 **   18 **HESSE 
 **********

 FCN=   10670.40     FROM HESSE     STATUS=OK            23 CALLS      291 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.963        12.508        .17075E-05   -1.5614    
   2  Index         2.4764        .55064        .35629E-03   -.52905    
   3  Normalizat    .96732        .24933        .18166E-04   -.94133    
   4  Prefactor     1.1148        .93448E-01    .32562E-04   -.88996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39067e-09
Minuit parameter uncertainties:
  1  12.5081
  2  0.55215
  3  0.249629
  4  0.0934622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/82310': 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) = 10670.3985397
delta logL = 0.0627999939734

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  2.196e+01  1.251e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.476e+00  5.521e-01  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.115e+00  9.346e-02  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:  9.673e-01  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.72
Ra Dec: 41.355 24.150
Photon Index (Free Index): 2.48 +/- 0.55
Photon Flux (Free Index): 1.02e-07 +/- 7.65e-08
Energy Flux (Free Index): 3.04e-05 +/- 1.77e-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/82310/cmap_HighResolution_689299201_689558401_4FGL_J0245.4+2408_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.18e-07', energy_flux2='3.04e-05', photon_flux_error='6.46e-08', dlogl='6.28e-02', energy_flux='2.90e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2022-11-08 08:41:51.159609', photon_index_error2='0.55', photon_index2='2.48', ts='5.64', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.77e-05', EG='0.95', time_epoch_completed='1667925711.16', return_code='0', job_id='82310', GAL2='1.11', EG2='0.97', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='7.65e-08', ts2='5.72', photon_index='2.68' WHERE bin_id='1736' AND source_name='4FGL J0245.4+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 08:41:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 82310: <4FGL_J0245.4+2408_daily_bin1736> in cluster <slac> Done

Job <4FGL_J0245.4+2408_daily_bin1736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 08:30:27 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 08:30:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 08:30:28 2022
Terminated at Tue Nov  8 08:41:52 2022
Results reported at Tue Nov  8 08:41:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0245.4+2408_daily_bin1736 41.3545 24.1498 689299201 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0245.4+2408 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   585.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   683 sec.
    Turnaround time :                            685 sec.

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

