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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1251
RA = 359.817, Dec = -31.5832
tmin = 563587201, tmax = 563846401
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='250060', job_status='RUN', time_executed='2021-09-30 12:22:23.685764', time_epoch_executed='1633029743.69' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1251'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250060

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250060/ft1_4FGL_J2359.2-3134_daily_bin1251.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250060/ft2_4FGL_J2359.2-3134_daily_bin1251.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250060/ft1_4FGL_J2359.2-3134_daily_bin1251.fits outfile=/scratch/kocevski/250060/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1251.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=563587201.0 tmax=563846401.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 2.75
user 2.55
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250060/ft1_filtered_4FGL_J2359.2-3134_daily_bin1251.fits" evtable="EVENTS" scfile=/scratch/kocevski/250060/ft2_4FGL_J2359.2-3134_daily_bin1251.fits sctable="SC_DATA" outfile=/scratch/kocevski/250060/ltcube_563587201_563846401_4FGL_J2359.2-3134_daily_bin1251.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/250060/ft2_4FGL_J2359.2-3134_daily_bin1251.fits
.....................!
real 12.43
user 12.08
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250060/ft1_filtered_4FGL_J2359.2-3134_daily_bin1251.fits evtable="EVENTS" scfile=/scratch/kocevski/250060/ft2_4FGL_J2359.2-3134_daily_bin1251.fits sctable="SC_DATA" expcube=/scratch/kocevski/250060/ltcube_563587201_563846401_4FGL_J2359.2-3134_daily_bin1251.fits outfile=/scratch/kocevski/250060/expmap_563587201_563846401_4FGL_J2359.2-3134_daily_bin1251.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/250060/ltcube_563587201_563846401_4FGL_J2359.2-3134_daily_bin1251.fits
.....................!
real 191.62
user 185.79
sys 5.51

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/250060/ft1_filtered_4FGL_J2359.2-3134_daily_bin1251.fits scfile=/scratch/kocevski/250060/ft2_4FGL_J2359.2-3134_daily_bin1251.fits outfile=/scratch/kocevski/250060/cmap_563587201_563846401_4FGL_J2359.2-3134_daily_bin1251.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250060/ft1_filtered_4FGL_J2359.2-3134_daily_bin1251.fits scfile=/scratch/kocevski/250060/ft2_4FGL_J2359.2-3134_daily_bin1251.fits outfile=/scratch/kocevski/250060/cmap_HighResolution_563587201_563846401_4FGL_J2359.2-3134_daily_bin1251.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/250060/ft1_filtered_4FGL_J2359.2-3134_daily_bin1251.fits evtable="EVENTS" scfile=/scratch/kocevski/250060/ft2_4FGL_J2359.2-3134_daily_bin1251.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250060/Model_4FGL_J2359.2-3134_daily_bin1251.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/250060/ft1_filtered_4FGL_J2359.2-3134_daily_bin1251.fits.....................!
real 41.56
user 40.29
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0571       1.0000         .10000E-03   10000.    
     3 'Prefactor '    59.588       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0018       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.866       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19081       1.0000         .10000E-03   10000.    
     7 'norm      '    15.072       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.877       1.0000         .10000E-03   10000.    
     9 'norm      '    3.0621       1.0000         .10000E-03   10000.    
    10 'norm      '    .14664       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    42.201       1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.9901       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.316       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3550       1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.498       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.807       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1950       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90544       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96394       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5210.910     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     2036 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    27.949       -.47979E-05** at limit **
   2  Prefactor     2.0550        4.3208        .24383E-06    .11571E-03
   3  Prefactor     59.596        15.490       -.59467E-05   -.52888E-02
   4  Prefactor     7.0012        8.1604        .55920E-05    .12565E-02
   5  Prefactor     12.926        26.385       -.55885E-05   -.27423E-03
   6  Prefactor     .19460E-02    6337.1        .28444E-04** at limit **
   7  norm          15.071        7.4191        .45145E-05    .60759E-03
   8  Prefactor     10.889        4.0153        .46204E-06    .16529E-01
   9  norm          3.0621        2.9653       -.13645E-07    .13919E-04
  10  norm          .15451        69.297       -.36056E-04   -.19201E-03
  11  Prefactor     .10000E-03    21.138        .30504E-05** at limit **
  12  Prefactor     42.235        18.122       -.86687E-05    .17973E-02
  13  norm          .10000E-03    1.4801       -.68458E-06** at limit **
  14  norm          2.9894        3.4385       -.99254E-06    .54002E-04
  15  Prefactor     .10005E-03    28.542        .63844E-05** at limit **
  16  norm          11.316        5.1158        .23971E-05    .56918E-03
  17  Prefactor     1.0664        324.59        .52081E-04   -.11323E-02
  18  Prefactor     27.616        25.771       -.14075E-04    .30751E-02
  19  Prefactor     11.806        7.7411       -.17752E-05    .17196E-02
  20  Prefactor     2.2033        88.728       -.56215E-04   -.75723E-03
  21  Normalizat    .90566        .21964        .11166E-04   -.27584E-04
  22  Prefactor     .96395        .23929       -.70298E-05   -.28466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100054
  Prefactor  = 2.05503
  Prefactor  = 59.5959
  Prefactor  = 7.00124
  Prefactor  = 12.9263
  Prefactor  = 0.00194598
  norm       = 15.0709
  Prefactor  = 10.8887
  norm       = 3.06206
  norm       = 0.154515
  Prefactor  = 0.000100001
  Prefactor  = 42.2347
  norm       = 0.0001
  norm       = 2.98944
  Prefactor  = 0.000100046
  norm       = 11.3163
  Prefactor  = 1.06642
  Prefactor  = 27.6165
  Prefactor  = 11.8062
  Prefactor  = 2.20329
  Normalizat = 0.905664
  Prefactor  = 0.96395
 **********
 **   18 **HESSE 
 **********

 FCN=   5210.910     FROM HESSE     STATUS=OK           406 CALLS     2442 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    28.135        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.0550        4.8729        .72040E-02   -1.5421    
   3  Prefactor     59.596        40.165        .12994E-02   -1.4162    
   4  Prefactor     7.0012        8.1978        .37902E-02   -1.5179    
   5  Prefactor     12.926        28.540        .27919E-02   -1.4989    
   6  Prefactor     .19460E-02    45.469        .12976       -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.071        7.4373        .25792E-02   -1.4931    
   8  Prefactor     10.889        10.192        .30370E-02   -1.5048    
   9  norm          3.0621        2.9564        .57957E-02   -1.5358    
  10  norm          .15451        6.7438        .60189E-01   -1.5629    
  11  Prefactor     .10000E-03    21.113        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     42.235        48.246        .15427E-02   -1.4407    
  13  norm          .10000E-03    1.4717        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.9894        3.4516        .58691E-02   -1.5362    
  15  Prefactor     .10005E-03    28.629        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.316        5.1370        .29773E-02   -1.5035    
  17  Prefactor     1.0664        1192.1        .93891E-02   -1.5501    
  18  Prefactor     27.616        59.417        .19099E-02   -1.4656    
  19  Prefactor     11.806        7.8556        .29146E-02   -1.5021    
  20  Prefactor     2.2033        268.60        .69440E-02   -1.5411    
  21  Normalizat    .90566        .19126        .44971E-01   -.96261    
  22  Prefactor     .96395        .20390        .45815E-01   -.93941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22233e-06
Minuit parameter uncertainties:
  1  0.00245629
  2  4.87386
  3  40.1832
  4  8.19915
  5  28.5704
  6  0.579871
  7  7.43779
  8  10.1939
  9  2.95649
  10  2.04117
  11  0.000263113
  12  48.2903
  13  8.6273e-07
  14  3.45188
  15  0.00230168
  16  5.13718
  17  72.8082
  18  59.5449
  19  7.85628
  20  48.8793
  21  0.191399
  22  0.204066
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  2.203e+00  4.888e+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:  9.640e-01  2.041e-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.057e-01  1.914e-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: 9.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/250060/likelihoodResults_563587201_563846401_4FGL_J2359.2-3134_daily_bin1251.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) = 5210.90666502
delta logL = 0.0031773030496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5210.90381088
delta logL = 0.00603143939043

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9056       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2593       1.0000          .0000       10.000    
     3 'Normalizat'    .90553       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96261       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=   5210.904     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      278 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9866        109.97        .16525E-03   -.35087E-05
   2  Index         2.2761        2.2664        .17670E-01    .14778E-05
   3  Normalizat    .90554        .21151        .24064E-03    .11556E-03
   4  Prefactor     .96277        .23677        .26087E-03   -.11096E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.98656
  Index      = 2.27614
  Normalizat = 0.905545
  Prefactor  = 0.962774
 **********
 **   18 **HESSE 
 **********

 FCN=   5210.904     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9866        106.40        .66099E-05   -1.5219    
   2  Index         2.2761        2.2358        .70682E-03   -.57612    
   3  Normalizat    .90554        .21176        .96255E-05   -.96266    
   4  Prefactor     .96277        .23696        .10435E-04   -.93981    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88857e-10
Minuit parameter uncertainties:
  1  50.5824
  2  2.35819
  3  0.211958
  4  0.237212
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250060': 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) = 5210.90378162
delta logL = 0.00606069919559

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  5.987e+00  5.058e+01  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.276e+00  2.358e+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:  9.628e-01  2.372e-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.055e-01  2.120e-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/250060/cmap_HighResolution_563587201_563846401_4FGL_J2359.2-3134_daily_bin1251.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.82e-03', job_status='DONE', photon_flux_upper_limit='9.99e-08', time_completed='2021-09-30 12:31:57.807002', job_id='250060', GAL2='0.96', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1633030317.81', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='6.06e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1251' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:31:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 250060: <4FGL_J2359.2-3134_daily_bin1251> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1251 359.817 -31.5832 563587201 563846401 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 :                                   572.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            703 sec.

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

