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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin1204
RA = 357.665, Dec = -30.087
tmin = 551404801, tmax = 551664001
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='161528', job_status='RUN', time_executed='2021-09-30 07:19:49.224765', time_epoch_executed='1633011589.22' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='1204'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/161528

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/161528/ft1_4FGL_J2350.6-3005_daily_bin1204.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/161528/ft2_4FGL_J2350.6-3005_daily_bin1204.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/161528/ft1_4FGL_J2350.6-3005_daily_bin1204.fits outfile=/scratch/kocevski/161528/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin1204.fits ra=357.665 dec=-30.087 rad=12.0 tmin=551404801.0 tmax=551664001.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.56
user 3.33
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/161528/ft1_filtered_4FGL_J2350.6-3005_daily_bin1204.fits" evtable="EVENTS" scfile=/scratch/kocevski/161528/ft2_4FGL_J2350.6-3005_daily_bin1204.fits sctable="SC_DATA" outfile=/scratch/kocevski/161528/ltcube_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.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/161528/ft2_4FGL_J2350.6-3005_daily_bin1204.fits
.....................!
real 14.74
user 14.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/161528/ft1_filtered_4FGL_J2350.6-3005_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/161528/ft2_4FGL_J2350.6-3005_daily_bin1204.fits sctable="SC_DATA" expcube=/scratch/kocevski/161528/ltcube_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.fits outfile=/scratch/kocevski/161528/expmap_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.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/161528/ltcube_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.fits
.....................!
real 190.95
user 185.84
sys 4.81

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/161528/ft1_filtered_4FGL_J2350.6-3005_daily_bin1204.fits scfile=/scratch/kocevski/161528/ft2_4FGL_J2350.6-3005_daily_bin1204.fits outfile=/scratch/kocevski/161528/cmap_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/161528/ft1_filtered_4FGL_J2350.6-3005_daily_bin1204.fits scfile=/scratch/kocevski/161528/ft2_4FGL_J2350.6-3005_daily_bin1204.fits outfile=/scratch/kocevski/161528/cmap_HighResolution_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/161528/ft1_filtered_4FGL_J2350.6-3005_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/161528/ft2_4FGL_J2350.6-3005_daily_bin1204.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/161528/Model_4FGL_J2350.6-3005_daily_bin1204.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/161528/ft1_filtered_4FGL_J2350.6-3005_daily_bin1204.fits............!
real 14.51
user 13.25
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/161528/ft1_filtered_4FGL_J2350.6-3005_daily_bin1204.fits', '/scratch/kocevski/161528/ft2_4FGL_J2350.6-3005_daily_bin1204.fits', expMap='/scratch/kocevski/161528/expmap_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.fits', expCube='/scratch/kocevski/161528/ltcube_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/161528/Model_4FGL_J2350.6-3005_daily_bin1204.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/161528/ft1_filtered_4FGL_J2350.6-3005_daily_bin1204.fits
Spacecraft file(s): /scratch/kocevski/161528/ft2_4FGL_J2350.6-3005_daily_bin1204.fits
Exposure map: /scratch/kocevski/161528/expmap_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.fits
Exposure cube: /scratch/kocevski/161528/ltcube_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/161528/Model_4FGL_J2350.6-3005_daily_bin1204.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 170.362224983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 164.456006857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10468       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.5792       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .21394       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1207       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5041       1.0000         .10000E-03   10000.    
     6 'norm      '    1027.6       1.0000         .10000E-03   10000.    
     7 'norm      '    .37036E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.208       1.0000         .10000E-03   10000.    
     9 'norm      '    1.3757       1.0000         .10000E-03   10000.    
    10 'norm      '    7.1966       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.2378       1.0000         .10000E-03   10000.    
    12 'norm      '    4.9807       1.0000         .10000E-03   10000.    
    13 'norm      '    37.501       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .56087       1.0000         .10000E-03   10000.    
    15 'norm      '    1.8078       1.0000         .10000E-03   10000.    
    16 'Prefactor '    55.025       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3046.7       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.6803       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.9940       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .10108E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    .46721       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   164.4048     FROM MIGRAD    STATUS=CONVERGED    137 CALLS      445 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    81.091        .37192E-04** at limit **
   2  Prefactor     6.5792        1.0029         .0000         .0000    
   3  Prefactor     .10733E-03    2055.4        .41398E-04** at limit **
   4  Prefactor     1.1207        1.1739         .0000         .0000    
   5  Prefactor     .10000E-03    321.42       -.19335E-04** at limit **
   6  norm          1040.3        74.326       -.20017E-05   -.14547    
   7  norm          .10000E-03    2.4795        .32640E-06** at limit **
   8  Prefactor     26.212        57.278        .49969E-04   -.37721E-03
   9  norm          1.3757        1.0889         .0000         .0000    
  10  norm          7.1966        1.0024         .0000         .0000    
  11  Prefactor     .11775E-01    1658.7       -.55245E-04    .30654E-02
  12  norm          4.9807        1.0051         .0000         .0000    
  13  norm          37.419        22.282       -.57031E-05    .87002E-04
  14  Prefactor     .10000E-03    319.87        .86585E-04** at limit **
  15  norm          1.8078        1.0445         .0000         .0000    
  16  Prefactor     .51562E-02    627.69        .22069E-04   -.55435E-02
  17  Prefactor     3047.7        6.6832       -.11933E-06   -.21577E-01
  18  Prefactor     1.6803        1.0530         .0000         .0000    
  19  Prefactor     2.0123        19.948        .71783E-05    .25130E-02
  20  Normalizat    .10000E-01    .28764       -.25290E-04** at limit **
  21  Prefactor     .46344        .52257        .45316E-05    .28026E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 6.57919
  Prefactor  = 0.000107325
  Prefactor  = 1.12069
  Prefactor  = 0.0001
  norm       = 1040.28
  norm       = 0.0001
  Prefactor  = 26.2116
  norm       = 1.37575
  norm       = 7.19664
  Prefactor  = 0.0117748
  norm       = 4.98067
  norm       = 37.4188
  Prefactor  = 0.0001
  norm       = 1.80785
  Prefactor  = 0.00515618
  Prefactor  = 3047.74
  Prefactor  = 1.68027
  Prefactor  = 2.01229
  Normalizat = 0.01
  Prefactor  = 0.463441
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   164.4048     FROM HESSE     STATUS=FAILED        15 CALLS      460 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    80.929        .95335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     516.84        510.23         .0000       -1.5195    
   3  Prefactor     .10733E-03    .25206        .41398E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1207        1.1739         .0000       -1.5496    
   5  Prefactor     .10000E-03    .19032       -.19335E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1040.3        1.0054       -.20017E-05   -.91399    
   7  norm          .10000E-03    .23981        .32640E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     26.212        1.0003        .49969E-04   -1.4684    
   9  norm          1.3757        1.0889         .0000       -1.5473    
  10  norm          7.1966        1.0024         .0000       -1.5171    
  11  Prefactor     .11775E-01    .35619E-01   -.55245E-04   -1.5686    
  12  norm          4.9807        1.0051         .0000       -1.5262    
  13  norm          37.419        .99899       -.57031E-05   -1.4484    
  14  Prefactor     .10000E-03    .33159        .86585E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8078        1.0445         .0000       -1.5439    
  16  Prefactor     .51562E-02    .96127E-02    .22069E-04   -1.5722    
  17  Prefactor     3047.7        1.0001       -.11933E-06   -.40112    
  18  Prefactor     1.6803        1.0530         .0000       -1.5449    
  19  Prefactor     2.0123        .63810        .71783E-05   -1.5424    
  20  Normalizat    .10000E-01    .25508       -.25290E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .46344        .80337        .45316E-05   -1.1368    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.55009e-09
Minuit parameter uncertainties:
  1  0.000233409
  2  1.00292
  3  0.00271762
  4  1.17392
  5  8.87461e-06
  6  1.00544
  7  8.39008e-07
  8  1.00025
  9  1.08891
  10  1.00243
  11  0.0356189
  12  1.00513
  13  0.998994
  14  9.83204e-06
  15  1.04454
  16  0.00961272
  17  1.0001
  18  1.05304
  19  0.638098
  20  1.05707e-07
  21  0.82433
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 164.404833307

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  3.048e+03  1.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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  4.634e-01  8.243e-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.000e-02  1.057e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.94
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.59e-06 +/- 5.23e-10
Energy Flux (Fixed Index): 1.05e-03 +/- 3.43e-07

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) = 164.208866467
delta logL = 0.195966839853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 164.078688221
delta logL = 0.326145085798

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5495.8       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3980       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46362       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=   164.0787     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      189 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5497.1        7420.4        .26901E-03   -.14125E-04
   2  Index         1.3977        .67438       -.19484E-04   -.19416E-03
   3  Normalizat    .10000E-01    .28817       -.61016E-08** at limit **
   4  Prefactor     .46362        .41061       -.28406E-06    .92271E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5497.1
  Index      = 1.3977
  Normalizat = 0.01
  Prefactor  = 0.463618
 **********
 **   18 **HESSE 
 **********

 FCN=   164.0787     FROM HESSE     STATUS=OK            25 CALLS      214 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5497.1        7422.1        .40198E-04    .99585E-01
   2  Index         1.3977        .69262        .24118E-03   -.80446    
   3  Normalizat    .10000E-01    .28910        .21278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .46362        .40846        .24503E-03   -1.1368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45845e-09
Minuit parameter uncertainties:
  1  5739.47
  2  0.697308
  3  5.80324e-09
  4  0.411072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/161528': 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) = 164.078688142
delta logL = 0.326145164686

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  5.497e+03  5.739e+03  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.398e+00  6.973e-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:  4.636e-01  4.111e-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.000e-02  5.803e-09  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.45
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 1.40 +/- 0.70
Photon Flux (Free Index): 9.95e-07 +/- 1.11e-06
Energy Flux (Free Index): 4.43e-03 +/- 9.30e-03

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/161528/cmap_HighResolution_551404801_551664001_4FGL_J2350.6-3005_daily_bin1204.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.59e-06', energy_flux2='4.43e-03', photon_flux_error='5.23e-10', dlogl='3.26e-01', energy_flux='1.05e-03', photon_flux2='9.95e-07', job_status='DONE', time_completed='2021-09-30 07:26:29.107852', photon_index_error2='0.70', photon_index2='1.40', ts='6.94', fit_tolerance='1e-08', GAL='0.46', photon_index_error='0.00', energy_flux_error2='9.30e-03', EG='0.01', time_epoch_completed='1633011989.11', return_code='101', job_id='161528', GAL2='0.46', EG2='0.01', return_code2='0', energy_flux_error='3.43e-07', photon_flux_error2='1.11e-06', ts2='7.45', photon_index='2.02' WHERE bin_id='1204' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:26:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 161528: <4FGL_J2350.6-3005_daily_bin1204> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin1204> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:16:23 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:16:24 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:16:24 2021
Terminated at Thu Sep 30 07:26:29 2021
Results reported at Thu Sep 30 07:26:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin1204 357.665 -30.087 551404801 551664001 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 :                                   325.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   605 sec.
    Turnaround time :                            606 sec.

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

