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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin1161
RA = 357.665, Dec = -30.087
tmin = 540259201, tmax = 540518401
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='161464', job_status='RUN', time_executed='2021-09-30 07:19:00.477628', time_epoch_executed='1633011540.48' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='1161'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/161464

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/161464/ft1_4FGL_J2350.6-3005_daily_bin1161.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/161464/ft2_4FGL_J2350.6-3005_daily_bin1161.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/161464/ft1_4FGL_J2350.6-3005_daily_bin1161.fits outfile=/scratch/kocevski/161464/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin1161.fits ra=357.665 dec=-30.087 rad=12.0 tmin=540259201.0 tmax=540518401.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.61
user 3.31
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/161464/ft1_filtered_4FGL_J2350.6-3005_daily_bin1161.fits evtable="EVENTS" scfile=/scratch/kocevski/161464/ft2_4FGL_J2350.6-3005_daily_bin1161.fits sctable="SC_DATA" expcube=/scratch/kocevski/161464/ltcube_540259201_540518401_4FGL_J2350.6-3005_daily_bin1161.fits outfile=/scratch/kocevski/161464/expmap_540259201_540518401_4FGL_J2350.6-3005_daily_bin1161.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/161464/ltcube_540259201_540518401_4FGL_J2350.6-3005_daily_bin1161.fits
.....................!
real 192.08
user 186.17
sys 5.55

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/161464/ft1_filtered_4FGL_J2350.6-3005_daily_bin1161.fits scfile=/scratch/kocevski/161464/ft2_4FGL_J2350.6-3005_daily_bin1161.fits outfile=/scratch/kocevski/161464/cmap_540259201_540518401_4FGL_J2350.6-3005_daily_bin1161.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/161464/ft1_filtered_4FGL_J2350.6-3005_daily_bin1161.fits scfile=/scratch/kocevski/161464/ft2_4FGL_J2350.6-3005_daily_bin1161.fits outfile=/scratch/kocevski/161464/cmap_HighResolution_540259201_540518401_4FGL_J2350.6-3005_daily_bin1161.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/161464/ft1_filtered_4FGL_J2350.6-3005_daily_bin1161.fits evtable="EVENTS" scfile=/scratch/kocevski/161464/ft2_4FGL_J2350.6-3005_daily_bin1161.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/161464/Model_4FGL_J2350.6-3005_daily_bin1161.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/161464/ft1_filtered_4FGL_J2350.6-3005_daily_bin1161.fits.....................!
real 36.57
user 35.28
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22371E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    65.091       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7524       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.170       1.0000         .10000E-03   10000.    
     6 'norm      '    6.6364       1.0000         .10000E-03   10000.    
     7 'norm      '    1.1214       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.835       1.0000         .10000E-03   10000.    
     9 'norm      '    .37015       1.0000         .10000E-03   10000.    
    10 'norm      '    6.7424       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15357E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.3676       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .82113E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.9702       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .17938E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    96.745       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .37143E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .76984       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.4442       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=   4281.345     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2190 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    18.239       -.53052E-07** at limit **
   2  Prefactor     64.808        85.078       -.46514E-04    .11309E-04
   3  Prefactor     4.7685        4.9745       -.32126E-06   -.16325E-03
   4  Prefactor     .10000E-03    20.026        .28824E-06** at limit **
   5  Prefactor     16.132        15.345       -.21313E-05    .11721E-04
   6  norm          6.6342        7.8401       -.29816E-05   -.60475E-04
   7  norm          1.1204        .92656       -.45299E-06   -.60998E-03
   8  Prefactor     17.892        14.241        .32557E-05   -.11535E-04
   9  norm          .36605        5.9478       -.59876E-06   -.39858E-03
  10  norm          6.7120        10.992       -.38642E-05   -.96056E-04
  11  Prefactor     .10000E-03    42.917        .89049E-05** at limit **
  12  norm          .10000E-03    1.7678        .50639E-08** at limit **
  13  norm          3.3798        3.6383       -.57900E-06   -.16475E-03
  14  Prefactor     .10000E-03    36.815       -.33685E-06** at limit **
  15  norm          1.9635        2.6877        .48187E-07    .33614E-04
  16  Prefactor     .10000E-03    50.371        .25339E-05** at limit **
  17  Prefactor     97.082        75.281       -.20657E-04    .77943E-05
  18  Prefactor     .10000E-03    2.0870        .16619E-07** at limit **
  19  Prefactor     .10000E-03    12.615        .93530E-07** at limit **
  20  Normalizat    .76979        .22325        .70391E-05   -.48451E-04
  21  Prefactor     1.4443        .24744        .11561E-05    .10761E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 64.8079
  Prefactor  = 4.76851
  Prefactor  = 0.0001
  Prefactor  = 16.132
  norm       = 6.63417
  norm       = 1.12039
  Prefactor  = 17.8916
  norm       = 0.366051
  norm       = 6.71202
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.37975
  Prefactor  = 0.0001
  norm       = 1.96351
  Prefactor  = 0.0001
  Prefactor  = 97.0819
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.769789
  Prefactor  = 1.44427
 **********
 **   18 **HESSE 
 **********

 FCN=   4281.345     FROM HESSE     STATUS=OK           317 CALLS     2507 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    18.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.808        85.065        .49743E-04   -1.4096    
   3  Prefactor     4.7685        4.9738        .14162E-03   -1.5271    
   4  Prefactor     .10000E-03    20.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.132        15.344        .99602E-04   -1.4904    
   6  norm          6.6342        7.8411        .15577E-03   -1.5193    
   7  norm          1.1204        .90430        .52732E-04   -1.5496    
   8  Prefactor     17.892        14.230        .94839E-04   -1.4862    
   9  norm          .36605        17.131        .31085E-02   -1.5587    
  10  norm          6.7120        11.012        .15453E-03   -1.5190    
  11  Prefactor     .10000E-03    43.029        .20452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.7735        .84861E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.3798        3.6340        .12457E-03   -1.5340    
  14  Prefactor     .10000E-03    36.930        .20887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.9635        2.6739        .12238E-03   -1.5428    
  16  Prefactor     .10000E-03    50.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     97.082        75.263        .40866E-04   -1.3734    
  18  Prefactor     .10000E-03    2.0939        .92309E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.617        .21297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .76979        .27198        .28684E-03   -1.0120    
  21  Prefactor     1.4443        .30454        .24453E-03   -.79113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01362e-09
Minuit parameter uncertainties:
  1  1.96114e-05
  2  85.2248
  3  4.97419
  4  4.64808e-06
  5  15.3475
  6  7.84227
  7  0.904314
  8  14.2328
  9  5.00915
  10  11.0157
  11  7.30593e-05
  12  6.26472e-07
  13  3.63421
  14  0.000157333
  15  2.67408
  16  1.99144e-06
  17  75.3369
  18  3.14265e-06
  19  3.02561e-05
  20  0.272464
  21  0.304919
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  9.708e+01  7.534e+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.444e+00  3.049e-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.698e-01  2.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.60
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 5.08e-08 +/- 3.94e-08
Energy Flux (Fixed Index): 3.33e-05 +/- 2.58e-05

TS (Fixed Index): 2.60
Ra Dec: 357.665 -30.087
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/161464/likelihoodResults_540259201_540518401_4FGL_J2350.6-3005_daily_bin1161.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) = 4281.34363513
delta logL = 0.000893353349056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4281.34252985
delta logL = 0.00199863016314

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    91.966       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0599       1.0000          .0000       10.000    
     3 'Normalizat'    .76817       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4455       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=   4281.343     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      257 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     92.032        117.52        .20952E-03   -.79328E-04
   2  Index         2.0595        .65449        .47573E-02   -.58417E-04
   3  Normalizat    .76761        .26838        .28721E-03    .13223E-02
   4  Prefactor     1.4461        .30260        .24441E-03    .20226E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 92.032
  Index      = 2.05952
  Normalizat = 0.767614
  Prefactor  = 1.44607
 **********
 **   18 **HESSE 
 **********

 FCN=   4281.343     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     92.032        108.53        .83809E-05   -1.3786    
   2  Index         2.0595        .60430        .19029E-03   -.62870    
   3  Normalizat    .76761        .26823        .57442E-04   -1.0128    
   4  Prefactor     1.4461        .30252        .48882E-04   -.79061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.82522e-09
Minuit parameter uncertainties:
  1  108.763
  2  0.606577
  3  0.268691
  4  0.302893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/161464': 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) = 4281.34252734
delta logL = 0.00200113882602

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  9.203e+01  1.088e+02  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.060e+00  6.066e-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:  1.446e+00  3.029e-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.676e-01  2.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.59
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 2.06 +/- 0.61
Photon Flux (Free Index): 5.22e-08 +/- 4.60e-08
Energy Flux (Free Index): 3.13e-05 +/- 3.87e-05

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/161464/cmap_HighResolution_540259201_540518401_4FGL_J2350.6-3005_daily_bin1161.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='5.08e-08', energy_flux2='3.13e-05', photon_flux_error='3.94e-08', dlogl='2.00e-03', energy_flux='3.33e-05', photon_flux2='5.22e-08', job_status='DONE', time_completed='2021-09-30 07:29:47.354585', photon_index_error2='0.61', photon_index2='2.06', ts='2.60', fit_tolerance='1e-08', GAL='1.44', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='3.87e-05', EG='0.77', time_epoch_completed='1633012187.35', return_code='0', job_id='161464', GAL2='1.45', EG2='0.77', return_code2='0', energy_flux_error='2.58e-05', photon_flux_error2='4.60e-08', ts2='2.59', photon_index='2.02' WHERE bin_id='1161' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:29:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 161464: <4FGL_J2350.6-3005_daily_bin1161> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin1161 357.665 -30.087 540259201 540518401 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 :                                   520.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            811 sec.

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

