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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin1004
RA = 344.529, Dec = -27.9843
tmin = 499564801, tmax = 499824001
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='599971', job_status='RUN', time_executed='2021-09-29 03:13:12.573952', time_epoch_executed='1632910392.57' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='1004'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/599971

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/599971/ft1_4FGL_J2258.1-2759_daily_bin1004.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/599971/ft2_4FGL_J2258.1-2759_daily_bin1004.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/599971/ft1_4FGL_J2258.1-2759_daily_bin1004.fits outfile=/scratch/kocevski/599971/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1004.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=499564801.0 tmax=499824001.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.10
user 4.81
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/599971/ft1_filtered_4FGL_J2258.1-2759_daily_bin1004.fits" evtable="EVENTS" scfile=/scratch/kocevski/599971/ft2_4FGL_J2258.1-2759_daily_bin1004.fits sctable="SC_DATA" outfile=/scratch/kocevski/599971/ltcube_499564801_499824001_4FGL_J2258.1-2759_daily_bin1004.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/599971/ft2_4FGL_J2258.1-2759_daily_bin1004.fits
.....................!
real 14.43
user 13.98
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/599971/ft1_filtered_4FGL_J2258.1-2759_daily_bin1004.fits evtable="EVENTS" scfile=/scratch/kocevski/599971/ft2_4FGL_J2258.1-2759_daily_bin1004.fits sctable="SC_DATA" expcube=/scratch/kocevski/599971/ltcube_499564801_499824001_4FGL_J2258.1-2759_daily_bin1004.fits outfile=/scratch/kocevski/599971/expmap_499564801_499824001_4FGL_J2258.1-2759_daily_bin1004.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/599971/ltcube_499564801_499824001_4FGL_J2258.1-2759_daily_bin1004.fits
.....................!
real 190.34
user 185.87
sys 3.90

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/599971/ft1_filtered_4FGL_J2258.1-2759_daily_bin1004.fits scfile=/scratch/kocevski/599971/ft2_4FGL_J2258.1-2759_daily_bin1004.fits outfile=/scratch/kocevski/599971/cmap_499564801_499824001_4FGL_J2258.1-2759_daily_bin1004.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/599971/ft1_filtered_4FGL_J2258.1-2759_daily_bin1004.fits scfile=/scratch/kocevski/599971/ft2_4FGL_J2258.1-2759_daily_bin1004.fits outfile=/scratch/kocevski/599971/cmap_HighResolution_499564801_499824001_4FGL_J2258.1-2759_daily_bin1004.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=344.529 yref=-27.9843 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.786       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .11281E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.123       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.447       1.0000         .10000E-03   10000.    
     6 'norm      '    .79827       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .22512E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.328       1.0000         .10000E-03   10000.    
     9 'norm      '    2.7352       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11785E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    76.857       1.0000         .10000E-03   10000.    
    17 'norm      '    .10193E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1513       1.0000         .10000E-03   10000.    
    19 'Prefactor '    588.54       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11170E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4890       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .36695       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=   2344.915     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2353 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.797        22.933        .33138E-07   -.11156E-04
   2  Prefactor     .10000E-03    3.7537        .81393E-08** at limit **
   3  norm          .10000E-03    70.169       -.52891E-06** at limit **
   4  Prefactor     12.130        46.624        .21384E-06   -.35113E-05
   5  Prefactor     18.444        24.178       -.43124E-06   -.19688E-05
   6  norm          .80017        3.0739       -.48098E-06   -.27328E-05
   7  Prefactor     .10000E-03    201.55       -.62337E-06** at limit **
   8  Prefactor     11.334        22.261        .15342E-06   -.10445E-04
   9  norm          2.7334        4.3217        .67547E-07   -.16439E-04
  10  Prefactor     .10000E-03    14.064       -.10264E-07** at limit **
  11  Prefactor     .10000E-03    4.6374        .86437E-08** at limit **
  12  norm          .10000E-03    .65437        .58021E-07** at limit **
  13  Prefactor     .10000E-03    118.31        .16841E-06** at limit **
  14  Prefactor     .10000E-03    9.4020       -.19499E-07** at limit **
  15  norm          .10000E-03    17.397        .12224E-05** at limit **
  16  Prefactor     76.983        124.72        .49124E-06    .13719E-04
  17  norm          .10000E-03    9.6691       -.46397E-05** at limit **
  18  Prefactor     4.0678        287.26        .31816E-05    .10992E-04
  19  Prefactor     588.80        340.89       -.64065E-06    .16818E-04
  20  Prefactor     .10000E-03    106.99        .95761E-06** at limit **
  21  Normalizat    1.4886        .33762       -.18762E-05    .82193E-04
  22  Prefactor     .36711        .28416        .27150E-05    .64112E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.7973
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.1304
  Prefactor  = 18.4437
  norm       = 0.800166
  Prefactor  = 0.0001
  Prefactor  = 11.3342
  norm       = 2.73344
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 76.9831
  norm       = 0.0001
  Prefactor  = 4.06776
  Prefactor  = 588.797
  Prefactor  = 0.0001
  Normalizat = 1.48861
  Prefactor  = 0.367107
 **********
 **   18 **HESSE 
 **********

 FCN=   2344.915     FROM HESSE     STATUS=OK           340 CALLS     2693 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.797        22.976        .87852E-04   -1.4796    
   2  Prefactor     .10000E-03    3.7551        .91631E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    70.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.130        46.678        .11505E-03   -1.5011    
   5  Prefactor     18.444        24.294        .93252E-04   -1.4849    
   6  norm          .80017        2.9856        .15392E-03   -1.5529    
   7  Prefactor     .10000E-03    202.24        .20120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.334        22.260        .11903E-03   -1.5035    
   9  norm          2.7334        4.2316        .12007E-03   -1.5377    
  10  Prefactor     .10000E-03    14.079        .17710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.6426        .10182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .91404        .74482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    118.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.4159        .14500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    17.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     76.983        124.96        .22902E-03   -1.3951    
  17  norm          .10000E-03    9.7914        .14629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.0678        297.94        .19783E-03   -1.5305    
  19  Prefactor     588.80        340.84        .84980E-04   -1.0806    
  20  Prefactor     .10000E-03    107.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4886        .39457        .21143E-03   -.78099    
  22  Prefactor     .36711        .32136        .34438E-03   -1.1852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00427e-11
Minuit parameter uncertainties:
  1  22.9855
  2  4.20026e-07
  3  7.46764e-05
  4  46.8188
  5  24.3065
  6  2.98616
  7  0.000364092
  8  22.2758
  9  4.23206
  10  4.44576e-06
  11  1.53787e-06
  12  9.80463e-07
  13  2.43613e-05
  14  1.93843e-06
  15  9.96311e-06
  16  125.387
  17  3.91606e-05
  18  69.9899
  19  342.04
  20  0.000119344
  21  0.395387
  22  0.322948
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  9.805e-07  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.287e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  3.671e-01  3.229e-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.489e+00  3.954e-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: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.05e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/599971/likelihoodResults_499564801_499824001_4FGL_J2258.1-2759_daily_bin1004.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) = 2344.9200832
delta logL = -0.00507209483158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2344.91501249
delta logL = -1.39435269375e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   2344.915     FROM MIGRAD    STATUS=FAILED        87 CALLS      245 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    222.82        .74536E-03** at limit **
   2  alpha         2.2706        3.3527        .16538        .45534E-05
   3  Normalizat    1.4886        .31188        .21143E-03    .45777E-03
   4  Prefactor     .36711        .26829        .34439E-03    .26383E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   2344.915     FROM SIMPLEX   STATUS=UNCHANGED    166 CALLS      411 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    222.82        .15615E-03** at limit **
   2  alpha         2.2706        3.3527        .12137E-04    .45534E-05
   3  Normalizat    1.4886        .31188        .87795E-06    .45777E-03
   4  Prefactor     .36711        .26829        .18812E-05    .26383E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2344.915     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      448 TOTAL
                     EDM=   .79E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .92022        .14907E-03** at limit **
   2  alpha         2.2563        3.7835        .66151E-01    .61010E-08
   3  Normalizat    1.4886        .36803        .42286E-04   -.17878E-04
   4  Prefactor     .36711        .31602        .13776E-04   -.80878E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.25629
  Normalizat = 1.48861
  Prefactor  = 0.367109
 **********
 **   18 **HESSE 
 **********

 FCN=   2344.915     FROM HESSE     STATUS=OK            23 CALLS      471 TOTAL
                     EDM=   .79E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .91573        .29815E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2563        3.8034        .26461E-02   -.97641E-01
   3  Normalizat    1.4886        .36839        .84573E-05   -.78099    
   4  Prefactor     .36711        .31636        .27551E-05   -1.1852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89494e-13
Minuit parameter uncertainties:
  1  1.43398e-07
  2  88.8202
  3  0.369053
  4  0.317868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/599971': 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) = 2344.91501104
delta logL = 6.18647391093e-08

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  1.434e-07  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.256e+00  8.882e+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:  3.671e-01  3.179e-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.489e+00  3.691e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.05e-05', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2021-09-29 03:20:34.327388', job_id='599971', GAL2='0.37', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1632910834.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.37', dlogl='6.19e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1004' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:20:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 599971: <4FGL_J2258.1-2759_daily_bin1004> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin1004> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 03:10:24 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:10:26 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:10:26 2021
Terminated at Wed Sep 29 03:20:35 2021
Results reported at Wed Sep 29 03:20:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin1004 344.529 -27.9843 499564801 499824001 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 :                                   437.36 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             288.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            611 sec.

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

