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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin674
RA = 357.665, Dec = -30.087
tmin = 414028801, tmax = 414288001
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='158485', job_status='RUN', time_executed='2021-09-30 07:09:11.967426', time_epoch_executed='1633010951.97' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158485

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158485/ft1_4FGL_J2350.6-3005_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158485/ft2_4FGL_J2350.6-3005_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158485/ft1_4FGL_J2350.6-3005_daily_bin674.fits outfile=/scratch/kocevski/158485/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin674.fits ra=357.665 dec=-30.087 rad=12.0 tmin=414028801.0 tmax=414288001.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.26
user 5.02
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158485/ft1_filtered_4FGL_J2350.6-3005_daily_bin674.fits" evtable="EVENTS" scfile=/scratch/kocevski/158485/ft2_4FGL_J2350.6-3005_daily_bin674.fits sctable="SC_DATA" outfile=/scratch/kocevski/158485/ltcube_414028801_414288001_4FGL_J2350.6-3005_daily_bin674.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/158485/ft2_4FGL_J2350.6-3005_daily_bin674.fits
.....................!
real 12.11
user 11.78
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158485/ft1_filtered_4FGL_J2350.6-3005_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/158485/ft2_4FGL_J2350.6-3005_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/158485/ltcube_414028801_414288001_4FGL_J2350.6-3005_daily_bin674.fits outfile=/scratch/kocevski/158485/expmap_414028801_414288001_4FGL_J2350.6-3005_daily_bin674.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/158485/ltcube_414028801_414288001_4FGL_J2350.6-3005_daily_bin674.fits
.....................!
real 190.24
user 185.02
sys 4.68

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/158485/ft1_filtered_4FGL_J2350.6-3005_daily_bin674.fits scfile=/scratch/kocevski/158485/ft2_4FGL_J2350.6-3005_daily_bin674.fits outfile=/scratch/kocevski/158485/cmap_414028801_414288001_4FGL_J2350.6-3005_daily_bin674.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.56
user 0.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158485/ft1_filtered_4FGL_J2350.6-3005_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/158485/ft2_4FGL_J2350.6-3005_daily_bin674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158485/Model_4FGL_J2350.6-3005_daily_bin674.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/158485/ft1_filtered_4FGL_J2350.6-3005_daily_bin674.fits......................!
real 26.27
user 24.67
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    74.363       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11042E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10447E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.694       1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    45.527       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.067       1.0000         .10000E-03   10000.    
    15 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .55485E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.583       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.618       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .56314       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0956       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=   2233.032     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     2111 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          74.336        58.466       -.84704E-05    .41155E-05
   2  Prefactor     .10000E-03    64.310        .98581E-06** at limit **
   3  Prefactor     .10000E-03    1.8455        .10382E-06** at limit **
   4  Prefactor     .10000E-03    12.572        .16832E-07** at limit **
   5  Prefactor     31.692        22.512        .16013E-05   -.19208E-04
   6  norm          .10000E-03    4.8362        .13674E-05** at limit **
   7  norm          .10000E-03    .29549        .54866E-07** at limit **
   8  Prefactor     .10000E-03    7.3533       -.58299E-05** at limit **
   9  norm          .10000E-03    3.7074        .18767E-07** at limit **
  10  norm          .10000E-03    7.0316        .57756E-05** at limit **
  11  Prefactor     45.531        67.317        .84479E-06   -.16999E-04
  12  norm          .10000E-03    4.7916       -.11430E-05** at limit **
  13  norm          .10000E-03    2.0892       -.39708E-06** at limit **
  14  Prefactor     31.013        38.571        .38399E-04    .69568E-04
  15  norm          .10000E-03    8.1835        .14223E-05** at limit **
  16  Prefactor     .10000E-03    630.50       -.20948E-03** at limit **
  17  Prefactor     11.574        39.280        .48435E-05    .39781E-05
  18  Prefactor     .10000E-03    6.2478       -.11751E-05** at limit **
  19  Prefactor     34.636        63.462        .99056E-05    .12764E-04
  20  Normalizat    .56310        .22843       -.45179E-05    .99132E-04
  21  Prefactor     1.0953        .25627       -.11938E-05    .14329E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 74.3357
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.6925
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 45.5308
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 31.013
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.5741
  Prefactor  = 0.0001
  Prefactor  = 34.6358
  Normalizat = 0.563103
  Prefactor  = 1.09532
 **********
 **   18 **HESSE 
 **********

 FCN=   2233.032     FROM HESSE     STATUS=OK           305 CALLS     2416 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          74.336        58.472        .23280E-03   -1.3981    
   2  Prefactor     .10000E-03    64.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.8490        .62671E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.575        .16367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.692        22.516        .71173E-04   -1.4581    
   6  norm          .10000E-03    4.8536        .10148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .29832        .25082E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.3654        .12515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.7078        .88870E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    7.0512        .12238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     45.531        67.348        .59421E-04   -1.4357    
  12  norm          .10000E-03    4.8341        .10098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.1022        .66715E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.013        38.656        .71885E-04   -1.4594    
  15  norm          .10000E-03    8.2865        .13197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    635.61        .19055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.574        39.260        .11771E-03   -1.5027    
  18  Prefactor     .10000E-03    6.2949        .11520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     34.636        63.498        .68110E-04   -1.4530    
  20  Normalizat    .56310        .26169        .24676E-03   -1.0957    
  21  Prefactor     1.0953        .29427        .20776E-03   -.89616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24583e-10
Minuit parameter uncertainties:
  1  58.5175
  2  0.000100653
  3  2.75632e-06
  4  3.47494e-06
  5  22.5223
  6  3.98083e-06
  7  6.48354e-07
  8  3.77802e-06
  9  2.2762e-06
  10  1.41292e-05
  11  67.4606
  12  2.23479e-05
  13  6.38261e-05
  14  38.6868
  15  5.26354e-05
  16  0.000806663
  17  39.3482
  18  2.88028e-05
  19  63.6223
  20  0.26227
  21  0.294705
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.157e+01  3.935e+01  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:  1.095e+00  2.947e-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:  5.631e-01  2.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/158485/likelihoodResults_414028801_414288001_4FGL_J2350.6-3005_daily_bin674.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): 0
logL (Free Index) = 2232.99520715
delta logL = 0.0366266574606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2232.97949106
delta logL = 0.0523427492612

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1175       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5688       1.0000          .0000       10.000    
     3 'Normalizat'    .55868       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0973       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2232.979     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      265 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0643        43.223        .81160E-03   -.36210E-05
   2  Index         2.5713        2.0941        .46601E-02    .56780E-04
   3  Normalizat    .55896        .25528        .24757E-03   -.12629E-05
   4  Prefactor     1.0970        .29338        .20757E-03   -.12049E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.0643
  Index      = 2.57129
  Normalizat = 0.558964
  Prefactor  = 1.09696
 **********
 **   18 **HESSE 
 **********

 FCN=   2232.979     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .30E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0643        29.185        .32464E-04   -1.5215    
   2  Index         2.5713        1.7444        .93201E-03   -.50721    
   3  Normalizat    .55896        .25550        .99026E-05   -1.0976    
   4  Prefactor     1.0970        .29363        .83028E-05   -.89564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03246e-13
Minuit parameter uncertainties:
  1  26.6283
  2  1.79434
  3  0.256044
  4  0.294061
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158485': 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): 0
logL (Free Index) = 2232.9794881
delta logL = 0.0523457132458

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  6.064e+00  2.663e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.571e+00  1.794e+00  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:  1.097e+00  2.941e-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:  5.590e-01  2.560e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/158485/cmap_HighResolution_414028801_414288001_4FGL_J2350.6-3005_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', job_status='DONE', photon_flux_upper_limit='8.25e-08', time_completed='2021-09-30 07:16:20.666185', job_id='158485', GAL2='1.10', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1633011380.67', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='5.23e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='674' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:16:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 158485: <4FGL_J2350.6-3005_daily_bin674> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:05:57 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:05:59 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:59 2021
Terminated at Thu Sep 30 07:16:21 2021
Results reported at Thu Sep 30 07:16:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin674 357.665 -30.087 414028801 414288001 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 :                                   426.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             202.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   621 sec.
    Turnaround time :                            624 sec.

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

