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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1696
RA = 358.931, Dec = -33.8607
tmin = 678931201, tmax = 679190401
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='794222', job_status='RUN', time_executed='2022-07-11 00:37:58.202452', time_epoch_executed='1657525078.2' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794222

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794222/ft1_4FGL_J2355.7-3351_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794222/ft2_4FGL_J2355.7-3351_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794222/ft1_4FGL_J2355.7-3351_daily_bin1696.fits outfile=/scratch/kocevski/794222/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1696.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=678931201.0 tmax=679190401.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 3.54
user 3.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794222/ft2_4FGL_J2355.7-3351_daily_bin1696.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/794222/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/794222/ft1_filtered_4FGL_J2355.7-3351_daily_bin1696.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 459

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794222/ft1_filtered_4FGL_J2355.7-3351_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/794222/ft2_4FGL_J2355.7-3351_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/794222/ltcube_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.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/794222/ft2_4FGL_J2355.7-3351_daily_bin1696.fits
.....................!
real 11.75
user 11.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794222/ft1_filtered_4FGL_J2355.7-3351_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794222/ft2_4FGL_J2355.7-3351_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/794222/ltcube_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.fits outfile=/scratch/kocevski/794222/expmap_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.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/794222/ltcube_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.fits
.....................!
real 190.83
user 185.90
sys 4.61

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/794222/ft1_filtered_4FGL_J2355.7-3351_daily_bin1696.fits scfile=/scratch/kocevski/794222/ft2_4FGL_J2355.7-3351_daily_bin1696.fits outfile=/scratch/kocevski/794222/cmap_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794222/ft1_filtered_4FGL_J2355.7-3351_daily_bin1696.fits scfile=/scratch/kocevski/794222/ft2_4FGL_J2355.7-3351_daily_bin1696.fits outfile=/scratch/kocevski/794222/cmap_HighResolution_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794222/ft1_filtered_4FGL_J2355.7-3351_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794222/ft2_4FGL_J2355.7-3351_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794222/Model_4FGL_J2355.7-3351_daily_bin1696.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/794222/ft1_filtered_4FGL_J2355.7-3351_daily_bin1696.fits.....................!
real 39.82
user 38.52
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794222/ft1_filtered_4FGL_J2355.7-3351_daily_bin1696.fits', '/scratch/kocevski/794222/ft2_4FGL_J2355.7-3351_daily_bin1696.fits', expMap='/scratch/kocevski/794222/expmap_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.fits', expCube='/scratch/kocevski/794222/ltcube_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794222/Model_4FGL_J2355.7-3351_daily_bin1696.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/794222/ft1_filtered_4FGL_J2355.7-3351_daily_bin1696.fits
Spacecraft file(s): /scratch/kocevski/794222/ft2_4FGL_J2355.7-3351_daily_bin1696.fits
Exposure map: /scratch/kocevski/794222/expmap_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.fits
Exposure cube: /scratch/kocevski/794222/ltcube_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794222/Model_4FGL_J2355.7-3351_daily_bin1696.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) = 5089.77818615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    104.78       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1189       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4975       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.845       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.522       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    71.351       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5742       1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.495       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    52.447       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.2724       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3194       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .50834       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=   5089.774     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     2188 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     104.77        79.608       -.98069E-05    .72643E-05
   2  Prefactor     .10000E-03    .79028        .15539E-06** at limit **
   3  Prefactor     .10000E-03    5.0482       -.57199E-07** at limit **
   4  Prefactor     3.1161        20.178       -.88871E-05   -.10075E-03
   5  Prefactor     .10000E-03    7.8597       -.98881E-06** at limit **
   6  Prefactor     7.4973        5.5505        .58064E-07   -.72141E-04
   7  Prefactor     31.843        29.673       -.26039E-05    .49431E-06
   8  Prefactor     .10000E-03    7.5469        .50216E-06** at limit **
   9  norm          .10000E-03    1.4291       -.15996E-06** at limit **
  10  norm          13.522        9.3830        .18531E-06    .73457E-05
  11  Prefactor     .10000E-03    15.159       -.64894E-06** at limit **
  12  Prefactor     71.339        61.258       -.12903E-04    .88237E-05
  13  norm          1.5738        2.2301       -.17721E-06   -.13436E-03
  14  Prefactor     32.483        32.802       -.17252E-04    .38158E-05
  15  norm          .10000E-03    1.1556       -.42797E-08** at limit **
  16  Prefactor     52.446        91.115       -.13276E-05    .72802E-05
  17  Prefactor     .10000E-03    9.3081       -.61559E-06** at limit **
  18  Prefactor     .10000E-03    1.1528       -.43614E-07** at limit **
  19  Prefactor     6.2716        18.398       -.19693E-05   -.24698E-04
  20  Normalizat    1.3195        .18799        .26433E-05   -.16378E-04
  21  Prefactor     .50821        .19812        .37133E-05    .10421E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 104.773
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.11614
  Prefactor  = 0.0001
  Prefactor  = 7.49731
  Prefactor  = 31.8435
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.5221
  Prefactor  = 0.0001
  Prefactor  = 71.3393
  norm       = 1.57379
  Prefactor  = 32.4833
  norm       = 0.0001
  Prefactor  = 52.4456
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.2716
  Normalizat = 1.31954
  Prefactor  = 0.50821
 **********
 **   18 **HESSE 
 **********

 FCN=   5089.774     FROM HESSE     STATUS=OK           313 CALLS     2501 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     104.77        79.756        .39283E-04   -1.3657    
   2  Prefactor     .10000E-03    .79138        .61925E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.0491        .15656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1161        20.426        .22958E-03   -1.5355    
   5  Prefactor     .10000E-03    7.8622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.4973        5.5496        .13119E-03   -1.5160    
   7  Prefactor     31.843        29.716        .71004E-04   -1.4579    
   8  Prefactor     .10000E-03    7.6363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.4294        .83286E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.522        9.3791        .10892E-03   -1.4972    
  11  Prefactor     .10000E-03    15.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     71.339        61.370        .47526E-04   -1.4017    
  13  norm          1.5738        2.2074        .12328E-03   -1.5457    
  14  Prefactor     32.483        32.756        .70293E-04   -1.4567    
  15  norm          .10000E-03    1.1587        .74887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     52.446        91.123        .55381E-04   -1.4258    
  17  Prefactor     .10000E-03    9.3083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.1538        .74802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.2716        18.395        .16028E-03   -1.5207    
  20  Normalizat    1.3195        .21270        .19679E-03   -.82985    
  21  Prefactor     .50821        .22200        .32980E-03   -1.1160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41027e-10
Minuit parameter uncertainties:
  1  79.838
  2  1.26773e-06
  3  3.81594e-06
  4  15.964
  5  4.8873e-07
  6  5.54995
  7  29.7298
  8  4.86357e-05
  9  9.21613e-07
  10  9.38009
  11  2.48443e-05
  12  61.4243
  13  2.20756
  14  32.7738
  15  2.63127e-06
  16  91.3661
  17  5.56379e-07
  18  4.74741e-08
  19  18.4118
  20  0.212846
  21  0.222383
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  4.747e-08  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:  5.082e-01  2.224e-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.320e+00  2.128e-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: 3.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794222/likelihoodResults_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.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) = 5089.7779367
delta logL = -0.00352921588183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5089.7744072
delta logL = 2.82839209831e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5679       1.0000          .0000       10.000    
     3 'Normalizat'    1.3195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50821       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.

 FCN=   5089.774     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      244 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.549        .75355E-02** at limit **
   2  Index         2.0247        5.1292        .50000        .25484E-06
   3  Normalizat    1.3195        .15835E-01    .19679E-03   -.11143E-02
   4  Prefactor     .50821        .17244E-01    .32980E-03   -.65746E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.02468
  Normalizat = 1.31954
  Prefactor  = 0.508205
 **********
 **   18 **HESSE 
 **********

 FCN=   5089.774     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    141.01        .81782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0247        5.8734        .50000       -.63735    
   3  Normalizat    1.3195        .49697E-01    .39359E-04   -.82985    
   4  Prefactor     .50821        .54116E-01    .65960E-04   -1.1160    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.64691e-09
Minuit parameter uncertainties:
  1  3.72755e-06
  2  766.514
  3  0.0496987
  4  0.0541219
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794222': 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) = 5089.77440043
delta logL = 7.05447109794e-06

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  3.728e-06  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.025e+00  7.665e+02  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:  5.082e-01  5.412e-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.320e+00  4.970e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/794222/cmap_HighResolution_678931201_679190401_4FGL_J2355.7-3351_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', job_status='DONE', photon_flux_upper_limit='3.93e-08', time_completed='2022-07-11 00:47:12.687126', job_id='794222', GAL2='0.51', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1657525632.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='7.05e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1696' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:47:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 794222: <4FGL_J2355.7-3351_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:35:33 2022
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:35:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:35:35 2022
Terminated at Mon Jul 11 00:47:13 2022
Results reported at Mon Jul 11 00:47:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1696 358.931 -33.8607 678931201 679190401 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 :                                   557.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            700 sec.

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

