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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin967
RA = 344.529, Dec = -27.9843
tmin = 489974401, tmax = 490233601
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='598827', job_status='RUN', time_executed='2021-09-29 03:09:04.041725', time_epoch_executed='1632910144.04' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='967'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598827

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598827/ft1_4FGL_J2258.1-2759_daily_bin967.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598827/ft2_4FGL_J2258.1-2759_daily_bin967.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598827/ft1_4FGL_J2258.1-2759_daily_bin967.fits outfile=/scratch/kocevski/598827/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin967.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=489974401.0 tmax=490233601.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.88
user 3.63
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598827/ft1_filtered_4FGL_J2258.1-2759_daily_bin967.fits" evtable="EVENTS" scfile=/scratch/kocevski/598827/ft2_4FGL_J2258.1-2759_daily_bin967.fits sctable="SC_DATA" outfile=/scratch/kocevski/598827/ltcube_489974401_490233601_4FGL_J2258.1-2759_daily_bin967.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/598827/ft2_4FGL_J2258.1-2759_daily_bin967.fits
.....................!
real 12.14
user 11.75
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598827/ft1_filtered_4FGL_J2258.1-2759_daily_bin967.fits evtable="EVENTS" scfile=/scratch/kocevski/598827/ft2_4FGL_J2258.1-2759_daily_bin967.fits sctable="SC_DATA" expcube=/scratch/kocevski/598827/ltcube_489974401_490233601_4FGL_J2258.1-2759_daily_bin967.fits outfile=/scratch/kocevski/598827/expmap_489974401_490233601_4FGL_J2258.1-2759_daily_bin967.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/598827/ltcube_489974401_490233601_4FGL_J2258.1-2759_daily_bin967.fits
.....................!
real 191.40
user 185.82
sys 5.22

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/598827/ft1_filtered_4FGL_J2258.1-2759_daily_bin967.fits scfile=/scratch/kocevski/598827/ft2_4FGL_J2258.1-2759_daily_bin967.fits outfile=/scratch/kocevski/598827/cmap_489974401_490233601_4FGL_J2258.1-2759_daily_bin967.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598827/ft1_filtered_4FGL_J2258.1-2759_daily_bin967.fits scfile=/scratch/kocevski/598827/ft2_4FGL_J2258.1-2759_daily_bin967.fits outfile=/scratch/kocevski/598827/cmap_HighResolution_489974401_490233601_4FGL_J2258.1-2759_daily_bin967.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598827/ft1_filtered_4FGL_J2258.1-2759_daily_bin967.fits evtable="EVENTS" scfile=/scratch/kocevski/598827/ft2_4FGL_J2258.1-2759_daily_bin967.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598827/Model_4FGL_J2258.1-2759_daily_bin967.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/598827/ft1_filtered_4FGL_J2258.1-2759_daily_bin967.fits.....................!
real 43.91
user 42.55
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.6354       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.296       1.0000         .10000E-03   10000.    
     6 'norm      '    .71029       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .43369E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10984E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .89368       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.2308       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13241E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .18077E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5850       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1310       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0344       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=   5443.552     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2068 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.828       -.18002E-05** at limit **
   2  Prefactor     .10000E-03    3.4288        .13021E-07** at limit **
   3  norm          8.6260        17.086        .51586E-06    .94856E-04
   4  Prefactor     .10000E-03    6.6436        .11218E-08** at limit **
   5  Prefactor     14.280        13.926        .16514E-05    .12377E-02
   6  norm          .71264        1.6490       -.63813E-06   -.16429E-03
   7  Prefactor     .10001E-03    146.23       -.31322E-05** at limit **
   8  Prefactor     .10000E-03    7.2612        .40846E-07** at limit **
   9  norm          .10000E-03    2.5981        .29211E-06** at limit **
  10  Prefactor     .10000E-03    6.2673        .17923E-06** at limit **
  11  Prefactor     .10002E-03    16.576        .91361E-05** at limit **
  12  norm          .89345        .74314       -.12478E-06   -.16031E-02
  13  Prefactor     .10000E-03    68.879       -.31450E-05** at limit **
  14  Prefactor     .10000E-03    16.433        .92247E-06** at limit **
  15  norm          6.2315        8.7367        .23867E-06    .85967E-04
  16  Prefactor     .10000E-03    184.90        .41144E-05** at limit **
  17  norm          .10004E-03    11.180       -.74696E-05** at limit **
  18  Prefactor     5.5644        34.483       -.28209E-05   -.11777E-04
  19  Prefactor     .10000E-03    46.180        .33753E-05** at limit **
  20  Prefactor     .10000E-03    30.286        .21196E-05** at limit **
  21  Normalizat    1.1308        .19683       -.57912E-06   -.11453E-03
  22  Prefactor     1.0344        .19126        .79026E-08   -.64415E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.62602
  Prefactor  = 0.0001
  Prefactor  = 14.2802
  norm       = 0.712644
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  norm       = 0.893446
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.23154
  Prefactor  = 0.000100001
  norm       = 0.000100041
  Prefactor  = 5.56444
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1308
  Prefactor  = 1.0344
 **********
 **   18 **HESSE 
 **********

 FCN=   5443.552     FROM HESSE     STATUS=OK           344 CALLS     2412 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4475        .13341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.6260        17.071        .13641E-03   -1.5120    
   4  Prefactor     .10000E-03    6.6521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.280        14.640        .52966E-03   -1.4952    
   6  norm          .71264        1.4833        .15131E-02   -1.5539    
   7  Prefactor     .10001E-03    147.95        .21226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.3513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.6185        .11596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.2726        .18034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    31.663        .36315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .89345        .66518        .50804E-03   -1.5519    
  13  Prefactor     .10000E-03    68.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.2315        8.7390        .16082E-03   -1.5209    
  16  Prefactor     .10000E-03    186.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10004E-03    17.014        .19342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.5644        32.891        .17000E-03   -1.5236    
  19  Prefactor     .10000E-03    46.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    30.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1308        .23357        .24146E-03   -.88769    
  22  Prefactor     1.0344        .22909        .24761E-03   -.91591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.27198e-09
Minuit parameter uncertainties:
  1  3.6592e-05
  2  7.54942e-07
  3  17.081
  4  9.60398e-07
  5  14.6442
  6  1.48342
  7  0.00241789
  8  5.90104e-06
  9  1.59132e-05
  10  1.5405e-05
  11  0.0015764
  12  0.665189
  13  8.09041e-05
  14  6.98424e-05
  15  8.74075
  16  0.000614659
  17  0.0016777
  18  27.0791
  19  3.21292e-07
  20  1.81446e-05
  21  0.233787
  22  0.229311
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  8.934e-01  6.652e-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.034e+00  2.293e-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:  1.131e+00  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.59
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 5.06e-08 +/- 3.77e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.42e-05

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

Saving results to:
/scratch/kocevski/598827/likelihoodResults_489974401_490233601_4FGL_J2258.1-2759_daily_bin967.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) = 5443.51735183
delta logL = 0.034235413541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5443.51048867
delta logL = 0.0410985739099

Fit tolerance = 1e-08

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

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

 FCN=   5443.510     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97200        16.486        .11718E-01    .62521E-03
   2  alpha         2.0303        2.5294        .42109        .26977E-04
   3  Normalizat    1.1456        .76464E-01    .54300E-01    .41157E-05
   4  Prefactor     1.0239        .62864E-01    .41774E-01    .96113E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.972004
  alpha      = 2.03031
  Normalizat = 1.14558
  Prefactor  = 1.02388
 **********
 **   18 **HESSE 
 **********

 FCN=   5443.510     FROM HESSE     STATUS=OK            35 CALLS      244 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97200        .73792        .53579E-03   -1.5511    
   2  alpha         2.0303        .84628        .18026E-01   -.18900    
   3  Normalizat    1.1456        .23393        .24010E-03   -.88301    
   4  Prefactor     1.0239        .23007        .24868E-03   -.91938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.72627e-11
Minuit parameter uncertainties:
  1  0.737923
  2  0.863998
  3  0.234141
  4  0.23029
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598827': 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) = 5443.51048867
delta logL = 0.0410985759163

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  9.720e-01  7.379e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.030e+00  8.640e-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.024e+00  2.303e-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:  1.146e+00  2.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.68
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.03 +/- 0.86
Photon Flux (Free Index): 4.20e-08 +/- 4.23e-08
Energy Flux (Free Index): 2.09e-05 +/- 1.74e-05

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/598827/cmap_HighResolution_489974401_490233601_4FGL_J2258.1-2759_daily_bin967.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-05', comment='SUCCESS', photon_flux='5.06e-08', energy_flux2='2.09e-05', photon_flux_error='3.77e-08', dlogl='4.11e-02', energy_flux='1.91e-05', photon_flux2='4.20e-08', job_status='DONE', time_completed='2021-09-29 03:18:26.943173', photon_index_error2='0.86', photon_index2='2.03', ts='2.59', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.74e-05', EG='1.13', time_epoch_completed='1632910706.94', return_code='0', job_id='598827', GAL2='1.02', EG2='1.15', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='4.23e-08', ts2='2.68', photon_index='2.29' WHERE bin_id='967' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:18:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 598827: <4FGL_J2258.1-2759_daily_bin967> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin967> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 03:05:36 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:05:38 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:05:38 2021
Terminated at Wed Sep 29 03:18:27 2021
Results reported at Wed Sep 29 03:18:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin967 344.529 -27.9843 489974401 490233601 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 :                                   560.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             249.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            771 sec.

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

