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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1089
RA = 359.817, Dec = -31.5832
tmin = 521596801, tmax = 521856001
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='248912', job_status='RUN', time_executed='2021-09-30 12:19:47.945065', time_epoch_executed='1633029587.95' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1089'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248912

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248912/ft1_4FGL_J2359.2-3134_daily_bin1089.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248912/ft2_4FGL_J2359.2-3134_daily_bin1089.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248912/ft1_4FGL_J2359.2-3134_daily_bin1089.fits outfile=/scratch/kocevski/248912/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1089.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=521596801.0 tmax=521856001.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.48
user 4.13
sys 0.18

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248912/ft1_filtered_4FGL_J2359.2-3134_daily_bin1089.fits" evtable="EVENTS" scfile=/scratch/kocevski/248912/ft2_4FGL_J2359.2-3134_daily_bin1089.fits sctable="SC_DATA" outfile=/scratch/kocevski/248912/ltcube_521596801_521856001_4FGL_J2359.2-3134_daily_bin1089.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/248912/ft2_4FGL_J2359.2-3134_daily_bin1089.fits
.....................!
real 11.67
user 11.30
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248912/ft1_filtered_4FGL_J2359.2-3134_daily_bin1089.fits evtable="EVENTS" scfile=/scratch/kocevski/248912/ft2_4FGL_J2359.2-3134_daily_bin1089.fits sctable="SC_DATA" expcube=/scratch/kocevski/248912/ltcube_521596801_521856001_4FGL_J2359.2-3134_daily_bin1089.fits outfile=/scratch/kocevski/248912/expmap_521596801_521856001_4FGL_J2359.2-3134_daily_bin1089.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/248912/ltcube_521596801_521856001_4FGL_J2359.2-3134_daily_bin1089.fits
.....................!
real 189.54
user 185.17
sys 4.06

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/248912/ft1_filtered_4FGL_J2359.2-3134_daily_bin1089.fits scfile=/scratch/kocevski/248912/ft2_4FGL_J2359.2-3134_daily_bin1089.fits outfile=/scratch/kocevski/248912/cmap_521596801_521856001_4FGL_J2359.2-3134_daily_bin1089.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/248912/ft1_filtered_4FGL_J2359.2-3134_daily_bin1089.fits scfile=/scratch/kocevski/248912/ft2_4FGL_J2359.2-3134_daily_bin1089.fits outfile=/scratch/kocevski/248912/cmap_HighResolution_521596801_521856001_4FGL_J2359.2-3134_daily_bin1089.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.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/248912/ft1_filtered_4FGL_J2359.2-3134_daily_bin1089.fits evtable="EVENTS" scfile=/scratch/kocevski/248912/ft2_4FGL_J2359.2-3134_daily_bin1089.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248912/Model_4FGL_J2359.2-3134_daily_bin1089.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/248912/ft1_filtered_4FGL_J2359.2-3134_daily_bin1089.fits.....................!
real 42.96
user 41.75
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    116.28       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3316       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8987       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5262       1.0000         .10000E-03   10000.    
     7 'norm      '    17.448       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .20960E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2216       1.0000         .10000E-03   10000.    
    14 'norm      '    5.1408       1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.912       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5407       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2330       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .73085       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=   5574.422     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2448 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     116.28        56.992        .70075E-05   -.31449E-03
   2  Prefactor     .10000E-03    1.3688        .24368E-07** at limit **
   3  Prefactor     .10000E-03    9.3123        .11236E-07** at limit **
   4  Prefactor     1.3277        20.112       -.83239E-05   -.19892E-03
   5  Prefactor     9.8955        19.705        .12277E-04   -.35027E-03
   6  Prefactor     1.4952        104.24       -.26249E-04   -.48920E-05
   7  norm          17.450        7.7882        .30433E-06    .21680E-04
   8  Prefactor     .67262E-01    8.1804        .17834E-06   -.25855E-04
   9  norm          .10000E-03    1.7094        .26925E-07** at limit **
  10  norm          .10000E-03    1.9902        .17965E-08** at limit **
  11  Prefactor     .10000E-03    49.244       -.56189E-07** at limit **
  12  Prefactor     .10000E-03    20.116        .14787E-06** at limit **
  13  norm          1.2239        3.7396       -.96752E-06   -.87997E-03
  14  norm          5.1441        4.2074       -.29534E-06   -.17596E-03
  15  Prefactor     25.856        32.593        .23040E-05   -.70734E-04
  16  norm          1.5415        2.7350       -.95710E-07   -.39151E-03
  17  Prefactor     .10000E-03    28.029       -.99293E-07** at limit **
  18  Prefactor     .10000E-03    22.021       -.25379E-07** at limit **
  19  Prefactor     .10000E-03    2.1548       -.88365E-08** at limit **
  20  Prefactor     .10000E-03    24.543        .15409E-06** at limit **
  21  Normalizat    1.2329        .17196       -.25583E-06    .18125E-03
  22  Prefactor     .73101        .18967        .40490E-06    .75878E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 116.279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.3277
  Prefactor  = 9.89549
  Prefactor  = 1.49522
  norm       = 17.4499
  Prefactor  = 0.0672625
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.22385
  norm       = 5.14411
  Prefactor  = 25.8561
  norm       = 1.54148
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23287
  Prefactor  = 0.731012
 **********
 **   18 **HESSE 
 **********

 FCN=   5574.422     FROM HESSE     STATUS=OK           346 CALLS     2794 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     116.28        56.379        .18656E-03   -1.3547    
   2  Prefactor     .10000E-03    1.3822        .85267E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.3226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3277        21.708        .38049E-03   -1.5478    
   5  Prefactor     9.8955        19.363        .12736E-03   -1.5079    
   6  Prefactor     1.4952        108.59        .34564E-03   -1.5463    
   7  norm          17.450        7.7916        .95884E-04   -1.4872    
   8  Prefactor     .67262E-01    11.590        .59640E-01   -1.5656    
   9  norm          .10000E-03    1.7101        .95291E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.9998        .10286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    49.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2239        3.7511        .23759E-03   -1.5487    
  14  norm          5.1441        4.1998        .12639E-03   -1.5254    
  15  Prefactor     25.856        32.493        .78696E-04   -1.4691    
  16  norm          1.5415        2.6737        .15476E-03   -1.5460    
  17  Prefactor     .10000E-03    28.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    22.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.1704        .10700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    24.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2329        .20153        .20543E-03   -.85593    
  22  Prefactor     .73101        .22107        .28876E-03   -1.0232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26345e-09
Minuit parameter uncertainties:
  1  56.4046
  2  9.38891e-07
  3  5.51759e-07
  4  10.7414
  5  19.3753
  6  25.5319
  7  7.79208
  8  1.76488
  9  3.08465e-06
  10  4.09948e-07
  11  0.000197611
  12  8.19305e-06
  13  3.75182
  14  4.20001
  15  32.5151
  16  2.67394
  17  1.49348e-06
  18  8.89048e-07
  19  8.01154e-07
  20  8.87143e-06
  21  0.201657
  22  0.221336
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  8.871e-06  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.310e-01  2.213e-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.233e+00  2.017e-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: 5.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248912/likelihoodResults_521596801_521856001_4FGL_J2359.2-3134_daily_bin1089.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) = 5574.42265663
delta logL = -0.000193172643776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5574.42246497
delta logL = -1.50935011334e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10603E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0605       1.0000          .0000       10.000    
     3 'Normalizat'    1.2329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73101       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=   5574.422     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      291 TOTAL
                     EDM=   .77E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    55.951        .18142E-01** at limit **
   2  Index         2.2947        5.7811        .50000        .30650E-07
   3  Normalizat    1.2329        .59236E-02    .20543E-03   -.30383E-03
   4  Prefactor     .73101        .66091E-02    .28876E-03   -.21205E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.29474
  Normalizat = 1.23287
  Prefactor  = 0.731012
 **********
 **   18 **HESSE 
 **********

 FCN=   5574.422     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      320 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    291.66        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2947        6.1401        .50000       -.57169    
   3  Normalizat    1.2329        .13601E-01    .41085E-04   -.85593    
   4  Prefactor     .73101        .15175E-01    .11550E-04   -1.0232    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.97503e-11
Minuit parameter uncertainties:
  1  1.41103e-05
  2  796.493
  3  0.0136015
  4  0.0151756
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248912': 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): 102
logL (Free Index) = 5574.42246324
delta logL = 2.17452907236e-07

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  1.411e-05  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.295e+00  7.965e+02  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.310e-01  1.518e-02  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.233e+00  1.360e-02  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/248912/cmap_HighResolution_521596801_521856001_4FGL_J2359.2-3134_daily_bin1089.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-03', job_status='DONE', photon_flux_upper_limit='5.79e-08', time_completed='2021-09-30 12:30:44.095925', job_id='248912', GAL2='0.73', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1633030244.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='2.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1089' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:30:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 248912: <4FGL_J2359.2-3134_daily_bin1089> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1089 359.817 -31.5832 521596801 521856001 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 :                                   621.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             274.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            890 sec.

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

