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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1156
RA = 359.817, Dec = -31.5832
tmin = 538963201, tmax = 539222401
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='249011', job_status='RUN', time_executed='2021-09-30 12:19:59.745385', time_epoch_executed='1633029599.75' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/249011

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/249011/ft1_4FGL_J2359.2-3134_daily_bin1156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/249011/ft2_4FGL_J2359.2-3134_daily_bin1156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/249011/ft1_4FGL_J2359.2-3134_daily_bin1156.fits outfile=/scratch/kocevski/249011/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1156.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=538963201.0 tmax=539222401.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.59
user 4.38
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/249011/ft1_filtered_4FGL_J2359.2-3134_daily_bin1156.fits" evtable="EVENTS" scfile=/scratch/kocevski/249011/ft2_4FGL_J2359.2-3134_daily_bin1156.fits sctable="SC_DATA" outfile=/scratch/kocevski/249011/ltcube_538963201_539222401_4FGL_J2359.2-3134_daily_bin1156.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/249011/ft2_4FGL_J2359.2-3134_daily_bin1156.fits
.....................!
real 13.14
user 12.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/249011/ft1_filtered_4FGL_J2359.2-3134_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/249011/ft2_4FGL_J2359.2-3134_daily_bin1156.fits sctable="SC_DATA" expcube=/scratch/kocevski/249011/ltcube_538963201_539222401_4FGL_J2359.2-3134_daily_bin1156.fits outfile=/scratch/kocevski/249011/expmap_538963201_539222401_4FGL_J2359.2-3134_daily_bin1156.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/249011/ltcube_538963201_539222401_4FGL_J2359.2-3134_daily_bin1156.fits
.....................!
real 190.05
user 184.97
sys 4.76

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/249011/ft1_filtered_4FGL_J2359.2-3134_daily_bin1156.fits scfile=/scratch/kocevski/249011/ft2_4FGL_J2359.2-3134_daily_bin1156.fits outfile=/scratch/kocevski/249011/cmap_538963201_539222401_4FGL_J2359.2-3134_daily_bin1156.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/249011/ft1_filtered_4FGL_J2359.2-3134_daily_bin1156.fits scfile=/scratch/kocevski/249011/ft2_4FGL_J2359.2-3134_daily_bin1156.fits outfile=/scratch/kocevski/249011/cmap_HighResolution_538963201_539222401_4FGL_J2359.2-3134_daily_bin1156.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/249011/ft1_filtered_4FGL_J2359.2-3134_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/249011/ft2_4FGL_J2359.2-3134_daily_bin1156.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/249011/Model_4FGL_J2359.2-3134_daily_bin1156.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/249011/ft1_filtered_4FGL_J2359.2-3134_daily_bin1156.fits.....................!
real 51.24
user 49.96
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    64.397       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4474       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.4015       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8614       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    88.952       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.6594       1.0000         .10000E-03   10000.    
    13 'norm      '    4.6904       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0485       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3430       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.386       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.068       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0554       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82747       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=   6903.888     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2350 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.398        45.634        .12502E-02   -.42298E-03
   2  Prefactor     1.4477        3.1969        .89564E-02    .10595E-02
   3  Prefactor     8.4023        13.088        .34576E-02    .67069E-04
   4  Prefactor     .10000E-03    4.2378        .90712E-02** at limit **
   5  Prefactor     .10000E-03    22.991        .90712E-02** at limit **
   6  Prefactor     .10000E-03    9.4267        .90712E-02** at limit **
   7  norm          .10000E-03    2.0046        .90712E-02** at limit **
   8  Prefactor     .10000E-03    6.4471        .90712E-02** at limit **
   9  norm          2.8615        3.0051        .60081E-02    .30354E-03
  10  norm          .10000E-03    2.0619        .90712E-02** at limit **
  11  Prefactor     88.953        60.616        .10650E-02   -.19752E-02
  12  Prefactor     9.6608        35.158        .32235E-02   -.48685E-03
  13  norm          4.6904        5.0551        .46453E-02   -.23429E-02
  14  norm          1.0475        2.0889        .33757E-01    .10552E-02
  15  Prefactor     .10000E-03    12.678        .90712E-02** at limit **
  16  norm          2.3433        3.5166        .66961E-02    .28607E-03
  17  Prefactor     .10000E-03    52.102        .90712E-02** at limit **
  18  Prefactor     13.384        27.272        .27370E-02    .40447E-03
  19  Prefactor     .10000E-03    1.7427        .90712E-02** at limit **
  20  Prefactor     10.067        19.835        .31571E-02    .14337E-03
  21  Normalizat    1.0552        .14514        .40212E-01    .61138E-05
  22  Prefactor     .82755        .16170        .44074E-01    .18704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.3977
  Prefactor  = 1.44765
  Prefactor  = 8.40231
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.86148
  norm       = 0.0001
  Prefactor  = 88.9533
  Prefactor  = 9.66081
  norm       = 4.69037
  norm       = 1.04751
  Prefactor  = 0.0001
  norm       = 2.3433
  Prefactor  = 0.0001
  Prefactor  = 13.3845
  Prefactor  = 0.0001
  Prefactor  = 10.0669
  Normalizat = 1.05524
  Prefactor  = 0.82755
 **********
 **   18 **HESSE 
 **********

 FCN=   6903.888     FROM HESSE     STATUS=OK           340 CALLS     2690 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.398        45.643        .50008E-04   -1.4101    
   2  Prefactor     1.4477        3.1555        .19788E-03   -1.5467    
   3  Prefactor     8.4023        12.985        .13831E-03   -1.5128    
   4  Prefactor     .10000E-03    4.2484        .16704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.4370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.0274        .11487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.6429        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8615        3.0122        .14146E-03   -1.5370    
  10  norm          .10000E-03    2.0725        .11650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     88.953        60.324        .42602E-04   -1.3819    
  12  Prefactor     9.6608        35.236        .12894E-03   -1.5086    
  13  norm          4.6904        5.0288        .14724E-03   -1.5275    
  14  norm          1.0475        1.8353        .16417E-02   -1.5503    
  15  Prefactor     .10000E-03    12.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3433        3.4770        .17251E-03   -1.5402    
  17  Prefactor     .10000E-03    52.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.384        27.266        .10948E-03   -1.4976    
  19  Prefactor     .10000E-03    1.7584        .10707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.067        19.792        .12628E-03   -1.5073    
  21  Normalizat    1.0552        .17120        .20365E-03   -.91202    
  22  Prefactor     .82755        .19065        .26034E-03   -.98721    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.106e-08
Minuit parameter uncertainties:
  1  45.6676
  2  3.1559
  3  12.9897
  4  1.32111e-06
  5  5.02804e-05
  6  2.68805e-05
  7  2.45135e-06
  8  6.91368e-06
  9  3.01241
  10  1.50549e-06
  11  60.3658
  12  35.3124
  13  5.0292
  14  1.83536
  15  3.66676e-05
  16  3.47731
  17  1.58134e-05
  18  27.2918
  19  2.23825e-06
  20  19.8051
  21  0.171293
  22  0.190797
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.007e+01  1.981e+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:  8.275e-01  1.908e-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.055e+00  1.713e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 359.817 -31.583
Photon Flux Upper Limit: 5.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/249011/likelihoodResults_538963201_539222401_4FGL_J2359.2-3134_daily_bin1156.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) = 6903.64295882
delta logL = 0.244940100813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6903.64268411
delta logL = 0.245214815152

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.857       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9439       1.0000          .0000       10.000    
     3 'Normalizat'    1.0605       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82085       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=   6903.643     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      244 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.878        426.66        .23058E-02    .11244E-03
   2  Index         1.9439        5.9246        .26122       -.15863E-04
   3  Normalizat    1.0604        .15229        .39905E-01    .67168E-05
   4  Prefactor     .82088        .17935        .43988E-01    .18617E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.8779
  Index      = 1.94391
  Normalizat = 1.06044
  Prefactor  = 0.820878
 **********
 **   18 **HESSE 
 **********

 FCN=   6903.643     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.878        25.997        .46116E-03   -1.4839    
   2  Index         1.9439        .76764        .12870E-01   -.65760    
   3  Normalizat    1.0604        .16419        .20318E-03   -.91032    
   4  Prefactor     .82088        .18896        .26117E-03   -.98963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88225e-10
Minuit parameter uncertainties:
  1  26.0127
  2  0.772542
  3  0.164268
  4  0.189109
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/249011': 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) = 6903.64268378
delta logL = 0.245215135647

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.888e+01  2.601e+01  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  1.944e+00  7.725e-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:  8.209e-01  1.891e-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.060e+00  1.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/249011/cmap_HighResolution_538963201_539222401_4FGL_J2359.2-3134_daily_bin1156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2021-09-30 12:31:56.115507', job_id='249011', GAL2='0.82', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1633030316.12', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.45e-01', ts2='0.84', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1156' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:31:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 249011: <4FGL_J2359.2-3134_daily_bin1156> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin1156> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 12:16:04 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:16:05 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:16:05 2021
Terminated at Thu Sep 30 12:31:56 2021
Results reported at Thu Sep 30 12:31:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1156 359.817 -31.5832 538963201 539222401 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 :                                   691.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             233.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            952 sec.

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

