/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 180 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2350.6-3005_daily_bin77
RA = 357.665, Dec = -30.087
tmin = 259286401, tmax = 259545601
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='156616', job_status='RUN', time_executed='2021-09-30 07:03:41.204231', time_epoch_executed='1633010621.2' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='77'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156616

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156616/ft1_4FGL_J2350.6-3005_daily_bin77.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156616/ft2_4FGL_J2350.6-3005_daily_bin77.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156616/ft1_4FGL_J2350.6-3005_daily_bin77.fits outfile=/scratch/kocevski/156616/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin77.fits ra=357.665 dec=-30.087 rad=12.0 tmin=259286401.0 tmax=259545601.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 2.22
user 2.03
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156616/ft1_filtered_4FGL_J2350.6-3005_daily_bin77.fits" evtable="EVENTS" scfile=/scratch/kocevski/156616/ft2_4FGL_J2350.6-3005_daily_bin77.fits sctable="SC_DATA" outfile=/scratch/kocevski/156616/ltcube_259286401_259545601_4FGL_J2350.6-3005_daily_bin77.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/156616/ft2_4FGL_J2350.6-3005_daily_bin77.fits
.....................!
real 12.57
user 12.23
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156616/ft1_filtered_4FGL_J2350.6-3005_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/156616/ft2_4FGL_J2350.6-3005_daily_bin77.fits sctable="SC_DATA" expcube=/scratch/kocevski/156616/ltcube_259286401_259545601_4FGL_J2350.6-3005_daily_bin77.fits outfile=/scratch/kocevski/156616/expmap_259286401_259545601_4FGL_J2350.6-3005_daily_bin77.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/156616/ltcube_259286401_259545601_4FGL_J2350.6-3005_daily_bin77.fits
.....................!
real 190.94
user 185.74
sys 4.88

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/156616/ft1_filtered_4FGL_J2350.6-3005_daily_bin77.fits scfile=/scratch/kocevski/156616/ft2_4FGL_J2350.6-3005_daily_bin77.fits outfile=/scratch/kocevski/156616/cmap_259286401_259545601_4FGL_J2350.6-3005_daily_bin77.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.51
user 0.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/156616/ft1_filtered_4FGL_J2350.6-3005_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/156616/ft2_4FGL_J2350.6-3005_daily_bin77.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/156616/Model_4FGL_J2350.6-3005_daily_bin77.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/156616/ft1_filtered_4FGL_J2350.6-3005_daily_bin77.fits.....................!
real 43.60
user 42.28
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    36.052       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10617E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .24279       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1953       1.0000         .10000E-03   10000.    
     6 'norm      '    .10487E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.9938       1.0000         .10000E-03   10000.    
    10 'norm      '    5.5694       1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.914       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.3128       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.5319       1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    58.045       1.0000         .10000E-03   10000.    
    17 'Prefactor '    41.477       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.291       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3387       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .56048       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=   5344.168     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2263 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.054        26.914       -.11927E-05    .35380E-06
   2  Prefactor     .10000E-03    61.804        .13237E-05** at limit **
   3  Prefactor     .27048        2.2949        .33283E-06   -.19265E-03
   4  Prefactor     .10000E-03    14.004        .43480E-06** at limit **
   5  Prefactor     3.1933        11.750       -.12559E-04   -.14569E-03
   6  norm          .10000E-03    6.0551        .19739E-06** at limit **
   7  norm          .10000E-03    .21833        .53423E-07** at limit **
   8  Prefactor     .10000E-03    3.9019       -.44803E-07** at limit **
   9  norm          6.9940        5.1040        .22522E-05    .12452E-03
  10  norm          5.5704        6.2191       -.25662E-05   -.10784E-03
  11  Prefactor     35.935        43.210        .86033E-05   -.34750E-05
  12  norm          .10000E-03    1.4699        .16589E-06** at limit **
  13  norm          3.3133        2.4268       -.17568E-06   -.15610E-03
  14  Prefactor     6.5343        14.904        .61754E-05   -.38008E-04
  15  norm          .10000E-03    3.5015       -.10972E-06** at limit **
  16  Prefactor     58.059        55.619        .92408E-05   -.49942E-05
  17  Prefactor     41.476        47.270        .11563E-04   -.10316E-04
  18  Prefactor     .10000E-03    3.0104       -.72931E-07** at limit **
  19  Prefactor     16.198        35.444       -.43786E-05   -.32290E-04
  20  Normalizat    1.3382        .18014       -.66206E-06   -.27425E-04
  21  Prefactor     .56089        .18938       -.29916E-06   -.79648E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 36.0536
  Prefactor  = 0.0001
  Prefactor  = 0.270476
  Prefactor  = 0.0001
  Prefactor  = 3.19328
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.99399
  norm       = 5.57037
  Prefactor  = 35.9347
  norm       = 0.0001
  norm       = 3.3133
  Prefactor  = 6.53432
  norm       = 0.0001
  Prefactor  = 58.0591
  Prefactor  = 41.4763
  Prefactor  = 0.0001
  Prefactor  = 16.198
  Normalizat = 1.33821
  Prefactor  = 0.560887
 **********
 **   18 **HESSE 
 **********

 FCN=   5344.168     FROM HESSE     STATUS=OK           321 CALLS     2584 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.054        26.911        .66746E-04   -1.4506    
   2  Prefactor     .10000E-03    62.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27048        18.032        .20004E-02   -1.5604    
   4  Prefactor     .10000E-03    14.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1933        11.862        .22667E-03   -1.5351    
   6  norm          .10000E-03    6.3526        .35130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .37620        .66497E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.9203        .14098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.9940        5.1121        .13795E-03   -1.5179    
  10  norm          5.5704        6.2247        .17024E-03   -1.5236    
  11  Prefactor     35.935        43.250        .66873E-04   -1.4508    
  12  norm          .10000E-03    1.4775        .86542E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.3133        2.4262        .93802E-04   -1.5344    
  14  Prefactor     6.5343        14.848        .15702E-03   -1.5197    
  15  norm          .10000E-03    3.6113        .26709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     58.059        55.574        .52657E-04   -1.4183    
  17  Prefactor     41.476        47.161        .62243E-04   -1.4419    
  18  Prefactor     .10000E-03    3.0373        .12379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.198        35.742        .99230E-04   -1.4903    
  20  Normalizat    1.3382        .20845        .19367E-03   -.82433    
  21  Prefactor     .56089        .21624        .31093E-03   -1.0926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25128e-10
Minuit parameter uncertainties:
  1  26.9202
  2  2.79191e-05
  3  4.41748
  4  1.29256e-05
  5  11.8704
  6  5.20013e-05
  7  2.26822e-06
  8  1.14324e-06
  9  5.11246
  10  6.22541
  11  43.2876
  12  1.63821e-06
  13  2.42625
  14  14.8561
  15  4.69236e-06
  16  55.6237
  17  47.2031
  18  6.25268e-07
  19  35.7889
  20  0.20858
  21  0.216561
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  5.609e-01  2.166e-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.338e+00  2.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.24
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.17e-08 +/- 2.47e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.62e-05

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

Saving results to:
/scratch/kocevski/156616/likelihoodResults_259286401_259545601_4FGL_J2350.6-3005_daily_bin77.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) = 5343.81182641
delta logL = 0.356643662309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5343.80559272
delta logL = 0.362877344583

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.211       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6180       1.0000          .0000       10.000    
     3 'Normalizat'    1.3152       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57421       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=   5343.806     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      298 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.213        42.144        .89092E-04    .10566E-03
   2  Index         2.6178        .91385        .50536E-02    .66737E-04
   3  Normalizat    1.3152        .20122        .19498E-03    .28928E-03
   4  Prefactor     .57414        .21556        .30740E-03    .19605E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.2134
  Index      = 2.61779
  Normalizat = 1.31522
  Prefactor  = 0.574136
 **********
 **   18 **HESSE 
 **********

 FCN=   5343.806     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.213        33.652        .35637E-05   -1.4808    
   2  Index         2.6178        .73054        .20214E-03   -.49660    
   3  Normalizat    1.3152        .20078        .38995E-04   -.83113    
   4  Prefactor     .57414        .21526        .12296E-04   -1.0869    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84667e-11
Minuit parameter uncertainties:
  1  33.6835
  2  0.733945
  3  0.200903
  4  0.215568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156616': 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) = 5343.80559248
delta logL = 0.362877587728

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  2.021e+01  3.368e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.618e+00  7.339e-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:  5.741e-01  2.156e-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.315e+00  2.009e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.98
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 2.62 +/- 0.73
Photon Flux (Free Index): 4.26e-08 +/- 4.12e-08
Energy Flux (Free Index): 1.10e-05 +/- 1.00e-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/156616/cmap_HighResolution_259286401_259545601_4FGL_J2350.6-3005_daily_bin77.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.09e-03', comment='SUCCESS', photon_flux='2.17e-08', energy_flux2='1.10e-05', photon_flux_error='2.47e-08', dlogl='3.63e-01', energy_flux='1.42e-05', photon_flux2='4.26e-08', job_status='DONE', time_completed='2021-09-30 07:13:34.739002', photon_index_error2='0.73', photon_index2='2.62', ts='1.24', fit_tolerance='1e-08', GAL='0.56', photon_index_error='0.00', photon_flux_upper_limit='8.11e-08', energy_flux_error2='1.00e-05', EG='1.34', time_epoch_completed='1633011214.74', return_code='0', job_id='156616', GAL2='0.57', EG2='1.32', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='4.12e-08', ts2='1.98', photon_index='2.02' WHERE bin_id='77' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:13:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 156616: <4FGL_J2350.6-3005_daily_bin77> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin77 357.665 -30.087 259286401 259545601 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 :                                   592.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            784 sec.

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

