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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin828
RA = 358.931, Dec = -33.8607
tmin = 453945601, tmax = 454204801
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='194535', job_status='RUN', time_executed='2021-09-30 09:13:10.379491', time_epoch_executed='1633018390.38' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='828'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194535

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194535/ft1_4FGL_J2355.7-3351_daily_bin828.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194535/ft2_4FGL_J2355.7-3351_daily_bin828.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194535/ft1_4FGL_J2355.7-3351_daily_bin828.fits outfile=/scratch/kocevski/194535/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin828.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=453945601.0 tmax=454204801.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 4.06
user 3.83
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194535/ft2_4FGL_J2355.7-3351_daily_bin828.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/194535/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin828.fits evtable="EVENTS" outfile="/scratch/kocevski/194535/ft1_filtered_4FGL_J2355.7-3351_daily_bin828.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194535/ft1_filtered_4FGL_J2355.7-3351_daily_bin828.fits" evtable="EVENTS" scfile=/scratch/kocevski/194535/ft2_4FGL_J2355.7-3351_daily_bin828.fits sctable="SC_DATA" outfile=/scratch/kocevski/194535/ltcube_453945601_454204801_4FGL_J2355.7-3351_daily_bin828.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/194535/ft2_4FGL_J2355.7-3351_daily_bin828.fits
.....................!
real 11.93
user 11.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194535/ft1_filtered_4FGL_J2355.7-3351_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/194535/ft2_4FGL_J2355.7-3351_daily_bin828.fits sctable="SC_DATA" expcube=/scratch/kocevski/194535/ltcube_453945601_454204801_4FGL_J2355.7-3351_daily_bin828.fits outfile=/scratch/kocevski/194535/expmap_453945601_454204801_4FGL_J2355.7-3351_daily_bin828.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/194535/ltcube_453945601_454204801_4FGL_J2355.7-3351_daily_bin828.fits
.....................!
real 190.43
user 184.99
sys 5.07

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/194535/ft1_filtered_4FGL_J2355.7-3351_daily_bin828.fits scfile=/scratch/kocevski/194535/ft2_4FGL_J2355.7-3351_daily_bin828.fits outfile=/scratch/kocevski/194535/cmap_453945601_454204801_4FGL_J2355.7-3351_daily_bin828.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194535/ft1_filtered_4FGL_J2355.7-3351_daily_bin828.fits scfile=/scratch/kocevski/194535/ft2_4FGL_J2355.7-3351_daily_bin828.fits outfile=/scratch/kocevski/194535/cmap_HighResolution_453945601_454204801_4FGL_J2355.7-3351_daily_bin828.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194535/ft1_filtered_4FGL_J2355.7-3351_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/194535/ft2_4FGL_J2355.7-3351_daily_bin828.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194535/Model_4FGL_J2355.7-3351_daily_bin828.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/194535/ft1_filtered_4FGL_J2355.7-3351_daily_bin828.fits.....................!
real 38.58
user 37.25
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.803       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8081       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.239       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.963       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    71.522       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 '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    48.168       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.7848       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .31604       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=   4563.818     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2203 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.808        68.926        .42876E-05   -.64333E-05
   2  Prefactor     .10000E-03    1.4563        .41017E-07** at limit **
   3  Prefactor     .10000E-03    22.432        .25363E-04** at limit **
   4  Prefactor     9.8097        13.609        .26612E-06   -.42707E-04
   5  Prefactor     .10000E-03    12.007        .10182E-05** at limit **
   6  Prefactor     15.241        8.8017       -.38755E-06   -.23961E-03
   7  Prefactor     .10000E-03    61.800        .11012E-04** at limit **
   8  Prefactor     14.965        12.999        .29648E-06   -.55491E-04
   9  norm          .10000E-03    2.2350       -.10652E-07** at limit **
  10  norm          .10000E-03    9.2333       -.36050E-06** at limit **
  11  Prefactor     71.512        45.612       -.49995E-05   -.21025E-04
  12  Prefactor     .10000E-03    26.664       -.20232E-04** at limit **
  13  norm          .10000E-03    3.8137        .40868E-06** at limit **
  14  Prefactor     .10000E-03    8.7049        .36889E-06** at limit **
  15  norm          .10000E-03    2.6974        .68872E-07** at limit **
  16  Prefactor     .10000E-03    139.94       -.15397E-04** at limit **
  17  Prefactor     .10000E-03    18.496       -.10011E-04** at limit **
  18  Prefactor     .10000E-03    3.9363       -.18321E-06** at limit **
  19  Prefactor     48.182        54.762        .12601E-04   -.23261E-04
  20  Normalizat    1.7846        .24947       -.54996E-06   -.24373E-04
  21  Prefactor     .31610        .25369       -.10310E-05   -.93326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.8076
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.80968
  Prefactor  = 0.0001
  Prefactor  = 15.2411
  Prefactor  = 0.0001
  Prefactor  = 14.965
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 71.5118
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.1823
  Normalizat = 1.78465
  Prefactor  = 0.316103
 **********
 **   18 **HESSE 
 **********

 FCN=   4563.818     FROM HESSE     STATUS=OK           305 CALLS     2508 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.808        68.903        .51456E-04   -1.4147    
   2  Prefactor     .10000E-03    1.4622        .79589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.8097        13.590        .12795E-03   -1.5081    
   5  Prefactor     .10000E-03    12.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.241        8.8108        .10260E-03   -1.4927    
   7  Prefactor     .10000E-03    62.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.965        13.045        .10354E-03   -1.4934    
   9  norm          .10000E-03    2.2360        .98607E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    9.3063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     71.512        45.603        .47469E-04   -1.4015    
  12  Prefactor     .10000E-03    26.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.8394        .12819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.7207        .10824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    140.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.9522        .13083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     48.182        55.007        .57777E-04   -1.4319    
  20  Normalizat    1.7846        .26315        .20066E-03   -.70065    
  21  Prefactor     .31610        .26117        .45610E-03   -1.2133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9633e-10
Minuit parameter uncertainties:
  1  68.9934
  2  1.01925e-05
  3  0.000125518
  4  13.5945
  5  2.718e-06
  6  8.81155
  7  8.37825e-05
  8  13.0471
  9  1.09163e-05
  10  2.72107e-05
  11  45.6257
  12  2.06821e-05
  13  8.21342e-05
  14  6.09902e-07
  15  2.51527e-05
  16  9.64298e-05
  17  3.66328e-05
  18  3.63679e-05
  19  55.0652
  20  0.263358
  21  0.262149
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  3.637e-05  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:  3.161e-01  2.621e-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.785e+00  2.634e-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: 9.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194535/likelihoodResults_453945601_454204801_4FGL_J2355.7-3351_daily_bin828.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) = 4563.81892608
delta logL = -0.0011947395451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4563.81773221
delta logL = -8.67226845003e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5674       1.0000          .0000       10.000    
     3 'Normalizat'    1.7844       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .31646       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=   4563.818     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      254 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.475        .13165E-01** at limit **
   2  Index         2.0719        5.2070        .50000        .23160E-06
   3  Normalizat    1.7846        .14621E-01    .20066E-03   -.94699E-03
   4  Prefactor     .31610        .15184E-01    .45610E-03   -.40452E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.07194
  Normalizat = 1.78465
  Prefactor  = 0.316104
 **********
 **   18 **HESSE 
 **********

 FCN=   4563.818     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      283 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    322.33        .14066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0719        6.0218        .50000       -.62564    
   3  Normalizat    1.7846        .47745E-01    .40132E-04   -.70065    
   4  Prefactor     .31610        .49579E-01    .18244E-04   -1.2133    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.78281e-08
Minuit parameter uncertainties:
  1  0.00165608
  2  843.759
  3  0.047746
  4  0.0495854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194535': 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) = 4563.8177296
delta logL = 1.73918579094e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  3.161e-01  4.959e-02  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.785e+00  4.775e-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/194535/cmap_HighResolution_453945601_454204801_4FGL_J2355.7-3351_daily_bin828.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.32e-03', job_status='DONE', photon_flux_upper_limit='9.36e-08', time_completed='2021-09-30 09:22:06.629555', job_id='194535', GAL2='0.32', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1633018926.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.32', dlogl='1.74e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='828' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:22:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 194535: <4FGL_J2355.7-3351_daily_bin828> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin828> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 09:10:20 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:10:22 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:10:22 2021
Terminated at Thu Sep 30 09:22:07 2021
Results reported at Thu Sep 30 09:22:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin828 358.931 -33.8607 453945601 454204801 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 :                                   535.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             272.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            707 sec.

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

