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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1694
RA = 358.322, Dec = 31.5927
tmin = 678412801, tmax = 678672001
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='699934', job_status='RUN', time_executed='2022-07-05 04:07:15.370671', time_epoch_executed='1657019235.37' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1694'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699934

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699934/ft1_4FGL_J2353.2+3135_daily_bin1694.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699934/ft2_4FGL_J2353.2+3135_daily_bin1694.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699934/ft1_4FGL_J2353.2+3135_daily_bin1694.fits outfile=/scratch/kocevski/699934/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1694.fits ra=358.322 dec=31.5927 rad=12.0 tmin=678412801.0 tmax=678672001.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 5.39
user 3.42
sys 0.22

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

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

Number of photons that the gtmktime cut: 773

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/699934/ft1_filtered_4FGL_J2353.2+3135_daily_bin1694.fits" evtable="EVENTS" scfile=/scratch/kocevski/699934/ft2_4FGL_J2353.2+3135_daily_bin1694.fits sctable="SC_DATA" outfile=/scratch/kocevski/699934/ltcube_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.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/699934/ft2_4FGL_J2353.2+3135_daily_bin1694.fits
.....................!
real 14.41
user 13.96
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699934/ft1_filtered_4FGL_J2353.2+3135_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/699934/ft2_4FGL_J2353.2+3135_daily_bin1694.fits sctable="SC_DATA" expcube=/scratch/kocevski/699934/ltcube_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.fits outfile=/scratch/kocevski/699934/expmap_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.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/699934/ltcube_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.fits
.....................!
real 192.06
user 186.95
sys 4.40

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/699934/ft1_filtered_4FGL_J2353.2+3135_daily_bin1694.fits scfile=/scratch/kocevski/699934/ft2_4FGL_J2353.2+3135_daily_bin1694.fits outfile=/scratch/kocevski/699934/cmap_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699934/ft1_filtered_4FGL_J2353.2+3135_daily_bin1694.fits scfile=/scratch/kocevski/699934/ft2_4FGL_J2353.2+3135_daily_bin1694.fits outfile=/scratch/kocevski/699934/cmap_HighResolution_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.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.55
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/699934/ft1_filtered_4FGL_J2353.2+3135_daily_bin1694.fits', '/scratch/kocevski/699934/ft2_4FGL_J2353.2+3135_daily_bin1694.fits', expMap='/scratch/kocevski/699934/expmap_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.fits', expCube='/scratch/kocevski/699934/ltcube_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/699934/Model_4FGL_J2353.2+3135_daily_bin1694.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  1.000e-04  1.000e+04 ( 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/699934/ft1_filtered_4FGL_J2353.2+3135_daily_bin1694.fits
Spacecraft file(s): /scratch/kocevski/699934/ft2_4FGL_J2353.2+3135_daily_bin1694.fits
Exposure map: /scratch/kocevski/699934/expmap_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.fits
Exposure cube: /scratch/kocevski/699934/ltcube_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/699934/Model_4FGL_J2353.2+3135_daily_bin1694.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) = 8270.06309004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.8369       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .78543       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .37123E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10977E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    42.848       1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.824       1.0000         .10000E-03   10000.    
     8 'norm      '    .58320       1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.926       1.0000         .10000E-03   10000.    
    10 'norm      '    .29818       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10640E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6180       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.6353       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .27714E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.8997       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .85409       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0805       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.

 FCN=   8270.052     FROM MIGRAD    STATUS=CONVERGED    911 CALLS     3223 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50628        .63097E-03** at limit **
   2  norm          8.8473        16.381        .13484E-03    .18060E-03
   3  Prefactor     .75249        16.077        .31526E-02   -.22895E-03
   4  Prefactor     .10027E-03    49.735        .38419E-02** at limit **
   5  Prefactor     .10013E-03    5.3415        .56638E-01** at limit **
   6  Prefactor     42.736        48.445        .61243E-04   -.16417E-03
   7  Prefactor     33.841        26.198        .68902E-04   -.27389E-04
   8  norm          .58275        1.7968        .20792E-03    .53694E-03
   9  Prefactor     36.920        34.484        .65953E-04   -.26228E-03
  10  norm          .29802        1.1811        .14815E-02   -.54086E-03
  11  Prefactor     .10000E-03    12.550        .18142E-02** at limit **
  12  Prefactor     2.6167        13.150        .25208E-03   -.12953E-03
  13  Prefactor     .10000E-03    15.772        .18142E-02** at limit **
  14  norm          2.6347        3.1082        .16920E-03   -.62593E-03
  15  Prefactor     .10000E-03    8.8212        .18142E-02** at limit **
  16  norm          .10000E-03    .97520        .87214E-03** at limit **
  17  Prefactor     .10000E-03    6.9409        .18142E-02** at limit **
  18  Prefactor     .10000E-03    36.128        .18142E-02** at limit **
  19  Prefactor     .10040E-03    84.087        .18197    ** at limit **
  20  Prefactor     5.9008        10.715        .16533E-03    .41162E-03
  21  Normalizat    .85410        .20766        .32788E-03   -.41275E-03
  22  Prefactor     1.0805        .11827        .16961E-03   -.80398E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.84728
  Prefactor  = 0.752493
  Prefactor  = 0.000100269
  Prefactor  = 0.000100131
  Prefactor  = 42.7364
  Prefactor  = 33.8412
  norm       = 0.582751
  Prefactor  = 36.9201
  norm       = 0.298016
  Prefactor  = 0.0001
  Prefactor  = 2.61667
  Prefactor  = 0.0001
  norm       = 2.63466
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100399
  Prefactor  = 5.90076
  Normalizat = 0.854103
  Prefactor  = 1.08052
 **********
 **   18 **HESSE 
 **********

 FCN=   8270.052     FROM HESSE     STATUS=OK           344 CALLS     3567 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .50628        .12619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.8473        16.321        .53934E-05   -1.5113    
   3  Prefactor     .75249        15.738        .12611E-03   -1.5534    
   4  Prefactor     .10027E-03    50.947        .76838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10013E-03    5.1865        .57875E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     42.736        48.440        .12249E-04   -1.4400    
   7  Prefactor     33.841        26.192        .27561E-05   -1.4544    
   8  norm          .58275        1.7966        .83167E-05   -1.5555    
   9  Prefactor     36.920        34.451        .13191E-04   -1.4492    
  10  norm          .29802        1.1777        .59260E-04   -1.5599    
  11  Prefactor     .10000E-03    12.552        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.6167        13.145        .10083E-04   -1.5384    
  13  Prefactor     .10000E-03    15.774        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.6347        3.1076        .67682E-05   -1.5383    
  15  Prefactor     .10000E-03    8.8235        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .97528        .17443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.9413        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    36.138        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10040E-03    101.79        .16413       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.9008        10.783        .66132E-05   -1.5222    
  21  Normalizat    .85410        .20776        .13115E-04   -.98092    
  22  Prefactor     1.0805        .11832        .33921E-04   -.90092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7695e-09
Minuit parameter uncertainties:
  1  1.60672e-06
  2  16.3288
  3  6.8842
  4  0.00741371
  5  0.00165017
  6  48.4847
  7  26.2006
  8  1.79677
  9  34.47
  10  1.17779
  11  4.49732e-05
  12  11.7336
  13  5.58401e-05
  14  3.10782
  15  6.99604e-05
  16  1.67621e-05
  17  1.68284e-05
  18  0.000168993
  19  0.0127659
  20  10.787
  21  0.207953
  22  0.118348
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.000e-04  1.690e-04  1.000e-04  1.000e+04 ( 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:  1.081e+00  1.183e-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:  8.541e-01  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 7.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/699934/likelihoodResults_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.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) = 8270.0523238
delta logL = -0.00013183093688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8270.05219222
delta logL = -2.51660821959e-07

Fit tolerance = 1e-08

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

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

 FCN=   8270.052     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      239 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1719.4        .90712E-02** at limit **
   2  Index         2.5941        6.2912        .50000       -.10944E-04
   3  Normalizat    .85410        .36261E-01    .74090E-01   -.60746E-06
   4  Prefactor     1.0805        .20950E-01    .38379E-01   -.59314E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.59405
  Normalizat = 0.854104
  Prefactor  = 1.08052
 **********
 **   18 **HESSE 
 **********

 FCN=   8270.052     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      270 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7271.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5941        5.4631        .50000       -.50201    
   3  Normalizat    .85410        .78398E-01    .32789E-03   -.98092    
   4  Prefactor     1.0805        .45401E-01    .16961E-03   -.90092    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.34594e-08
Minuit parameter uncertainties:
  1  0.00464468
  2  56.0762
  3  0.0784081
  4  0.0454024
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699934': 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) = 8270.05219207
delta logL = -9.39126039157e-08

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.000e-04  4.645e-03  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.594e+00  5.608e+01  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:  1.081e+00  4.540e-02  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:  8.541e-01  7.841e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 358.322 31.593

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/699934/cmap_HighResolution_678412801_678672001_4FGL_J2353.2+3135_daily_bin1694.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.87e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2022-07-05 04:20:58.499960', job_id='699934', GAL2='1.08', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1657020058.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-9.39e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1694' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  5 04:20:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 699934: <4FGL_J2353.2+3135_daily_bin1694> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1694> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jul  5 04:05:14 2022
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 04:05:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 04:05:27 2022
Terminated at Tue Jul  5 04:20:59 2022
Results reported at Tue Jul  5 04:20:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1694 358.322 31.5927 678412801 678672001 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 :                                   823.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            945 sec.

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

