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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin265
RA = 357.665, Dec = -30.087
tmin = 308016001, tmax = 308275201
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='156894', job_status='RUN', time_executed='2021-09-30 07:04:09.393577', time_epoch_executed='1633010649.39' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156894

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156894/ft1_4FGL_J2350.6-3005_daily_bin265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156894/ft2_4FGL_J2350.6-3005_daily_bin265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156894/ft1_4FGL_J2350.6-3005_daily_bin265.fits outfile=/scratch/kocevski/156894/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin265.fits ra=357.665 dec=-30.087 rad=12.0 tmin=308016001.0 tmax=308275201.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.41
user 3.17
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156894/ft1_filtered_4FGL_J2350.6-3005_daily_bin265.fits" evtable="EVENTS" scfile=/scratch/kocevski/156894/ft2_4FGL_J2350.6-3005_daily_bin265.fits sctable="SC_DATA" outfile=/scratch/kocevski/156894/ltcube_308016001_308275201_4FGL_J2350.6-3005_daily_bin265.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/156894/ft2_4FGL_J2350.6-3005_daily_bin265.fits
.....................!
real 14.71
user 14.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156894/ft1_filtered_4FGL_J2350.6-3005_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/156894/ft2_4FGL_J2350.6-3005_daily_bin265.fits sctable="SC_DATA" expcube=/scratch/kocevski/156894/ltcube_308016001_308275201_4FGL_J2350.6-3005_daily_bin265.fits outfile=/scratch/kocevski/156894/expmap_308016001_308275201_4FGL_J2350.6-3005_daily_bin265.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/156894/ltcube_308016001_308275201_4FGL_J2350.6-3005_daily_bin265.fits
.....................!
real 191.38
user 185.60
sys 5.37

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/156894/ft1_filtered_4FGL_J2350.6-3005_daily_bin265.fits scfile=/scratch/kocevski/156894/ft2_4FGL_J2350.6-3005_daily_bin265.fits outfile=/scratch/kocevski/156894/cmap_308016001_308275201_4FGL_J2350.6-3005_daily_bin265.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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156894/ft1_filtered_4FGL_J2350.6-3005_daily_bin265.fits scfile=/scratch/kocevski/156894/ft2_4FGL_J2350.6-3005_daily_bin265.fits outfile=/scratch/kocevski/156894/cmap_HighResolution_308016001_308275201_4FGL_J2350.6-3005_daily_bin265.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.520       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.5553       1.0000         .10000E-03   10000.    
     7 'norm      '    4.0766       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.9355       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.6497       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .30693E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    3.0485       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0244       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    77.371       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2968       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80867       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=   5269.261     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2207 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.507        42.931       -.44196E-05   -.17475E-03
   2  Prefactor     .10000E-03    39.373        .15884E-05** at limit **
   3  Prefactor     .10000E-03    4.5924       -.17332E-07** at limit **
   4  Prefactor     .10000E-03    36.158       -.10003E-05** at limit **
   5  Prefactor     .10000E-03    12.389        .15262E-08** at limit **
   6  norm          6.5558        6.2976       -.38862E-06   -.19613E-03
   7  norm          4.0766        1.4499       -.53668E-08    .33228E-04
   8  Prefactor     9.9365        20.674        .95468E-07   -.20668E-05
   9  norm          .10000E-03    3.5614       -.61878E-07** at limit **
  10  norm          6.6488        7.9628        .19557E-05   -.63114E-03
  11  Prefactor     .10000E-03    28.961        .81384E-06** at limit **
  12  norm          .10024E-03    3.0628        .48787E-06** at limit **
  13  norm          3.0484        2.9028        .18276E-07   -.40059E-04
  14  Prefactor     .10000E-03    14.412        .48167E-07** at limit **
  15  norm          2.0230        4.8959       -.24787E-06   -.51457E-03
  16  Prefactor     .10000E-03    80.789       -.81405E-06** at limit **
  17  Prefactor     77.367        52.424       -.84142E-06   -.57998E-04
  18  Prefactor     .10000E-03    2.7493        .98867E-07** at limit **
  19  Prefactor     .10000E-03    34.368       -.21444E-05** at limit **
  20  Normalizat    1.2967        .18498        .11523E-07   -.22275E-04
  21  Prefactor     .80874        .20323        .19976E-06   -.30963E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 27.5073
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.55584
  norm       = 4.07655
  Prefactor  = 9.93645
  norm       = 0.0001
  norm       = 6.64881
  Prefactor  = 0.0001
  norm       = 0.000100237
  norm       = 3.04844
  Prefactor  = 0.0001
  norm       = 2.02297
  Prefactor  = 0.0001
  Prefactor  = 77.3672
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.29671
  Prefactor  = 0.808735
 **********
 **   18 **HESSE 
 **********

 FCN=   5269.261     FROM HESSE     STATUS=OK           317 CALLS     2524 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.507        45.255        .76367E-04   -1.4659    
   2  Prefactor     .10000E-03    39.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.7901        .30335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    36.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.5558        6.3377        .15674E-03   -1.5196    
   7  norm          4.0766        1.4610        .43879E-04   -1.5304    
   8  Prefactor     9.9365        20.840        .12713E-03   -1.5077    
   9  norm          .10000E-03    3.5734        .13374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.6488        8.7443        .77806E-03   -1.5192    
  11  Prefactor     .10000E-03    29.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10024E-03    50.829        .23224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.0484        2.8979        .11668E-03   -1.5359    
  14  Prefactor     .10000E-03    14.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0230        4.9026        .24036E-03   -1.5423    
  16  Prefactor     .10000E-03    80.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     77.367        52.645        .22826E-03   -1.3947    
  18  Prefactor     .10000E-03    2.7637        .11751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    34.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2967        .22093        .22119E-03   -.83665    
  21  Prefactor     .80874        .24307        .29717E-03   -.99407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33684e-09
Minuit parameter uncertainties:
  1  45.3117
  2  0.000278151
  3  6.36747e-06
  4  0.000196567
  5  4.24242e-06
  6  6.3384
  7  1.46097
  8  20.8553
  9  6.76072e-06
  10  8.74597
  11  0.000111306
  12  0.00694931
  13  2.89799
  14  1.43639e-06
  15  4.90358
  16  0.000231527
  17  52.6768
  18  3.62708e-06
  19  0.000366587
  20  0.221086
  21  0.243392
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  7.737e+01  5.268e+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:  8.087e-01  2.434e-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.297e+00  2.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.77
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.05e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 1.81e-05

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) = 5268.7186643
delta logL = 0.542397385071

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5268.7185506
delta logL = 0.542511087648

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    95.864       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4951       1.0000          .0000       10.000    
     3 'Normalizat'    1.3193       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79789       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=   5268.719     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      246 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     96.065        229.67        .10263E-02   -.79204E-05
   2  Index         1.4954        1.3492        .21231        .14115E-07
   3  Normalizat    1.3193        .20264        .49664E-01    .44303E-05
   4  Prefactor     .79787        .20466        .67593E-01    .18699E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 96.0651
  Index      = 1.49536
  Normalizat = 1.31928
  Prefactor  = 0.797867
 **********
 **   18 **HESSE 
 **********

 FCN=   5268.719     FROM HESSE     STATUS=OK            31 CALLS      277 TOTAL
                     EDM=   .45E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     96.065        70.164        .41052E-04   -1.3745    
   2  Index         1.4954        .47803        .80544E-02   -.77670    
   3  Normalizat    1.3193        .21900        .21956E-03   -.82993    
   4  Prefactor     .79787        .23908        .29905E-03   -.99807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51816e-13
Minuit parameter uncertainties:
  1  70.2246
  2  0.479477
  3  0.219152
  4  0.239392
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156894': 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) = 5268.71854653
delta logL = 0.542515162296

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  9.607e+01  7.022e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.495e+00  4.795e-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:  7.979e-01  2.394e-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.319e+00  2.192e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.85
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 1.50 +/- 0.48
Photon Flux (Free Index): 1.95e-08 +/- 2.01e-08
Energy Flux (Free Index): 6.28e-05 +/- 7.15e-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/156894/cmap_HighResolution_308016001_308275201_4FGL_J2350.6-3005_daily_bin265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.05e-08', energy_flux2='6.28e-05', photon_flux_error='2.75e-08', dlogl='5.43e-01', energy_flux='2.65e-05', photon_flux2='1.95e-08', job_status='DONE', time_completed='2021-09-30 07:13:07.897276', photon_index_error2='0.48', photon_index2='1.50', ts='6.77', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='7.15e-05', EG='1.30', time_epoch_completed='1633011187.9', return_code='0', job_id='156894', GAL2='0.80', EG2='1.32', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='2.01e-08', ts2='7.85', photon_index='2.02' WHERE bin_id='265' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:13:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 156894: <4FGL_J2350.6-3005_daily_bin265> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin265> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 30 07:00:55 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:00:57 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:57 2021
Terminated at Thu Sep 30 07:13:08 2021
Results reported at Thu Sep 30 07:13:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin265 357.665 -30.087 308016001 308275201 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 :                                   527.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             227.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            733 sec.

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

