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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1727
RA = 358.322, Dec = 31.5927
tmin = 686966401, tmax = 687225601
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='215514', job_status='RUN', time_executed='2022-10-12 00:41:02.801128', time_epoch_executed='1665560462.8' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215514

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215514/ft1_4FGL_J2353.2+3135_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215514/ft1_4FGL_J2353.2+3135_daily_bin1727.fits outfile=/scratch/kocevski/215514/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1727.fits ra=358.322 dec=31.5927 rad=12.0 tmin=686966401.0 tmax=687225601.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.91
user 2.70
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.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/215514/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1727.fits evtable="EVENTS" outfile="/scratch/kocevski/215514/ft1_filtered_4FGL_J2353.2+3135_daily_bin1727.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.33
sys 0.15

Number of photons that the gtmktime cut: 79

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215514/ft1_filtered_4FGL_J2353.2+3135_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/215514/ltcube_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.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/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.fits
.....................!
real 12.85
user 12.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215514/ft1_filtered_4FGL_J2353.2+3135_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/215514/ltcube_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.fits outfile=/scratch/kocevski/215514/expmap_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.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/215514/ltcube_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.fits
.....................!
real 190.57
user 185.74
sys 4.47

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

Setting source of interest to:
4FGL J2353.2+3135 @ 358.322 31.5927

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/215514/ft1_filtered_4FGL_J2353.2+3135_daily_bin1727.fits scfile=/scratch/kocevski/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.fits outfile=/scratch/kocevski/215514/cmap_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.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=358.322 yref=31.5927 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215514/ft1_filtered_4FGL_J2353.2+3135_daily_bin1727.fits scfile=/scratch/kocevski/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.fits outfile=/scratch/kocevski/215514/cmap_HighResolution_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.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=358.322 yref=31.5927 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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215514/ft1_filtered_4FGL_J2353.2+3135_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215514/Model_4FGL_J2353.2+3135_daily_bin1727.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/215514/ft1_filtered_4FGL_J2353.2+3135_daily_bin1727.fits...........................!
real 24.11
user 22.85
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/215514/ft1_filtered_4FGL_J2353.2+3135_daily_bin1727.fits', '/scratch/kocevski/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.fits', expMap='/scratch/kocevski/215514/expmap_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.fits', expCube='/scratch/kocevski/215514/ltcube_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/215514/Model_4FGL_J2353.2+3135_daily_bin1727.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2353.2+3135'

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  7.403e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  2.631e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/215514/ft1_filtered_4FGL_J2353.2+3135_daily_bin1727.fits
Spacecraft file(s): /scratch/kocevski/215514/ft2_4FGL_J2353.2+3135_daily_bin1727.fits
Exposure map: /scratch/kocevski/215514/expmap_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.fits
Exposure cube: /scratch/kocevski/215514/ltcube_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/215514/Model_4FGL_J2353.2+3135_daily_bin1727.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) = 915.187867337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23020E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .15951E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .41544E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .16681E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .48531E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    25663.       1.0000          .0000       .10000E+07
     7 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48128E-05   1.0000          .0000       .10000E+07
     9 'norm      '    11.751       1.0000          .0000       .10000E+07
    10 'Prefactor '    189.70       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9449       1.0000          .0000       .10000E+07
    12 'Prefactor '    104.37       1.0000          .0000       .10000E+07
    13 'norm      '    .12559E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    65.586       1.0000          .0000       .10000E+07
    15 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    25.928       1.0000          .0000       .10000E+07
    17 'Prefactor '    .49161E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .44353E-07   1.0000          .0000       .10000E+07
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90230       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   914.8115     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     2465 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27756E-09    21.186       -.10817E-04** at limit **
   2  norm          .27384E-06    77.260        .74143E-05** at limit **
   3  Prefactor     .77716E-09    32.397       -.91496E-05** at limit **
   4  Prefactor     .51393E-03    93.244       -.17490E-04** at limit **
   5  Prefactor     .15911E-03    870.62       -.21516E-03** at limit **
   6  Prefactor     25663.        1.0000       -.17376E-09   -.11036E-02
   7  norm          .10000E+07    .95844        .33423E-05   -.45117E-02
   8  Prefactor     .60029E-03    102.43       -.32819E-04** at limit **
   9  norm          11.753        5.6231        .13918E-05   -.79042E-02
  10  Prefactor     189.68        2.7025       -.49535E-06   -.30573E-01
  11  Prefactor     2.9646        48.177       -.17808E-04   -.35506E-02
  12  Prefactor     104.34        2.8113       -.71003E-06   -.15597E-01
  13  norm          .94369E-09    13.633        .13998E-04** at limit **
  14  Prefactor     65.587        1.4871        .39876E-06   -.13594E-01
  15  norm           .0000        3.2727        .50838E-06** at limit **
  16  Prefactor     25.849        2.4362       -.14847E-05   -.36954E-02
  17  Prefactor     .57273E-05    113.61       -.56491E-04** at limit **
  18  Prefactor     .55511E-10    19.941        .28131E-05** at limit **
  19  Normalizat    .10000E-01    .34142        .79950E-03** at limit **
  20  Prefactor     .90271        .20403        .26133E-04   -.15318E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77556e-10
  norm       = 2.73837e-07
  Prefactor  = 7.77156e-10
  Prefactor  = 0.000513926
  Prefactor  = 0.000159112
  Prefactor  = 25663.2
  norm       = 999999
  Prefactor  = 0.000600294
  norm       = 11.7526
  Prefactor  = 189.677
  Prefactor  = 2.96456
  Prefactor  = 104.339
  norm       = 9.4369e-10
  Prefactor  = 65.5866
  norm       = 0
  Prefactor  = 25.8489
  Prefactor  = 5.72731e-06
  Prefactor  = 5.55112e-11
  Normalizat = 0.01
  Prefactor  = 0.902712
 **********
 **   18 **HESSE 
 **********

 FCN=   914.8115     FROM HESSE     STATUS=OK           323 CALLS     2788 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27756E-09    21.216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .27384E-06    77.398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .77716E-09    32.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .51393E-03    176.01        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15911E-03    899.85        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25663.        27805.        .63240E-05   -1.2490    
   7  norm          .10000E+07    .10309E+06    .42118E-03    1.5689    
   8  Prefactor     .60029E-03    200.77        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.753        5.6778        .29199E-03   -1.5639    
  10  Prefactor     189.68        112.00        .72613E-04   -1.5433    
  11  Prefactor     2.9646        51.350        .59158E-03   -1.5674    
  12  Prefactor     104.34        127.80        .97890E-04   -1.5504    
  13  norm          .94369E-09    13.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     65.587        71.057        .12349E-03   -1.5546    
  15  norm           .0000        3.2665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.849        400.31        .19643E-03   -1.5606    
  17  Prefactor     .57273E-05    114.50        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    19.958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .32372        .24818       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .90271        .23517        .45034E-01   -.96046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49616e-05
Minuit parameter uncertainties:
  1  0.00015627
  2  0.00920763
  3  0.000313279
  4  0.601541
  5  0.75689
  6  27950.2
  7  630.228
  8  0.694351
  9  5.67778
  10  111.997
  11  24.6765
  12  127.803
  13  0.000230112
  14  71.0577
  15  7.44114e-06
  16  203.462
  17  0.0512162
  18  7.39256e-05
  19  6.76435e-06
  20  0.235435
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  2.585e+01  2.035e+02  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  2.631e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.027e-01  2.354e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.000e-02  6.764e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 9.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/215514/likelihoodResults_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 914.81107392
delta logL = 0.00039619968129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 914.81069999
delta logL = 0.000770129625721

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.535       1.0000          .0000       .10000E+07
     2 'Index     '    2.7804       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90177       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   914.8107     FROM MIGRAD    STATUS=FAILED        90 CALLS      274 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.413        410.68        .80773E-05    .19568E-02
   2  Index         2.7751        3.3862        .12413E-01    .17117E-03
   3  Normalizat    .10000E-01    .34108        .98639E-02** at limit **
   4  Prefactor     .90240        .18299        .18470E-03   -.17795E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   914.8107     FROM SIMPLEX   STATUS=PROGRESS     135 CALLS      409 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.406        410.68        .22312E-05   -1.5609    
   2  Index         2.7748        3.3862        .50750E-04   -.46122    
   3  Normalizat    .10000E-01    .34108        .29364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .90240        .18299        .20565E-08   -.96057    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   914.8107     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      437 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.403        384.41        .16155E-05    .37575E-04
   2  Index         2.7747        3.3036        .49650E-03    .15341E-05
   3  Normalizat    .10000E-01    .34107        .19728E-02** at limit **
   4  Prefactor     .90242        .18298        .36941E-04    .10541E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.4031
  Index      = 2.77472
  Normalizat = 0.01
  Prefactor  = 0.902421
 **********
 **   18 **HESSE 
 **********

 FCN=   914.8107     FROM HESSE     STATUS=OK            23 CALLS      460 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.403        383.99        .37215E-06   -1.5609    
   2  Index         2.7747        3.3010        .19860E-04   -.46124    
   3  Normalizat    .10000E-01    .34106        .39455E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .90242        .18298        .73882E-05   -.96057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.32817e-12
Minuit parameter uncertainties:
  1  193.618
  2  3.71181
  3  1.52055e-06
  4  0.183107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215514': 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) = 914.810692327
delta logL = 0.000777792924282

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  2.440e+01  1.936e+02  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  2.775e+00  3.712e+00  0.000e+00  1.000e+01 (-1.000e+00)
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.024e-01  1.831e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.000e-02  1.521e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 358.322 31.593

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/215514/cmap_HighResolution_686966401_687225601_4FGL_J2353.2+3135_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.22e-02', job_status='DONE', photon_flux_upper_limit='9.21e-07', time_completed='2022-10-12 00:46:58.501659', job_id='215514', GAL2='0.90', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1665560818.5', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='7.78e-04', ts2='0.02', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1727' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:46:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 215514: <4FGL_J2353.2+3135_daily_bin1727> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:40:22 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:40:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:40:24 2022
Terminated at Wed Oct 12 00:46:59 2022
Results reported at Wed Oct 12 00:46:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1727 358.322 31.5927 686966401 687225601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2353.2+3135 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   358.00 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             310.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   394 sec.
    Turnaround time :                            397 sec.

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

