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 14 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1671
RA = 358.931, Dec = -33.8607
tmin = 672451201, tmax = 672710401
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='45013', job_status='RUN', time_executed='2022-04-27 01:10:37.091194', time_epoch_executed='1651047037.09' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45013

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45013/ft1_4FGL_J2355.7-3351_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45013/ft1_4FGL_J2355.7-3351_daily_bin1671.fits outfile=/scratch/kocevski/45013/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1671.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=672451201.0 tmax=672710401.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.96
user 2.75
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.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/45013/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1671.fits evtable="EVENTS" outfile="/scratch/kocevski/45013/ft1_filtered_4FGL_J2355.7-3351_daily_bin1671.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 800

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45013/ft1_filtered_4FGL_J2355.7-3351_daily_bin1671.fits" evtable="EVENTS" scfile=/scratch/kocevski/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.fits sctable="SC_DATA" outfile=/scratch/kocevski/45013/ltcube_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.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/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.fits
.....................!
real 13.28
user 12.89
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45013/ft1_filtered_4FGL_J2355.7-3351_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/45013/ltcube_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.fits outfile=/scratch/kocevski/45013/expmap_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.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/45013/ltcube_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.fits
.....................!
real 191.07
user 185.35
sys 5.33

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

Setting source of interest to:
4FGL J2355.7-3351 @ 358.931 -33.8607

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/45013/ft1_filtered_4FGL_J2355.7-3351_daily_bin1671.fits scfile=/scratch/kocevski/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.fits outfile=/scratch/kocevski/45013/cmap_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.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.931 yref=-33.8607 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45013/ft1_filtered_4FGL_J2355.7-3351_daily_bin1671.fits scfile=/scratch/kocevski/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.fits outfile=/scratch/kocevski/45013/cmap_HighResolution_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.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.931 yref=-33.8607 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/45013/ft1_filtered_4FGL_J2355.7-3351_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/45013/Model_4FGL_J2355.7-3351_daily_bin1671.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/45013/ft1_filtered_4FGL_J2355.7-3351_daily_bin1671.fits....................!
real 60.44
user 58.94
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/45013/ft1_filtered_4FGL_J2355.7-3351_daily_bin1671.fits', '/scratch/kocevski/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.fits', expMap='/scratch/kocevski/45013/expmap_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.fits', expCube='/scratch/kocevski/45013/ltcube_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/45013/Model_4FGL_J2355.7-3351_daily_bin1671.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2355.7-3351'

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.680e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/45013/ft1_filtered_4FGL_J2355.7-3351_daily_bin1671.fits
Spacecraft file(s): /scratch/kocevski/45013/ft2_4FGL_J2355.7-3351_daily_bin1671.fits
Exposure map: /scratch/kocevski/45013/expmap_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.fits
Exposure cube: /scratch/kocevski/45013/ltcube_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/45013/Model_4FGL_J2355.7-3351_daily_bin1671.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) = 8696.79671586

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.6027       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0803       1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.856       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.4826       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.4888       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.113       1.0000         .10000E-03   10000.    
    15 'norm      '    2.6779       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    40.256       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1546       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93291       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8696.795     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2166 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.855       -.22012E-05** at limit **
   2  Prefactor     .10000E-03    1.7180       -.39065E-06** at limit **
   3  Prefactor     9.6024        9.4462       -.12545E-07    .26019E-04
   4  Prefactor     .10000E-03    4.2481        .20916E-06** at limit **
   5  Prefactor     .10000E-03    6.9937        .19128E-06** at limit **
   6  Prefactor     6.0795        2.8197        .35506E-06   -.19847E-02
   7  Prefactor     19.858        20.299        .12840E-06    .28561E-04
   8  Prefactor     .10000E-03    4.1009        .26163E-06** at limit **
   9  norm          .10000E-03    2.5577        .86946E-07** at limit **
  10  norm          5.4827        3.8727       -.51351E-07   -.29855E-06
  11  Prefactor     7.4931        19.162        .85017E-06    .27036E-05
  12  Prefactor     .10000E-03    15.308        .12662E-05** at limit **
  13  norm          .10000E-03    .91913        .18033E-06** at limit **
  14  Prefactor     16.104        25.439       -.55592E-05   -.80444E-04
  15  norm          2.6782        2.2411       -.82677E-07   -.63788E-04
  16  Prefactor     .10000E-03    59.063        .26217E-06** at limit **
  17  Prefactor     .10000E-03    12.059        .21470E-05** at limit **
  18  Prefactor     .10000E-03    4.8122        .12649E-06** at limit **
  19  Prefactor     40.254        36.806       -.88983E-06    .40836E-05
  20  Normalizat    1.1544        .14221        .11353E-05    .25474E-04
  21  Prefactor     .93309        .15510       -.22886E-06    .11161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.60237
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.07945
  Prefactor  = 19.8584
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.48268
  Prefactor  = 7.49312
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.1038
  norm       = 2.67822
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.2539
  Normalizat = 1.15439
  Prefactor  = 0.933093
 **********
 **   18 **HESSE 
 **********

 FCN=   8696.795     FROM HESSE     STATUS=OK           315 CALLS     2481 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7640        .23840E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.6024        9.4448        .12932E-03   -1.5088    
   4  Prefactor     .10000E-03    4.2605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.0014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.0795        5.3863        .81412E-03   -1.5215    
   7  Prefactor     19.858        22.513        .89885E-04   -1.4816    
   8  Prefactor     .10000E-03    4.1868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.6620        .29103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.4827        3.8725        .15012E-03   -1.5240    
  11  Prefactor     7.4931        19.084        .14655E-03   -1.5160    
  12  Prefactor     .10000E-03    15.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .92062        .87027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.104        25.670        .99779E-04   -1.4905    
  15  norm          2.6782        2.2350        .12230E-03   -1.5381    
  16  Prefactor     .10000E-03    59.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0003        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     40.254        36.881        .63177E-04   -1.4438    
  20  Normalizat    1.1544        .16441        .21544E-03   -.88024    
  21  Prefactor     .93309        .17951        .26809E-03   -.94994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99034e-09
Minuit parameter uncertainties:
  1  5.62454e-05
  2  4.81399e-06
  3  9.44626
  4  1.27623e-06
  5  2.1367e-06
  6  5.38675
  7  22.5225
  8  7.19691e-06
  9  5.55737e-06
  10  3.87271
  11  19.0998
  12  1.8073e-05
  13  1.93287e-06
  14  25.688
  15  2.23511
  16  6.24287e-05
  17  4.58697e-05
  18  8.39725e-06
  19  36.9021
  20  0.164487
  21  0.179622
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  8.397e-06  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  9.331e-01  1.796e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.154e+00  1.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 5.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45013/likelihoodResults_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.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) = 8696.79590241
delta logL = -0.000955108134804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8696.7949479
delta logL = -5.90058334637e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10893E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6138       1.0000          .0000       10.000    
     3 'Normalizat'    1.1545       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93301       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+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=   8696.715     FROM MIGRAD    STATUS=FAILED       302 CALLS      457 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .10959E-01    .42653E-03** at limit **
   2  Index         9.2351        6.5237        .20000        .10984E-03
   3  Normalizat    1.1346        .28910E-01    .21544E-03   -.14525E-03
   4  Prefactor     .94825        .32599E-01    .26809E-03   -.94058E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8696.715     FROM SIMPLEX   STATUS=UNCHANGED    140 CALLS      597 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .10959E-01    .10327E-04** at limit **
   2  Index         9.2351        6.5237        .23969E-02    .10984E-03
   3  Normalizat    1.1346        .28910E-01    .15696E-04   -.14525E-03
   4  Prefactor     .94825        .32599E-01    .10488E-04   -.94058E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8696.715     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      637 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .28326E-01    .34460E-03** at limit **
   2  Index         9.2351        5.3393        .50687E-02   -.85680E-06
   3  Normalizat    1.1346        .43142E-01    .43087E-04   -.16939E-03
   4  Prefactor     .94825        .48935E-01    .10723E-04   -.10347E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 9.23506
  Normalizat = 1.13462
  Prefactor  = 0.948254
 **********
 **   18 **HESSE 
 **********

 FCN=   8696.715     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      670 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .23499E-01    .37318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.2351        5.3822        .20275E-03    1.0103    
   3  Normalizat    1.1346        .41217E-01    .86175E-05   -.88648    
   4  Prefactor     .94825        .46770E-01    .21447E-05   -.94475    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.17551e-11
Minuit parameter uncertainties:
  1  4.02031e-07
  2  15.2459
  3  0.0412185
  4  0.0467723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45013': 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): 102
logL (Free Index) = 8696.7150985
delta logL = 0.0798488041146

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  4.020e-07  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  9.235e+00  1.525e+01  0.000e+00  1.000e+01 (-1.000e+00)
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  9.483e-01  4.677e-02  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.135e+00  4.122e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 358.931 -33.861

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/45013/cmap_HighResolution_672451201_672710401_4FGL_J2355.7-3351_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-03', job_status='DONE', photon_flux_upper_limit='5.62e-08', time_completed='2022-04-27 01:23:35.872055', job_id='45013', GAL2='0.95', fit_tolerance='1e-08', EG2='1.13', EG='1.15', time_epoch_completed='1651047815.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='7.98e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1671' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:23:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 45013: <4FGL_J2355.7-3351_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1671> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Apr 27 01:10:13 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:10:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:10:14 2022
Terminated at Wed Apr 27 01:23:37 2022
Results reported at Wed Apr 27 01:23:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1671 358.931 -33.8607 672451201 672710401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2355.7-3351 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   781.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            804 sec.

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

