/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 228 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 = 7263
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2258.1-2759_daily_bin427
RA = 344.529, Dec = -27.9843
tmin = 350006401, tmax = 350265601
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='597067', job_status='RUN', time_executed='2021-09-29 03:04:22.572576', time_epoch_executed='1632909862.57' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/597067

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/597067/ft1_4FGL_J2258.1-2759_daily_bin427.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/597067/ft2_4FGL_J2258.1-2759_daily_bin427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/597067/ft1_4FGL_J2258.1-2759_daily_bin427.fits outfile=/scratch/kocevski/597067/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin427.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=350006401.0 tmax=350265601.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.99
user 3.77
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/597067/ft2_4FGL_J2258.1-2759_daily_bin427.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/597067/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin427.fits evtable="EVENTS" outfile="/scratch/kocevski/597067/ft1_filtered_4FGL_J2258.1-2759_daily_bin427.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/597067/ft1_filtered_4FGL_J2258.1-2759_daily_bin427.fits" evtable="EVENTS" scfile=/scratch/kocevski/597067/ft2_4FGL_J2258.1-2759_daily_bin427.fits sctable="SC_DATA" outfile=/scratch/kocevski/597067/ltcube_350006401_350265601_4FGL_J2258.1-2759_daily_bin427.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/597067/ft2_4FGL_J2258.1-2759_daily_bin427.fits
.....................!
real 12.71
user 12.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/597067/ft1_filtered_4FGL_J2258.1-2759_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/597067/ft2_4FGL_J2258.1-2759_daily_bin427.fits sctable="SC_DATA" expcube=/scratch/kocevski/597067/ltcube_350006401_350265601_4FGL_J2258.1-2759_daily_bin427.fits outfile=/scratch/kocevski/597067/expmap_350006401_350265601_4FGL_J2258.1-2759_daily_bin427.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/597067/ltcube_350006401_350265601_4FGL_J2258.1-2759_daily_bin427.fits
.....................!
real 190.12
user 185.20
sys 4.57

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/597067/ft1_filtered_4FGL_J2258.1-2759_daily_bin427.fits scfile=/scratch/kocevski/597067/ft2_4FGL_J2258.1-2759_daily_bin427.fits outfile=/scratch/kocevski/597067/cmap_350006401_350265601_4FGL_J2258.1-2759_daily_bin427.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/597067/ft1_filtered_4FGL_J2258.1-2759_daily_bin427.fits scfile=/scratch/kocevski/597067/ft2_4FGL_J2258.1-2759_daily_bin427.fits outfile=/scratch/kocevski/597067/cmap_HighResolution_350006401_350265601_4FGL_J2258.1-2759_daily_bin427.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/597067/ft1_filtered_4FGL_J2258.1-2759_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/597067/ft2_4FGL_J2258.1-2759_daily_bin427.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/597067/Model_4FGL_J2258.1-2759_daily_bin427.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/597067/ft1_filtered_4FGL_J2258.1-2759_daily_bin427.fits.....................!
real 42.65
user 41.43
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97663       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.6430       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3018       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0630       1.0000         .10000E-03   10000.    
     9 'norm      '    5.4425       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3986       1.0000         .10000E-03   10000.    
    12 'norm      '    .12422       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .49036E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    .11162E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.169       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2157       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.420       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2557       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .62135       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.

 FCN=   4953.498     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2792 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95862        12.108         .0000        .20315E-03
   2  Prefactor     9.6437        8.7011         .0000        .20154E-02
   3  norm          .10000E-03    11.210         .0000    ** at limit **
   4  Prefactor     .10000E-03    4.2663         .0000    ** at limit **
   5  Prefactor     7.3033        11.147         .0000        .24171E-03
   6  norm          .10000E-03    1.1154         .0000    ** at limit **
   7  Prefactor     .10000E-03    38.506         .0000    ** at limit **
   8  Prefactor     3.0632        8.6721         .0000        .56711E-03
   9  norm          5.4472        6.0819         .0000        .38852E-03
  10  Prefactor     .10000E-03    8.5979         .0000    ** at limit **
  11  Prefactor     2.3747        16.481         .0000        .11247E-01
  12  norm          .12389        .63059         .0000        .18705E-02
  13  Prefactor     .10000E-03    18.192         .0000    ** at limit **
  14  Prefactor     .95763E-01    9.2951         .0000        .10838E-03
  15  norm          .10000E-03    8.3884         .0000    ** at limit **
  16  Prefactor     23.168        41.797         .0000       -.37261E-03
  17  norm          1.2156        2.6358         .0000        .76099E-03
  18  Prefactor     11.423        32.215         .0000       -.34636E-03
  19  Prefactor     .10000E-03    57.906         .0000    ** at limit **
  20  Prefactor     .10000E-03    57.634         .0000    ** at limit **
  21  Normalizat    1.2559        .19186         .0000        .16209E-03
  22  Prefactor     .62107        .17762         .0000        .10351E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.958623
  Prefactor  = 9.6437
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.30332
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.06322
  norm       = 5.4472
  Prefactor  = 0.0001
  Prefactor  = 2.37473
  norm       = 0.123889
  Prefactor  = 0.0001
  Prefactor  = 0.0957635
  norm       = 0.0001
  Prefactor  = 23.1677
  norm       = 1.21559
  Prefactor  = 11.4228
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Normalizat = 1.25595
  Prefactor  = 0.621066
 **********
 **   18 **HESSE 
 **********

 FCN=   4953.498     FROM HESSE     STATUS=OK           352 CALLS     3144 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95862        82.767        .46584E-02   -1.5512    
   2  Prefactor     9.6437        8.7049        .64524E-03   -1.5087    
   3  norm          .10000E-03    11.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.2668        .14198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.3033        11.146        .14843E-03   -1.5167    
   6  norm          .10000E-03    1.1315        .72517E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    38.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0632        8.6732        .23179E-03   -1.5358    
   9  norm          5.4472        5.8426        .13780E-03   -1.5241    
  10  Prefactor     .10000E-03    8.5994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3747        13.228        .13220E-02   -1.5400    
  12  norm          .12389        .67582        .73465E-03   -1.5638    
  13  Prefactor     .10000E-03    18.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .95763E-01    10.971        .56515E-01   -1.5646    
  15  norm          .10000E-03    8.7098        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.168        42.001        .83217E-04   -1.4745    
  17  norm          1.2156        2.5866        .15884E-03   -1.5487    
  18  Prefactor     11.423        32.161        .11855E-03   -1.5032    
  19  Prefactor     .10000E-03    57.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    57.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2559        .22693        .20142E-03   -.84891    
  22  Prefactor     .62107        .20870        .26939E-03   -1.0671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15191e-09
Minuit parameter uncertainties:
  1  17.8395
  2  8.70607
  3  1.99059e-05
  4  6.19377e-06
  5  11.1489
  6  2.21766e-07
  7  0.00017148
  8  8.67674
  9  5.84326
  10  4.00399e-05
  11  11.2129
  12  0.578487
  13  3.39702e-05
  14  2.04927
  15  6.4736e-06
  16  42.055
  17  2.58684
  18  32.2095
  19  0.000368922
  20  0.000712668
  21  0.227105
  22  0.208966
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.239e-01  5.785e-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:  6.211e-01  2.090e-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.256e+00  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 344.529 -27.984
Photon Flux Upper Limit: 7.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/597067/likelihoodResults_350006401_350265601_4FGL_J2258.1-2759_daily_bin427.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) = 4953.45030947
delta logL = 0.0474173778784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4953.4491376
delta logL = 0.0485892446604

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14094       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7944       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2493       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62291       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=   4953.449     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      236 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14118        9.3018        .97046E-02    .22843E-02
   2  alpha         2.7960        2.9559        .41518        .25802E-04
   3  Normalizat    1.2493        .30861E-01    .33780E-01   -.59323E-05
   4  Prefactor     .62298        .30522E-01    .60791E-01   -.61992E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.141179
  alpha      = 2.79596
  Normalizat = 1.24928
  Prefactor  = 0.622984
 **********
 **   18 **HESSE 
 **********

 FCN=   4953.449     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14118        .42223        .62105E-04   -1.5633    
   2  alpha         2.7960        1.5298        .30664E-01    .11866    
   3  Normalizat    1.2493        .20963        .20183E-03   -.85093    
   4  Prefactor     .62298        .20318        .26892E-03   -1.0663    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09986e-09
Minuit parameter uncertainties:
  1  0.42224
  2  1.64833
  3  0.209771
  4  0.203422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/597067': 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) = 4953.44913627
delta logL = 0.0485905758014

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.412e-01  4.222e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.796e+00  1.648e+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:  6.230e-01  2.034e-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.249e+00  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/597067/cmap_HighResolution_350006401_350265601_4FGL_J2258.1-2759_daily_bin427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-05', job_status='DONE', photon_flux_upper_limit='7.79e-08', time_completed='2021-09-29 03:14:10.168424', job_id='597067', GAL2='0.62', fit_tolerance='1e-08', EG2='1.25', EG='1.26', time_epoch_completed='1632910450.17', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='4.86e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='427' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:14:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 597067: <4FGL_J2258.1-2759_daily_bin427> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin427> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 03:00:26 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:00:27 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:27 2021
Terminated at Wed Sep 29 03:14:11 2021
Results reported at Wed Sep 29 03:14:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin427 344.529 -27.9843 350006401 350265601 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 :                                   587.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             243.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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

