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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1632
RA = 358.931, Dec = -33.8607
tmin = 662342401, tmax = 662601601
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='629751', job_status='RUN', time_executed='2021-12-31 00:41:07.749120', time_epoch_executed='1640940067.75' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1632'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/629751

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/629751/ft1_4FGL_J2355.7-3351_daily_bin1632.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/629751/ft2_4FGL_J2355.7-3351_daily_bin1632.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/629751/ft1_4FGL_J2355.7-3351_daily_bin1632.fits outfile=/scratch/kocevski/629751/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1632.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=662342401.0 tmax=662601601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.41
user 2.18
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/629751/ft2_4FGL_J2355.7-3351_daily_bin1632.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/629751/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1632.fits evtable="EVENTS" outfile="/scratch/kocevski/629751/ft1_filtered_4FGL_J2355.7-3351_daily_bin1632.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.42
user 0.27
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/629751/ft1_filtered_4FGL_J2355.7-3351_daily_bin1632.fits" evtable="EVENTS" scfile=/scratch/kocevski/629751/ft2_4FGL_J2355.7-3351_daily_bin1632.fits sctable="SC_DATA" outfile=/scratch/kocevski/629751/ltcube_662342401_662601601_4FGL_J2355.7-3351_daily_bin1632.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/629751/ft2_4FGL_J2355.7-3351_daily_bin1632.fits
.....................!
real 10.48
user 10.17
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/629751/ft1_filtered_4FGL_J2355.7-3351_daily_bin1632.fits evtable="EVENTS" scfile=/scratch/kocevski/629751/ft2_4FGL_J2355.7-3351_daily_bin1632.fits sctable="SC_DATA" expcube=/scratch/kocevski/629751/ltcube_662342401_662601601_4FGL_J2355.7-3351_daily_bin1632.fits outfile=/scratch/kocevski/629751/expmap_662342401_662601601_4FGL_J2355.7-3351_daily_bin1632.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/629751/ltcube_662342401_662601601_4FGL_J2355.7-3351_daily_bin1632.fits
.....................!
real 155.54
user 151.28
sys 4.01

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/629751/ft1_filtered_4FGL_J2355.7-3351_daily_bin1632.fits scfile=/scratch/kocevski/629751/ft2_4FGL_J2355.7-3351_daily_bin1632.fits outfile=/scratch/kocevski/629751/cmap_662342401_662601601_4FGL_J2355.7-3351_daily_bin1632.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.48
user 0.33
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/629751/ft1_filtered_4FGL_J2355.7-3351_daily_bin1632.fits scfile=/scratch/kocevski/629751/ft2_4FGL_J2355.7-3351_daily_bin1632.fits outfile=/scratch/kocevski/629751/cmap_HighResolution_662342401_662601601_4FGL_J2355.7-3351_daily_bin1632.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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/629751/ft1_filtered_4FGL_J2355.7-3351_daily_bin1632.fits evtable="EVENTS" scfile=/scratch/kocevski/629751/ft2_4FGL_J2355.7-3351_daily_bin1632.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/629751/Model_4FGL_J2355.7-3351_daily_bin1632.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/629751/ft1_filtered_4FGL_J2355.7-3351_daily_bin1632.fits.....................!
real 41.76
user 40.68
sys 1.00

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2261       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4408       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6689       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.561       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.004       1.0000         .10000E-03   10000.    
    15 'norm      '    2.0684       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8483       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .84292       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96433       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=   7010.947     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2137 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.343        .55400E-05** at limit **
   2  Prefactor     3.2261        2.4351       -.56853E-07   -.20025E-03
   3  Prefactor     .10000E-03    5.3353       -.51477E-06** at limit **
   4  Prefactor     .10000E-03    6.1323        .22715E-05** at limit **
   5  Prefactor     .10000E-03    6.5761       -.11102E-05** at limit **
   6  Prefactor     5.4403        3.7031       -.74628E-06    .14002E-03
   7  Prefactor     .10000E-03    9.4472       -.30015E-05** at limit **
   8  Prefactor     .10000E-03    2.2066       -.21324E-06** at limit **
   9  norm          .10000E-03    1.7758       -.41918E-06** at limit **
  10  norm          1.6687        4.6998       -.11541E-05   -.82470E-03
  11  Prefactor     20.567        23.956        .93652E-05   -.19152E-03
  12  Prefactor     .10000E-03    15.747       -.64274E-05** at limit **
  13  norm          .10000E-03    1.5384       -.44192E-06** at limit **
  14  Prefactor     26.001        27.464       -.34839E-05    .96694E-04
  15  norm          2.0674        3.3086       -.23151E-05   -.66027E-03
  16  Prefactor     .10000E-03    15.631       -.52856E-05** at limit **
  17  Prefactor     .10000E-03    14.019        .76203E-05** at limit **
  18  Prefactor     3.8482        3.4059       -.19016E-06   -.11440E-03
  19  Prefactor     .10000E-03    9.9320        .16807E-06** at limit **
  20  Normalizat    .84292        .13352        .12752E-06    .72526E-04
  21  Prefactor     .96434        .15365        .44201E-06    .27212E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 3.22606
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.44026
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.6687
  Prefactor  = 20.5666
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 26.0014
  norm       = 2.06745
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 3.84822
  Prefactor  = 0.0001
  Normalizat = 0.842919
  Prefactor  = 0.964345
 **********
 **   18 **HESSE 
 **********

 FCN=   7010.947     FROM HESSE     STATUS=OK           311 CALLS     2448 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.2261        2.4382        .10859E-03   -1.5349    
   3  Prefactor     .10000E-03    5.3385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.1539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.5771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.4403        3.7059        .12804E-03   -1.5241    
   7  Prefactor     .10000E-03    9.4243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.2230        .12144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.7894        .10900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6687        4.7614        .30008E-03   -1.5450    
  11  Prefactor     20.567        23.954        .88331E-04   -1.4801    
  12  Prefactor     .10000E-03    15.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.5590        .10123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.001        27.470        .78558E-04   -1.4688    
  15  norm          2.0674        3.3537        .18338E-03   -1.5420    
  16  Prefactor     .10000E-03    15.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.8482        3.4068        .14017E-03   -1.5316    
  19  Prefactor     .10000E-03    9.9390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .84292        .16038        .21281E-03   -.98496    
  21  Prefactor     .96434        .18433        .23375E-03   -.93928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54329e-09
Minuit parameter uncertainties:
  1  0.000176025
  2  2.43826
  3  9.61516e-06
  4  5.45547e-05
  5  3.40926e-05
  6  3.70606
  7  0.000118742
  8  2.63064e-06
  9  9.49532e-06
  10  4.76247
  11  23.9657
  12  0.000215294
  13  1.61985e-05
  14  27.4828
  15  3.35398
  16  0.000179248
  17  0.000242549
  18  3.40698
  19  4.3806e-06
  20  0.160469
  21  0.184448
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  3.848e+00  3.407e+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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  9.643e-01  1.844e-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:  8.429e-01  1.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.91
Ra Dec: 358.931 -33.861
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 2.29e-08 +/- 2.03e-08
Energy Flux (Fixed Index): 6.13e-06 +/- 5.43e-06

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

Saving results to:
/scratch/kocevski/629751/likelihoodResults_662342401_662601601_4FGL_J2355.7-3351_daily_bin1632.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): 0
logL (Free Index) = 7010.00352975
delta logL = 0.943798501224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7009.99475416
delta logL = 0.952574095853

Fit tolerance = 1e-08

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

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

 FCN=   7009.995     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      198 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2099        3.6952        .49101E-02   -.14086E-02
   2  Index         1.7216        .39597        .23525       -.61090E-04
   3  Normalizat    .86027        .13046        .44392E-01    .31830E-04
   4  Prefactor     .95007        .15296        .45640E-01    .28311E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20985
  Index      = 1.72161
  Normalizat = 0.860265
  Prefactor  = 0.950074
 **********
 **   18 **HESSE 
 **********

 FCN=   7009.995     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2099        4.2410        .14528E-03   -1.5298    
   2  Index         1.7216        .55656        .84883E-02   -.71508    
   3  Normalizat    .86027        .15658        .21083E-03   -.97871    
   4  Prefactor     .95007        .18344        .23519E-03   -.94413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.69861e-10
Minuit parameter uncertainties:
  1  4.24132
  2  0.558597
  3  0.156665
  4  0.183556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/629751': 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): 0
logL (Free Index) = 7009.99475414
delta logL = 0.952574110857

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  9.501e-01  1.836e-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:  8.603e-01  1.567e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.82
Ra Dec: 358.931 -33.861
Photon Index (Free Index): 1.72 +/- 0.56
Photon Flux (Free Index): 1.20e-08 +/- 1.38e-08
Energy Flux (Free Index): 1.83e-05 +/- 2.46e-05

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/629751/cmap_HighResolution_662342401_662601601_4FGL_J2355.7-3351_daily_bin1632.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', comment='SUCCESS', photon_flux='2.29e-08', energy_flux2='1.83e-05', photon_flux_error='2.03e-08', dlogl='9.53e-01', energy_flux='6.13e-06', photon_flux2='1.20e-08', job_status='DONE', time_completed='2021-12-31 00:49:45.252663', photon_index_error2='0.56', photon_index2='1.72', ts='2.91', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='7.26e-08', energy_flux_error2='2.46e-05', EG='0.84', time_epoch_completed='1640940585.25', return_code='0', job_id='629751', GAL2='0.95', EG2='0.86', return_code2='0', energy_flux_error='5.43e-06', photon_flux_error2='1.38e-08', ts2='4.82', photon_index='2.58' WHERE bin_id='1632' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 31 00:49:45 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 629751: <4FGL_J2355.7-3351_daily_bin1632> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1632> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 31 00:40:17 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 31 00:40:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 31 00:40:19 2021
Terminated at Fri Dec 31 00:49:45 2021
Results reported at Fri Dec 31 00:49:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1632 358.931 -33.8607 662342401 662601601 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 :                                   519.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   566 sec.
    Turnaround time :                            568 sec.

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

