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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin963
RA = 357.665, Dec = -30.087
tmin = 488937601, tmax = 489196801
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='159997', job_status='RUN', time_executed='2021-09-30 07:15:00.349187', time_epoch_executed='1633011300.35' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='963'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159997

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159997/ft1_4FGL_J2350.6-3005_daily_bin963.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159997/ft2_4FGL_J2350.6-3005_daily_bin963.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159997/ft1_4FGL_J2350.6-3005_daily_bin963.fits outfile=/scratch/kocevski/159997/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin963.fits ra=357.665 dec=-30.087 rad=12.0 tmin=488937601.0 tmax=489196801.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.59
user 3.32
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159997/ft1_filtered_4FGL_J2350.6-3005_daily_bin963.fits" evtable="EVENTS" scfile=/scratch/kocevski/159997/ft2_4FGL_J2350.6-3005_daily_bin963.fits sctable="SC_DATA" outfile=/scratch/kocevski/159997/ltcube_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.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/159997/ft2_4FGL_J2350.6-3005_daily_bin963.fits
.....................!
real 11.69
user 11.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159997/ft1_filtered_4FGL_J2350.6-3005_daily_bin963.fits evtable="EVENTS" scfile=/scratch/kocevski/159997/ft2_4FGL_J2350.6-3005_daily_bin963.fits sctable="SC_DATA" expcube=/scratch/kocevski/159997/ltcube_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.fits outfile=/scratch/kocevski/159997/expmap_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.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/159997/ltcube_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.fits
.....................!
real 190.80
user 185.45
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/159997/ft1_filtered_4FGL_J2350.6-3005_daily_bin963.fits scfile=/scratch/kocevski/159997/ft2_4FGL_J2350.6-3005_daily_bin963.fits outfile=/scratch/kocevski/159997/cmap_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159997/ft1_filtered_4FGL_J2350.6-3005_daily_bin963.fits scfile=/scratch/kocevski/159997/ft2_4FGL_J2350.6-3005_daily_bin963.fits outfile=/scratch/kocevski/159997/cmap_HighResolution_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159997/ft1_filtered_4FGL_J2350.6-3005_daily_bin963.fits evtable="EVENTS" scfile=/scratch/kocevski/159997/ft2_4FGL_J2350.6-3005_daily_bin963.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159997/Model_4FGL_J2350.6-3005_daily_bin963.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/159997/ft1_filtered_4FGL_J2350.6-3005_daily_bin963.fits.....................!
real 45.07
user 43.71
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/159997/ft1_filtered_4FGL_J2350.6-3005_daily_bin963.fits', '/scratch/kocevski/159997/ft2_4FGL_J2350.6-3005_daily_bin963.fits', expMap='/scratch/kocevski/159997/expmap_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.fits', expCube='/scratch/kocevski/159997/ltcube_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/159997/Model_4FGL_J2350.6-3005_daily_bin963.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/159997/ft1_filtered_4FGL_J2350.6-3005_daily_bin963.fits
Spacecraft file(s): /scratch/kocevski/159997/ft2_4FGL_J2350.6-3005_daily_bin963.fits
Exposure map: /scratch/kocevski/159997/expmap_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.fits
Exposure cube: /scratch/kocevski/159997/ltcube_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/159997/Model_4FGL_J2350.6-3005_daily_bin963.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) = 6026.048433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2515       1.0000         .10000E-03   10000.    
     2 'Prefactor '    47.612       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13137E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4594       1.0000         .10000E-03   10000.    
     9 'norm      '    5.1552       1.0000         .10000E-03   10000.    
    10 'norm      '    11.102       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.1235       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.423       1.0000         .10000E-03   10000.    
    15 'norm      '    2.5329       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14993E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.979       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0155       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .63342       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=   6026.048     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     2198 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2514        13.749        .38514E-07   -.45181E-05
   2  Prefactor     47.615        51.109        .26117E-05    .31214E-04
   3  Prefactor     .10001E-03    1.7033       -.14679E-05** at limit **
   4  Prefactor     .10000E-03    6.6942        .75200E-06** at limit **
   5  Prefactor     .10000E-03    13.281       -.12568E-05** at limit **
   6  norm          .10000E-03    1.8618       -.26293E-07** at limit **
   7  norm          .10000E-03    .23243       -.25994E-07** at limit **
   8  Prefactor     4.4569        8.4682        .19680E-08   -.39775E-04
   9  norm          5.1553        5.5577        .48214E-06    .72379E-04
  10  norm          11.102        7.1112        .14325E-06   -.10727E-04
  11  Prefactor     .10000E-03    13.341        .15491E-05** at limit **
  12  norm          4.1230        2.8068        .69804E-06   -.29263E-02
  13  norm          .10000E-03    .69621       -.94965E-07** at limit **
  14  Prefactor     13.422        18.562       -.16965E-06   -.81338E-05
  15  norm          2.5332        5.1690       -.11917E-05   -.26023E-03
  16  Prefactor     .10000E-03    25.377        .10945E-05** at limit **
  17  Prefactor     .10000E-03    37.743        .13675E-06** at limit **
  18  Prefactor     .10001E-03    2.9702        .10448E-05** at limit **
  19  Prefactor     21.988        24.579        .75580E-05    .34976E-03
  20  Normalizat    1.0155        .14102       -.24245E-06    .38905E-03
  21  Prefactor     .63346        .15241       -.59951E-06    .19489E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.25135
  Prefactor  = 47.6146
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.45692
  norm       = 5.15533
  norm       = 11.1021
  Prefactor  = 0.0001
  norm       = 4.12301
  norm       = 0.0001
  Prefactor  = 13.4219
  norm       = 2.53318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 21.988
  Normalizat = 1.01549
  Prefactor  = 0.633462
 **********
 **   18 **HESSE 
 **********

 FCN=   6026.048     FROM HESSE     STATUS=OK           317 CALLS     2515 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2514        13.746        .13956E-03   -1.5133    
   2  Prefactor     47.615        51.111        .58112E-04   -1.4327    
   3  Prefactor     .10001E-03    6.2034        .18367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.6959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.8666        .10344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .28501        .68393E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4569        7.9508        .19068E-03   -1.5286    
   9  norm          5.1553        6.0125        .17706E-03   -1.5254    
  10  norm          11.102        7.1156        .12024E-03   -1.5041    
  11  Prefactor     .10000E-03    13.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.1230        5.6689        .86858E-03   -1.5302    
  13  norm          .10000E-03    .70440        .63199E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.422        18.553        .10933E-03   -1.4975    
  15  norm          2.5332        5.3673        .22925E-03   -1.5390    
  16  Prefactor     .10000E-03    25.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    38.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    6.1267        .25170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.988        25.118        .85438E-04   -1.4770    
  20  Normalizat    1.0155        .16633        .18893E-03   -.92513    
  21  Prefactor     .63346        .18095        .25916E-03   -1.0620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02641e-08
Minuit parameter uncertainties:
  1  13.7508
  2  51.1586
  3  0.000503988
  4  1.2118e-05
  5  1.20589e-06
  6  9.56358e-07
  7  1.78053e-06
  8  7.95266
  9  6.01316
  10  7.11618
  11  4.01693e-05
  12  5.66965
  13  4.38376e-07
  14  18.561
  15  5.36836
  16  4.35188e-05
  17  5.6697e-05
  18  0.000530399
  19  25.1305
  20  0.166414
  21  0.18112
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.000e-04  5.670e-05  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:  6.335e-01  1.811e-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.015e+00  1.664e-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: 3.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/159997/likelihoodResults_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.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) = 6026.04779474
delta logL = -0.000124908970975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6026.04767126
delta logL = -1.43277611642e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13444E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1187       1.0000          .0000       10.000    
     3 'Normalizat'    1.0155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63346       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=   6026.048     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      284 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11090E-03    .42247        .13079    ** at limit **
   2  Index         1.9820        6.3660        .50000        .27761E-04
   3  Normalizat    1.0155        .50768E-03    .18893E-03    .95978E-03
   4  Prefactor     .63347        .56423E-03    .25916E-03    .89708E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000110899
  Index      = 1.98203
  Normalizat = 1.01549
  Prefactor  = 0.633466
 **********
 **   18 **HESSE 
 **********

 FCN=   6026.048     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      315 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11090E-03    35.304        .64941E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9820        5.7992        .50000       -.64800    
   3  Normalizat    1.0155        .28951E-02    .37787E-04   -.92513    
   4  Prefactor     .63347        .32176E-02    .51831E-04   -1.0619    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05897e-09
Minuit parameter uncertainties:
  1  0.0392543
  2  55.3456
  3  0.00289511
  4  0.00321759
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159997': 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) = 6026.04766969
delta logL = 1.43792021845e-07

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.109e-04  3.925e-02  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.982e+00  5.535e+01  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:  6.335e-01  3.218e-03  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.015e+00  2.895e-03  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/159997/cmap_HighResolution_488937601_489196801_4FGL_J2350.6-3005_daily_bin963.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-03', job_status='DONE', photon_flux_upper_limit='3.66e-08', time_completed='2021-09-30 07:25:06.753610', job_id='159997', GAL2='0.63', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1633011906.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='1.44e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='963' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:25:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 159997: <4FGL_J2350.6-3005_daily_bin963> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin963> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 07:11:01 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:11:03 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:11:03 2021
Terminated at Thu Sep 30 07:25:07 2021
Results reported at Thu Sep 30 07:25:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin963 357.665 -30.087 488937601 489196801 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 :                                   604.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            846 sec.

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

