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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1348
RA = 358.931, Dec = -33.8607
tmin = 588729601, tmax = 588988801
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='196280', job_status='RUN', time_executed='2021-09-30 09:19:02.179212', time_epoch_executed='1633018742.18' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1348'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196280

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196280/ft1_4FGL_J2355.7-3351_daily_bin1348.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196280/ft2_4FGL_J2355.7-3351_daily_bin1348.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196280/ft1_4FGL_J2355.7-3351_daily_bin1348.fits outfile=/scratch/kocevski/196280/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1348.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=588729601.0 tmax=588988801.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 3.11
user 2.90
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196280/ft2_4FGL_J2355.7-3351_daily_bin1348.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/196280/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1348.fits evtable="EVENTS" outfile="/scratch/kocevski/196280/ft1_filtered_4FGL_J2355.7-3351_daily_bin1348.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/196280/ft1_filtered_4FGL_J2355.7-3351_daily_bin1348.fits" evtable="EVENTS" scfile=/scratch/kocevski/196280/ft2_4FGL_J2355.7-3351_daily_bin1348.fits sctable="SC_DATA" outfile=/scratch/kocevski/196280/ltcube_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.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/196280/ft2_4FGL_J2355.7-3351_daily_bin1348.fits
.....................!
real 12.08
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196280/ft1_filtered_4FGL_J2355.7-3351_daily_bin1348.fits evtable="EVENTS" scfile=/scratch/kocevski/196280/ft2_4FGL_J2355.7-3351_daily_bin1348.fits sctable="SC_DATA" expcube=/scratch/kocevski/196280/ltcube_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.fits outfile=/scratch/kocevski/196280/expmap_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.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/196280/ltcube_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.fits
.....................!
real 190.77
user 185.63
sys 4.78

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/196280/ft1_filtered_4FGL_J2355.7-3351_daily_bin1348.fits scfile=/scratch/kocevski/196280/ft2_4FGL_J2355.7-3351_daily_bin1348.fits outfile=/scratch/kocevski/196280/cmap_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196280/ft1_filtered_4FGL_J2355.7-3351_daily_bin1348.fits scfile=/scratch/kocevski/196280/ft2_4FGL_J2355.7-3351_daily_bin1348.fits outfile=/scratch/kocevski/196280/cmap_HighResolution_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196280/ft1_filtered_4FGL_J2355.7-3351_daily_bin1348.fits evtable="EVENTS" scfile=/scratch/kocevski/196280/ft2_4FGL_J2355.7-3351_daily_bin1348.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196280/Model_4FGL_J2355.7-3351_daily_bin1348.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/196280/ft1_filtered_4FGL_J2355.7-3351_daily_bin1348.fits.............!
real 14.55
user 13.25
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/196280/ft1_filtered_4FGL_J2355.7-3351_daily_bin1348.fits', '/scratch/kocevski/196280/ft2_4FGL_J2355.7-3351_daily_bin1348.fits', expMap='/scratch/kocevski/196280/expmap_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.fits', expCube='/scratch/kocevski/196280/ltcube_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/196280/Model_4FGL_J2355.7-3351_daily_bin1348.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/196280/ft1_filtered_4FGL_J2355.7-3351_daily_bin1348.fits
Spacecraft file(s): /scratch/kocevski/196280/ft2_4FGL_J2355.7-3351_daily_bin1348.fits
Exposure map: /scratch/kocevski/196280/expmap_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.fits
Exposure cube: /scratch/kocevski/196280/ltcube_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/196280/Model_4FGL_J2355.7-3351_daily_bin1348.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 170.338127451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 169.028757652

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1749       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10381E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .23472E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    128.68       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18382E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .57416E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0413       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .27199E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.3758       1.0000         .10000E-03   10000.    
    10 'norm      '    7.1966       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.1291       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.1105       1.0000         .10000E-03   10000.    
    13 'norm      '    4.9832       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.5102       1.0000         .10000E-03   10000.    
    15 'norm      '    1.8200       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1582       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.7661       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13295       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3428       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.6779       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .37197E-05   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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   169.0204     FROM MIGRAD    STATUS=CONVERGED    188 CALLS      474 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46954E-01    6247.2        .40389E-02   -.39903E-02
   2  Prefactor     .10000E-03    32.938        .90712E-02** at limit **
   3  Prefactor     .10000E-03    257.88        .90712E-02** at limit **
   4  Prefactor     127.79        119.25        .88727E-03   -.30486E-02
   5  Prefactor     .10000E-03    161.40        .90712E-02** at limit **
   6  Prefactor     .10000E-03    31.553        .95027E-02** at limit **
   7  Prefactor     .10000E-03    191.20        .12258E-01** at limit **
   8  Prefactor     .10000E-03    20.456        .10715E-01** at limit **
   9  norm          1.3765        2297.9        .92847E-02   -.49671E-06
  10  norm          7.1966        1.0024         .0000         .0000    
  11  Prefactor     7.1573        1.0045        .11348E-05   -.52336E-04
  12  Prefactor     7.1105        1.0025         .0000         .0000    
  13  norm          5.1505        1.0218        .80494E-05   -.25933E-03
  14  Prefactor     5.3837        .84865       -.84346E-04    .38922E-02
  15  norm          2.7956        1.2936        .75712E-04   -.87789E-03
  16  Prefactor     5.3982        .93941       -.33114E-04    .12901E-02
  17  Prefactor     .19752E-01    .50429E-01   -.15236E-03    .22776E-02
  18  Prefactor     .10000E-03    .23363       -.87056E-04** at limit **
  19  Prefactor     .76252E-03    .34232E-01    .85411E-03** at limit **
  20  Normalizat    1.6798        1.0356        .32453E-04   -.17538E-04
  21  Prefactor     .53196E-11    .25620        .13738E-02** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0469536
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 127.792
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.37647
  norm       = 7.19664
  Prefactor  = 7.15728
  Prefactor  = 7.11054
  norm       = 5.15051
  Prefactor  = 5.38372
  norm       = 2.79559
  Prefactor  = 5.39819
  Prefactor  = 0.0197523
  Prefactor  = 0.0001
  Prefactor  = 0.000762518
  Normalizat = 1.6798
  Prefactor  = 5.31963e-12
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   169.0204     FROM HESSE     STATUS=FAILED        29 CALLS      503 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46954E-01    6247.2        .40389E-02   -1.5751    
   2  Prefactor     .10000E-03    32.938        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    257.88        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     127.79        119.25        .88727E-03   -1.3442    
   5  Prefactor     .10000E-03    161.40        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    31.553        .95027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    191.20        .12258E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.456        .10715E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3765        2297.9        .92847E-02   -1.5473    
  10  norm          511.65        504.41         .0000       -1.5171    
  11  Prefactor     7.1573        1.0045        .11348E-05   -1.5173    
  12  Prefactor     7.1105        1.0025         .0000       -1.5175    
  13  norm          5.1505        1.0218        .80494E-05   -1.5254    
  14  Prefactor     5.3837        .84865       -.84346E-04   -1.5244    
  15  norm          2.7956        1.2936        .75712E-04   -1.5374    
  16  Prefactor     5.3982        .93941       -.33114E-04   -1.5243    
  17  Prefactor     .19752E-01    .50429E-01   -.15236E-03   -1.5680    
  18  Prefactor     .10000E-03    .23363       -.87056E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .76252E-03    .34232E-01    .85411E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.6798        1.0356        .32453E-04   -.72844    
  21  Prefactor     .53196E-11    .25620        .13738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.86894e-10
Minuit parameter uncertainties:
  1  22.5461
  2  5.11322e-05
  3  0.00120597
  4  119.475
  5  0.000302914
  6  2.0986e-05
  7  4.21495e-05
  8  1.4485e-05
  9  117.311
  10  1.00243
  11  1.00446
  12  1.00249
  13  1.02185
  14  0.848652
  15  1.29365
  16  0.939415
  17  0.0504292
  18  6.73637e-06
  19  0.00952454
  20  1.04942
  21  2.34489e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 169.020415839

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  6.736e-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:  5.320e-12  2.345e-06  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.680e+00  1.049e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 1.24e-05 ph cm-2 s-1
Energy Flux Upper Limit: 9.67e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196280/likelihoodResults_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.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) = 169.020429416
delta logL = -1.3576753247e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 169.020417317
delta logL = -1.47760536606e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13553E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3981       1.0000          .0000       10.000    
     3 'Normalizat'    1.6799       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86607E-05   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=   169.0204     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      297 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10999E-03    455.22        .17745E-01** at limit **
   2  Index         3.1466        8.3662        .50000        .89583E-06
   3  Normalizat    1.6798        .35088E-01    .19210E-03    .46919E-05
   4  Prefactor     .58842E-13    .13306E-01    .11057E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000109985
  Index      = 3.1466
  Normalizat = 1.6798
  Prefactor  = 5.88418e-14
 **********
 **   18 **HESSE 
 **********

 FCN=   169.0204     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      326 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10999E-03    6686.0        .19647E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1466        7.6037        .50000       -.37974    
   3  Normalizat    1.6798        .10257        .76841E-05   -.72844    
   4  Prefactor     .58842E-13    .11366        .22113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.11951e-09
Minuit parameter uncertainties:
  1  0.391584
  2  4517.39
  3  0.10258
  4  1.63707e-07
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196280': 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) = 169.020415927
delta logL = -8.75061232364e-08

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.100e-04  3.916e-01  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  3.147e+00  4.517e+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:  5.884e-14  1.637e-07  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.680e+00  1.026e-01  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/196280/cmap_HighResolution_588729601_588988801_4FGL_J2355.7-3351_daily_bin1348.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.67e-01', job_status='DONE', photon_flux_upper_limit='1.24e-05', time_completed='2021-09-30 09:24:57.913901', job_id='196280', GAL2='0.00', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1633019097.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-8.75e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1348' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:24:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 196280: <4FGL_J2355.7-3351_daily_bin1348> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1348> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 30 09:15:48 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:15: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:15:49 2021
Terminated at Thu Sep 30 09:24:58 2021
Results reported at Thu Sep 30 09:24:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1348 358.931 -33.8607 588729601 588988801 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 :                                   321.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   549 sec.
    Turnaround time :                            550 sec.

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

