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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin1122
RA = 357.665, Dec = -30.087
tmin = 530150401, tmax = 530409601
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='161407', job_status='RUN', time_executed='2021-09-30 07:19:40.140386', time_epoch_executed='1633011580.14' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='1122'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/161407

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/161407/ft1_4FGL_J2350.6-3005_daily_bin1122.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/161407/ft2_4FGL_J2350.6-3005_daily_bin1122.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/161407/ft1_4FGL_J2350.6-3005_daily_bin1122.fits outfile=/scratch/kocevski/161407/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin1122.fits ra=357.665 dec=-30.087 rad=12.0 tmin=530150401.0 tmax=530409601.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.54
user 3.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/161407/ft2_4FGL_J2350.6-3005_daily_bin1122.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/161407/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin1122.fits evtable="EVENTS" outfile="/scratch/kocevski/161407/ft1_filtered_4FGL_J2350.6-3005_daily_bin1122.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.49
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/161407/ft1_filtered_4FGL_J2350.6-3005_daily_bin1122.fits" evtable="EVENTS" scfile=/scratch/kocevski/161407/ft2_4FGL_J2350.6-3005_daily_bin1122.fits sctable="SC_DATA" outfile=/scratch/kocevski/161407/ltcube_530150401_530409601_4FGL_J2350.6-3005_daily_bin1122.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/161407/ft2_4FGL_J2350.6-3005_daily_bin1122.fits
.....................!
real 11.92
user 11.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/161407/ft1_filtered_4FGL_J2350.6-3005_daily_bin1122.fits evtable="EVENTS" scfile=/scratch/kocevski/161407/ft2_4FGL_J2350.6-3005_daily_bin1122.fits sctable="SC_DATA" expcube=/scratch/kocevski/161407/ltcube_530150401_530409601_4FGL_J2350.6-3005_daily_bin1122.fits outfile=/scratch/kocevski/161407/expmap_530150401_530409601_4FGL_J2350.6-3005_daily_bin1122.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/161407/ltcube_530150401_530409601_4FGL_J2350.6-3005_daily_bin1122.fits
.....................!
real 190.62
user 185.20
sys 5.07

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/161407/ft1_filtered_4FGL_J2350.6-3005_daily_bin1122.fits scfile=/scratch/kocevski/161407/ft2_4FGL_J2350.6-3005_daily_bin1122.fits outfile=/scratch/kocevski/161407/cmap_530150401_530409601_4FGL_J2350.6-3005_daily_bin1122.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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/161407/ft1_filtered_4FGL_J2350.6-3005_daily_bin1122.fits scfile=/scratch/kocevski/161407/ft2_4FGL_J2350.6-3005_daily_bin1122.fits outfile=/scratch/kocevski/161407/cmap_HighResolution_530150401_530409601_4FGL_J2350.6-3005_daily_bin1122.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.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/161407/ft1_filtered_4FGL_J2350.6-3005_daily_bin1122.fits evtable="EVENTS" scfile=/scratch/kocevski/161407/ft2_4FGL_J2350.6-3005_daily_bin1122.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/161407/Model_4FGL_J2350.6-3005_daily_bin1122.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/161407/ft1_filtered_4FGL_J2350.6-3005_daily_bin1122.fits.....................!
real 45.56
user 44.24
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .72210       1.0000         .10000E-03   10000.    
     2 'Prefactor '    115.65       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14729E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.592       1.0000         .10000E-03   10000.    
     6 'norm      '    10.795       1.0000         .10000E-03   10000.    
     7 'norm      '    3.1042       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.2683       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .18883E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.826       1.0000         .10000E-03   10000.    
    12 'norm      '    2.4225       1.0000         .10000E-03   10000.    
    13 'norm      '    13.809       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.7486       1.0000         .10000E-03   10000.    
    15 'norm      '    4.8172       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12218E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10924E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .78901       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83369       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=   6107.910     FROM MIGRAD    STATUS=CONVERGED    804 CALLS     2877 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78758        97.245        .63791E-02    .18811E-03
   2  Prefactor     115.51        57.240        .18706E-03    .47405E-04
   3  Prefactor     .10000E-03    1.1496        .81058E-03** at limit **
   4  Prefactor     .10002E-03    15.703        .84824E-01** at limit **
   5  Prefactor     22.596        11.923        .84272E-04    .72848E-04
   6  norm          10.790        7.2637        .12194E-03    .11700E-03
   7  norm          3.1043        .84747        .34189E-04   -.36318E-03
   8  Prefactor     1.2677        17.010        .39529E-03    .20081E-03
   9  norm          .10000E-03    2.8111        .12753E-02** at limit **
  10  norm          .10000E-03    10.120        .36285E-03** at limit **
  11  Prefactor     23.759        38.152        .82063E-04    .82568E-04
  12  norm          2.4214        3.7236        .17583E-03    .82180E-04
  13  norm          13.809        3.8736        .76377E-04    .10598E-03
  14  Prefactor     9.7427        20.651        .12834E-03    .21436E-04
  15  norm          4.8171        4.0658        .13618E-03    .88911E-04
  16  Prefactor     .10000E-03    29.024        .18142E-02** at limit **
  17  Prefactor     .10000E-03    27.775        .18142E-02** at limit **
  18  Prefactor     .10000E-03    1.5295        .93868E-03** at limit **
  19  Prefactor     .10000E-03    10.454        .18142E-02** at limit **
  20  Normalizat    .78907        .17328        .22208E-03    .25749E-03
  21  Prefactor     .83372        .19328        .24610E-03    .82083E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.787584
  Prefactor  = 115.505
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 22.5957
  norm       = 10.7905
  norm       = 3.10434
  Prefactor  = 1.26775
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 23.7589
  norm       = 2.42145
  norm       = 13.8088
  Prefactor  = 9.74269
  norm       = 4.8171
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.789068
  Prefactor  = 0.833718
 **********
 **   18 **HESSE 
 **********

 FCN=   6107.910     FROM HESSE     STATUS=OK           307 CALLS     3184 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78758        98.995        .25516E-03   -1.5530    
   2  Prefactor     115.51        57.238        .74824E-05   -1.3554    
   3  Prefactor     .10000E-03    1.1498        .16212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    14.796        .88533E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.596        11.922        .33709E-05   -1.4757    
   6  norm          10.790        7.2638        .48777E-05   -1.5051    
   7  norm          3.1043        .84665        .68378E-05   -1.5356    
   8  Prefactor     1.2677        16.970        .15812E-04   -1.5483    
   9  norm          .10000E-03    2.8112        .25506E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    10.121        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.759        38.146        .32825E-05   -1.4733    
  12  norm          2.4214        3.7229        .70331E-05   -1.5397    
  13  norm          13.809        3.8735        .30551E-05   -1.4965    
  14  Prefactor     9.7427        20.651        .51338E-05   -1.5084    
  15  norm          4.8171        4.0652        .54471E-05   -1.5269    
  16  Prefactor     .10000E-03    29.025        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    27.778        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.5297        .18774E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.455        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .78907        .17344        .88832E-05   -1.0048    
  21  Prefactor     .83372        .19328        .49220E-04   -.98497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85288e-09
Minuit parameter uncertainties:
  1  17.6886
  2  57.2655
  3  1.14447e-05
  4  0.00097487
  5  11.9235
  6  7.26438
  7  0.846658
  8  9.27942
  9  1.38975e-05
  10  0.000114355
  11  38.1849
  12  3.72321
  13  3.87354
  14  20.6657
  15  4.06544
  16  7.05571e-05
  17  0.000118524
  18  2.0955e-05
  19  4.35069e-05
  20  0.17356
  21  0.193435
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.000e-04  1.185e-04  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:  8.337e-01  1.934e-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:  7.891e-01  1.736e-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: 4.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/161407/likelihoodResults_530150401_530409601_4FGL_J2350.6-3005_daily_bin1122.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) = 6107.91016804
delta logL = -0.000171509459506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6107.9099966
delta logL = -7.11597749614e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4638       1.0000          .0000       10.000    
     3 'Normalizat'    .78907       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83372       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=   6107.910     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      231 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1983        .90712E-02** at limit **
   2  Index         2.4549        7.2376        .50000        .28540E-05
   3  Normalizat    .78907        .10040E-02    .43467E-01   -.15253E-04
   4  Prefactor     .83371        .11482E-02    .44154E-01   -.25611E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.4549
  Normalizat = 0.789073
  Prefactor  = 0.83371
 **********
 **   18 **HESSE 
 **********

 FCN=   6107.910     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      264 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    73.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4549        7.2047        .50000       -.53405    
   3  Normalizat    .78907        .57679E-02    .22208E-03   -1.0048    
   4  Prefactor     .83371        .65966E-02    .24610E-03   -.98497    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.33932e-08
Minuit parameter uncertainties:
  1  5.1434e-05
  2  229.198
  3  0.00576788
  4  0.00659658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/161407': 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) = 6107.90999659
delta logL = -6.29243004369e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  8.337e-01  6.597e-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:  7.891e-01  5.768e-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/161407/cmap_HighResolution_530150401_530409601_4FGL_J2350.6-3005_daily_bin1122.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2021-09-30 07:32:34.992317', job_id='161407', GAL2='0.83', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1633012354.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='-6.29e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1122' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:32:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 161407: <4FGL_J2350.6-3005_daily_bin1122> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin1122> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:16:12 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:16:14 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:14 2021
Terminated at Thu Sep 30 07:32:35 2021
Results reported at Thu Sep 30 07:32:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin1122 357.665 -30.087 530150401 530409601 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 :                                   663.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             231.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

