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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin585
RA = 344.529, Dec = -27.9843
tmin = 390960001, tmax = 391219201
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='597310', job_status='RUN', time_executed='2021-09-29 03:04:03.577791', time_epoch_executed='1632909843.58' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='585'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/597310

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/597310/ft1_4FGL_J2258.1-2759_daily_bin585.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/597310/ft2_4FGL_J2258.1-2759_daily_bin585.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/597310/ft1_4FGL_J2258.1-2759_daily_bin585.fits outfile=/scratch/kocevski/597310/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin585.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=390960001.0 tmax=391219201.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.50
user 4.23
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/597310/ft1_filtered_4FGL_J2258.1-2759_daily_bin585.fits" evtable="EVENTS" scfile=/scratch/kocevski/597310/ft2_4FGL_J2258.1-2759_daily_bin585.fits sctable="SC_DATA" outfile=/scratch/kocevski/597310/ltcube_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.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/597310/ft2_4FGL_J2258.1-2759_daily_bin585.fits
.....................!
real 11.67
user 11.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/597310/ft1_filtered_4FGL_J2258.1-2759_daily_bin585.fits evtable="EVENTS" scfile=/scratch/kocevski/597310/ft2_4FGL_J2258.1-2759_daily_bin585.fits sctable="SC_DATA" expcube=/scratch/kocevski/597310/ltcube_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.fits outfile=/scratch/kocevski/597310/expmap_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.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/597310/ltcube_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.fits
.....................!
real 191.87
user 186.30
sys 5.25

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/597310/ft1_filtered_4FGL_J2258.1-2759_daily_bin585.fits scfile=/scratch/kocevski/597310/ft2_4FGL_J2258.1-2759_daily_bin585.fits outfile=/scratch/kocevski/597310/cmap_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.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.53
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/597310/ft1_filtered_4FGL_J2258.1-2759_daily_bin585.fits scfile=/scratch/kocevski/597310/ft2_4FGL_J2258.1-2759_daily_bin585.fits outfile=/scratch/kocevski/597310/cmap_HighResolution_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/597310/ft1_filtered_4FGL_J2258.1-2759_daily_bin585.fits evtable="EVENTS" scfile=/scratch/kocevski/597310/ft2_4FGL_J2258.1-2759_daily_bin585.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/597310/Model_4FGL_J2258.1-2759_daily_bin585.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/597310/ft1_filtered_4FGL_J2258.1-2759_daily_bin585.fits.....................!
real 38.53
user 37.30
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/597310/ft1_filtered_4FGL_J2258.1-2759_daily_bin585.fits', '/scratch/kocevski/597310/ft2_4FGL_J2258.1-2759_daily_bin585.fits', expMap='/scratch/kocevski/597310/expmap_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.fits', expCube='/scratch/kocevski/597310/ltcube_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/597310/Model_4FGL_J2258.1-2759_daily_bin585.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/597310/ft1_filtered_4FGL_J2258.1-2759_daily_bin585.fits
Spacecraft file(s): /scratch/kocevski/597310/ft2_4FGL_J2258.1-2759_daily_bin585.fits
Exposure map: /scratch/kocevski/597310/expmap_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.fits
Exposure cube: /scratch/kocevski/597310/ltcube_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/597310/Model_4FGL_J2258.1-2759_daily_bin585.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) = 4383.89082074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.443       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    36.512       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.910       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.4124       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    21.282       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.7896       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.443       1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12924E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10317E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.1939       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .24681E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.1070       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .58505       1.0000         .10000E-03   10000.    
    19 'Prefactor '    101.77       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10397E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .78727       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0130       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4383.878     FROM MIGRAD    STATUS=CONVERGED    862 CALLS     2756 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.427        28.043        .57613E-04    .13813E-05
   2  Prefactor     .10000E-03    3.1648        .11483E-02** at limit **
   3  norm          36.472        28.233        .66325E-04    .11142E-04
   4  Prefactor     29.872        26.895        .73260E-04    .32589E-05
   5  Prefactor     .10000E-03    4.8760        .14268E-02** at limit **
   6  norm          .10000E-03    1.0088        .64760E-03** at limit **
   7  Prefactor     9.4306        43.503        .13063E-03    .17232E-04
   8  Prefactor     .10000E-03    19.520        .36285E-03** at limit **
   9  norm          21.290        7.9445        .86823E-04   -.33914E-04
  10  Prefactor     5.7812        19.952        .16692E-03   -.11306E-04
  11  Prefactor     13.443        13.609        .10925E-03   -.47350E-04
  12  norm          .10000E-03    .28485        .67654E-04** at limit **
  13  Prefactor     .10000E-03    25.513        .18142E-02** at limit **
  14  Prefactor     .10000E-03    9.1794        .18142E-02** at limit **
  15  norm          6.1928        8.6211        .16130E-03   -.46517E-05
  16  Prefactor     .10000E-03    160.52        .36285E-03** at limit **
  17  norm          1.1054        2.7566        .16029E-03    .40214E-04
  18  Prefactor     .33683        70.819        .10876        .94770E-04
  19  Prefactor     101.97        144.60        .19927E-03    .28525E-05
  20  Prefactor     .10000E-03    16.777        .18142E-02** at limit **
  21  Normalizat    .78715        .26182        .26100E-03   -.36589E-05
  22  Prefactor     1.0134        .24379        .23092E-03   -.23139E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.4271
  Prefactor  = 0.0001
  norm       = 36.4719
  Prefactor  = 29.8721
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.43056
  Prefactor  = 0.0001
  norm       = 21.2898
  Prefactor  = 5.78121
  Prefactor  = 13.4434
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.19285
  Prefactor  = 0.0001
  norm       = 1.1054
  Prefactor  = 0.336833
  Prefactor  = 101.973
  Prefactor  = 0.0001
  Normalizat = 0.787146
  Prefactor  = 1.0134
 **********
 **   18 **HESSE 
 **********

 FCN=   4383.878     FROM HESSE     STATUS=OK           330 CALLS     3086 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.427        28.040        .23045E-05   -1.4315    
   2  Prefactor     .10000E-03    3.1650        .22966E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          36.472        28.240        .26530E-05   -1.4499    
   4  Prefactor     29.872        26.890        .29304E-05   -1.4614    
   5  Prefactor     .10000E-03    4.8761        .28537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.0089        .12952E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.4306        43.487        .52251E-05   -1.5094    
   8  Prefactor     .10000E-03    19.520        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          21.290        7.9445        .34729E-05   -1.4785    
  10  Prefactor     5.7812        19.942        .66767E-05   -1.5227    
  11  Prefactor     13.443        13.603        .43698E-05   -1.4974    
  12  norm          .10000E-03    .28485        .13531E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    25.513        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.1806        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.1928        8.6205        .64522E-05   -1.5210    
  16  Prefactor     .10000E-03    160.53        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1054        2.7444        .64118E-05   -1.5498    
  18  Prefactor     .33683        61.344        .11761       -1.5592    
  19  Prefactor     101.97        144.46        .79709E-05   -1.3685    
  20  Prefactor     .10000E-03    16.777        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .78715        .26156        .10440E-04   -1.0055    
  22  Prefactor     1.0134        .24388        .92369E-05   -.92284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77619e-10
Minuit parameter uncertainties:
  1  28.0472
  2  2.53952e-06
  3  28.2508
  4  26.9005
  5  3.33051e-06
  6  4.1512e-08
  7  40.5504
  8  6.9658e-05
  9  7.94492
  10  19.9653
  11  13.6057
  12  4.18633e-07
  13  1.05835e-05
  14  1.03977e-05
  15  8.6222
  16  0.000356037
  17  2.74474
  18  9.09935
  19  144.965
  20  2.70449e-06
  21  0.261978
  22  0.244151
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  4.186e-07  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.013e+00  2.442e-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:  7.871e-01  2.620e-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: 7.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/597310/likelihoodResults_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.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) = 4383.87796534
delta logL = -4.62820735265e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4383.87791906
delta logL = -5.91262505623e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2899       1.0000          .0000       5.0000    
     3 'Normalizat'    .78718       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0134       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4383.878     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      233 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .28590        .67650E-04** at limit **
   2  alpha         2.3751        3.5207        .16535       -.19733E-06
   3  Normalizat    .78714        .23408        .26101E-03   -.10409E-02
   4  Prefactor     1.0134        .23369        .23092E-03   -.11633E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.37515
  Normalizat = 0.787143
  Prefactor  = 1.01339
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .28553        .13530E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3751        3.6828        .66139E-02   -.49961E-01
   3  Normalizat    .78714        .23430        .52202E-04   -1.0055    
   4  Prefactor     1.0134        .23391        .46183E-04   -.92284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91453e-09
Minuit parameter uncertainties:
  1  1.90844e-06
  2  97.7095
  3  0.234602
  4  0.234146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/597310': 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) = 4383.87791864
delta logL = 4.16153852711e-07

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  1.908e-06  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.375e+00  9.771e+01  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.013e+00  2.341e-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:  7.871e-01  2.346e-01  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/597310/cmap_HighResolution_390960001_391219201_4FGL_J2258.1-2759_daily_bin585.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-05', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2021-09-29 03:13:12.570895', job_id='597310', GAL2='1.01', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1632910392.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.16e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='585' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:13:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 597310: <4FGL_J2258.1-2759_daily_bin585> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin585> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 03:00:44 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:00:45 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:00:45 2021
Terminated at Wed Sep 29 03:13:12 2021
Results reported at Wed Sep 29 03:13:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin585 344.529 -27.9843 390960001 391219201 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 :                                   547.12 sec.
    Max Memory :                                 1080 MB
    Average Memory :                             258.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            748 sec.

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

