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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin748
RA = 358.931, Dec = -33.8607
tmin = 433209601, tmax = 433468801
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='193416', job_status='RUN', time_executed='2021-09-30 09:08:05.717895', time_epoch_executed='1633018085.72' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193416

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193416/ft1_4FGL_J2355.7-3351_daily_bin748.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193416/ft2_4FGL_J2355.7-3351_daily_bin748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193416/ft1_4FGL_J2355.7-3351_daily_bin748.fits outfile=/scratch/kocevski/193416/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin748.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=433209601.0 tmax=433468801.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.99
user 5.70
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193416/ft2_4FGL_J2355.7-3351_daily_bin748.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/193416/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin748.fits evtable="EVENTS" outfile="/scratch/kocevski/193416/ft1_filtered_4FGL_J2355.7-3351_daily_bin748.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193416/ft1_filtered_4FGL_J2355.7-3351_daily_bin748.fits" evtable="EVENTS" scfile=/scratch/kocevski/193416/ft2_4FGL_J2355.7-3351_daily_bin748.fits sctable="SC_DATA" outfile=/scratch/kocevski/193416/ltcube_433209601_433468801_4FGL_J2355.7-3351_daily_bin748.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/193416/ft2_4FGL_J2355.7-3351_daily_bin748.fits
.....................!
real 12.05
user 11.72
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193416/ft1_filtered_4FGL_J2355.7-3351_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/193416/ft2_4FGL_J2355.7-3351_daily_bin748.fits sctable="SC_DATA" expcube=/scratch/kocevski/193416/ltcube_433209601_433468801_4FGL_J2355.7-3351_daily_bin748.fits outfile=/scratch/kocevski/193416/expmap_433209601_433468801_4FGL_J2355.7-3351_daily_bin748.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/193416/ltcube_433209601_433468801_4FGL_J2355.7-3351_daily_bin748.fits
.....................!
real 190.61
user 185.11
sys 5.13

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/193416/ft1_filtered_4FGL_J2355.7-3351_daily_bin748.fits scfile=/scratch/kocevski/193416/ft2_4FGL_J2355.7-3351_daily_bin748.fits outfile=/scratch/kocevski/193416/cmap_433209601_433468801_4FGL_J2355.7-3351_daily_bin748.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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193416/ft1_filtered_4FGL_J2355.7-3351_daily_bin748.fits scfile=/scratch/kocevski/193416/ft2_4FGL_J2355.7-3351_daily_bin748.fits outfile=/scratch/kocevski/193416/cmap_HighResolution_433209601_433468801_4FGL_J2355.7-3351_daily_bin748.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193416/ft1_filtered_4FGL_J2355.7-3351_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/193416/ft2_4FGL_J2355.7-3351_daily_bin748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193416/Model_4FGL_J2355.7-3351_daily_bin748.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/193416/ft1_filtered_4FGL_J2355.7-3351_daily_bin748.fits.....................!
real 30.41
user 29.10
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.8124       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .29408E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3806       1.0000         .10000E-03   10000.    
     9 'norm      '    3.3960       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1499       1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.757       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.398       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10765E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0940       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .67728       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=   3136.018     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2147 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.344       -.43607E-06** at limit **
   2  Prefactor     .10000E-03    1.7020       -.98939E-07** at limit **
   3  Prefactor     .10000E-03    11.438       -.17626E-06** at limit **
   4  Prefactor     .10000E-03    7.1353       -.17464E-06** at limit **
   5  Prefactor     .10000E-03    14.924        .19146E-06** at limit **
   6  Prefactor     7.8039        6.4836       -.48506E-07   -.16724E-04
   7  Prefactor     .10000E-03    69.456        .17824E-06** at limit **
   8  Prefactor     2.3803        8.7980       -.20297E-06   -.32673E-05
   9  norm          3.3938        8.4984       -.43512E-06    .14101E-04
  10  norm          1.1681        29.086        .45735E-05    .17108E-05
  11  Prefactor     38.772        46.325        .13610E-05    .27643E-04
  12  Prefactor     33.301        73.614       -.68190E-05   -.14068E-04
  13  norm          .10000E-03    2.9724       -.28963E-06** at limit **
  14  Prefactor     .10000E-03    25.845        .33341E-06** at limit **
  15  norm          .10000E-03    4.7806       -.74797E-06** at limit **
  16  Prefactor     .10000E-03    49.855        .12755E-06** at limit **
  17  Prefactor     .10000E-03    14.666        .33082E-06** at limit **
  18  Prefactor     .10000E-03    3.9878        .15099E-06** at limit **
  19  Prefactor     .10000E-03    16.784       -.31959E-06** at limit **
  20  Normalizat    1.0934        .20609       -.11157E-05    .97438E-04
  21  Prefactor     .67783        .23102        .19440E-05   -.27383E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.80392
  Prefactor  = 0.0001
  Prefactor  = 2.3803
  norm       = 3.39381
  norm       = 1.16807
  Prefactor  = 38.7716
  Prefactor  = 33.3007
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09341
  Prefactor  = 0.677832
 **********
 **   18 **HESSE 
 **********

 FCN=   3136.018     FROM HESSE     STATUS=OK           307 CALLS     2454 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7202        .71300E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.1621        .14611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.8039        6.4748        .12459E-03   -1.5149    
   7  Prefactor     .10000E-03    70.503        .21398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3803        8.7902        .26550E-03   -1.5399    
   9  norm          3.3938        8.4720        .21954E-03   -1.5340    
  10  norm          1.1681        29.368        .21584E-02   -1.5492    
  11  Prefactor     38.772        46.407        .64382E-04   -1.4462    
  12  Prefactor     33.301        75.157        .69339E-04   -1.4553    
  13  norm          .10000E-03    2.9849        .94224E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.8862        .11961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    49.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.0308        .10919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0934        .23659        .18896E-03   -.89964    
  21  Prefactor     .67783        .26199        .26661E-03   -1.0440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18857e-10
Minuit parameter uncertainties:
  1  4.9251e-06
  2  9.44523e-07
  3  3.5569e-07
  4  2.21735e-06
  5  3.75545e-06
  6  6.47543
  7  2.93593e-05
  8  8.79494
  9  8.47499
  10  11.7199
  11  46.4498
  12  75.3719
  13  4.01619e-06
  14  3.31297e-06
  15  1.05148e-05
  16  3.6041e-06
  17  4.94304e-06
  18  3.37502e-06
  19  1.07777e-06
  20  0.236824
  21  0.262466
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  3.375e-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:  6.778e-01  2.625e-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.093e+00  2.368e-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: 8.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193416/likelihoodResults_433209601_433468801_4FGL_J2355.7-3351_daily_bin748.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) = 3136.0189596
delta logL = -0.00118026866448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3136.01777937
delta logL = -3.46408342011e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5761       1.0000          .0000       10.000    
     3 'Normalizat'    1.0934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67786       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=   3136.018     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      238 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10015E-03    225.39        .10925E-02** at limit **
   2  Index         2.5447        6.2655        .50000        .55233E-05
   3  Normalizat    1.0934        .38338E-01    .18896E-03   -.21852E-04
   4  Prefactor     .67783        .43715E-01    .26661E-03   -.56927E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100145
  Index      = 2.54469
  Normalizat = 1.09341
  Prefactor  = 0.677835
 **********
 **   18 **HESSE 
 **********

 FCN=   3136.018     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10015E-03    743.19        .21850E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5447        8.2617        .50000       -.51331    
   3  Normalizat    1.0934        .98324E-01    .37792E-04   -.89964    
   4  Prefactor     .67783        .11201        .10664E-04   -1.0440    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.30946e-08
Minuit parameter uncertainties:
  1  0.0210281
  2  2013.39
  3  0.0983406
  4  0.112043
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193416': 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) = 3136.0177793
delta logL = 3.54357325705e-08

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.001e-04  2.103e-02  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.545e+00  2.013e+03  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:  6.778e-01  1.120e-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.093e+00  9.834e-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/193416/cmap_HighResolution_433209601_433468801_4FGL_J2355.7-3351_daily_bin748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-03', job_status='DONE', photon_flux_upper_limit='8.15e-08', time_completed='2021-09-30 09:16:07.950618', job_id='193416', GAL2='0.68', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1633018567.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='3.54e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='748' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:16:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 193416: <4FGL_J2355.7-3351_daily_bin748> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin748> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 09:05:47 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:05:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 09:05:49 2021
Terminated at Thu Sep 30 09:16:08 2021
Results reported at Thu Sep 30 09:16:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin748 358.931 -33.8607 433209601 433468801 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 :                                   478.18 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             290.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            621 sec.

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

