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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1216
RA = 359.817, Dec = -31.5832
tmin = 554515201, tmax = 554774401
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='250009', job_status='RUN', time_executed='2021-09-30 12:21:54.791040', time_epoch_executed='1633029714.79' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1216'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250009

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250009/ft1_4FGL_J2359.2-3134_daily_bin1216.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250009/ft2_4FGL_J2359.2-3134_daily_bin1216.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250009/ft1_4FGL_J2359.2-3134_daily_bin1216.fits outfile=/scratch/kocevski/250009/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1216.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=554515201.0 tmax=554774401.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 4.09
user 3.86
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250009/ft1_filtered_4FGL_J2359.2-3134_daily_bin1216.fits" evtable="EVENTS" scfile=/scratch/kocevski/250009/ft2_4FGL_J2359.2-3134_daily_bin1216.fits sctable="SC_DATA" outfile=/scratch/kocevski/250009/ltcube_554515201_554774401_4FGL_J2359.2-3134_daily_bin1216.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/250009/ft2_4FGL_J2359.2-3134_daily_bin1216.fits
.....................!
real 12.00
user 11.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250009/ft1_filtered_4FGL_J2359.2-3134_daily_bin1216.fits evtable="EVENTS" scfile=/scratch/kocevski/250009/ft2_4FGL_J2359.2-3134_daily_bin1216.fits sctable="SC_DATA" expcube=/scratch/kocevski/250009/ltcube_554515201_554774401_4FGL_J2359.2-3134_daily_bin1216.fits outfile=/scratch/kocevski/250009/expmap_554515201_554774401_4FGL_J2359.2-3134_daily_bin1216.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/250009/ltcube_554515201_554774401_4FGL_J2359.2-3134_daily_bin1216.fits
.....................!
real 190.84
user 185.26
sys 5.02

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/250009/ft1_filtered_4FGL_J2359.2-3134_daily_bin1216.fits scfile=/scratch/kocevski/250009/ft2_4FGL_J2359.2-3134_daily_bin1216.fits outfile=/scratch/kocevski/250009/cmap_554515201_554774401_4FGL_J2359.2-3134_daily_bin1216.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/250009/ft1_filtered_4FGL_J2359.2-3134_daily_bin1216.fits scfile=/scratch/kocevski/250009/ft2_4FGL_J2359.2-3134_daily_bin1216.fits outfile=/scratch/kocevski/250009/cmap_HighResolution_554515201_554774401_4FGL_J2359.2-3134_daily_bin1216.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.57
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/250009/ft1_filtered_4FGL_J2359.2-3134_daily_bin1216.fits evtable="EVENTS" scfile=/scratch/kocevski/250009/ft2_4FGL_J2359.2-3134_daily_bin1216.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250009/Model_4FGL_J2359.2-3134_daily_bin1216.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/250009/ft1_filtered_4FGL_J2359.2-3134_daily_bin1216.fits.....................!
real 41.46
user 39.86
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0439       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2085       1.0000         .10000E-03   10000.    
     7 'norm      '    59.857       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4852       1.0000         .10000E-03   10000.    
     9 'norm      '    5.1944       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4552       1.0000         .10000E-03   10000.    
    13 'norm      '    14.559       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.0816       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .53218E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    70.602       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2269       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79004       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=   5088.098     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2733 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    91.700       -.15504E-05** at limit **
   2  Prefactor     6.0441        4.9147        .13264E-06    .34840E-04
   3  Prefactor     .10000E-03    25.333        .16620E-06** at limit **
   4  Prefactor     .10000E-03    9.5327        .57856E-07** at limit **
   5  Prefactor     .10000E-03    65.989        .70244E-06** at limit **
   6  Prefactor     3.2089        42.477        .15737E-04   -.54159E-04
   7  norm          59.858        15.153        .75382E-07   -.84477E-05
   8  Prefactor     6.4850        7.6785        .15217E-07    .15033E-04
   9  norm          5.1943        4.8099       -.26040E-09    .63714E-04
  10  norm          .10000E-03    3.5946       -.71040E-08** at limit **
  11  Prefactor     .10000E-03    61.175        .56704E-06** at limit **
  12  Prefactor     4.4540        50.276        .79906E-06   -.66481E-05
  13  norm          14.559        6.2630        .15820E-06   -.14178E-03
  14  norm          .10000E-03    1.6629       -.14055E-07** at limit **
  15  Prefactor     9.0691        27.854       -.62581E-06   -.39133E-04
  16  norm          .10000E-03    2.3486       -.66192E-07** at limit **
  17  Prefactor     .10040E-03    1277.1       -.27863E-04** at limit **
  18  Prefactor     .10000E-03    52.909       -.85575E-06** at limit **
  19  Prefactor     .10000E-03    3.0232        .11983E-06** at limit **
  20  Prefactor     70.615        60.259        .45404E-06    .98639E-04
  21  Normalizat    1.2270        .19496       -.10667E-05   -.13236E-04
  22  Prefactor     .78995        .20333       -.33199E-06   -.62824E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 6.04406
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 3.20894
  norm       = 59.8577
  Prefactor  = 6.48499
  norm       = 5.19435
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 4.45401
  norm       = 14.5594
  norm       = 0.0001
  Prefactor  = 9.06914
  norm       = 0.0001
  Prefactor  = 0.000100401
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 70.6153
  Normalizat = 1.22697
  Prefactor  = 0.789947
 **********
 **   18 **HESSE 
 **********

 FCN=   5088.098     FROM HESSE     STATUS=OK           340 CALLS     3073 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    92.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0441        4.9076        .13353E-03   -1.5216    
   3  Prefactor     .10000E-03    25.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.5517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    67.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.2089        42.812        .11309E-02   -1.5350    
   7  norm          59.858        15.161        .51859E-04   -1.4159    
   8  Prefactor     6.4850        7.6812        .15760E-03   -1.5199    
   9  norm          5.1943        4.8156        .14188E-03   -1.5252    
  10  norm          .10000E-03    3.6052        .13205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    61.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.4540        50.319        .19077E-03   -1.5286    
  13  norm          14.559        6.2667        .10497E-03   -1.4945    
  14  norm          .10000E-03    1.6646        .89825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.0691        27.855        .13300E-03   -1.5106    
  16  norm          .10000E-03    2.3670        .10662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10040E-03    1326.7        .42252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    53.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.0333        .12108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     70.615        60.429        .47775E-04   -1.4025    
  21  Normalizat    1.2270        .23400        .22923E-03   -.85773    
  22  Prefactor     .78995        .24292        .30039E-03   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.89936e-10
Minuit parameter uncertainties:
  1  0.00121347
  2  4.90796
  3  1.32118e-05
  4  1.8759e-05
  5  0.000698102
  6  23.462
  7  15.1616
  8  7.68232
  9  4.81597
  10  3.8944e-06
  11  0.000647884
  12  29.9729
  13  6.26702
  14  3.58579e-06
  15  27.8951
  16  9.16797e-07
  17  0.0472373
  18  0.000823221
  19  2.26455e-06
  20  60.4817
  21  0.234196
  22  0.243253
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  7.062e+01  6.048e+01  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.899e-01  2.433e-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.227e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.05
Ra Dec: 359.817 -31.583
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 6.08e-08 +/- 5.20e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 1.36e-05

TS (Fixed Index): 2.05
Ra Dec: 359.817 -31.583
Photon Flux Upper Limit: 1.67e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.31e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/250009/likelihoodResults_554515201_554774401_4FGL_J2359.2-3134_daily_bin1216.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) = 5088.09700269
delta logL = 0.000865835879267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5088.09654521
delta logL = 0.00132331884106

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    72.671       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5683       1.0000          .0000       10.000    
     3 'Normalizat'    1.2286       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78844       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.

 FCN=   5088.097     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      233 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     72.671        1604.6        .11774E-02   -.36113E-04
   2  Index         2.5683        6.2365        .20748        .47429E-04
   3  Normalizat    1.2285        .80357E-01    .51819E-01    .29019E-05
   4  Prefactor     .78856        .84829E-01    .67946E-01    .15767E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 72.6709
  Index      = 2.56834
  Normalizat = 1.2285
  Prefactor  = 0.788565
 **********
 **   18 **HESSE 
 **********

 FCN=   5088.097     FROM HESSE     STATUS=OK            31 CALLS      264 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     72.671        74.517        .47095E-04   -1.4001    
   2  Index         2.5683        .72184        .73201E-02   -.50789    
   3  Normalizat    1.2285        .22929        .22911E-03   -.85727    
   4  Prefactor     .78856        .24415        .30062E-03   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12002e-09
Minuit parameter uncertainties:
  1  74.6132
  2  0.725161
  3  0.229482
  4  0.244485
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250009': 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) = 5088.09654508
delta logL = 0.00132344917165

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  7.267e+01  7.461e+01  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.568e+00  7.252e-01  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.886e-01  2.445e-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.229e+00  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.04
Ra Dec: 359.817 -31.583
Photon Index (Free Index): 2.57 +/- 0.73
Photon Flux (Free Index): 5.98e-08 +/- 5.36e-08
Energy Flux (Free Index): 1.62e-05 +/- 1.50e-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/250009/cmap_HighResolution_554515201_554774401_4FGL_J2359.2-3134_daily_bin1216.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', comment='SUCCESS', photon_flux='6.08e-08', energy_flux2='1.62e-05', photon_flux_error='5.20e-08', dlogl='1.32e-03', energy_flux='1.59e-05', photon_flux2='5.98e-08', job_status='DONE', time_completed='2021-09-30 12:32:08.484890', photon_index_error2='0.73', photon_index2='2.57', ts='2.05', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.50e-05', EG='1.23', time_epoch_completed='1633030328.48', return_code='0', job_id='250009', GAL2='0.79', EG2='1.23', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='5.36e-08', ts2='2.04', photon_index='2.60' WHERE bin_id='1216' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:32:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 250009: <4FGL_J2359.2-3134_daily_bin1216> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin1216> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 12:20:12 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:20:14 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:14 2021
Terminated at Thu Sep 30 12:32:09 2021
Results reported at Thu Sep 30 12:32:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1216 359.817 -31.5832 554515201 554774401 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 :                                   610.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            717 sec.

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

