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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1587
RA = 359.817, Dec = -31.5832
tmin = 650678401, tmax = 650937601
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='250559', job_status='RUN', time_executed='2021-09-30 12:22:38.398447', time_epoch_executed='1633029758.4' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1587'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250559

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250559/ft1_4FGL_J2359.2-3134_daily_bin1587.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250559/ft2_4FGL_J2359.2-3134_daily_bin1587.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250559/ft1_4FGL_J2359.2-3134_daily_bin1587.fits outfile=/scratch/kocevski/250559/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1587.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=650678401.0 tmax=650937601.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.71
user 3.51
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/250559/ft2_4FGL_J2359.2-3134_daily_bin1587.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/250559/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1587.fits evtable="EVENTS" outfile="/scratch/kocevski/250559/ft1_filtered_4FGL_J2359.2-3134_daily_bin1587.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250559/ft1_filtered_4FGL_J2359.2-3134_daily_bin1587.fits" evtable="EVENTS" scfile=/scratch/kocevski/250559/ft2_4FGL_J2359.2-3134_daily_bin1587.fits sctable="SC_DATA" outfile=/scratch/kocevski/250559/ltcube_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.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/250559/ft2_4FGL_J2359.2-3134_daily_bin1587.fits
.....................!
real 11.87
user 11.49
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250559/ft1_filtered_4FGL_J2359.2-3134_daily_bin1587.fits evtable="EVENTS" scfile=/scratch/kocevski/250559/ft2_4FGL_J2359.2-3134_daily_bin1587.fits sctable="SC_DATA" expcube=/scratch/kocevski/250559/ltcube_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.fits outfile=/scratch/kocevski/250559/expmap_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.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/250559/ltcube_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.fits
.....................!
real 191.17
user 185.33
sys 5.49

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/250559/ft1_filtered_4FGL_J2359.2-3134_daily_bin1587.fits scfile=/scratch/kocevski/250559/ft2_4FGL_J2359.2-3134_daily_bin1587.fits outfile=/scratch/kocevski/250559/cmap_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250559/ft1_filtered_4FGL_J2359.2-3134_daily_bin1587.fits scfile=/scratch/kocevski/250559/ft2_4FGL_J2359.2-3134_daily_bin1587.fits outfile=/scratch/kocevski/250559/cmap_HighResolution_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/250559/ft1_filtered_4FGL_J2359.2-3134_daily_bin1587.fits evtable="EVENTS" scfile=/scratch/kocevski/250559/ft2_4FGL_J2359.2-3134_daily_bin1587.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250559/Model_4FGL_J2359.2-3134_daily_bin1587.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/250559/ft1_filtered_4FGL_J2359.2-3134_daily_bin1587.fits.....................!
real 35.58
user 34.26
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/250559/ft1_filtered_4FGL_J2359.2-3134_daily_bin1587.fits', '/scratch/kocevski/250559/ft2_4FGL_J2359.2-3134_daily_bin1587.fits', expMap='/scratch/kocevski/250559/expmap_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.fits', expCube='/scratch/kocevski/250559/ltcube_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/250559/Model_4FGL_J2359.2-3134_daily_bin1587.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/250559/ft1_filtered_4FGL_J2359.2-3134_daily_bin1587.fits
Spacecraft file(s): /scratch/kocevski/250559/ft2_4FGL_J2359.2-3134_daily_bin1587.fits
Exposure map: /scratch/kocevski/250559/expmap_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.fits
Exposure cube: /scratch/kocevski/250559/ltcube_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/250559/Model_4FGL_J2359.2-3134_daily_bin1587.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) = 4041.92664963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.570       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8444       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10652E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    63.731       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10818E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .15280E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    15.027       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.260       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10414E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .54019       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12092E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .23767       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16806E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0080       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.4336       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10614E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4353       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .57034       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=   4041.867     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2108 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.411        .25083E-08** at limit **
   2  Prefactor     .10000E-03    2.4769       -.12726E-07** at limit **
   3  Prefactor     19.542        21.677        .73022E-07    .46051E-04
   4  Prefactor     .10000E-03    7.4736        .94555E-07** at limit **
   5  Prefactor     2.8559        165.47        .19269E-05   -.17188E-04
   6  Prefactor     .10000E-03    37.338        .10268E-06** at limit **
   7  norm          63.732        14.738        .63991E-07    .10931E-04
   8  Prefactor     .10008E-03    16.904        .33470E-05** at limit **
   9  norm          .10000E-03    11.962        .44483E-05** at limit **
  10  norm          15.029        8.9926        .43269E-07   -.42343E-05
  11  Prefactor     10.261        29.733       -.34248E-05   -.12674E-03
  12  Prefactor     .10000E-03    14.445        .56576E-07** at limit **
  13  norm          .10000E-03    1.7994        .21320E-06** at limit **
  14  norm          .52576        9.1416        .29664E-05   -.13585E-04
  15  Prefactor     .10000E-03    46.437        .18493E-06** at limit **
  16  norm          .24628        3.2898        .83046E-06    .23859E-03
  17  Prefactor     .10000E-03    93.248        .28121E-06** at limit **
  18  Prefactor     8.0880        128.12       -.22117E-06    .30619E-05
  19  Prefactor     7.4293        10.256       -.10001E-06    .31669E-03
  20  Prefactor     .10000E-03    53.715       -.97696E-06** at limit **
  21  Normalizat    1.4354        .23145       -.46443E-06    .13243E-03
  22  Prefactor     .57017        .23719       -.61249E-06    .12286E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.542
  Prefactor  = 0.0001
  Prefactor  = 2.85588
  Prefactor  = 0.0001
  norm       = 63.7322
  Prefactor  = 0.000100077
  norm       = 0.0001
  norm       = 15.0291
  Prefactor  = 10.2609
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.525762
  Prefactor  = 0.0001
  norm       = 0.246279
  Prefactor  = 0.0001
  Prefactor  = 8.088
  Prefactor  = 7.42929
  Prefactor  = 0.000100003
  Normalizat = 1.43539
  Prefactor  = 0.570174
 **********
 **   18 **HESSE 
 **********

 FCN=   4041.867     FROM HESSE     STATUS=OK           344 CALLS     2452 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4858        .97575E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.542        21.676        .90538E-04   -1.4824    
   4  Prefactor     .10000E-03    7.4827        .16974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8559        165.00        .24109E-03   -1.5370    
   6  Prefactor     .10000E-03    37.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          63.732        14.733        .50268E-04   -1.4110    
   8  Prefactor     .10008E-03    78.459        .38087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    19.429        .28260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.029        8.9906        .10332E-03   -1.4932    
  11  Prefactor     10.261        29.855        .12509E-03   -1.5067    
  12  Prefactor     .10000E-03    14.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.8117        .83353E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .52576        16.770        .23913E-02   -1.5563    
  15  Prefactor     .10000E-03    46.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .24628        6.8051        .21398E-02   -1.5609    
  17  Prefactor     .10000E-03    93.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.0880        126.96        .14169E-03   -1.5139    
  19  Prefactor     7.4293        10.307        .14710E-03   -1.5163    
  20  Prefactor     .10000E-03    53.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4354        .27460        .21428E-03   -.79611    
  22  Prefactor     .57017        .28085        .34155E-03   -1.0886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08704e-08
Minuit parameter uncertainties:
  1  5.88186e-06
  2  2.16456e-05
  3  21.6848
  4  1.26415e-05
  5  43.5405
  6  8.00979e-05
  7  14.7342
  8  0.00491952
  9  0.00018071
  10  8.99145
  11  29.8985
  12  1.93249e-06
  13  1.11498e-06
  14  5.94001
  15  5.0705e-05
  16  2.58898
  17  0.000210976
  18  64.2507
  19  10.3092
  20  0.00079862
  21  0.274887
  22  0.281545
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  7.986e-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:  5.702e-01  2.815e-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.435e+00  2.749e-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.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/250559/likelihoodResults_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.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) = 4041.8670078
delta logL = -8.96636506695e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4041.86691824
delta logL = -1.07700543595e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5454       1.0000          .0000       10.000    
     3 'Normalizat'    1.4354       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57018       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=   4041.867     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      284 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    177.64        .18142E-02** at limit **
   2  Index         2.5856        5.5001        .50000       -.79531E-05
   3  Normalizat    1.4354        .25808        .21428E-03   -.20957E-05
   4  Prefactor     .57017        .27174        .34156E-03   -.38943E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.58564
  Normalizat = 1.43539
  Prefactor  = 0.570172
 **********
 **   18 **HESSE 
 **********

 FCN=   4041.867     FROM HESSE     STATUS=OK            29 CALLS      313 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.667        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5856        6.2894        .50000       -.50393    
   3  Normalizat    1.4354        .25830        .85712E-05   -.79611    
   4  Prefactor     .57017        .27197        .13662E-04   -1.0886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08146e-10
Minuit parameter uncertainties:
  1  0.000827751
  2  4.44379
  3  0.258537
  4  0.272602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250559': 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) = 4041.86691817
delta logL = -3.48086359736e-08

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  8.278e-04  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.586e+00  4.444e+00  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:  5.702e-01  2.726e-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.435e+00  2.585e-01  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/250559/cmap_HighResolution_650678401_650937601_4FGL_J2359.2-3134_daily_bin1587.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.03e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-09-30 12:31:23.053674', job_id='250559', GAL2='0.57', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1633030283.05', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-3.48e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1587' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:31:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 250559: <4FGL_J2359.2-3134_daily_bin1587> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin1587> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 12:20:58 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:21:00 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:21:00 2021
Terminated at Thu Sep 30 12:31:23 2021
Results reported at Thu Sep 30 12:31:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1587 359.817 -31.5832 650678401 650937601 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 :                                   516.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            625 sec.

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

