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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin287
RA = 344.529, Dec = -27.9843
tmin = 313718401, tmax = 313977601
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='595905', job_status='RUN', time_executed='2021-09-29 02:58:26.988847', time_epoch_executed='1632909506.99' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='287'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595905

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595905/ft1_4FGL_J2258.1-2759_daily_bin287.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595905/ft2_4FGL_J2258.1-2759_daily_bin287.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595905/ft1_4FGL_J2258.1-2759_daily_bin287.fits outfile=/scratch/kocevski/595905/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin287.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=313718401.0 tmax=313977601.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.39
user 3.17
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595905/ft2_4FGL_J2258.1-2759_daily_bin287.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/595905/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin287.fits evtable="EVENTS" outfile="/scratch/kocevski/595905/ft1_filtered_4FGL_J2258.1-2759_daily_bin287.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595905/ft1_filtered_4FGL_J2258.1-2759_daily_bin287.fits" evtable="EVENTS" scfile=/scratch/kocevski/595905/ft2_4FGL_J2258.1-2759_daily_bin287.fits sctable="SC_DATA" outfile=/scratch/kocevski/595905/ltcube_313718401_313977601_4FGL_J2258.1-2759_daily_bin287.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/595905/ft2_4FGL_J2258.1-2759_daily_bin287.fits
.....................!
real 11.92
user 11.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595905/ft1_filtered_4FGL_J2258.1-2759_daily_bin287.fits evtable="EVENTS" scfile=/scratch/kocevski/595905/ft2_4FGL_J2258.1-2759_daily_bin287.fits sctable="SC_DATA" expcube=/scratch/kocevski/595905/ltcube_313718401_313977601_4FGL_J2258.1-2759_daily_bin287.fits outfile=/scratch/kocevski/595905/expmap_313718401_313977601_4FGL_J2258.1-2759_daily_bin287.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/595905/ltcube_313718401_313977601_4FGL_J2258.1-2759_daily_bin287.fits
.....................!
real 190.17
user 185.28
sys 4.58

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/595905/ft1_filtered_4FGL_J2258.1-2759_daily_bin287.fits scfile=/scratch/kocevski/595905/ft2_4FGL_J2258.1-2759_daily_bin287.fits outfile=/scratch/kocevski/595905/cmap_313718401_313977601_4FGL_J2258.1-2759_daily_bin287.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595905/ft1_filtered_4FGL_J2258.1-2759_daily_bin287.fits scfile=/scratch/kocevski/595905/ft2_4FGL_J2258.1-2759_daily_bin287.fits outfile=/scratch/kocevski/595905/cmap_HighResolution_313718401_313977601_4FGL_J2258.1-2759_daily_bin287.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595905/ft1_filtered_4FGL_J2258.1-2759_daily_bin287.fits evtable="EVENTS" scfile=/scratch/kocevski/595905/ft2_4FGL_J2258.1-2759_daily_bin287.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595905/Model_4FGL_J2258.1-2759_daily_bin287.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/595905/ft1_filtered_4FGL_J2258.1-2759_daily_bin287.fits.....................!
real 52.82
user 51.57
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.981       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.350       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.6336       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5168       1.0000         .10000E-03   10000.    
     9 'norm      '    2.7342       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.267       1.0000         .10000E-03   10000.    
    12 'norm      '    .80561E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    131.11       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10282E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .79786E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.2032       1.0000         .10000E-03   10000.    
    17 'norm      '    .65016       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10274E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.124       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97818       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81479       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=   7034.190     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2402 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.985        16.659        .25047E-02   -.15832E-03
   2  Prefactor     .10000E-03    3.2055        .90712E-02** at limit **
   3  norm          .10000E-03    4.5827        .90712E-02** at limit **
   4  Prefactor     17.337        20.671        .24038E-02   -.15980E-02
   5  Prefactor     .10000E-03    2.7288        .90712E-02** at limit **
   6  norm          2.6336        1.6506        .62816E-02   -.32721E-04
   7  Prefactor     .10000E-03    26.601        .90712E-02** at limit **
   8  Prefactor     3.5195        9.1511        .53893E-02    .32193E-03
   9  norm          2.7341        3.0375        .61561E-02    .45948E-03
  10  Prefactor     .10000E-03    9.9918        .90712E-02** at limit **
  11  Prefactor     18.261        11.198        .23428E-02   -.64794E-03
  12  norm          .81021E-01    .73244        .16295E-01    .27569E-02
  13  Prefactor     131.11        59.867        .87913E-03   -.13788E-02
  14  Prefactor     .10000E-03    8.2978        .90712E-02** at limit **
  15  norm          .10000E-03    5.5421        .64100E-01** at limit **
  16  Prefactor     4.1216        70.391        .49141E-02    .64625E-04
  17  norm          .65046        1.6716        .11869E-01    .15363E-02
  18  Prefactor     .10000E-03    7.6432        .90712E-02** at limit **
  19  Prefactor     .10000E-03    56.217        .90712E-02** at limit **
  20  Prefactor     15.135        39.017        .25747E-02   -.44428E-03
  21  Normalizat    .97793        .15462        .45893E-01   -.56423E-04
  22  Prefactor     .81498        .14620        .43909E-01   -.46499E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.9845
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.3365
  Prefactor  = 0.0001
  norm       = 2.63359
  Prefactor  = 0.0001
  Prefactor  = 3.5195
  norm       = 2.73411
  Prefactor  = 0.0001
  Prefactor  = 18.2614
  norm       = 0.0810211
  Prefactor  = 131.114
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.12163
  norm       = 0.650456
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.1353
  Normalizat = 0.97793
  Prefactor  = 0.814978
 **********
 **   18 **HESSE 
 **********

 FCN=   7034.190     FROM HESSE     STATUS=OK           342 CALLS     2744 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.985        16.655        .10019E-03   -1.4908    
   2  Prefactor     .10000E-03    3.2381        .14660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.5852        .17535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.337        20.671        .96153E-04   -1.4875    
   5  Prefactor     .10000E-03    2.7367        .13529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.6336        1.6489        .82442E-04   -1.5383    
   7  Prefactor     .10000E-03    26.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5195        9.1697        .21557E-03   -1.5333    
   9  norm          2.7341        3.0128        .14225E-03   -1.5377    
  10  Prefactor     .10000E-03    10.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.261        10.275        .93711E-04   -1.4853    
  12  norm          .81021E-01    1.1320        .86531E-03   -1.5651    
  13  Prefactor     131.11        59.954        .35165E-04   -1.3413    
  14  Prefactor     .10000E-03    8.4865        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    21.710        .37507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.1216        69.557        .19656E-03   -1.5302    
  17  norm          .65046        1.6419        .16728E-03   -1.5547    
  18  Prefactor     .10000E-03    7.6603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    56.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.135        39.023        .10299E-03   -1.4930    
  21  Normalizat    .97793        .18597        .22195E-03   -.93773    
  22  Prefactor     .81498        .17461        .23991E-03   -.99179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45465e-08
Minuit parameter uncertainties:
  1  16.6598
  2  4.50793e-06
  3  4.43658e-06
  4  20.6795
  5  7.82142e-06
  6  1.64893
  7  6.01508e-05
  8  9.17339
  9  3.01293
  10  3.00547e-06
  11  10.2758
  12  0.605345
  13  59.9822
  14  8.6668e-07
  15  3.6921e-06
  16  33.9098
  17  1.64198
  18  2.10654e-05
  19  0.00013083
  20  39.0891
  21  0.186097
  22  0.174724
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  8.102e-02  6.053e-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:  8.150e-01  1.747e-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.779e-01  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/595905/likelihoodResults_313718401_313977601_4FGL_J2258.1-2759_daily_bin287.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) = 7034.0250065
delta logL = 0.16526648882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7034.01964197
delta logL = 0.17063101423

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97764E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4181       1.0000          .0000       5.0000    
     3 'Normalizat'    .95928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82372       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=   7034.020     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      210 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97784E-01    1.6832        .94644E-02    .39183E-02
   2  alpha         3.4176        4.2061        .45365        .49281E-04
   3  Normalizat    .95928        .20091E-01    .45655E-01    .11363E-04
   4  Prefactor     .82374        .20128E-01    .44025E-01    .15004E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0977837
  alpha      = 3.41764
  Normalizat = 0.959275
  Prefactor  = 0.823737
 **********
 **   18 **HESSE 
 **********

 FCN=   7034.020     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      245 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97784E-01    13.061        .39076E-03   -1.5645    
   2  alpha         3.4176        2.9324        .28316E-01    .37584    
   3  Normalizat    .95928        .14072        .22362E-03   -.94408    
   4  Prefactor     .82374        .14114        .23858E-03   -.98859    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59645e-06
Minuit parameter uncertainties:
  1  2.25958
  2  15.4363
  3  0.140774
  4  0.141203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595905': 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): 102
logL (Free Index) = 7034.01964191
delta logL = 0.170631078752

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  9.778e-02  2.260e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  3.418e+00  1.544e+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:  8.237e-01  1.412e-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.593e-01  1.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/595905/cmap_HighResolution_313718401_313977601_4FGL_J2258.1-2759_daily_bin287.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.43e-05', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2021-09-29 03:09:32.184852', job_id='595905', GAL2='0.82', fit_tolerance='1e-08', EG2='0.96', EG='0.98', time_epoch_completed='1632910172.18', return_code2='102', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.71e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='287' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:09:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 595905: <4FGL_J2258.1-2759_daily_bin287> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin287> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:55:59 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:56:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:56:00 2021
Terminated at Wed Sep 29 03:09:32 2021
Results reported at Wed Sep 29 03:09:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin287 344.529 -27.9843 313718401 313977601 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 :                                   664.00 sec.
    Max Memory :                                 1167 MB
    Average Memory :                             301.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            813 sec.

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

