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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1079
RA = 359.817, Dec = -31.5832
tmin = 519004801, tmax = 519264001
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='248898', job_status='RUN', time_executed='2021-09-30 12:18:35.395653', time_epoch_executed='1633029515.4' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1079'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248898

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248898/ft1_4FGL_J2359.2-3134_daily_bin1079.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248898/ft2_4FGL_J2359.2-3134_daily_bin1079.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248898/ft1_4FGL_J2359.2-3134_daily_bin1079.fits outfile=/scratch/kocevski/248898/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1079.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=519004801.0 tmax=519264001.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.57
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248898/ft1_filtered_4FGL_J2359.2-3134_daily_bin1079.fits" evtable="EVENTS" scfile=/scratch/kocevski/248898/ft2_4FGL_J2359.2-3134_daily_bin1079.fits sctable="SC_DATA" outfile=/scratch/kocevski/248898/ltcube_519004801_519264001_4FGL_J2359.2-3134_daily_bin1079.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/248898/ft2_4FGL_J2359.2-3134_daily_bin1079.fits
.....................!
real 15.10
user 14.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248898/ft1_filtered_4FGL_J2359.2-3134_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/248898/ft2_4FGL_J2359.2-3134_daily_bin1079.fits sctable="SC_DATA" expcube=/scratch/kocevski/248898/ltcube_519004801_519264001_4FGL_J2359.2-3134_daily_bin1079.fits outfile=/scratch/kocevski/248898/expmap_519004801_519264001_4FGL_J2359.2-3134_daily_bin1079.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/248898/ltcube_519004801_519264001_4FGL_J2359.2-3134_daily_bin1079.fits
.....................!
real 191.33
user 185.89
sys 5.10

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/248898/ft1_filtered_4FGL_J2359.2-3134_daily_bin1079.fits scfile=/scratch/kocevski/248898/ft2_4FGL_J2359.2-3134_daily_bin1079.fits outfile=/scratch/kocevski/248898/cmap_519004801_519264001_4FGL_J2359.2-3134_daily_bin1079.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/248898/ft1_filtered_4FGL_J2359.2-3134_daily_bin1079.fits scfile=/scratch/kocevski/248898/ft2_4FGL_J2359.2-3134_daily_bin1079.fits outfile=/scratch/kocevski/248898/cmap_HighResolution_519004801_519264001_4FGL_J2359.2-3134_daily_bin1079.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/248898/ft1_filtered_4FGL_J2359.2-3134_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/248898/ft2_4FGL_J2359.2-3134_daily_bin1079.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248898/Model_4FGL_J2359.2-3134_daily_bin1079.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/248898/ft1_filtered_4FGL_J2359.2-3134_daily_bin1079.fits.....................!
real 38.18
user 36.98
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.631       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18209E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9416       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    22.440       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6868       1.0000         .10000E-03   10000.    
     9 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.724       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.2770       1.0000         .10000E-03   10000.    
    14 'norm      '    1.2698       1.0000         .10000E-03   10000.    
    15 'Prefactor '    48.274       1.0000         .10000E-03   10000.    
    16 'norm      '    3.5064       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .43132E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .95072       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81656       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=   4524.049     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2377 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.537        62.807       -.17056E-03    .26394E-04
   2  Prefactor     .10000E-03    2.2075       -.13498E-05** at limit **
   3  Prefactor     3.9827        15.422       -.29160E-05    .17058E-03
   4  Prefactor     .10000E-03    5.1182       -.10350E-06** at limit **
   5  Prefactor     .10000E-03    29.599        .14454E-04** at limit **
   6  Prefactor     .10000E-03    8.8272        .30547E-06** at limit **
   7  norm          22.442        9.2690       -.22163E-05    .12768E-03
   8  Prefactor     1.6878        8.5147       -.56635E-05   -.55989E-03
   9  norm          .10000E-03    4.2620        .60748E-06** at limit **
  10  norm          .10000E-03    2.8298       -.15560E-06** at limit **
  11  Prefactor     19.676        70.574       -.82496E-04    .57506E-04
  12  Prefactor     .10000E-03    42.700        .22882E-05** at limit **
  13  norm          6.2783        7.2096        .10881E-04   -.47031E-03
  14  norm          1.2708        4.8518        .17317E-05   -.46890E-03
  15  Prefactor     48.260        53.286       -.13688E-04   -.15581E-04
  16  norm          3.5065        3.5128        .13154E-05    .33811E-03
  17  Prefactor     .10000E-03    137.41        .17752E-04** at limit **
  18  Prefactor     .10002E-03    204.69       -.13800E-04** at limit **
  19  Prefactor     .10000E-03    2.7754       -.12682E-06** at limit **
  20  Prefactor     .10000E-03    31.584       -.17794E-04** at limit **
  21  Normalizat    .95083        .17733        .90067E-05    .23307E-03
  22  Prefactor     .81636        .19565        .44347E-05    .60975E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.5369
  Prefactor  = 0.0001
  Prefactor  = 3.98269
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 22.4416
  Prefactor  = 1.68779
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 19.676
  Prefactor  = 0.000100001
  norm       = 6.2783
  norm       = 1.27082
  Prefactor  = 48.2599
  norm       = 3.50653
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.950833
  Prefactor  = 0.816358
 **********
 **   18 **HESSE 
 **********

 FCN=   4524.049     FROM HESSE     STATUS=OK           338 CALLS     2715 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.537        63.335        .10130E-03   -1.4919    
   2  Prefactor     .10000E-03    11.948        .18195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.9827        14.697        .20319E-03   -1.5309    
   4  Prefactor     .10000E-03    5.1275        .14861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.8294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          22.442        9.2884        .84555E-04   -1.4760    
   8  Prefactor     1.6878        8.5834        .32420E-03   -1.5448    
   9  norm          .10000E-03    4.3045        .13517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.8378        .11050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.676        71.237        .90184E-04   -1.4821    
  12  Prefactor     .10000E-03    42.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.2783        7.2718        .12979E-03   -1.5207    
  14  norm          1.2708        4.5915        .22722E-03   -1.5483    
  15  Prefactor     48.260        50.642        .57714E-04   -1.4317    
  16  norm          3.5065        3.5097        .11980E-03   -1.5333    
  17  Prefactor     .10000E-03    137.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    207.46        .21229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.7978        .10939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    31.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .95083        .21150        .21224E-03   -.94696    
  22  Prefactor     .81636        .23302        .25489E-03   -.99128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02957e-09
Minuit parameter uncertainties:
  1  62.8537
  2  0.000148796
  3  14.7108
  4  2.68951e-05
  5  0.000287375
  6  2.2945e-05
  7  9.28895
  8  7.61385
  9  0.000134015
  10  1.82598e-05
  11  71.5472
  12  0.000370589
  13  7.27286
  14  4.59278
  15  50.6868
  16  3.5099
  17  0.000470157
  18  0.00357082
  19  1.51257e-05
  20  0.000157338
  21  0.211683
  22  0.233298
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  1.573e-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:  8.164e-01  2.333e-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:  9.508e-01  2.117e-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: 7.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248898/likelihoodResults_519004801_519264001_4FGL_J2359.2-3134_daily_bin1079.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) = 4524.04941771
delta logL = -0.000150410110109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4524.04926875
delta logL = -1.45470949064e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10577E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9666       1.0000          .0000       10.000    
     3 'Normalizat'    .95083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81636       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=   4524.049     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      269 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11308E-03    22.227        .18142E-01** at limit **
   2  Index         2.7877        6.6653        .50000        .17933E-04
   3  Normalizat    .95084        .41026E-02    .21224E-03   -.14650E-03
   4  Prefactor     .81635        .46233E-02    .25489E-03   -.12872E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000113083
  Index      = 2.78768
  Normalizat = 0.950839
  Prefactor  = 0.816349
 **********
 **   18 **HESSE 
 **********

 FCN=   4524.049     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      298 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11308E-03    131.00        .31820E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7877        6.1052        .50000       -.45834    
   3  Normalizat    .95084        .99731E-02    .42448E-04   -.94696    
   4  Prefactor     .81635        .11239E-01    .10195E-04   -.99128    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.62202e-08
Minuit parameter uncertainties:
  1  0.0829794
  2  401.591
  3  0.00997308
  4  0.0112389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248898': 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) = 4524.0492681
delta logL = -8.0621066445e-07

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.131e-04  8.298e-02  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.788e+00  4.016e+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:  8.163e-01  1.124e-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:  9.508e-01  9.973e-03  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/248898/cmap_HighResolution_519004801_519264001_4FGL_J2359.2-3134_daily_bin1079.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.04e-03', job_status='DONE', photon_flux_upper_limit='7.72e-08', time_completed='2021-09-30 12:28:21.543602', job_id='248898', GAL2='0.82', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1633030101.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='-8.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1079' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:28:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 248898: <4FGL_J2359.2-3134_daily_bin1079> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin1079> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 12:15:52 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:15:55 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:15:55 2021
Terminated at Thu Sep 30 12:28:22 2021
Results reported at Thu Sep 30 12:28:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1079 359.817 -31.5832 519004801 519264001 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 :                                   556.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            750 sec.

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

