/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 59 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 = 7477
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2350.6-3005_daily_bin563
RA = 357.665, Dec = -30.087
tmin = 385257601, tmax = 385516801
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='158315', job_status='RUN', time_executed='2021-09-30 07:06:57.086864', time_epoch_executed='1633010817.09' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='563'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158315

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158315/ft1_4FGL_J2350.6-3005_daily_bin563.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158315/ft2_4FGL_J2350.6-3005_daily_bin563.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158315/ft1_4FGL_J2350.6-3005_daily_bin563.fits outfile=/scratch/kocevski/158315/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin563.fits ra=357.665 dec=-30.087 rad=12.0 tmin=385257601.0 tmax=385516801.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.53
user 3.32
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158315/ft2_4FGL_J2350.6-3005_daily_bin563.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158315/ft2_4FGL_J2350.6-3005_daily_bin563.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/158315/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin563.fits evtable="EVENTS" outfile="/scratch/kocevski/158315/ft1_filtered_4FGL_J2350.6-3005_daily_bin563.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158315/ft1_filtered_4FGL_J2350.6-3005_daily_bin563.fits" evtable="EVENTS" scfile=/scratch/kocevski/158315/ft2_4FGL_J2350.6-3005_daily_bin563.fits sctable="SC_DATA" outfile=/scratch/kocevski/158315/ltcube_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.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/158315/ft2_4FGL_J2350.6-3005_daily_bin563.fits
.....................!
real 11.85
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158315/ft1_filtered_4FGL_J2350.6-3005_daily_bin563.fits evtable="EVENTS" scfile=/scratch/kocevski/158315/ft2_4FGL_J2350.6-3005_daily_bin563.fits sctable="SC_DATA" expcube=/scratch/kocevski/158315/ltcube_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.fits outfile=/scratch/kocevski/158315/expmap_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.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/158315/ltcube_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.fits
.....................!
real 194.15
user 188.95
sys 4.88

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 J2350.6-3005 @ 357.665 -30.087

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158315/ft1_filtered_4FGL_J2350.6-3005_daily_bin563.fits scfile=/scratch/kocevski/158315/ft2_4FGL_J2350.6-3005_daily_bin563.fits outfile=/scratch/kocevski/158315/cmap_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.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=357.665 yref=-30.087 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/158315/ft1_filtered_4FGL_J2350.6-3005_daily_bin563.fits scfile=/scratch/kocevski/158315/ft2_4FGL_J2350.6-3005_daily_bin563.fits outfile=/scratch/kocevski/158315/cmap_HighResolution_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.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=357.665 yref=-30.087 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/158315/ft1_filtered_4FGL_J2350.6-3005_daily_bin563.fits evtable="EVENTS" scfile=/scratch/kocevski/158315/ft2_4FGL_J2350.6-3005_daily_bin563.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158315/Model_4FGL_J2350.6-3005_daily_bin563.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/158315/ft1_filtered_4FGL_J2350.6-3005_daily_bin563.fits.....................!
real 35.95
user 34.70
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158315/ft1_filtered_4FGL_J2350.6-3005_daily_bin563.fits', '/scratch/kocevski/158315/ft2_4FGL_J2350.6-3005_daily_bin563.fits', expMap='/scratch/kocevski/158315/expmap_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.fits', expCube='/scratch/kocevski/158315/ltcube_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158315/Model_4FGL_J2350.6-3005_daily_bin563.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2350.6-3005'

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  8.104e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158315/ft1_filtered_4FGL_J2350.6-3005_daily_bin563.fits
Spacecraft file(s): /scratch/kocevski/158315/ft2_4FGL_J2350.6-3005_daily_bin563.fits
Exposure map: /scratch/kocevski/158315/expmap_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.fits
Exposure cube: /scratch/kocevski/158315/ltcube_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158315/Model_4FGL_J2350.6-3005_daily_bin563.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) = 4071.1807232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .26079E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3266       1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.482       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    20.968       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.884       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.6611       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.008       1.0000         .10000E-03   10000.    
    15 'norm      '    2.3010       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 '    .10057E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.6089       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .52295       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=   4071.138     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2243 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.835       -.94592E-06** at limit **
   2  Prefactor     .10000E-03    20.393       -.24146E-06** at limit **
   3  Prefactor     .10000E-03    3.0088        .47138E-07** at limit **
   4  Prefactor     .10025E-03    29.074       -.33035E-07** at limit **
   5  Prefactor     .10000E-03    14.255       -.93292E-07** at limit **
   6  norm          .10000E-03    5.2148        .31047E-06** at limit **
   7  norm          1.3267        1.1738        .73365E-07   -.52589E-05
   8  Prefactor     37.478        21.997       -.24070E-06   -.65626E-06
   9  norm          .10000E-03    5.3446        .16711E-06** at limit **
  10  norm          20.967        12.583        .77855E-06    .65624E-05
  11  Prefactor     10.872        60.391       -.81303E-05   -.13200E-05
  12  norm          .10000E-03    4.1586        .18727E-06** at limit **
  13  norm          4.6609        4.5264       -.37543E-07   -.44940E-05
  14  Prefactor     21.999        45.869       -.26526E-05    .75795E-06
  15  norm          2.3010        .91975        .21929E-07   -.61057E-03
  16  Prefactor     .10000E-03    116.72       -.30567E-05** at limit **
  17  Prefactor     .10000E-03    24.009       -.15808E-06** at limit **
  18  Prefactor     .10000E-03    2.9544       -.38978E-07** at limit **
  19  Prefactor     .10000E-03    63.869        .17885E-05** at limit **
  20  Normalizat    1.6088        .23629        .44814E-06    .31697E-04
  21  Prefactor     .52320        .24687        .20767E-05    .12791E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100246
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.32675
  Prefactor  = 37.4778
  norm       = 0.0001
  norm       = 20.9669
  Prefactor  = 10.8721
  norm       = 0.0001
  norm       = 4.6609
  Prefactor  = 21.9991
  norm       = 2.30099
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.60882
  Prefactor  = 0.523198
 **********
 **   18 **HESSE 
 **********

 FCN=   4071.138     FROM HESSE     STATUS=OK           323 CALLS     2566 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.0333        .10787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10025E-03    34.220        .10435       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.2337        .14218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3267        1.1729        .38158E-04   -1.5478    
   8  Prefactor     37.478        22.014        .65464E-04   -1.4483    
   9  norm          .10000E-03    5.3692        .14400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          20.967        12.553        .87470E-04   -1.4792    
  11  Prefactor     10.872        60.420        .12144E-03   -1.5048    
  12  norm          .10000E-03    4.2113        .12694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6609        4.5162        .12520E-03   -1.5276    
  14  Prefactor     21.999        46.003        .85381E-04   -1.4770    
  15  norm          2.3010        4.9700        .10169E-02   -1.5405    
  16  Prefactor     .10000E-03    116.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.9657        .10711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    63.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.6088        .27482        .21501E-03   -.74765    
  21  Prefactor     .52320        .28296        .36670E-03   -1.1092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67238e-10
Minuit parameter uncertainties:
  1  3.43646e-06
  2  4.68194e-06
  3  7.85792e-06
  4  0.00580717
  5  2.10502e-05
  6  6.8602e-06
  7  1.17296
  8  22.0188
  9  6.79394e-06
  10  12.5542
  11  51.3393
  12  9.91571e-06
  13  4.51656
  14  46.0777
  15  4.97084
  16  2.01554e-05
  17  7.45037e-06
  18  3.64461e-06
  19  6.18735e-05
  20  0.27508
  21  0.283732
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.000e-04  7.450e-06  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  5.232e-01  2.837e-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.609e+00  2.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.665 -30.087
Photon Flux Upper Limit: 6.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158315/likelihoodResults_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.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) = 4071.13785823
delta logL = -0.000197385857064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4071.1376656
delta logL = -4.75574915981e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18538E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5449       1.0000          .0000       10.000    
     3 'Normalizat'    1.6088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .52320       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=   4071.138     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      279 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11111E-03    1.8757        .18142E-01** at limit **
   2  Index         2.3366        8.6670        .50000        .15560E-04
   3  Normalizat    1.6088        .18504E-02    .21501E-03   -.12156E-03
   4  Prefactor     .52320        .19133E-02    .36670E-03   -.13167E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000111112
  Index      = 2.33656
  Normalizat = 1.60882
  Prefactor  = 0.523196
 **********
 **   18 **HESSE 
 **********

 FCN=   4071.138     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11111E-03    109.31        .26043E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3366        8.3240        .50000       -.56177    
   3  Normalizat    1.6088        .14221E-01    .43002E-04   -.74765    
   4  Prefactor     .52320        .14705E-01    .14668E-04   -1.1092    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.51748e-09
Minuit parameter uncertainties:
  1  0.0698307
  2  552.062
  3  0.0142212
  4  0.0147047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158315': 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) = 4071.13766194
delta logL = -1.09187612907e-06

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.111e-04  6.983e-02  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.337e+00  5.521e+02  0.000e+00  1.000e+01 (-1.000e+00)
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  5.232e-01  1.470e-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.609e+00  1.422e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.665 -30.087

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/158315/cmap_HighResolution_385257601_385516801_4FGL_J2350.6-3005_daily_bin563.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-03', job_status='DONE', photon_flux_upper_limit='6.29e-08', time_completed='2021-09-30 07:15:38.567664', job_id='158315', GAL2='0.52', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1633011338.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.52', dlogl='-1.09e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='563' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:15:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 158315: <4FGL_J2350.6-3005_daily_bin563> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin563> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:05:41 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:05:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 07:05:44 2021
Terminated at Thu Sep 30 07:15:38 2021
Results reported at Thu Sep 30 07:15:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin563 357.665 -30.087 385257601 385516801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2350.6-3005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   512.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            597 sec.

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

