/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 173 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 = 7364
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2350.6-3005_daily_bin196
RA = 357.665, Dec = -30.087
tmin = 290131201, tmax = 290390401
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='156791', job_status='RUN', time_executed='2021-09-30 07:03:51.907229', time_epoch_executed='1633010631.91' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='196'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156791

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156791/ft1_4FGL_J2350.6-3005_daily_bin196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156791/ft2_4FGL_J2350.6-3005_daily_bin196.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156791/ft1_4FGL_J2350.6-3005_daily_bin196.fits outfile=/scratch/kocevski/156791/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin196.fits ra=357.665 dec=-30.087 rad=12.0 tmin=290131201.0 tmax=290390401.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.44
user 3.19
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156791/ft1_filtered_4FGL_J2350.6-3005_daily_bin196.fits" evtable="EVENTS" scfile=/scratch/kocevski/156791/ft2_4FGL_J2350.6-3005_daily_bin196.fits sctable="SC_DATA" outfile=/scratch/kocevski/156791/ltcube_290131201_290390401_4FGL_J2350.6-3005_daily_bin196.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/156791/ft2_4FGL_J2350.6-3005_daily_bin196.fits
.....................!
real 12.23
user 11.80
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156791/ft1_filtered_4FGL_J2350.6-3005_daily_bin196.fits evtable="EVENTS" scfile=/scratch/kocevski/156791/ft2_4FGL_J2350.6-3005_daily_bin196.fits sctable="SC_DATA" expcube=/scratch/kocevski/156791/ltcube_290131201_290390401_4FGL_J2350.6-3005_daily_bin196.fits outfile=/scratch/kocevski/156791/expmap_290131201_290390401_4FGL_J2350.6-3005_daily_bin196.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/156791/ltcube_290131201_290390401_4FGL_J2350.6-3005_daily_bin196.fits
.....................!
real 191.11
user 185.65
sys 5.06

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/156791/ft1_filtered_4FGL_J2350.6-3005_daily_bin196.fits scfile=/scratch/kocevski/156791/ft2_4FGL_J2350.6-3005_daily_bin196.fits outfile=/scratch/kocevski/156791/cmap_290131201_290390401_4FGL_J2350.6-3005_daily_bin196.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156791/ft1_filtered_4FGL_J2350.6-3005_daily_bin196.fits scfile=/scratch/kocevski/156791/ft2_4FGL_J2350.6-3005_daily_bin196.fits outfile=/scratch/kocevski/156791/cmap_HighResolution_290131201_290390401_4FGL_J2350.6-3005_daily_bin196.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/156791/ft1_filtered_4FGL_J2350.6-3005_daily_bin196.fits evtable="EVENTS" scfile=/scratch/kocevski/156791/ft2_4FGL_J2350.6-3005_daily_bin196.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/156791/Model_4FGL_J2350.6-3005_daily_bin196.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/156791/ft1_filtered_4FGL_J2350.6-3005_daily_bin196.fits.....................!
real 46.37
user 44.97
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.699       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3527       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.8388       1.0000         .10000E-03   10000.    
     7 'norm      '    .46336       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    25.419       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.6976       1.0000         .10000E-03   10000.    
    13 'norm      '    .14312E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.147       1.0000         .10000E-03   10000.    
    15 'norm      '    .45671E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    87.226       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.6314       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.2686       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.1116       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1270       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .59613       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=   5922.738     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2311 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.696        19.623       -.20648E-06   -.10458E-03
   2  Prefactor     .10000E-03    56.152        .24734E-06** at limit **
   3  Prefactor     1.3525        2.5371        .12486E-06   -.10655E-04
   4  Prefactor     .10000E-03    4.5807       -.70592E-07** at limit **
   5  Prefactor     .10000E-03    2.4942        .19011E-07** at limit **
   6  norm          7.8384        4.9510        .29112E-07   -.41367E-05
   7  norm          .46317        .61603        .14273E-06    .93143E-04
   8  Prefactor     .10000E-03    15.216        .20977E-07** at limit **
   9  norm          .10000E-03    1.8184        .40233E-08** at limit **
  10  norm          25.417        9.4814       -.13711E-07   -.51208E-05
  11  Prefactor     .10000E-03    52.195        .42873E-07** at limit **
  12  norm          9.7015        4.7660       -.22009E-07   -.48208E-04
  13  norm          .10000E-03    1.4987        .13306E-06** at limit **
  14  Prefactor     13.224        29.033       -.26066E-06   -.20400E-04
  15  norm          .10000E-03    2.2781        .10084E-06** at limit **
  16  Prefactor     86.903        103.08       -.26438E-06   -.35655E-04
  17  Prefactor     5.6291        39.794       -.13902E-06    .31593E-05
  18  Prefactor     6.2684        5.2075        .18738E-05   -.31797E-03
  19  Prefactor     6.1171        49.534       -.51945E-05   -.13063E-03
  20  Normalizat    1.1268        .15827        .15235E-06   -.93780E-04
  21  Prefactor     .59652        .16721       -.98507E-06   -.27638E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.6956
  Prefactor  = 0.0001
  Prefactor  = 1.35253
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.8384
  norm       = 0.463169
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 25.4174
  Prefactor  = 0.0001
  norm       = 9.70151
  norm       = 0.0001
  Prefactor  = 13.2241
  norm       = 0.0001
  Prefactor  = 86.9029
  Prefactor  = 5.62909
  Prefactor  = 6.26838
  Prefactor  = 6.11706
  Normalizat = 1.12684
  Prefactor  = 0.596519
 **********
 **   18 **HESSE 
 **********

 FCN=   5922.738     FROM HESSE     STATUS=OK           321 CALLS     2632 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.696        19.683        .10447E-03   -1.4941    
   2  Prefactor     .10000E-03    56.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3525        2.5015        .15743E-03   -1.5475    
   4  Prefactor     .10000E-03    4.5818        .16086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.4963        .11870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.8384        4.9516        .13237E-03   -1.5148    
   7  norm          .46317        .58469        .67054E-03   -1.5572    
   8  Prefactor     .10000E-03    15.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.8188        .10134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          25.417        9.4833        .79454E-04   -1.4699    
  11  Prefactor     .10000E-03    52.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.7015        4.6768        .11170E-03   -1.5085    
  13  norm          .10000E-03    11.329        .17241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.224        27.769        .11047E-03   -1.4981    
  15  norm          .10000E-03    8.5657        .22092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     86.903        103.29        .43018E-04   -1.3841    
  17  Prefactor     5.6291        39.680        .16928E-03   -1.5233    
  18  Prefactor     6.2684        5.2380        .73909E-03   -1.5207    
  19  Prefactor     6.1171        51.985        .16240E-03   -1.5213    
  20  Normalizat    1.1268        .18641        .19586E-03   -.88895    
  21  Prefactor     .59652        .19457        .28775E-03   -1.0773    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93357e-10
Minuit parameter uncertainties:
  1  19.692
  2  3.40173e-05
  3  2.50169
  4  2.00032e-07
  5  3.1769e-07
  6  4.95189
  7  0.584699
  8  2.04556e-05
  9  1.80727e-07
  10  9.4839
  11  3.55548e-05
  12  4.67695
  13  6.74647e-05
  14  27.7964
  15  5.02889e-05
  16  103.509
  17  29.9186
  18  5.23834
  19  35.7066
  20  0.186515
  21  0.194786
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  5.629e+00  2.992e+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:  5.965e-01  1.948e-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.127e+00  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/156791/likelihoodResults_290131201_290390401_4FGL_J2350.6-3005_daily_bin196.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) = 5921.21889773
delta logL = 1.51878863405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5921.09960979
delta logL = 1.63807657844

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45863E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    5.8267       1.0000          .0000       10.000    
     3 'Normalizat'    1.0325       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66700       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.

 FCN=   5921.100     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      406 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44199E-02    .41646E-01    .96595E-03    .66545E-02
   2  Index         5.8400        1.6937        .73908E-01    .18390E-03
   3  Normalizat    1.0328        .37065E-01    .41928E-01   -.13190E-04
   4  Prefactor     .66665        .41034E-01    .61799E-01    .13816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00441991
  Index      = 5.84001
  Normalizat = 1.03276
  Prefactor  = 0.666648
 **********
 **   18 **HESSE 
 **********

 FCN=   5921.100     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      441 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44199E-02    .97277E-01    .33788E-04   -1.5695    
   2  Index         5.8400        2.9294        .29035E-02    .16880    
   3  Normalizat    1.0328        .13796        .20300E-03   -.91941    
   4  Prefactor     .66665        .14992        .27338E-03   -1.0485    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03192e-07
Minuit parameter uncertainties:
  1  0.040999
  2  3.13695
  3  0.138007
  4  0.150007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156791': 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) = 5921.09959513
delta logL = 1.63809123797

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  4.420e-03  4.100e-02  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  5.840e+00  3.137e+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:  6.666e-01  1.500e-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.033e+00  1.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.52
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 5.84 +/- 3.14
Photon Flux (Free Index): 7.00e-08 +/- 4.52e-08
Energy Flux (Free Index): 8.79e-06 +/- 6.22e-06

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/156791/cmap_HighResolution_290131201_290390401_4FGL_J2350.6-3005_daily_bin196.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-03', comment='SUCCESS', energy_flux2='8.79e-06', dlogl='1.64e+00', photon_flux2='7.00e-08', job_status='DONE', time_completed='2021-09-30 07:14:25.589189', photon_index_error2='3.14', photon_index2='5.84', ts='0.04', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', photon_flux_upper_limit='5.30e-08', energy_flux_error2='6.22e-06', EG='1.13', time_epoch_completed='1633011265.59', return_code='0', job_id='156791', GAL2='0.67', EG2='1.03', return_code2='102', photon_flux_error2='4.52e-08', ts2='3.52', photon_index='2.02' WHERE bin_id='196' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:14:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 156791: <4FGL_J2350.6-3005_daily_bin196> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin196> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 30 07:00:46 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:00:47 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:00:47 2021
Terminated at Thu Sep 30 07:14:26 2021
Results reported at Thu Sep 30 07:14:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin196 357.665 -30.087 290131201 290390401 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 :                                   626.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            820 sec.

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

