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 7 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_J2358.3+3830_daily_bin1770
RA = 359.588, Dec = 38.5097
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='505605', job_status='RUN', time_executed='2023-02-18 02:10:30.695401', time_epoch_executed='1676715030.7' WHERE source_name='4FGL J2358.3+3830' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/505605

Creating custom pfile directory:
/scratch/kocevski/505605/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/505605/ft1_4FGL_J2358.3+3830_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/505605/ft2_4FGL_J2358.3+3830_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/505605/ft1_4FGL_J2358.3+3830_daily_bin1770.fits outfile=/scratch/kocevski/505605/ft1_filteredMKT_4FGL_J2358.3+3830_daily_bin1770.fits ra=359.588 dec=38.5097 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.34
user 4.11
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/505605/ft2_4FGL_J2358.3+3830_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/505605/ft2_4FGL_J2358.3+3830_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/505605/ft1_filteredMKT_4FGL_J2358.3+3830_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/505605/ft1_filtered_4FGL_J2358.3+3830_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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 993

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/505605/ft1_filtered_4FGL_J2358.3+3830_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/505605/ft2_4FGL_J2358.3+3830_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/505605/ltcube_698112001_698371201_4FGL_J2358.3+3830_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/505605/ft2_4FGL_J2358.3+3830_daily_bin1770.fits
.....................!
real 12.44
user 12.10
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/505605/ft1_filtered_4FGL_J2358.3+3830_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/505605/ft2_4FGL_J2358.3+3830_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/505605/ltcube_698112001_698371201_4FGL_J2358.3+3830_daily_bin1770.fits outfile=/scratch/kocevski/505605/expmap_698112001_698371201_4FGL_J2358.3+3830_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/505605/ltcube_698112001_698371201_4FGL_J2358.3+3830_daily_bin1770.fits
.....................!
real 190.15
user 185.63
sys 4.17

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Added 154 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2358.3+3830 @ 359.588 38.5097

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/505605/ft1_filtered_4FGL_J2358.3+3830_daily_bin1770.fits scfile=/scratch/kocevski/505605/ft2_4FGL_J2358.3+3830_daily_bin1770.fits outfile=/scratch/kocevski/505605/cmap_698112001_698371201_4FGL_J2358.3+3830_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=359.588 yref=38.5097 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/505605/ft1_filtered_4FGL_J2358.3+3830_daily_bin1770.fits scfile=/scratch/kocevski/505605/ft2_4FGL_J2358.3+3830_daily_bin1770.fits outfile=/scratch/kocevski/505605/cmap_HighResolution_698112001_698371201_4FGL_J2358.3+3830_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=359.588 yref=38.5097 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/505605/ft1_filtered_4FGL_J2358.3+3830_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/505605/ft2_4FGL_J2358.3+3830_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/505605/Model_4FGL_J2358.3+3830_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 FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/505605/ft1_filtered_4FGL_J2358.3+3830_daily_bin1770.fits.....................!
real 115.11
user 113.75
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/505605/ft1_filtered_4FGL_J2358.3+3830_daily_bin1770.fits', '/scratch/kocevski/505605/ft2_4FGL_J2358.3+3830_daily_bin1770.fits', expMap='/scratch/kocevski/505605/expmap_698112001_698371201_4FGL_J2358.3+3830_daily_bin1770.fits', expCube='/scratch/kocevski/505605/ltcube_698112001_698371201_4FGL_J2358.3+3830_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/505605/Model_4FGL_J2358.3+3830_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2358.3+3830'

4FGL J2358.3+3830
   Spectrum: PowerLaw
488    Prefactor:  8.894e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
489        Index:  2.175e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
490        Scale:  2.145e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/505605/ft1_filtered_4FGL_J2358.3+3830_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/505605/ft2_4FGL_J2358.3+3830_daily_bin1770.fits
Exposure map: /scratch/kocevski/505605/expmap_698112001_698371201_4FGL_J2358.3+3830_daily_bin1770.fits
Exposure cube: /scratch/kocevski/505605/ltcube_698112001_698371201_4FGL_J2358.3+3830_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/505605/Model_4FGL_J2358.3+3830_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) = 10693.9327768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22736E-03   1.0000          .0000       .10000E+07
     2 'norm      '    19.280       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21272E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .62562E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.4218       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.3941       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.541       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15692E-04   1.0000          .0000       .10000E+07
     9 'norm      '    1.5393       1.0000          .0000       .10000E+07
    10 'Prefactor '    .21871E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    12.082       1.0000          .0000       .10000E+07
    12 'norm      '    1.2986       1.0000          .0000       .10000E+07
    13 'Prefactor '    .28004E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .26623E-06   1.0000          .0000       .10000E+07
    15 'norm      '    17.595       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.9807       1.0000          .0000       .10000E+07
    17 'norm      '    4.0179       1.0000          .0000       .10000E+07
    18 'Prefactor '    82.080       1.0000          .0000       .10000E+07
    19 'Prefactor '    .39460E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .20812E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.8018       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0774       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93509       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10693.92     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1896 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65226E-07    45.133        .12162E-05** at limit **
   2  norm          19.346        5.5855       -.42895E-07   -.11041    
   3  Prefactor     .10547E-08    4.4664        .46282E-07** at limit **
   4  Prefactor     .33307E-09    2.8642       -.86910E-07** at limit **
   5  Prefactor     3.4139        3.2089       -.18158E-06    .16673E-03
   6  Prefactor     6.4901        1.7154       -.46658E-07    .14065E-01
   7  Prefactor     18.416        1.4258        .13969E-07    .28788E-01
   8  Prefactor     .32465E-04    42.848       -.53590E-06** at limit **
   9  norm          1.5400        1.4602        .54156E-08    .53240E-04
  10  Prefactor      .0000        4.4912       -.22241E-06** at limit **
  11  Prefactor     12.062        1.0539        .72544E-08   -.13896E-01
  12  norm          1.2987        .96566        .49788E-07   -.96779E-03
  13  Prefactor     .32752E-08    6.3135        .50885E-06** at limit **
  14  norm           .0000        9.7698        .33058E-06** at limit **
  15  norm          17.619        2.5379        .16020E-07    .20098    
  16  Prefactor     4.9604        11.056        .16110E-06   -.14009E-01
  17  norm          4.0168        2.2583        .69082E-07   -.20823E-02
  18  Prefactor     81.974        1.1939        .28299E-08   -.37717E-01
  19  Prefactor     .28600E-05    195.02        .12824E-05** at limit **
  20  Prefactor     .25376E-04    44.644       -.55838E-06** at limit **
  21  Prefactor     1.7893        7.5289        .21800E-06    .73378E-02
  22  Normalizat    1.0776        .20919        .10286E-05    .61366E-04
  23  Prefactor     .93503        .95505E-01   -.46035E-05    .15816E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.52256e-08
  norm       = 19.3457
  Prefactor  = 1.05471e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 3.41386
  Prefactor  = 6.49014
  Prefactor  = 18.4156
  Prefactor  = 3.2465e-05
  norm       = 1.53996
  Prefactor  = 0
  Prefactor  = 12.0616
  norm       = 1.29866
  Prefactor  = 3.27516e-09
  norm       = 0
  norm       = 17.6195
  Prefactor  = 4.96041
  norm       = 4.01676
  Prefactor  = 81.9738
  Prefactor  = 2.85999e-06
  Prefactor  = 2.5376e-05
  Prefactor  = 1.78931
  Normalizat = 1.07759
  Prefactor  = 0.935035
 **********
 **   18 **HESSE 
 **********

 FCN=   10693.92     FROM HESSE     STATUS=OK           424 CALLS     2320 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65226E-07    44.964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          19.346        22.245        .22782E-03   -1.5620    
   3  Prefactor     .10547E-08    4.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    2.8805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4139        3.5326        .54659E-03   -1.5671    
   6  Prefactor     6.4901        16.206        .39669E-03   -1.5657    
   7  Prefactor     18.416        25.881        .23233E-03   -1.5622    
   8  Prefactor     .32465E-04    90.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.5400        1.4761        .85916E-03   -1.5683    
  10  Prefactor      .0000        4.4651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.062        14.491        .28794E-03   -1.5639    
  12  norm          1.2987        .96921        .96969E-03   -1.5685    
  13  Prefactor     .32752E-08    6.3452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        9.6337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          17.619        9.0963        .23850E-03   -1.5624    
  16  Prefactor     4.9604        11.376        .45038E-03   -1.5663    
  17  norm          4.0168        2.2587        .50286E-03   -1.5668    
  18  Prefactor     81.974        51.259        .11038E-03   -1.5527    
  19  Prefactor     .28600E-05    16.369        .15988E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .25376E-04    84.150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.7893        10.889        .77844E-03   -1.5681    
  22  Normalizat    1.0776        .18839        .77505E-01   -.90475    
  23  Prefactor     .93503        .82370E-01    .45451E-01   -.94927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31282e-06
Minuit parameter uncertainties:
  1  0.00342494
  2  22.2449
  3  0.000138468
  4  5.99068e-05
  5  3.53263
  6  16.2063
  7  25.8809
  8  0.108323
  9  1.47613
  10  1.02898e-05
  11  14.4912
  12  0.969208
  13  0.000288783
  14  3.23118e-05
  15  9.09636
  16  11.3756
  17  2.25874
  18  51.2588
  19  0.0136844
  20  0.0924215
  21  8.82822
  22  0.188508
  23  0.0823815
Done.

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

Extracting fit parameters...

4FGL J2358.3+3830
   Spectrum: PowerLaw
488    Prefactor:  2.538e-05  9.242e-02  0.000e+00  1.000e+06 ( 1.000e-14)
489        Index:  2.175e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
490        Scale:  2.145e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  9.350e-01  8.238e-02  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  1.078e+00  1.885e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 359.588 38.510
Photon Flux Upper Limit: 7.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/505605/likelihoodResults_698112001_698371201_4FGL_J2358.3+3830_daily_bin1770.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): 102
logL (Free Index) = 10693.9274785
delta logL = -0.00581092390166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10689.8065043
delta logL = 4.11516323933

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49231E-05   1.0000          .0000       .10000E+07
     2 'Index     '    8.4758       1.0000          .0000       10.000    
     3 'Normalizat'    .90736       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98606       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10693.92     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      510 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    4891.9        .42118E-03** at limit **
   2  Index         1.3711        6.1421        .50000       -.37580E-10
   3  Normalizat    1.0776        .11960        .77518E-01   -.30198E-03
   4  Prefactor     .93503        .55980E-01    .46093E-01    .62081E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Index      = 1.37114
  Normalizat = 1.07759
  Prefactor  = 0.935034
 **********
 **   18 **HESSE 
 **********

 FCN=   10693.92     FROM HESSE     STATUS=OK            31 CALLS      541 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    24.711        .84235E-04   -102.10    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3711        5.5883        .50000       -.50754E+06
   3  Normalizat    1.0776        .20241        .34305E-03   -19.754    
   4  Prefactor     .93503        .94911E-01    .17011E-03   -33.608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46429e-10
Minuit parameter uncertainties:
  1  0.000197451
  2  3.57201
  3  0.202551
  4  0.0949282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/505605': 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) = 10693.9216674
delta logL = 1.50599589688e-07

Extracting fit parameters...

4FGL J2358.3+3830
   Spectrum: PowerLaw
488    Prefactor:  3.886e-10  1.975e-04  0.000e+00  1.000e+06 ( 1.000e-14)
489        Index:  1.371e+00  3.572e+00  0.000e+00  1.000e+01 (-1.000e+00)
490        Scale:  2.145e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  9.350e-01  9.493e-02  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  1.078e+00  2.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 359.588 38.510

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/505605/cmap_HighResolution_698112001_698371201_4FGL_J2358.3+3830_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-03', job_status='DONE', photon_flux_upper_limit='7.62e-08', time_completed='2023-02-18 02:24:49.436011', job_id='505605', GAL2='0.94', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1676715889.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.51e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1770' AND source_name='4FGL J2358.3+3830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 02:24:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0012>
Subject: Job 505605: <4FGL_J2358.3+3830_daily_bin1770> in cluster <slac> Done

Job <4FGL_J2358.3+3830_daily_bin1770> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Feb 18 02:10:15 2023
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 02:10:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 02:10:16 2023
Terminated at Sat Feb 18 02:24:50 2023
Results reported at Sat Feb 18 02:24:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2358.3+3830_daily_bin1770 359.588 38.5097 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2358.3+3830 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   857.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             388.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            875 sec.

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

