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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin485
RA = 358.931, Dec = -33.8607
tmin = 365040001, tmax = 365299201
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='191956', job_status='RUN', time_executed='2021-09-30 09:03:56.029723', time_epoch_executed='1633017836.03' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191956

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191956/ft1_4FGL_J2355.7-3351_daily_bin485.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191956/ft2_4FGL_J2355.7-3351_daily_bin485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191956/ft1_4FGL_J2355.7-3351_daily_bin485.fits outfile=/scratch/kocevski/191956/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin485.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=365040001.0 tmax=365299201.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.65
user 3.43
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/191956/ft2_4FGL_J2355.7-3351_daily_bin485.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/191956/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin485.fits evtable="EVENTS" outfile="/scratch/kocevski/191956/ft1_filtered_4FGL_J2355.7-3351_daily_bin485.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191956/ft1_filtered_4FGL_J2355.7-3351_daily_bin485.fits" evtable="EVENTS" scfile=/scratch/kocevski/191956/ft2_4FGL_J2355.7-3351_daily_bin485.fits sctable="SC_DATA" outfile=/scratch/kocevski/191956/ltcube_365040001_365299201_4FGL_J2355.7-3351_daily_bin485.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/191956/ft2_4FGL_J2355.7-3351_daily_bin485.fits
.....................!
real 11.81
user 11.48
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191956/ft1_filtered_4FGL_J2355.7-3351_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/191956/ft2_4FGL_J2355.7-3351_daily_bin485.fits sctable="SC_DATA" expcube=/scratch/kocevski/191956/ltcube_365040001_365299201_4FGL_J2355.7-3351_daily_bin485.fits outfile=/scratch/kocevski/191956/expmap_365040001_365299201_4FGL_J2355.7-3351_daily_bin485.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/191956/ltcube_365040001_365299201_4FGL_J2355.7-3351_daily_bin485.fits
.....................!
real 190.06
user 185.23
sys 4.53

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/191956/ft1_filtered_4FGL_J2355.7-3351_daily_bin485.fits scfile=/scratch/kocevski/191956/ft2_4FGL_J2355.7-3351_daily_bin485.fits outfile=/scratch/kocevski/191956/cmap_365040001_365299201_4FGL_J2355.7-3351_daily_bin485.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191956/ft1_filtered_4FGL_J2355.7-3351_daily_bin485.fits scfile=/scratch/kocevski/191956/ft2_4FGL_J2355.7-3351_daily_bin485.fits outfile=/scratch/kocevski/191956/cmap_HighResolution_365040001_365299201_4FGL_J2355.7-3351_daily_bin485.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/191956/ft1_filtered_4FGL_J2355.7-3351_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/191956/ft2_4FGL_J2355.7-3351_daily_bin485.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191956/Model_4FGL_J2355.7-3351_daily_bin485.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/191956/ft1_filtered_4FGL_J2355.7-3351_daily_bin485.fits.....................!
real 47.50
user 46.24
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4383       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0886       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.704       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.840       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.6640       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.9990       1.0000         .10000E-03   10000.    
    15 'norm      '    2.0764       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.121       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0544       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .74168       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=   6483.310     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     1850 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4382        38.113        .29032E-05   -.80041E-05
   2  Prefactor     1.0879        2.8976        .16452E-05   -.47174E-04
   3  Prefactor     .10000E-03    44.200       -.71061E-06** at limit **
   4  Prefactor     .10000E-03    2.5260        .42576E-08** at limit **
   5  Prefactor     .10000E-03    9.2530        .44504E-07** at limit **
   6  Prefactor     13.707        5.5360       -.35496E-07    .28346E-04
   7  Prefactor     .10000E-03    16.456        .17504E-06** at limit **
   8  Prefactor     .10000E-03    2.4620        .45331E-07** at limit **
   9  norm          .10000E-03    1.5308       -.16305E-07** at limit **
  10  norm          13.840        7.1880        .34272E-07   -.10794E-04
  11  Prefactor     .10000E-03    8.9976        .65183E-07** at limit **
  12  Prefactor     .10000E-03    9.5333       -.87106E-07** at limit **
  13  norm          5.6648        3.3941        .62395E-07   -.38058E-04
  14  Prefactor     3.9881        27.389        .46779E-06   -.11508E-04
  15  norm          2.0762        2.5898        .12045E-06   -.12777E-04
  16  Prefactor     .10000E-03    53.911       -.47001E-06** at limit **
  17  Prefactor     20.090        27.604       -.34839E-06   -.89876E-04
  18  Prefactor     .10000E-03    1.3863       -.29872E-07** at limit **
  19  Prefactor     .10000E-03    11.928       -.97421E-07** at limit **
  20  Normalizat    1.0544        .14345       -.50083E-06   -.71202E-04
  21  Prefactor     .74169        .15906       -.12869E-07   -.81835E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4382
  Prefactor  = 1.08787
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7072
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.8403
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.6648
  Prefactor  = 3.98811
  norm       = 2.07617
  Prefactor  = 0.0001
  Prefactor  = 20.0895
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05437
  Prefactor  = 0.74169
 **********
 **   18 **HESSE 
 **********

 FCN=   6483.310     FROM HESSE     STATUS=OK           315 CALLS     2165 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4382        38.023        .65223E-03   -1.5093    
   2  Prefactor     1.0879        2.9041        .21010E-03   -1.5499    
   3  Prefactor     .10000E-03    45.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5323        .12498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.2638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.707        5.5360        .10820E-03   -1.4967    
   7  Prefactor     .10000E-03    16.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.4784        .12338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.5335        .97232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.840        7.1904        .10767E-03   -1.4964    
  11  Prefactor     .10000E-03    9.0067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.5388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.6648        3.3844        .10881E-03   -1.5232    
  14  Prefactor     3.9881        27.392        .20168E-03   -1.5309    
  15  norm          2.0762        2.5718        .13794E-03   -1.5420    
  16  Prefactor     .10000E-03    54.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.090        27.673        .89292E-04   -1.4811    
  18  Prefactor     .10000E-03    1.3939        .92574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0544        .16680        .19853E-03   -.91231    
  21  Prefactor     .74169        .18521        .26372E-03   -1.0191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27326e-11
Minuit parameter uncertainties:
  1  37.9294
  2  2.90444
  3  0.000363084
  4  6.44936e-07
  5  8.49316e-06
  6  5.53619
  7  2.48903e-05
  8  8.96725e-07
  9  3.19899e-07
  10  7.19081
  11  2.16574e-05
  12  2.55228e-05
  13  3.38447
  14  20.9174
  15  2.57197
  16  0.000196337
  17  27.6909
  18  8.68866e-07
  19  1.6403e-05
  20  0.166884
  21  0.185364
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  8.689e-07  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:  7.417e-01  1.854e-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.054e+00  1.669e-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: 4.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/191956/likelihoodResults_365040001_365299201_4FGL_J2355.7-3351_daily_bin485.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) = 6483.31375944
delta logL = -0.00339558063479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6483.3103639
delta logL = -4.65697667096e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5629       1.0000          .0000       10.000    
     3 'Normalizat'    1.0543       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74183       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=   6483.310     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      243 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.412        .93654E-02** at limit **
   2  Index         2.0671        5.0678        .50000       -.19670E-06
   3  Normalizat    1.0544        .11145E-01    .19853E-03   -.25565E-03
   4  Prefactor     .74169        .12688E-01    .26372E-03   -.18235E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.06708
  Normalizat = 1.05437
  Prefactor  = 0.74169
 **********
 **   18 **HESSE 
 **********

 FCN=   6483.310     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    146.58        .10258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0671        5.8888        .50000       -.62684    
   3  Normalizat    1.0544        .35762E-01    .39706E-04   -.91231    
   4  Prefactor     .74169        .40714E-01    .10549E-04   -1.0191    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.76671e-09
Minuit parameter uncertainties:
  1  3.28736e-05
  2  663.966
  3  0.0357633
  4  0.0407161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191956': 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) = 6483.31035723
delta logL = 6.62068941892e-06

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  3.287e-05  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.067e+00  6.640e+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:  7.417e-01  4.072e-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.054e+00  3.576e-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/191956/cmap_HighResolution_365040001_365299201_4FGL_J2355.7-3351_daily_bin485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2021-09-30 09:13:54.633198', job_id='191956', GAL2='0.74', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1633018434.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='6.62e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='485' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:13:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 191956: <4FGL_J2355.7-3351_daily_bin485> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin485> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Sep 30 09:00:37 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:00:38 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:00:38 2021
Terminated at Thu Sep 30 09:13:55 2021
Results reported at Thu Sep 30 09:13:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin485 358.931 -33.8607 365040001 365299201 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 :                                   597.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            798 sec.

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

