/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 5 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 = 7737
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2353.2+3135_daily_bin767
RA = 358.322, Dec = 31.5927
tmin = 438134401, tmax = 438393601
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='172015', job_status='RUN', time_executed='2021-09-30 07:51:08.288286', time_epoch_executed='1633013468.29' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/172015

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/172015/ft1_4FGL_J2353.2+3135_daily_bin767.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/172015/ft2_4FGL_J2353.2+3135_daily_bin767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/172015/ft1_4FGL_J2353.2+3135_daily_bin767.fits outfile=/scratch/kocevski/172015/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin767.fits ra=358.322 dec=31.5927 rad=12.0 tmin=438134401.0 tmax=438393601.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 6.20
user 5.91
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/172015/ft2_4FGL_J2353.2+3135_daily_bin767.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/172015/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin767.fits evtable="EVENTS" outfile="/scratch/kocevski/172015/ft1_filtered_4FGL_J2353.2+3135_daily_bin767.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/172015/ft1_filtered_4FGL_J2353.2+3135_daily_bin767.fits" evtable="EVENTS" scfile=/scratch/kocevski/172015/ft2_4FGL_J2353.2+3135_daily_bin767.fits sctable="SC_DATA" outfile=/scratch/kocevski/172015/ltcube_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.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/172015/ft2_4FGL_J2353.2+3135_daily_bin767.fits
.....................!
real 12.34
user 11.97
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/172015/ft1_filtered_4FGL_J2353.2+3135_daily_bin767.fits evtable="EVENTS" scfile=/scratch/kocevski/172015/ft2_4FGL_J2353.2+3135_daily_bin767.fits sctable="SC_DATA" expcube=/scratch/kocevski/172015/ltcube_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.fits outfile=/scratch/kocevski/172015/expmap_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.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/172015/ltcube_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.fits
.....................!
real 191.51
user 185.80
sys 5.34

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/172015/ft1_filtered_4FGL_J2353.2+3135_daily_bin767.fits scfile=/scratch/kocevski/172015/ft2_4FGL_J2353.2+3135_daily_bin767.fits outfile=/scratch/kocevski/172015/cmap_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/172015/ft1_filtered_4FGL_J2353.2+3135_daily_bin767.fits scfile=/scratch/kocevski/172015/ft2_4FGL_J2353.2+3135_daily_bin767.fits outfile=/scratch/kocevski/172015/cmap_HighResolution_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.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.54
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/172015/ft1_filtered_4FGL_J2353.2+3135_daily_bin767.fits', '/scratch/kocevski/172015/ft2_4FGL_J2353.2+3135_daily_bin767.fits', expMap='/scratch/kocevski/172015/expmap_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.fits', expCube='/scratch/kocevski/172015/ltcube_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/172015/Model_4FGL_J2353.2+3135_daily_bin767.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/172015/ft1_filtered_4FGL_J2353.2+3135_daily_bin767.fits
Spacecraft file(s): /scratch/kocevski/172015/ft2_4FGL_J2353.2+3135_daily_bin767.fits
Exposure map: /scratch/kocevski/172015/expmap_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.fits
Exposure cube: /scratch/kocevski/172015/ltcube_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/172015/Model_4FGL_J2353.2+3135_daily_bin767.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) = 4299.852323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    31.052       1.0000         .10000E-03   10000.    
     2 'norm      '    .10473E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.689       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.827       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5483       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14266       1.0000         .10000E-03   10000.    
    10 'norm      '    5.1997       1.0000         .10000E-03   10000.    
    11 'Prefactor '    49.415       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.717       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .87192       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7064       1.0000         .10000E-03   10000.    
    16 'norm      '    .24302E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12836E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.257       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .66016       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97801       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.

 FCN=   4299.815     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2438 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.052        7.9019       -.10482E-06    .10496E-03
   2  norm          .10000E-03    24.828       -.15354E-05** at limit **
   3  Prefactor     .10000E-03    9.4688        .92689E-07** at limit **
   4  Prefactor     .10000E-03    14.186       -.18729E-05** at limit **
   5  Prefactor     14.672        13.920       -.17950E-06    .10814E-03
   6  Prefactor     .10000E-03    43.124       -.56413E-07** at limit **
   7  Prefactor     10.809        43.545       -.89127E-07    .33919E-04
   8  norm          3.5482        2.5976       -.63171E-07   -.90526E-05
   9  Prefactor     .10163E-03    37.792       -.33374E-05** at limit **
  10  norm          5.2000        2.6642        .44272E-06    .99754E-03
  11  Prefactor     49.406        38.910       -.22331E-06    .11218E-05
  12  Prefactor     17.725        24.314       -.54522E-06    .33833E-04
  13  Prefactor     .10000E-03    25.792        .10976E-05** at limit **
  14  norm          .86106        14.152        .21029E-05   -.60137E-03
  15  Prefactor     7.7590        32.125        .38200E-06   -.93051E-04
  16  norm          .10000E-03    2.9927       -.26375E-06** at limit **
  17  Prefactor     .10000E-03    7.6828       -.61347E-07** at limit **
  18  Prefactor     .10000E-03    14.529        .16937E-05** at limit **
  19  Prefactor     .10000E-03    79.134       -.30313E-06** at limit **
  20  Prefactor     12.255        10.356       -.25322E-06    .37765E-04
  21  Normalizat    .65992        .28521        .10523E-05    .21667E-03
  22  Prefactor     .97824        .14353        .10419E-05    .53538E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 31.0517
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 14.6723
  Prefactor  = 0.0001
  Prefactor  = 10.8091
  norm       = 3.54822
  Prefactor  = 0.000101633
  norm       = 5.19997
  Prefactor  = 49.4063
  Prefactor  = 17.7251
  Prefactor  = 0.0001
  norm       = 0.861056
  Prefactor  = 7.759
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 12.2548
  Normalizat = 0.659924
  Prefactor  = 0.978244
 **********
 **   18 **HESSE 
 **********

 FCN=   4299.815     FROM HESSE     STATUS=OK           356 CALLS     2794 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.052        7.9060        .71903E-04   -1.4593    
   2  norm          .10000E-03    25.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.5898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.672        13.993        .10451E-03   -1.4942    
   6  Prefactor     .10000E-03    43.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.809        43.539        .12176E-03   -1.5050    
   8  norm          3.5482        2.6008        .88009E-04   -1.5331    
   9  Prefactor     .10163E-03    35.728        .12766       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.2000        2.7285        .73424E-04   -1.5252    
  11  Prefactor     49.406        38.932        .57047E-04   -1.4301    
  12  Prefactor     17.725        23.369        .95154E-04   -1.4866    
  13  Prefactor     .10000E-03    25.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .86106        40.356        .30890E-02   -1.5522    
  15  Prefactor     7.7590        37.459        .14445E-03   -1.5151    
  16  norm          .10000E-03    13.524        .20958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.6850        .17753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    79.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.255        10.333        .11442E-03   -1.5008    
  21  Normalizat    .65992        .32373        .39058E-03   -1.0550    
  22  Prefactor     .97824        .16758        .17642E-03   -.93458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.48377e-09
Minuit parameter uncertainties:
  1  7.90631
  2  0.000303776
  3  4.15276e-06
  4  0.000257931
  5  13.9963
  6  4.19718e-05
  7  43.4426
  8  2.60087
  9  0.0152856
  10  2.72858
  11  38.9522
  12  23.3811
  13  0.00019078
  14  11.7973
  15  34.1311
  16  2.19814e-05
  17  8.74496e-06
  18  0.000227048
  19  0.000133134
  20  10.3349
  21  0.324669
  22  0.167674
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.000e-04  2.270e-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:  9.782e-01  1.677e-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:  6.599e-01  3.247e-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: 8.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/172015/likelihoodResults_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.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) = 4299.81579867
delta logL = -0.000326564146235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4299.81547503
delta logL = -2.92444747174e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2411       1.0000          .0000       10.000    
     3 'Normalizat'    .65992       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97825       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=   4299.815     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      300 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    72.485        .18142E-01** at limit **
   2  Index         1.9933        5.5842        .50000       -.25693E-07
   3  Normalizat    .65992        .13084E-01    .39058E-03    .63134E-04
   4  Prefactor     .97824        .71447E-02    .17642E-03    .14854E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.99329
  Normalizat = 0.659924
  Prefactor  = 0.978243
 **********
 **   18 **HESSE 
 **********

 FCN=   4299.815     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      329 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    463.27        .28037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9933        8.5726        .50000       -.64518    
   3  Normalizat    .65992        .34037E-01    .15623E-04   -1.0550    
   4  Prefactor     .97824        .18587E-01    .35284E-04   -.93458    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.53499e-10
Minuit parameter uncertainties:
  1  0.000288626
  2  1298.78
  3  0.0340383
  4  0.0185871
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/172015': 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) = 4299.81547128
delta logL = 8.19982233224e-07

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.000e-04  2.886e-04  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  1.993e+00  1.299e+03  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.782e-01  1.859e-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:  6.599e-01  3.404e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/172015/cmap_HighResolution_438134401_438393601_4FGL_J2353.2+3135_daily_bin767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', job_status='DONE', photon_flux_upper_limit='8.82e-08', time_completed='2021-09-30 08:00:15.788836', job_id='172015', GAL2='0.98', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1633014015.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='8.20e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='767' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 08:00:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 172015: <4FGL_J2353.2+3135_daily_bin767> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin767> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Thu Sep 30 07:50:53 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:50:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 07:50:54 2021
Terminated at Thu Sep 30 08:00:18 2021
Results reported at Thu Sep 30 08:00:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin767 358.322 31.5927 438134401 438393601 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 :                                   537.02 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             335.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   562 sec.
    Turnaround time :                            565 sec.

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

