aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 236 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1753
RA = 359.817, Dec = -31.5832
tmin = 693705601, tmax = 693964801
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='470532', job_status='RUN', time_executed='2022-12-29 01:54:41.346801', time_epoch_executed='1672307681.35' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/470532

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/470532/ft1_4FGL_J2359.2-3134_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/470532/ft2_4FGL_J2359.2-3134_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/470532/ft1_4FGL_J2359.2-3134_daily_bin1753.fits outfile=/scratch/kocevski/470532/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1753.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=693705601.0 tmax=693964801.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.76
user 4.47
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/470532/ft2_4FGL_J2359.2-3134_daily_bin1753.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/470532/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/470532/ft1_filtered_4FGL_J2359.2-3134_daily_bin1753.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.54
user 0.38
sys 0.13

Number of photons that the gtmktime cut: 563

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/470532/ft1_filtered_4FGL_J2359.2-3134_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/470532/ft2_4FGL_J2359.2-3134_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/470532/ltcube_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.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/470532/ft2_4FGL_J2359.2-3134_daily_bin1753.fits
.....................!
real 16.06
user 15.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/470532/ft1_filtered_4FGL_J2359.2-3134_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/470532/ft2_4FGL_J2359.2-3134_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/470532/ltcube_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.fits outfile=/scratch/kocevski/470532/expmap_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.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/470532/ltcube_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.fits
.....................!
real 194.79
user 188.92
sys 5.04

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/470532/ft1_filtered_4FGL_J2359.2-3134_daily_bin1753.fits scfile=/scratch/kocevski/470532/ft2_4FGL_J2359.2-3134_daily_bin1753.fits outfile=/scratch/kocevski/470532/cmap_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/470532/ft1_filtered_4FGL_J2359.2-3134_daily_bin1753.fits scfile=/scratch/kocevski/470532/ft2_4FGL_J2359.2-3134_daily_bin1753.fits outfile=/scratch/kocevski/470532/cmap_HighResolution_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.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.59
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/470532/ft1_filtered_4FGL_J2359.2-3134_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/470532/ft2_4FGL_J2359.2-3134_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/470532/Model_4FGL_J2359.2-3134_daily_bin1753.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/470532/ft1_filtered_4FGL_J2359.2-3134_daily_bin1753.fits.....................!
real 47.63
user 46.19
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/470532/ft1_filtered_4FGL_J2359.2-3134_daily_bin1753.fits', '/scratch/kocevski/470532/ft2_4FGL_J2359.2-3134_daily_bin1753.fits', expMap='/scratch/kocevski/470532/expmap_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.fits', expCube='/scratch/kocevski/470532/ltcube_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/470532/Model_4FGL_J2359.2-3134_daily_bin1753.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  0.000e+00  1.000e+06 ( 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/470532/ft1_filtered_4FGL_J2359.2-3134_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/470532/ft2_4FGL_J2359.2-3134_daily_bin1753.fits
Exposure map: /scratch/kocevski/470532/expmap_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.fits
Exposure cube: /scratch/kocevski/470532/ltcube_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/470532/Model_4FGL_J2359.2-3134_daily_bin1753.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) = 6142.86748016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62728E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.1935       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.8804       1.0000          .0000       .10000E+07
     4 'Prefactor '    .75837E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .16287E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12235E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .28610E-04   1.0000          .0000       .10000E+07
     8 'norm      '    2.0454       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.762       1.0000          .0000       .10000E+07
    10 'Prefactor '    .41001E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .95662E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .27672E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .13789E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .83428E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.5167       1.0000          .0000       .10000E+07
    16 'Prefactor '    24.648       1.0000          .0000       .10000E+07
    17 'Normalizat'    .96718       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .56852       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=   6142.779     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1101 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59508E-07    20.404       -.49058E-05** at limit **
   2  Prefactor     2.1983        2.2778        .41280E-07   -.56230E-03
   3  Prefactor     6.8785        6.8610        .64231E-06   -.44154E-02
   4  Prefactor     .77882E-07    266.01       -.59677E-04** at limit **
   5  norm          .16653E-09    1.4560       -.34967E-07** at limit **
   6  Prefactor     .16653E-09    1.5658       -.40582E-06** at limit **
   7  norm          .83267E-09    1.1978        .57542E-06** at limit **
   8  norm          2.0400        5.2700        .64341E-06   -.34661E-02
   9  Prefactor     17.161        6.0613        .17803E-05    .66910E-01
  10  Prefactor     .12212E-08    13.249        .30480E-05** at limit **
  11  norm          .55511E-10    1.5424       -.71421E-08** at limit **
  12  norm          .26645E-08    15.358       -.40696E-05** at limit **
  13  norm           .0000        1.3725       -.18734E-06** at limit **
  14  Prefactor     .28866E-08    10.366        .62340E-05** at limit **
  15  Prefactor     6.5595        5.1019       -.58452E-06    .43671E-02
  16  Prefactor     24.153        27.026        .73845E-05   -.12912E-01
  17  Normalizat    .96742        .14597        .54501E-05    .73797E-03
  18  Prefactor     .56817        .16078       -.79625E-05    .70881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.9508e-08
  Prefactor  = 2.19833
  Prefactor  = 6.8785
  Prefactor  = 7.78821e-08
  norm       = 1.66533e-10
  Prefactor  = 1.66533e-10
  norm       = 8.32667e-10
  norm       = 2.04004
  Prefactor  = 17.1614
  Prefactor  = 1.22125e-09
  norm       = 5.55112e-11
  norm       = 2.66454e-09
  norm       = 0
  Prefactor  = 2.88658e-09
  Prefactor  = 6.5595
  Prefactor  = 24.1527
  Normalizat = 0.967422
  Prefactor  = 0.568171
 **********
 **   18 **HESSE 
 **********

 FCN=   6142.779     FROM HESSE     STATUS=OK           286 CALLS     1387 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59508E-07    20.943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.1983        2.2913        .69456E-03   -1.5678    
   3  Prefactor     6.8785        6.8703        .38225E-03   -1.5656    
   4  Prefactor     .77882E-07    14.868        .86335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16653E-09    1.4542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    1.5687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .83267E-09    1.1997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0400        5.3063        .72265E-03   -1.5679    
   9  Prefactor     17.161        21.382        .24436E-03   -1.5625    
  10  Prefactor     .12212E-08    13.269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    1.5375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .26645E-08    1.6123        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.3689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .28866E-08    10.393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.5595        5.1161        .39289E-03   -1.5657    
  16  Prefactor     24.153        27.693        .20147E-03   -1.5610    
  17  Normalizat    .96742        .12344        .45754E-01   -.94130    
  18  Prefactor     .56817        .13693        .40623E-01   -1.0894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.76253e-07
Minuit parameter uncertainties:
  1  0.00223284
  2  2.29131
  3  6.87027
  4  0.00215217
  5  3.24713e-05
  6  3.15818e-05
  7  6.35977e-05
  8  5.30632
  9  21.3821
  10  0.000255606
  11  1.99873e-05
  12  0.000130504
  13  5.78206e-06
  14  0.000347208
  15  5.11608
  16  27.6928
  17  0.123477
  18  0.137006
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  2.415e+01  2.769e+01  0.000e+00  1.000e+06 ( 1.000e-13)
591        Index:  2.605e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  5.682e-01  1.370e-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.674e-01  1.235e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 359.817 -31.583
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 2.08e-08 +/- 2.38e-08
Energy Flux (Fixed Index): 5.43e-06 +/- 6.22e-06

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

Saving results to:
/scratch/kocevski/470532/likelihoodResults_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.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) = 6142.77368182
delta logL = 0.00556677370241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6142.77160485
delta logL = 0.00764374296068

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.363       1.0000          .0000       .10000E+07
     2 'Index     '    2.7697       1.0000          .0000       10.000    
     3 'Normalizat'    .96341       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57119       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=   6142.772     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      254 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.377        30.302        .84608E-05    .43044E-02
   2  Index         2.7672        1.3565        .45380E-02   -.66058E-04
   3  Normalizat    .96328        .14720        .17781E-03   -.36507E-04
   4  Prefactor     .57132        .16276        .25484E-03   -.15851E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.3765
  Index      = 2.76723
  Normalizat = 0.963285
  Prefactor  = 0.571323
 **********
 **   18 **HESSE 
 **********

 FCN=   6142.772     FROM HESSE     STATUS=OK            23 CALLS      277 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.377        29.512        .16922E-05   -1.5613    
   2  Index         2.7672        1.3207        .18152E-03   -.46291    
   3  Normalizat    .96328        .14712        .71126E-05   -.94271    
   4  Prefactor     .57132        .16276        .10193E-04   -1.0881    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93907e-09
Minuit parameter uncertainties:
  1  29.5121
  2  1.34063
  3  0.147183
  4  0.162896
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/470532': 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) = 6142.77160183
delta logL = 0.00764676313429

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  2.238e+01  2.951e+01  0.000e+00  1.000e+06 ( 1.000e-13)
591        Index:  2.767e+00  1.341e+00  0.000e+00  1.000e+01 (-1.000e+00)
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  5.713e-01  1.629e-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.633e-01  1.472e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.49
Ra Dec: 359.817 -31.583
Photon Index (Free Index): 2.77 +/- 1.34
Photon Flux (Free Index): 2.38e-08 +/- 3.47e-08
Energy Flux (Free Index): 5.45e-06 +/- 5.81e-06

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/470532/cmap_HighResolution_693705601_693964801_4FGL_J2359.2-3134_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-03', comment='SUCCESS', photon_flux='2.08e-08', energy_flux2='5.45e-06', photon_flux_error='2.38e-08', dlogl='7.65e-03', energy_flux='5.43e-06', photon_flux2='2.38e-08', job_status='DONE', time_completed='2022-12-29 02:03:51.692208', photon_index_error2='1.34', photon_index2='2.77', ts='1.47', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='5.81e-06', EG='0.97', time_epoch_completed='1672308231.69', return_code='0', job_id='470532', GAL2='0.57', EG2='0.96', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='3.47e-08', ts2='1.49', photon_index='2.60' WHERE bin_id='1753' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 02:03:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 470532: <4FGL_J2359.2-3134_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin1753> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec 29 01:50:14 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:50:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:50:36 2022
Terminated at Thu Dec 29 02:03:52 2022
Results reported at Thu Dec 29 02:03:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1753 359.817 -31.5832 693705601 693964801 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 :                                   551.55 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             220.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            818 sec.

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

