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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin1579
RA = 344.529, Dec = -27.9843
tmin = 648604801, tmax = 648864001
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='601658', job_status='RUN', time_executed='2021-09-29 03:16:38.227507', time_epoch_executed='1632910598.23' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='1579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/601658

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/601658/ft1_4FGL_J2258.1-2759_daily_bin1579.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/601658/ft1_4FGL_J2258.1-2759_daily_bin1579.fits outfile=/scratch/kocevski/601658/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1579.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=648604801.0 tmax=648864001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.92
user 2.72
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.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/601658/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1579.fits evtable="EVENTS" outfile="/scratch/kocevski/601658/ft1_filtered_4FGL_J2258.1-2759_daily_bin1579.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/601658/ft1_filtered_4FGL_J2258.1-2759_daily_bin1579.fits" evtable="EVENTS" scfile=/scratch/kocevski/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.fits sctable="SC_DATA" outfile=/scratch/kocevski/601658/ltcube_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.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/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.fits
.....................!
real 12.54
user 12.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/601658/ft1_filtered_4FGL_J2258.1-2759_daily_bin1579.fits evtable="EVENTS" scfile=/scratch/kocevski/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.fits sctable="SC_DATA" expcube=/scratch/kocevski/601658/ltcube_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.fits outfile=/scratch/kocevski/601658/expmap_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.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/601658/ltcube_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.fits
.....................!
real 190.34
user 184.87
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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J2258.1-2759 @ 344.529 -27.9843

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/601658/ft1_filtered_4FGL_J2258.1-2759_daily_bin1579.fits scfile=/scratch/kocevski/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.fits outfile=/scratch/kocevski/601658/cmap_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.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=344.529 yref=-27.9843 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/601658/ft1_filtered_4FGL_J2258.1-2759_daily_bin1579.fits scfile=/scratch/kocevski/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.fits outfile=/scratch/kocevski/601658/cmap_HighResolution_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.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=344.529 yref=-27.9843 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/601658/ft1_filtered_4FGL_J2258.1-2759_daily_bin1579.fits evtable="EVENTS" scfile=/scratch/kocevski/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/601658/Model_4FGL_J2258.1-2759_daily_bin1579.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/601658/ft1_filtered_4FGL_J2258.1-2759_daily_bin1579.fits.....................!
real 28.75
user 27.38
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/601658/ft1_filtered_4FGL_J2258.1-2759_daily_bin1579.fits', '/scratch/kocevski/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.fits', expMap='/scratch/kocevski/601658/expmap_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.fits', expCube='/scratch/kocevski/601658/ltcube_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/601658/Model_4FGL_J2258.1-2759_daily_bin1579.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2258.1-2759'

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.011e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.287e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/601658/ft1_filtered_4FGL_J2258.1-2759_daily_bin1579.fits
Spacecraft file(s): /scratch/kocevski/601658/ft2_4FGL_J2258.1-2759_daily_bin1579.fits
Exposure map: /scratch/kocevski/601658/expmap_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.fits
Exposure cube: /scratch/kocevski/601658/ltcube_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/601658/Model_4FGL_J2258.1-2759_daily_bin1579.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) = 2651.41899348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.556       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13948E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    26.362       1.0000         .10000E-03   10000.    
     4 'Prefactor '    76.162       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15582E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.707       1.0000         .10000E-03   10000.    
     9 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.696       1.0000         .10000E-03   10000.    
    12 'norm      '    .28174E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    16.377       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.405       1.0000         .10000E-03   10000.    
    19 'Prefactor '    146.54       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .67604       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2651.270     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2477 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.516        63.595       -.47347E-04    .15360E-04
   2  Prefactor     .10000E-03    98.656        .10168E-03** at limit **
   3  norm          26.325        68.210       -.44259E-04    .71321E-04
   4  Prefactor     76.159        69.892       -.21642E-05   -.25376E-03
   5  Prefactor     .10000E-03    26.243       -.15590E-04** at limit **
   6  norm          .10000E-03    1.9373        .23248E-06** at limit **
   7  Prefactor     .10002E-03    229.49       -.94753E-04** at limit **
   8  Prefactor     22.686        32.022       -.31976E-05   -.95177E-04
   9  norm          .10000E-03    3.4638        .35258E-06** at limit **
  10  Prefactor     .10000E-03    14.002       -.72378E-06** at limit **
  11  Prefactor     24.713        18.425       -.65398E-07    .32637E-03
  12  norm          .34360E-02    .86465       -.67135E-07    .25137E-03
  13  Prefactor     .10000E-03    69.519       -.56093E-04** at limit **
  14  Prefactor     .10000E-03    8.9248        .14602E-06** at limit **
  15  norm          .10000E-03    7.3219       -.26664E-06** at limit **
  16  Prefactor     .10000E-03    28.983        .20325E-04** at limit **
  17  norm          16.377        6.1210       -.24657E-06    .74728E-04
  18  Prefactor     17.397        45.137       -.92481E-05    .59107E-05
  19  Prefactor     146.52        131.03       -.15815E-04    .86684E-05
  20  Prefactor     .10000E-03    15.157        .21349E-05** at limit **
  21  Normalizat    .67659        .28651        .83772E-05    .51154E-05
  22  Prefactor     1.1115        .26785        .34459E-05    .37616E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.5161
  Prefactor  = 0.000100001
  norm       = 26.325
  Prefactor  = 76.1589
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100024
  Prefactor  = 22.6863
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.7134
  norm       = 0.00343599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 16.3767
  Prefactor  = 17.3965
  Prefactor  = 146.516
  Prefactor  = 0.0001
  Normalizat = 0.676586
  Prefactor  = 1.11149
 **********
 **   18 **HESSE 
 **********

 FCN=   2651.270     FROM HESSE     STATUS=OK           342 CALLS     2819 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.516        63.663        .80836E-04   -1.4717    
   2  Prefactor     .10000E-03    99.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          26.325        68.152        .78023E-04   -1.4681    
   4  Prefactor     76.159        69.885        .46011E-04   -1.3960    
   5  Prefactor     .10000E-03    26.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.9455        .69970E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    230.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.686        32.161        .84058E-04   -1.4755    
   9  norm          .10000E-03    3.4670        .93495E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.713        20.528        .80607E-04   -1.4713    
  12  norm          .34360E-02    3.3979        .13375E-01   -1.5696    
  13  Prefactor     .10000E-03    69.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.9420        .15015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.3777        .13605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.377        6.1193        .70485E-04   -1.4898    
  18  Prefactor     17.397        45.121        .96002E-04   -1.4874    
  19  Prefactor     146.52        131.15        .16644E-03   -1.3281    
  20  Prefactor     .10000E-03    15.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .67659        .34609        .29677E-03   -1.0482    
  22  Prefactor     1.1115        .32665        .23553E-03   -.89100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0571e-09
Minuit parameter uncertainties:
  1  63.8406
  2  0.000511061
  3  68.3543
  4  69.9608
  5  0.000325366
  6  3.12324e-05
  7  0.00468324
  8  32.1858
  9  2.0344e-05
  10  2.75003e-05
  11  20.5337
  12  0.212947
  13  0.000117089
  14  6.21923e-06
  15  6.30213e-05
  16  0.000103503
  17  6.11954
  18  45.2099
  19  131.412
  20  2.09462e-06
  21  0.34721
  22  0.327245
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.436e-03  2.129e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.287e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.111e+00  3.272e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  6.766e-01  3.472e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 344.529 -27.984
Photon Flux Upper Limit: 1.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/601658/likelihoodResults_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.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) = 2651.27010104
delta logL = 5.41182544112e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2651.27006169
delta logL = 3.98908318857e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25031E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5726       1.0000          .0000       5.0000    
     3 'Normalizat'    .67664       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1115       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   2651.270     FROM MIGRAD    STATUS=FAILED       122 CALLS      341 TOTAL
                     EDM=   .22E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13632E-01    968.70        .73179E-03    .27433E-03
   2  alpha         2.6114        2.6873        .50000       -.84246E-04
   3  Normalizat    .67633        .74169E-01    .29681E-03    .19688E-04
   4  Prefactor     1.1112        .86506E-01    .23555E-03    .11923E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   2651.270     FROM SIMPLEX   STATUS=UNCHANGED    105 CALLS      446 TOTAL
                     EDM=   .71E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13632E-01    968.70        .46600E-03    .27433E-03
   2  alpha         2.6114        2.6873        .53727E-03   -.84246E-04
   3  Normalizat    .67633        .74169E-01    .40063E-04    .19688E-04
   4  Prefactor     1.1112        .86506E-01    .21673E-04    .11923E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   2651.270     FROM MIGRAD    STATUS=FAILED        72 CALLS      518 TOTAL
                     EDM=   .28E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13628E-01    1313.0        .11709E-05    .16660E-03
   2  alpha         2.6114        3.3691        .50000       -.83701E-04
   3  Normalizat    .67633        .89824E-01    .23745E-05    .81394E-05
   4  Prefactor     1.1112        .11108        .94220E-05    .10172E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0136276
  alpha      = 2.61142
  Normalizat = 0.676329
  Prefactor  = 1.1112
 **********
 **   18 **HESSE 
 **********

 FCN=   2651.270     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      545 TOTAL
                     EDM=   .28E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13628E-01    1306.3        .37395E-06   -1.5685    
   2  alpha         2.6114        3.2611        .50000        .44584E-01
   3  Normalizat    .67633        .89687E-01    .47489E-06   -1.0483    
   4  Prefactor     1.1112        .11085        .18844E-05   -.89109    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.83467e-05
Minuit parameter uncertainties:
  1  8.60205
  2  155.256
  3  0.0897067
  4  0.110878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/601658': 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): 1
logL (Free Index) = 2651.26996348
delta logL = 0.000138097451327

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.363e-02  8.602e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.611e+00  1.553e+02  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.111e+00  1.109e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  6.763e-01  8.971e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 344.529 -27.984

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/601658/cmap_HighResolution_648604801_648864001_4FGL_J2258.1-2759_daily_bin1579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-05', job_status='DONE', photon_flux_upper_limit='1.40e-07', time_completed='2021-09-29 03:24:14.180117', job_id='601658', GAL2='1.11', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1632911054.18', return_code2='1', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.38e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1579' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:24:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 601658: <4FGL_J2258.1-2759_daily_bin1579> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin1579> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 03:15:18 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:15:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 03:15:20 2021
Terminated at Wed Sep 29 03:24:17 2021
Results reported at Wed Sep 29 03:24:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin1579 344.529 -27.9843 648604801 648864001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2258.1-2759 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   447.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             316.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   534 sec.
    Turnaround time :                            539 sec.

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

