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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin739
RA = 344.529, Dec = -27.9843
tmin = 430876801, tmax = 431136001
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='597525', job_status='RUN', time_executed='2021-09-29 03:03:04.554562', time_epoch_executed='1632909784.55' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/597525

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/597525/ft1_4FGL_J2258.1-2759_daily_bin739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/597525/ft2_4FGL_J2258.1-2759_daily_bin739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/597525/ft1_4FGL_J2258.1-2759_daily_bin739.fits outfile=/scratch/kocevski/597525/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin739.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=430876801.0 tmax=431136001.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 5.34
user 5.08
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/597525/ft1_filtered_4FGL_J2258.1-2759_daily_bin739.fits" evtable="EVENTS" scfile=/scratch/kocevski/597525/ft2_4FGL_J2258.1-2759_daily_bin739.fits sctable="SC_DATA" outfile=/scratch/kocevski/597525/ltcube_430876801_431136001_4FGL_J2258.1-2759_daily_bin739.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/597525/ft2_4FGL_J2258.1-2759_daily_bin739.fits
.....................!
real 12.02
user 11.69
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/597525/ft1_filtered_4FGL_J2258.1-2759_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/597525/ft2_4FGL_J2258.1-2759_daily_bin739.fits sctable="SC_DATA" expcube=/scratch/kocevski/597525/ltcube_430876801_431136001_4FGL_J2258.1-2759_daily_bin739.fits outfile=/scratch/kocevski/597525/expmap_430876801_431136001_4FGL_J2258.1-2759_daily_bin739.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/597525/ltcube_430876801_431136001_4FGL_J2258.1-2759_daily_bin739.fits
.....................!
real 192.22
user 187.67
sys 4.18

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/597525/ft1_filtered_4FGL_J2258.1-2759_daily_bin739.fits scfile=/scratch/kocevski/597525/ft2_4FGL_J2258.1-2759_daily_bin739.fits outfile=/scratch/kocevski/597525/cmap_430876801_431136001_4FGL_J2258.1-2759_daily_bin739.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/597525/ft1_filtered_4FGL_J2258.1-2759_daily_bin739.fits scfile=/scratch/kocevski/597525/ft2_4FGL_J2258.1-2759_daily_bin739.fits outfile=/scratch/kocevski/597525/cmap_HighResolution_430876801_431136001_4FGL_J2258.1-2759_daily_bin739.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/597525/ft1_filtered_4FGL_J2258.1-2759_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/597525/ft2_4FGL_J2258.1-2759_daily_bin739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/597525/Model_4FGL_J2258.1-2759_daily_bin739.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/597525/ft1_filtered_4FGL_J2258.1-2759_daily_bin739.fits.....................!
real 29.45
user 28.23
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.566       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0577       1.0000         .10000E-03   10000.    
     3 'norm      '    88.821       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.1976       1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    219.50       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .68654       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14452E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.514       1.0000         .10000E-03   10000.    
    15 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    81.555       1.0000         .10000E-03   10000.    
    17 'norm      '    4.0602       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .21700E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    314.85       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90046       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94362       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=   2458.315     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     3103 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.564        16.809        .23117E-06    .10321E-05
   2  Prefactor     4.0549        13.628        .89341E-06   -.21528E-05
   3  norm          88.816        54.062        .21634E-06   -.41272E-05
   4  Prefactor     .10000E-03    19.117       -.93881E-08** at limit **
   5  Prefactor     7.1946        29.486        .61978E-06    .32228E-05
   6  norm          .10000E-03    1.7842       -.19599E-06** at limit **
   7  Prefactor     219.48        138.12        .67761E-06   -.15388E-05
   8  Prefactor     .10000E-03    7.9656       -.10943E-07** at limit **
   9  norm          .10000E-03    2.9773       -.19536E-06** at limit **
  10  Prefactor     .10000E-03    19.825       -.73779E-06** at limit **
  11  Prefactor     .10000E-03    17.337       -.84880E-06** at limit **
  12  norm          .68643        1.1670        .10919E-05    .10890E-03
  13  Prefactor     .10000E-03    196.28       -.12968E-05** at limit **
  14  Prefactor     19.510        27.522       -.20502E-05    .18820E-04
  15  norm          .10000E-03    10.974        .10786E-06** at limit **
  16  Prefactor     81.577        152.15        .15328E-05    .14319E-05
  17  norm          4.0692        11.370       -.18708E-05    .95659E-05
  18  Prefactor     .10000E-03    560.59       -.45794E-05** at limit **
  19  Prefactor     314.86        294.32       -.49018E-05    .38832E-05
  20  Prefactor     .10000E-03    143.04        .10246E-05** at limit **
  21  Normalizat    .90061        .34327       -.26382E-05    .17319E-04
  22  Prefactor     .94364        .28267        .24804E-06   -.30812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.5639
  Prefactor  = 4.05492
  norm       = 88.8155
  Prefactor  = 0.0001
  Prefactor  = 7.19456
  norm       = 0.0001
  Prefactor  = 219.475
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.686432
  Prefactor  = 0.000100002
  Prefactor  = 19.5104
  norm       = 0.0001
  Prefactor  = 81.5769
  norm       = 4.06921
  Prefactor  = 0.0001
  Prefactor  = 314.863
  Prefactor  = 0.000100002
  Normalizat = 0.900609
  Prefactor  = 0.943638
 **********
 **   18 **HESSE 
 **********

 FCN=   2458.315     FROM HESSE     STATUS=OK           338 CALLS     3441 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.564        16.831        .10152E-03   -1.4919    
   2  Prefactor     4.0549        13.762        .20016E-03   -1.5305    
   3  norm          88.816        54.108        .42633E-04   -1.3820    
   4  Prefactor     .10000E-03    19.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.1946        28.817        .14951E-03   -1.5171    
   6  norm          .10000E-03    1.7865        .64606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     219.48        137.09        .13650E-03   -1.2734    
   8  Prefactor     .10000E-03    7.9707        .13668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.9875        .83604E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .68643        1.1746        .24020E-03   -1.5542    
  13  Prefactor     .10000E-03    197.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.510        27.477        .90669E-04   -1.4824    
  15  norm          .10000E-03    10.987        .16044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     81.577        153.30        .44476E-04   -1.3899    
  17  norm          4.0692        11.356        .20010E-03   -1.5304    
  18  Prefactor     .10000E-03    561.85        .20154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     314.86        294.68        .11453E-03   -1.2140    
  20  Prefactor     .10000E-03    143.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90061        .42087        .28568E-03   -.96439    
  22  Prefactor     .94364        .34714        .24924E-03   -.94633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.35716e-11
Minuit parameter uncertainties:
  1  16.8362
  2  13.7731
  3  54.1382
  4  1.3128e-05
  5  28.8216
  6  1.26974e-06
  7  137.294
  8  1.33807e-06
  9  1.13888e-05
  10  0.00015748
  11  0.000129225
  12  1.17466
  13  0.00132917
  14  27.4952
  15  4.20314e-06
  16  154.05
  17  11.3621
  18  6.38885e-05
  19  296.101
  20  0.000956557
  21  0.422414
  22  0.347965
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  6.864e-01  1.175e+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

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.436e-01  3.480e-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:  9.006e-01  4.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/597525/likelihoodResults_430876801_431136001_4FGL_J2258.1-2759_daily_bin739.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) = 2458.30527031
delta logL = 0.00972108319729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2458.30499314
delta logL = 0.00999825562576

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69083       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0517       1.0000          .0000       5.0000    
     3 'Normalizat'    .90818       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93923       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=   2458.305     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .69089        78.696        .12027E-02    .16109E-03
   2  alpha         2.0515        3.4889        .42020       -.54773E-05
   3  Normalizat    .90819        .54925        .64358E-01    .66711E-05
   4  Prefactor     .93923        .41790        .45503E-01    .41029E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.690893
  alpha      = 2.05148
  Normalizat = 0.908191
  Prefactor  = 0.939227
 **********
 **   18 **HESSE 
 **********

 FCN=   2458.305     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .69089        1.0233        .48106E-04   -1.5542    
   2  alpha         2.0515        1.5049        .25987E-01   -.18039    
   3  Normalizat    .90819        .37989        .28467E-03   -.96173    
   4  Prefactor     .93923        .33969        .24977E-03   -.94784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09809e-10
Minuit parameter uncertainties:
  1  1.02334
  2  1.61941
  3  0.381023
  4  0.340465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/597525': 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) = 2458.30499313
delta logL = 0.00999826986708

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  6.909e-01  1.023e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.051e+00  1.619e+00  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:  9.392e-01  3.405e-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:  9.082e-01  3.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.72
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/597525/cmap_HighResolution_430876801_431136001_4FGL_J2258.1-2759_daily_bin739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.29e-05', job_status='DONE', photon_flux_upper_limit='1.93e-07', time_completed='2021-09-29 03:10:44.415664', job_id='597525', GAL2='0.94', fit_tolerance='1e-08', EG2='0.91', EG='0.90', time_epoch_completed='1632910244.42', return_code2='0', ts='0.72', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.00e-02', ts2='0.75', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='739' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:10:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 597525: <4FGL_J2258.1-2759_daily_bin739> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin739> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 03:01:04 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:01:05 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:01:05 2021
Terminated at Wed Sep 29 03:10:44 2021
Results reported at Wed Sep 29 03:10:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin739 344.529 -27.9843 430876801 431136001 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 :                                   457.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   579 sec.
    Turnaround time :                            580 sec.

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

