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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin673
RA = 359.817, Dec = -31.5832
tmin = 413769601, tmax = 414028801
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='247157', job_status='RUN', time_executed='2021-09-30 12:13:23.836809', time_epoch_executed='1633029203.84' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/247157

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/247157/ft1_4FGL_J2359.2-3134_daily_bin673.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/247157/ft2_4FGL_J2359.2-3134_daily_bin673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/247157/ft1_4FGL_J2359.2-3134_daily_bin673.fits outfile=/scratch/kocevski/247157/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin673.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=413769601.0 tmax=414028801.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 6.15
user 5.92
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/247157/ft1_filtered_4FGL_J2359.2-3134_daily_bin673.fits" evtable="EVENTS" scfile=/scratch/kocevski/247157/ft2_4FGL_J2359.2-3134_daily_bin673.fits sctable="SC_DATA" outfile=/scratch/kocevski/247157/ltcube_413769601_414028801_4FGL_J2359.2-3134_daily_bin673.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/247157/ft2_4FGL_J2359.2-3134_daily_bin673.fits
.....................!
real 12.23
user 11.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/247157/ft1_filtered_4FGL_J2359.2-3134_daily_bin673.fits evtable="EVENTS" scfile=/scratch/kocevski/247157/ft2_4FGL_J2359.2-3134_daily_bin673.fits sctable="SC_DATA" expcube=/scratch/kocevski/247157/ltcube_413769601_414028801_4FGL_J2359.2-3134_daily_bin673.fits outfile=/scratch/kocevski/247157/expmap_413769601_414028801_4FGL_J2359.2-3134_daily_bin673.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/247157/ltcube_413769601_414028801_4FGL_J2359.2-3134_daily_bin673.fits
.....................!
real 190.89
user 184.71
sys 5.85

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/247157/ft1_filtered_4FGL_J2359.2-3134_daily_bin673.fits scfile=/scratch/kocevski/247157/ft2_4FGL_J2359.2-3134_daily_bin673.fits outfile=/scratch/kocevski/247157/cmap_413769601_414028801_4FGL_J2359.2-3134_daily_bin673.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/247157/ft1_filtered_4FGL_J2359.2-3134_daily_bin673.fits scfile=/scratch/kocevski/247157/ft2_4FGL_J2359.2-3134_daily_bin673.fits outfile=/scratch/kocevski/247157/cmap_HighResolution_413769601_414028801_4FGL_J2359.2-3134_daily_bin673.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/247157/ft1_filtered_4FGL_J2359.2-3134_daily_bin673.fits evtable="EVENTS" scfile=/scratch/kocevski/247157/ft2_4FGL_J2359.2-3134_daily_bin673.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/247157/Model_4FGL_J2359.2-3134_daily_bin673.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/247157/ft1_filtered_4FGL_J2359.2-3134_daily_bin673.fits.....................!
real 24.36
user 23.09
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5518       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .44672E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.013       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.995       1.0000         .10000E-03   10000.    
     7 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    16.011       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .47403E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    78.823       1.0000         .10000E-03   10000.    
    13 'norm      '    3.8246       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10460E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .20111E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.008       1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.774       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75832       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77235       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=   1880.545     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2389 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5880        342.95        .10427E-03    .82642E-05
   2  Prefactor     .86911E-01    4.5639        .38710E-05   -.17388E-03
   3  Prefactor     .10000E-03    25.271       -.21175E-05** at limit **
   4  Prefactor     37.008        27.699        .49109E-05   -.12044E-03
   5  Prefactor     .10000E-03    71.947       -.18872E-04** at limit **
   6  Prefactor     18.008        34.570       -.11801E-04    .13089E-04
   7  norm          .10000E-03    10.572       -.45374E-06** at limit **
   8  Prefactor     .10000E-03    19.547        .14554E-06** at limit **
   9  norm          .10000E-03    4.3787       -.12045E-07** at limit **
  10  norm          16.022        21.978       -.20297E-04    .10826E-03
  11  Prefactor     .10001E-03    1067.1       -.16250E-03** at limit **
  12  Prefactor     78.828        94.394        .50120E-05    .23542E-04
  13  norm          3.8335        6.9760        .20234E-05    .98714E-03
  14  norm          .10000E-03    2.5308       -.33469E-07** at limit **
  15  Prefactor     .10000E-03    30.529        .40246E-05** at limit **
  16  norm          .10000E-03    8.0999        .11255E-06** at limit **
  17  Prefactor     .10000E-03    351.86        .81466E-04** at limit **
  18  Prefactor     .10002E-03    381.66       -.21664E-04** at limit **
  19  Prefactor     14.006        10.580        .24917E-05   -.16284E-03
  20  Prefactor     36.656        57.499       -.73661E-04   -.13742E-03
  21  Normalizat    .75750        .25390        .39308E-05   -.82701E-04
  22  Prefactor     .77277        .27403        .33150E-05   -.21984E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.58797
  Prefactor  = 0.086911
  Prefactor  = 0.0001
  Prefactor  = 37.0079
  Prefactor  = 0.0001
  Prefactor  = 18.0081
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 16.0224
  Prefactor  = 0.000100014
  Prefactor  = 78.8282
  norm       = 3.83352
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 14.0062
  Prefactor  = 36.6557
  Normalizat = 0.7575
  Prefactor  = 0.772768
 **********
 **   18 **HESSE 
 **********

 FCN=   1880.545     FROM HESSE     STATUS=OK           336 CALLS     2725 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5880        340.69        .18869E-03   -1.5280    
   2  Prefactor     .86911E-01    65.869        .17248E-02   -1.5649    
   3  Prefactor     .10000E-03    25.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.008        27.735        .65876E-04   -1.4491    
   5  Prefactor     .10000E-03    72.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.008        34.591        .94415E-04   -1.4859    
   7  norm          .10000E-03    10.782        .13762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.131        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.3794        .88585E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          16.022        21.944        .10010E-03   -1.4907    
  11  Prefactor     .10001E-03    1086.0        .42367E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     78.828        94.531        .45234E-04   -1.3930    
  13  norm          3.8335        6.8916        .14610E-03   -1.5316    
  14  norm          .10000E-03    2.5322        .67380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    30.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.2387        .12019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    352.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    386.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.006        10.586        .10702E-03   -1.4959    
  20  Prefactor     36.656        58.125        .66089E-04   -1.4496    
  21  Normalizat    .75750        .30104        .21613E-03   -1.0167    
  22  Prefactor     .77277        .32198        .23788E-03   -1.0074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96193e-09
Minuit parameter uncertainties:
  1  79.5456
  2  4.78783
  3  0.00020565
  4  27.7446
  5  0.000202952
  6  34.63
  7  0.00013524
  8  0.000146549
  9  3.06069e-06
  10  21.9546
  11  0.00786535
  12  94.712
  13  6.89307
  14  3.78833e-06
  15  4.06729e-05
  16  3.03298e-05
  17  0.000387795
  18  0.00554017
  19  10.5879
  20  58.215
  21  0.301703
  22  0.322764
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  3.666e+01  5.822e+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.728e-01  3.228e-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:  7.575e-01  3.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/247157/likelihoodResults_413769601_414028801_4FGL_J2359.2-3134_daily_bin673.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) = 1880.53435938
delta logL = 0.0107735985155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1880.53022005
delta logL = 0.0149129275951

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.747       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3940       1.0000          .0000       10.000    
     3 'Normalizat'    .76176       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76891       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=   1880.530     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      251 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.741        71.893        .61315E-04    .32514E-03
   2  Index         2.3945        1.1699        .84910E-02    .15457E-03
   3  Normalizat    .76140        .28508        .21562E-03   -.13645E-03
   4  Prefactor     .76930        .31713        .23835E-03   -.13518E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.7411
  Index      = 2.39446
  Normalizat = 0.761402
  Prefactor  = 0.769299
 **********
 **   18 **HESSE 
 **********

 FCN=   1880.530     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.741        70.740        .12263E-04   -1.4399    
   2  Index         2.3945        1.1513        .33964E-03   -.54815    
   3  Normalizat    .76140        .28528        .43125E-04   -1.0152    
   4  Prefactor     .76930        .31735        .47670E-04   -1.0087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00707e-09
Minuit parameter uncertainties:
  1  70.8797
  2  1.16576
  3  0.285844
  4  0.318107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/247157': 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) = 1880.53021921
delta logL = 0.0149137623898

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  4.274e+01  7.088e+01  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.394e+00  1.166e+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:  7.693e-01  3.181e-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:  7.614e-01  2.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.67
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/247157/cmap_HighResolution_413769601_414028801_4FGL_J2359.2-3134_daily_bin673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.37e-02', job_status='DONE', photon_flux_upper_limit='1.75e-07', time_completed='2021-09-30 12:20:39.209872', job_id='247157', GAL2='0.77', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1633029639.21', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.49e-02', ts2='0.70', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='673' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:20:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 247157: <4FGL_J2359.2-3134_daily_bin673> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin673> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 30 12:10:28 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:10:30 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:10:30 2021
Terminated at Thu Sep 30 12:20:39 2021
Results reported at Thu Sep 30 12:20:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin673 359.817 -31.5832 413769601 414028801 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 :                                   433.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             217.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            611 sec.

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

