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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin895
RA = 358.931, Dec = -33.8607
tmin = 471312001, tmax = 471571201
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='194634', job_status='RUN', time_executed='2021-09-30 09:13:14.664005', time_epoch_executed='1633018394.66' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='895'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194634

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194634/ft1_4FGL_J2355.7-3351_daily_bin895.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194634/ft2_4FGL_J2355.7-3351_daily_bin895.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194634/ft1_4FGL_J2355.7-3351_daily_bin895.fits outfile=/scratch/kocevski/194634/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin895.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=471312001.0 tmax=471571201.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.10
user 4.87
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194634/ft2_4FGL_J2355.7-3351_daily_bin895.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/194634/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin895.fits evtable="EVENTS" outfile="/scratch/kocevski/194634/ft1_filtered_4FGL_J2355.7-3351_daily_bin895.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/194634/ft1_filtered_4FGL_J2355.7-3351_daily_bin895.fits" evtable="EVENTS" scfile=/scratch/kocevski/194634/ft2_4FGL_J2355.7-3351_daily_bin895.fits sctable="SC_DATA" outfile=/scratch/kocevski/194634/ltcube_471312001_471571201_4FGL_J2355.7-3351_daily_bin895.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/194634/ft2_4FGL_J2355.7-3351_daily_bin895.fits
.....................!
real 11.67
user 11.34
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194634/ft1_filtered_4FGL_J2355.7-3351_daily_bin895.fits evtable="EVENTS" scfile=/scratch/kocevski/194634/ft2_4FGL_J2355.7-3351_daily_bin895.fits sctable="SC_DATA" expcube=/scratch/kocevski/194634/ltcube_471312001_471571201_4FGL_J2355.7-3351_daily_bin895.fits outfile=/scratch/kocevski/194634/expmap_471312001_471571201_4FGL_J2355.7-3351_daily_bin895.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/194634/ltcube_471312001_471571201_4FGL_J2355.7-3351_daily_bin895.fits
.....................!
real 193.13
user 187.50
sys 5.16

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/194634/ft1_filtered_4FGL_J2355.7-3351_daily_bin895.fits scfile=/scratch/kocevski/194634/ft2_4FGL_J2355.7-3351_daily_bin895.fits outfile=/scratch/kocevski/194634/cmap_471312001_471571201_4FGL_J2355.7-3351_daily_bin895.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.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    65.603       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7363       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.451       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5354       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.6137       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.785       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.4651       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    106.77       1.0000         .10000E-03   10000.    
    13 'norm      '    8.9382       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.503       1.0000         .10000E-03   10000.    
    15 'norm      '    4.5545       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .80050       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1393       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=   4889.753     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2188 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     65.605        51.720        .15548E-05   -.89664E-05
   2  Prefactor     2.7367        3.2633       -.72522E-07   -.20835E-03
   3  Prefactor     .10000E-03    18.325        .96135E-06** at limit **
   4  Prefactor     20.451        14.454       -.25203E-06    .44647E-06
   5  Prefactor     5.5311        18.582       -.48653E-05   -.59024E-04
   6  Prefactor     4.6231        8.4453        .25630E-04    .94693E-04
   7  Prefactor     12.719        36.998       -.80218E-04   -.90914E-04
   8  Prefactor     .10000E-03    4.7110        .16248E-06** at limit **
   9  norm          .10000E-03    2.1748       -.79099E-07** at limit **
  10  norm          6.4653        6.3726       -.16020E-05    .34632E-04
  11  Prefactor     .10000E-03    9.8696       -.83095E-07** at limit **
  12  Prefactor     106.77        54.779        .86157E-06    .66035E-05
  13  norm          8.9381        4.1598       -.24837E-06    .14956E-04
  14  Prefactor     16.502        18.339       -.25466E-06   -.63606E-05
  15  norm          4.5541        4.1916        .22529E-06   -.21482E-03
  16  Prefactor     .10000E-03    92.507        .20912E-04** at limit **
  17  Prefactor     .10000E-03    20.273        .48597E-06** at limit **
  18  Prefactor     .10000E-03    4.2964       -.19962E-07** at limit **
  19  Prefactor     .10000E-03    44.262       -.44691E-05** at limit **
  20  Normalizat    .80039        .18301        .25144E-05   -.11360E-03
  21  Prefactor     1.1394        .20407       -.61889E-06    .45620E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 65.605
  Prefactor  = 2.73673
  Prefactor  = 0.0001
  Prefactor  = 20.4512
  Prefactor  = 5.53107
  Prefactor  = 4.62308
  Prefactor  = 12.7194
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.4653
  Prefactor  = 0.0001
  Prefactor  = 106.773
  norm       = 8.93808
  Prefactor  = 16.5024
  norm       = 4.5541
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.800393
  Prefactor  = 1.13942
 **********
 **   18 **HESSE 
 **********

 FCN=   4889.753     FROM HESSE     STATUS=OK           317 CALLS     2505 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     65.605        51.775        .49550E-04   -1.4086    
   2  Prefactor     2.7367        3.2587        .13208E-03   -1.5377    
   3  Prefactor     .10000E-03    18.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.451        14.455        .88568E-04   -1.4803    
   5  Prefactor     5.5311        18.525        .17077E-03   -1.5238    
   6  Prefactor     4.6231        8.3834        .18635E-03   -1.5278    
   7  Prefactor     12.719        36.928        .11203E-03   -1.4995    
   8  Prefactor     .10000E-03    4.7305        .14821E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.1844        .10067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.4653        6.3709        .15784E-03   -1.5199    
  11  Prefactor     .10000E-03    9.8751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     106.77        54.845        .38920E-04   -1.3638    
  13  norm          8.9381        4.1571        .92624E-04   -1.5110    
  14  Prefactor     16.502        18.339        .98591E-04   -1.4895    
  15  norm          4.5541        4.1841        .13028E-03   -1.5281    
  16  Prefactor     .10000E-03    92.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.3671        .14147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    44.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .80039        .21826        .24764E-03   -1.0005    
  21  Prefactor     1.1394        .24355        .24356E-03   -.88217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70267e-10
Minuit parameter uncertainties:
  1  51.8101
  2  3.25889
  3  1.38168e-05
  4  14.4574
  5  18.544
  6  8.38557
  7  36.9944
  8  3.61776e-05
  9  7.40146e-07
  10  6.37161
  11  3.40213e-06
  12  54.8713
  13  4.15721
  14  18.3457
  15  4.18436
  16  0.000166063
  17  1.1226e-05
  18  1.06769e-05
  19  4.36623e-05
  20  0.218496
  21  0.243794
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  1.068e-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:  1.139e+00  2.438e-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.004e-01  2.185e-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: 7.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194634/likelihoodResults_471312001_471571201_4FGL_J2355.7-3351_daily_bin895.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) = 4889.75423616
delta logL = -0.00109108221022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4889.75314498
delta logL = 9.41026883083e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5586       1.0000          .0000       10.000    
     3 'Normalizat'    .80039       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1395       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=   4889.753     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      253 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.650        .14389E-01** at limit **
   2  Index         2.2402        5.8775        .50000        .89881E-07
   3  Normalizat    .80039        .75526E-02    .24764E-03   -.65924E-03
   4  Prefactor     1.1394        .87527E-02    .24356E-03   -.65466E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.24023
  Normalizat = 0.800394
  Prefactor  = 1.13941
 **********
 **   18 **HESSE 
 **********

 FCN=   4889.753     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    625.06        .30318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2402        5.3556        .50000       -.58471    
   3  Normalizat    .80039        .58870E-01    .49527E-04   -1.0005    
   4  Prefactor     1.1394        .68224E-01    .48712E-04   -.88217    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.07863e-10
Minuit parameter uncertainties:
  1  5.06711e-05
  2  1056.78
  3  0.0588751
  4  0.0682292
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194634': 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) = 4889.75314341
delta logL = 1.66960762726e-06

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  5.067e-05  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.240e+00  1.057e+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:  1.139e+00  6.823e-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:  8.004e-01  5.888e-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/194634/cmap_HighResolution_471312001_471571201_4FGL_J2355.7-3351_daily_bin895.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.81e-03', job_status='DONE', photon_flux_upper_limit='7.44e-08', time_completed='2021-09-30 09:22:41.395462', job_id='194634', GAL2='1.14', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1633018961.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.67e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='895' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:22:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 194634: <4FGL_J2355.7-3351_daily_bin895> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin895 358.931 -33.8607 471312001 471571201 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 :                                   559.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            733 sec.

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

