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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin468
RA = 359.817, Dec = -31.5832
tmin = 360633601, tmax = 360892801
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='245834', job_status='RUN', time_executed='2021-09-30 12:08:28.054083', time_epoch_executed='1633028908.05' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/245834

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/245834/ft1_4FGL_J2359.2-3134_daily_bin468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/245834/ft2_4FGL_J2359.2-3134_daily_bin468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/245834/ft1_4FGL_J2359.2-3134_daily_bin468.fits outfile=/scratch/kocevski/245834/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin468.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=360633601.0 tmax=360892801.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 3.36
user 3.17
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/245834/ft1_filtered_4FGL_J2359.2-3134_daily_bin468.fits" evtable="EVENTS" scfile=/scratch/kocevski/245834/ft2_4FGL_J2359.2-3134_daily_bin468.fits sctable="SC_DATA" outfile=/scratch/kocevski/245834/ltcube_360633601_360892801_4FGL_J2359.2-3134_daily_bin468.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/245834/ft2_4FGL_J2359.2-3134_daily_bin468.fits
.....................!
real 11.77
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/245834/ft1_filtered_4FGL_J2359.2-3134_daily_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/245834/ft2_4FGL_J2359.2-3134_daily_bin468.fits sctable="SC_DATA" expcube=/scratch/kocevski/245834/ltcube_360633601_360892801_4FGL_J2359.2-3134_daily_bin468.fits outfile=/scratch/kocevski/245834/expmap_360633601_360892801_4FGL_J2359.2-3134_daily_bin468.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/245834/ltcube_360633601_360892801_4FGL_J2359.2-3134_daily_bin468.fits
.....................!
real 191.41
user 186.03
sys 5.07

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/245834/ft1_filtered_4FGL_J2359.2-3134_daily_bin468.fits scfile=/scratch/kocevski/245834/ft2_4FGL_J2359.2-3134_daily_bin468.fits outfile=/scratch/kocevski/245834/cmap_360633601_360892801_4FGL_J2359.2-3134_daily_bin468.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/245834/ft1_filtered_4FGL_J2359.2-3134_daily_bin468.fits scfile=/scratch/kocevski/245834/ft2_4FGL_J2359.2-3134_daily_bin468.fits outfile=/scratch/kocevski/245834/cmap_HighResolution_360633601_360892801_4FGL_J2359.2-3134_daily_bin468.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=359.817 yref=-31.5832 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.35
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/245834/ft1_filtered_4FGL_J2359.2-3134_daily_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/245834/ft2_4FGL_J2359.2-3134_daily_bin468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/245834/Model_4FGL_J2359.2-3134_daily_bin468.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/245834/ft1_filtered_4FGL_J2359.2-3134_daily_bin468.fits.....................!
real 44.31
user 42.99
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.292       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.1032       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13130E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    12.096       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11299E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    14.000       1.0000         .10000E-03   10000.    
    11 'Prefactor '    68.185       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.313       1.0000         .10000E-03   10000.    
    13 'norm      '    1.6388       1.0000         .10000E-03   10000.    
    14 'norm      '    .80536       1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.295       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.5353       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20079E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77769       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86493       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=   5744.513     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2385 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.305        43.899        .34732E-05    .16539E-03
   2  Prefactor     6.1038        3.6969        .15843E-08   -.79467E-04
   3  Prefactor     .10000E-03    8.3533       -.83231E-08** at limit **
   4  Prefactor     .10000E-03    10.254        .39112E-06** at limit **
   5  Prefactor     .10000E-03    10.493       -.38716E-06** at limit **
   6  Prefactor     .10000E-03    61.694        .10542E-06** at limit **
   7  norm          12.096        6.2243        .23816E-08   -.47690E-04
   8  Prefactor     .10000E-03    5.6435       -.34447E-08** at limit **
   9  norm          .10000E-03    3.4268       -.12284E-06** at limit **
  10  norm          14.000        7.0917        .69046E-07    .23205E-06
  11  Prefactor     68.192        45.232        .16875E-05    .12482E-03
  12  Prefactor     24.304        37.156       -.22065E-05   -.70462E-04
  13  norm          1.6391        3.7839       -.28122E-06   -.24126E-03
  14  norm          .80436        1.9236        .21894E-06   -.15546E-03
  15  Prefactor     24.295        16.670        .58014E-07   -.13441E-05
  16  norm          .10000E-03    1.7384       -.17626E-07** at limit **
  17  Prefactor     .10000E-03    14.913        .86450E-07** at limit **
  18  Prefactor     .10000E-03    12.548        .31145E-07** at limit **
  19  Prefactor     8.5374        4.7356        .65258E-06   -.15150E-02
  20  Prefactor     .10000E-03    168.40       -.47481E-06** at limit **
  21  Normalizat    .77769        .14936       -.64953E-06    .12258E-05
  22  Prefactor     .86496        .16304        .11332E-06   -.34156E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.3051
  Prefactor  = 6.10382
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.0963
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.9997
  Prefactor  = 68.1919
  Prefactor  = 24.304
  norm       = 1.63911
  norm       = 0.804363
  Prefactor  = 24.2953
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.5374
  Prefactor  = 0.0001
  Normalizat = 0.777689
  Prefactor  = 0.864957
 **********
 **   18 **HESSE 
 **********

 FCN=   5744.513     FROM HESSE     STATUS=OK           344 CALLS     2729 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.305        44.678        .52546E-04   -1.4179    
   2  Prefactor     6.1038        3.7017        .10705E-03   -1.5214    
   3  Prefactor     .10000E-03    8.3612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    62.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          12.096        6.2361        .11518E-03   -1.5012    
   8  Prefactor     .10000E-03    5.7081        .17578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.9908        .26198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.000        7.0899        .10705E-03   -1.4959    
  11  Prefactor     68.192        45.257        .48609E-04   -1.4055    
  12  Prefactor     24.304        37.436        .81239E-04   -1.4722    
  13  norm          1.6391        3.6640        .18306E-03   -1.5452    
  14  norm          .80436        1.6665        .15965E-02   -1.5529    
  15  Prefactor     24.295        16.605        .81269E-04   -1.4722    
  16  norm          .10000E-03    1.7697        .97484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.5374        6.4626        .68605E-03   -1.5124    
  20  Prefactor     .10000E-03    171.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .77769        .17748        .21852E-03   -1.0090    
  22  Prefactor     .86496        .19217        .23695E-03   -.97377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02843e-09
Minuit parameter uncertainties:
  1  44.7038
  2  3.70189
  3  3.37418e-07
  4  2.38333e-05
  5  2.46596e-05
  6  2.33079e-05
  7  6.23648
  8  1.69997e-06
  9  2.02928e-05
  10  7.09029
  11  45.2795
  12  37.4726
  13  3.66455
  14  1.66662
  15  16.6086
  16  4.54712e-06
  17  6.80119e-06
  18  3.6023e-06
  19  6.46309
  20  3.58308e-05
  21  0.177613
  22  0.192323
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  8.650e-01  1.923e-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.777e-01  1.776e-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: 7.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/245834/likelihoodResults_360633601_360892801_4FGL_J2359.2-3134_daily_bin468.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) = 5744.51345558
delta logL = -2.76087803286e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5744.51342813
delta logL = -1.54924236995e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11758E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7775       1.0000          .0000       10.000    
     3 'Normalizat'    .77768       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86496       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5744.513     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      244 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    129.00        .90712E-02** at limit **
   2  Index         2.7210        8.6391        .50000        .28566E-05
   3  Normalizat    .77769        .33099E-02    .43318E-01   -.23894E-03
   4  Prefactor     .86496        .37917E-02    .44557E-01    .83540E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100046
  Index      = 2.72102
  Normalizat = 0.777686
  Prefactor  = 0.86496
 **********
 **   18 **HESSE 
 **********

 FCN=   5744.513     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    661.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7210        5.9317        .50000       -.47327    
   3  Normalizat    .77769        .75024E-02    .21852E-03   -1.0090    
   4  Prefactor     .86496        .85955E-02    .23695E-03   -.97376    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.45198e-08
Minuit parameter uncertainties:
  1  0.011121
  2  421.682
  3  0.00750244
  4  0.00859553
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/245834': 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) = 5744.51342802
delta logL = -4.56284396932e-08

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  1.112e-02  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.721e+00  4.217e+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:  8.650e-01  8.596e-03  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.777e-01  7.502e-03  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/245834/cmap_HighResolution_360633601_360892801_4FGL_J2359.2-3134_daily_bin468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.19e-03', job_status='DONE', photon_flux_upper_limit='7.90e-08', time_completed='2021-09-30 12:18:54.517707', job_id='245834', GAL2='0.86', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1633029534.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='-4.56e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='468' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:18:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 245834: <4FGL_J2359.2-3134_daily_bin468> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin468> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 12:05:39 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:05:40 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:05:40 2021
Terminated at Thu Sep 30 12:18:55 2021
Results reported at Thu Sep 30 12:18:55 2021

Your job looked like:

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

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

