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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin948
RA = 344.529, Dec = -27.9843
tmin = 485049601, tmax = 485308801
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='598799', job_status='RUN', time_executed='2021-09-29 03:08:05.733926', time_epoch_executed='1632910085.73' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598799

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598799/ft1_4FGL_J2258.1-2759_daily_bin948.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598799/ft2_4FGL_J2258.1-2759_daily_bin948.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598799/ft1_4FGL_J2258.1-2759_daily_bin948.fits outfile=/scratch/kocevski/598799/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin948.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=485049601.0 tmax=485308801.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.54
user 3.33
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598799/ft1_filtered_4FGL_J2258.1-2759_daily_bin948.fits" evtable="EVENTS" scfile=/scratch/kocevski/598799/ft2_4FGL_J2258.1-2759_daily_bin948.fits sctable="SC_DATA" outfile=/scratch/kocevski/598799/ltcube_485049601_485308801_4FGL_J2258.1-2759_daily_bin948.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/598799/ft2_4FGL_J2258.1-2759_daily_bin948.fits
.....................!
real 11.69
user 11.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598799/ft1_filtered_4FGL_J2258.1-2759_daily_bin948.fits evtable="EVENTS" scfile=/scratch/kocevski/598799/ft2_4FGL_J2258.1-2759_daily_bin948.fits sctable="SC_DATA" expcube=/scratch/kocevski/598799/ltcube_485049601_485308801_4FGL_J2258.1-2759_daily_bin948.fits outfile=/scratch/kocevski/598799/expmap_485049601_485308801_4FGL_J2258.1-2759_daily_bin948.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/598799/ltcube_485049601_485308801_4FGL_J2258.1-2759_daily_bin948.fits
.....................!
real 192.15
user 187.03
sys 4.78

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/598799/ft1_filtered_4FGL_J2258.1-2759_daily_bin948.fits scfile=/scratch/kocevski/598799/ft2_4FGL_J2258.1-2759_daily_bin948.fits outfile=/scratch/kocevski/598799/cmap_485049601_485308801_4FGL_J2258.1-2759_daily_bin948.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598799/ft1_filtered_4FGL_J2258.1-2759_daily_bin948.fits evtable="EVENTS" scfile=/scratch/kocevski/598799/ft2_4FGL_J2258.1-2759_daily_bin948.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598799/Model_4FGL_J2258.1-2759_daily_bin948.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/598799/ft1_filtered_4FGL_J2258.1-2759_daily_bin948.fits.....................!
real 43.75
user 42.33
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16470E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .69342       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12306E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4734       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10833E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6901       1.0000         .10000E-03   10000.    
     9 'norm      '    3.0885       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1614       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8209       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5711       1.0000         .10000E-03   10000.    
    15 'norm      '    3.0626       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .16566E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.391       1.0000         .10000E-03   10000.    
    19 'Prefactor '    98.682       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .72721       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2216       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=   5393.838     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2365 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.2454        .47131E-08** at limit **
   2  Prefactor     .10010E-03    3.8471       -.49846E-06** at limit **
   3  norm          .10000E-03    24.285        .15908E-06** at limit **
   4  Prefactor     .62504        11.124        .57673E-06   -.12006E-03
   5  Prefactor     .10000E-03    41.902       -.17281E-05** at limit **
   6  norm          1.4684        1.8141       -.67734E-07    .15965E-03
   7  Prefactor     .10000E-03    96.217       -.14959E-06** at limit **
   8  Prefactor     4.6951        13.304        .11423E-05   -.75288E-04
   9  norm          3.0880        4.2580        .22346E-06   -.64504E-03
  10  Prefactor     1.1493        34.814        .10611E-04   -.18308E-03
  11  Prefactor     4.8304        9.8187       -.47807E-05   -.64127E-03
  12  norm          .10000E-03    .25942        .59331E-06** at limit **
  13  Prefactor     .10001E-03    79.486        .20096E-05** at limit **
  14  Prefactor     5.5709        5.5290       -.17443E-07   -.29129E-03
  15  norm          3.0612        5.9340        .28600E-06    .10650E-04
  16  Prefactor     .10001E-03    107.28       -.38879E-05** at limit **
  17  norm          .10000E-03    1.8085        .61888E-08** at limit **
  18  Prefactor     12.396        21.155        .15131E-06   -.11416E-04
  19  Prefactor     98.694        80.520        .48909E-06    .42036E-04
  20  Prefactor     .10000E-03    53.424        .14884E-05** at limit **
  21  Normalizat    .72690        .19003       -.86299E-07    .10785E-03
  22  Prefactor     1.2216        .18297       -.49585E-06    .88863E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100095
  norm       = 0.0001
  Prefactor  = 0.625045
  Prefactor  = 0.0001
  norm       = 1.46836
  Prefactor  = 0.0001
  Prefactor  = 4.69514
  norm       = 3.08796
  Prefactor  = 1.14933
  Prefactor  = 4.83044
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 5.57088
  norm       = 3.0612
  Prefactor  = 0.000100008
  norm       = 0.0001
  Prefactor  = 12.396
  Prefactor  = 98.6939
  Prefactor  = 0.000100005
  Normalizat = 0.726904
  Prefactor  = 1.22162
 **********
 **   18 **HESSE 
 **********

 FCN=   5393.838     FROM HESSE     STATUS=OK           346 CALLS     2711 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.2813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10010E-03    31.419        .27401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    24.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .62504        86.514        .46616E-02   -1.5550    
   5  Prefactor     .10000E-03    43.063        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4684        1.7937        .10584E-03   -1.5466    
   7  Prefactor     .10000E-03    96.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6951        13.346        .18582E-03   -1.5275    
   9  norm          3.0880        4.2057        .15547E-03   -1.5356    
  10  Prefactor     1.1493        32.232        .42741E-03   -1.5494    
  11  Prefactor     4.8304        10.165        .18322E-03   -1.5268    
  12  norm          .10000E-03    .36212        .67685E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    80.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.5709        5.5172        .16298E-03   -1.5236    
  15  norm          3.0612        5.9102        .23181E-03   -1.5358    
  16  Prefactor     .10001E-03    109.59        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.8673        .19268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.396        21.133        .11380E-03   -1.5004    
  19  Prefactor     98.694        80.518        .20234E-03   -1.3718    
  20  Prefactor     .10000E-03    53.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .72690        .22013        .25993E-03   -1.0284    
  22  Prefactor     1.2216        .21447        .21037E-03   -.85669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47076e-09
Minuit parameter uncertainties:
  1  9.25873e-06
  2  0.00346583
  3  0.000121628
  4  14.7277
  5  0.000176661
  6  1.79377
  7  1.67169e-06
  8  13.3541
  9  4.20609
  10  12.1797
  11  10.1682
  12  1.37766e-05
  13  0.00156843
  14  5.51775
  15  5.91128
  16  0.00186727
  17  2.78129e-06
  18  21.1453
  19  80.607
  20  0.0010122
  21  0.220399
  22  0.214625
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  1.378e-05  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.222e+00  2.146e-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.269e-01  2.204e-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: 5.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/598799/likelihoodResults_485049601_485308801_4FGL_J2258.1-2759_daily_bin948.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5393.85070951
delta logL = -0.0130516208128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5393.82686597
delta logL = 0.0107919188413

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5393.827     FROM MIGRAD    STATUS=FAILED        96 CALLS      376 TOTAL
                     EDM=   .76E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55578E-02    6.6181        .20215E-03    .11113E-02
   2  alpha         4.4181        3.1666        .50000        .10739E-02
   3  Normalizat    .71838        .52093E-01    .26131E-03    .21753E-06
   4  Prefactor     1.2264        .53516E-01    .20999E-03    .15700E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5393.827     FROM SIMPLEX   STATUS=UNCHANGED     96 CALLS      472 TOTAL
                     EDM=   .69E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55578E-02    6.6181        .27998E-04    .11113E-02
   2  alpha         4.4181        3.1666        .69398E-02    .10739E-02
   3  Normalizat    .71838        .52093E-01    .95530E-04    .21753E-06
   4  Prefactor     1.2264        .53516E-01    .27247E-04    .15700E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5393.827     FROM MIGRAD    STATUS=FAILED        46 CALLS      518 TOTAL
                     EDM=   .47E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55501E-02    7.6993         .0000        .13075E-03
   2  alpha         4.4189        4.6717         .0000        .10997E-02
   3  Normalizat    .71838        .59875E-01     .0000        .31324E-04
   4  Prefactor     1.2264        .60565E-01     .0000       -.45477E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00555013
  alpha      = 4.41893
  Normalizat = 0.718382
  Prefactor  = 1.22644
 **********
 **   18 **HESSE 
 **********

 FCN=   5393.827     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      545 TOTAL
                     EDM=   .94E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55501E-02    7.7438        .32345E-06   -1.5693    
   2  alpha         4.4189        4.6415        .50000        .87505    
   3  Normalizat    .71838        .60282E-01    .20905E-05   -1.0317    
   4  Prefactor     1.2264        .60900E-01    .16799E-05   -.85522    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.000941578
Minuit parameter uncertainties:
  1  0.410929
  2  44.723
  3  0.0602875
  4  0.0609031
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598799': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 5393.82686593
delta logL = 0.0107919646698

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  5.550e-03  4.109e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  4.419e+00  4.472e+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.226e+00  6.090e-02  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.184e-01  6.029e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/598799/cmap_HighResolution_485049601_485308801_4FGL_J2258.1-2759_daily_bin948.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-05', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2021-09-29 03:17:56.694041', job_id='598799', GAL2='1.23', fit_tolerance='1e-08', EG2='0.72', EG='0.73', time_epoch_completed='1632910676.69', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='1.08e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='948' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:17:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 598799: <4FGL_J2258.1-2759_daily_bin948> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin948 344.529 -27.9843 485049601 485308801 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 :                                   589.18 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             303.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            742 sec.

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

