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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1393
RA = 359.817, Dec = -31.5832
tmin = 600393601, tmax = 600652801
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='250269', job_status='RUN', time_executed='2021-09-30 12:21:22.887034', time_epoch_executed='1633029682.89' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1393'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250269

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250269/ft1_4FGL_J2359.2-3134_daily_bin1393.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250269/ft1_4FGL_J2359.2-3134_daily_bin1393.fits outfile=/scratch/kocevski/250269/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1393.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=600393601.0 tmax=600652801.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.70
user 3.43
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.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/250269/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1393.fits evtable="EVENTS" outfile="/scratch/kocevski/250269/ft1_filtered_4FGL_J2359.2-3134_daily_bin1393.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250269/ft1_filtered_4FGL_J2359.2-3134_daily_bin1393.fits" evtable="EVENTS" scfile=/scratch/kocevski/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.fits sctable="SC_DATA" outfile=/scratch/kocevski/250269/ltcube_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.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/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.fits
.....................!
real 12.12
user 11.71
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250269/ft1_filtered_4FGL_J2359.2-3134_daily_bin1393.fits evtable="EVENTS" scfile=/scratch/kocevski/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.fits sctable="SC_DATA" expcube=/scratch/kocevski/250269/ltcube_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.fits outfile=/scratch/kocevski/250269/expmap_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.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/250269/ltcube_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.fits
.....................!
real 190.97
user 185.92
sys 4.74

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 189 point sources and 0 extended sources

Setting source of interest to:
4FGL J2359.2-3134 @ 359.817 -31.5832

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/250269/ft1_filtered_4FGL_J2359.2-3134_daily_bin1393.fits scfile=/scratch/kocevski/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.fits outfile=/scratch/kocevski/250269/cmap_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.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=359.817 yref=-31.5832 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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250269/ft1_filtered_4FGL_J2359.2-3134_daily_bin1393.fits scfile=/scratch/kocevski/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.fits outfile=/scratch/kocevski/250269/cmap_HighResolution_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.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=359.817 yref=-31.5832 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.58
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/250269/ft1_filtered_4FGL_J2359.2-3134_daily_bin1393.fits evtable="EVENTS" scfile=/scratch/kocevski/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250269/Model_4FGL_J2359.2-3134_daily_bin1393.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/250269/ft1_filtered_4FGL_J2359.2-3134_daily_bin1393.fits.....................!
real 31.84
user 30.62
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/250269/ft1_filtered_4FGL_J2359.2-3134_daily_bin1393.fits', '/scratch/kocevski/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.fits', expMap='/scratch/kocevski/250269/expmap_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.fits', expCube='/scratch/kocevski/250269/ltcube_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/250269/Model_4FGL_J2359.2-3134_daily_bin1393.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2359.2-3134'

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  8.155e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.605e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/250269/ft1_filtered_4FGL_J2359.2-3134_daily_bin1393.fits
Spacecraft file(s): /scratch/kocevski/250269/ft2_4FGL_J2359.2-3134_daily_bin1393.fits
Exposure map: /scratch/kocevski/250269/expmap_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.fits
Exposure cube: /scratch/kocevski/250269/ltcube_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/250269/Model_4FGL_J2359.2-3134_daily_bin1393.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) = 3388.15529811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.471       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17149E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    80.646       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.9569       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.840       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.6783       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    60.848       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.7867       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.194       1.0000         .10000E-03   10000.    
    18 'Prefactor '    80.549       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9690       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11255E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1027       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .71037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3388.121     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2644 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.462        43.814       -.15374E-04   -.92280E-05
   2  Prefactor     .10000E-03    11.156       -.80051E-07** at limit **
   3  Prefactor     80.645        43.575        .76864E-06   -.55250E-04
   4  Prefactor     8.9567        14.943        .53925E-06   -.45965E-04
   5  Prefactor     12.829        25.297       -.56702E-05   -.14587E-04
   6  Prefactor     .10000E-03    26.202        .43497E-05** at limit **
   7  norm          9.6809        9.8313        .29189E-07   -.10540E-03
   8  Prefactor     .10000E-03    5.6945       -.50432E-07** at limit **
   9  norm          .10000E-03    2.2187        .10617E-06** at limit **
  10  norm          .10000E-03    2.9395        .23152E-06** at limit **
  11  Prefactor     .10000E-03    32.297       -.11792E-04** at limit **
  12  Prefactor     60.758        56.566       -.89454E-04   -.34138E-04
  13  norm          .10000E-03    2.6347        .32851E-06** at limit **
  14  norm          3.7866        4.1188       -.13683E-05   -.33215E-03
  15  Prefactor     .10000E-03    26.449       -.33106E-06** at limit **
  16  norm          .10000E-03    1.8443        .26265E-06** at limit **
  17  Prefactor     23.436        193.83        .47857E-03    .27237E-04
  18  Prefactor     80.558        85.063        .81416E-05   -.48887E-04
  19  Prefactor     5.9678        9.0833        .39167E-05   -.19284E-03
  20  Prefactor     .10000E-03    63.168        .16495E-04** at limit **
  21  Normalizat    1.1027        .22633       -.62127E-05    .13307E-04
  22  Prefactor     .71041        .23486       -.36117E-05   -.13900E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4621
  Prefactor  = 0.0001
  Prefactor  = 80.6454
  Prefactor  = 8.95666
  Prefactor  = 12.8291
  Prefactor  = 0.0001
  norm       = 9.68088
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.7583
  norm       = 0.0001
  norm       = 3.7866
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 23.4355
  Prefactor  = 80.5579
  Prefactor  = 5.96784
  Prefactor  = 0.0001
  Normalizat = 1.10267
  Prefactor  = 0.710406
 **********
 **   18 **HESSE 
 **********

 FCN=   3388.121     FROM HESSE     STATUS=OK           340 CALLS     2984 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.462        43.831        .10913E-03   -1.4974    
   2  Prefactor     .10000E-03    11.479        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     80.645        43.342        .44724E-04   -1.3909    
   4  Prefactor     8.9567        14.939        .13392E-03   -1.5109    
   5  Prefactor     12.829        25.293        .11179E-03   -1.4991    
   6  Prefactor     .10000E-03    26.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.6809        9.8564        .12881E-03   -1.5086    
   8  Prefactor     .10000E-03    5.7042        .13565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.2194        .84679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.9414        .97467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    32.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     60.758        56.661        .25719E-03   -1.4147    
  13  norm          .10000E-03    2.6591        .92255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.7866        4.1118        .11945E-03   -1.5319    
  15  Prefactor     .10000E-03    26.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.8549        .77195E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.436        192.56        .41586E-03   -1.4739    
  18  Prefactor     80.558        85.042        .44750E-04   -1.3910    
  19  Prefactor     5.9678        9.1156        .16435E-03   -1.5219    
  20  Prefactor     .10000E-03    63.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1027        .26828        .21703E-03   -.89666    
  22  Prefactor     .71041        .27606        .28349E-03   -1.0312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43012e-10
Minuit parameter uncertainties:
  1  43.9356
  2  3.24382e-05
  3  43.3586
  4  14.9456
  5  25.314
  6  0.00012885
  7  9.85802
  8  3.57549e-05
  9  5.59885e-06
  10  4.8419e-05
  11  0.000200795
  12  56.7114
  13  3.855e-05
  14  4.11206
  15  0.000725943
  16  1.57418e-05
  17  134.948
  18  85.171
  19  9.11769
  20  0.000335032
  21  0.268612
  22  0.276598
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  3.350e-04  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.605e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  7.104e-01  2.766e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.103e+00  2.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 359.817 -31.583
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/250269/likelihoodResults_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.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) = 3388.12125431
delta logL = -7.52082828512e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3388.1211796
delta logL = -4.99552243127e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10639E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9344       1.0000          .0000       10.000    
     3 'Normalizat'    1.1027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71041       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+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=   3388.121     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      276 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10657E-03    42.510        .18142E-01** at limit **
   2  Index         2.8099        6.0002        .50000        .68806E-05
   3  Normalizat    1.1027        .49306E-02    .21704E-03   -.12072E-03
   4  Prefactor     .71041        .52989E-02    .28349E-03    .23821E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000106567
  Index      = 2.80989
  Normalizat = 1.10267
  Prefactor  = 0.710413
 **********
 **   18 **HESSE 
 **********

 FCN=   3388.121     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10657E-03    217.90        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8099        8.2272        .50000       -.45340    
   3  Normalizat    1.1027        .11178E-01    .43407E-04   -.89666    
   4  Prefactor     .71041        .12012E-01    .11340E-04   -1.0312    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.16451e-09
Minuit parameter uncertainties:
  1  0.0759347
  2  473.482
  3  0.0111776
  4  0.0120125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250269': 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) = 3388.12117938
delta logL = -2.74123976851e-07

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.066e-04  7.593e-02  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.810e+00  4.735e+02  0.000e+00  1.000e+01 (-1.000e+00)
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  7.104e-01  1.201e-02  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.103e+00  1.118e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 359.817 -31.583

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/250269/cmap_HighResolution_600393601_600652801_4FGL_J2359.2-3134_daily_bin1393.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.92e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-09-30 12:30:31.039322', job_id='250269', GAL2='0.71', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1633030231.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='-2.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1393' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:30:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 250269: <4FGL_J2359.2-3134_daily_bin1393> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin1393> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 12:20:34 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:20:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 12:20:36 2021
Terminated at Thu Sep 30 12:30:34 2021
Results reported at Thu Sep 30 12:30:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1393 359.817 -31.5832 600393601 600652801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2359.2-3134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   501.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            600 sec.

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

