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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin871
RA = 344.529, Dec = -27.9843
tmin = 465091201, tmax = 465350401
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='598686', job_status='RUN', time_executed='2021-09-29 03:09:28.650836', time_epoch_executed='1632910168.65' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='871'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598686

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598686/ft1_4FGL_J2258.1-2759_daily_bin871.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598686/ft2_4FGL_J2258.1-2759_daily_bin871.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598686/ft1_4FGL_J2258.1-2759_daily_bin871.fits outfile=/scratch/kocevski/598686/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin871.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=465091201.0 tmax=465350401.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.20
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598686/ft1_filtered_4FGL_J2258.1-2759_daily_bin871.fits evtable="EVENTS" scfile=/scratch/kocevski/598686/ft2_4FGL_J2258.1-2759_daily_bin871.fits sctable="SC_DATA" expcube=/scratch/kocevski/598686/ltcube_465091201_465350401_4FGL_J2258.1-2759_daily_bin871.fits outfile=/scratch/kocevski/598686/expmap_465091201_465350401_4FGL_J2258.1-2759_daily_bin871.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/598686/ltcube_465091201_465350401_4FGL_J2258.1-2759_daily_bin871.fits
.....................!
real 189.56
user 184.69
sys 4.56

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/598686/ft1_filtered_4FGL_J2258.1-2759_daily_bin871.fits scfile=/scratch/kocevski/598686/ft2_4FGL_J2258.1-2759_daily_bin871.fits outfile=/scratch/kocevski/598686/cmap_465091201_465350401_4FGL_J2258.1-2759_daily_bin871.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.54
user 0.36
sys 0.15

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598686/ft1_filtered_4FGL_J2258.1-2759_daily_bin871.fits evtable="EVENTS" scfile=/scratch/kocevski/598686/ft2_4FGL_J2258.1-2759_daily_bin871.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598686/Model_4FGL_J2258.1-2759_daily_bin871.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/598686/ft1_filtered_4FGL_J2258.1-2759_daily_bin871.fits.....................!
real 46.62
user 45.34
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/598686/ft1_filtered_4FGL_J2258.1-2759_daily_bin871.fits', '/scratch/kocevski/598686/ft2_4FGL_J2258.1-2759_daily_bin871.fits', expMap='/scratch/kocevski/598686/expmap_465091201_465350401_4FGL_J2258.1-2759_daily_bin871.fits', expCube='/scratch/kocevski/598686/ltcube_465091201_465350401_4FGL_J2258.1-2759_daily_bin871.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/598686/Model_4FGL_J2258.1-2759_daily_bin871.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/598686/ft1_filtered_4FGL_J2258.1-2759_daily_bin871.fits
Spacecraft file(s): /scratch/kocevski/598686/ft2_4FGL_J2258.1-2759_daily_bin871.fits
Exposure map: /scratch/kocevski/598686/expmap_465091201_465350401_4FGL_J2258.1-2759_daily_bin871.fits
Exposure cube: /scratch/kocevski/598686/ltcube_465091201_465350401_4FGL_J2258.1-2759_daily_bin871.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/598686/Model_4FGL_J2258.1-2759_daily_bin871.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5849.035709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.019       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.764       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .63479       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.9663       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0966       1.0000         .10000E-03   10000.    
     9 'norm      '    .22068       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9105       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4839       1.0000         .10000E-03   10000.    
    15 'norm      '    4.5005       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.4110       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5917       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10577E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .57617       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0932       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .66746       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=   5848.953     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2113 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.776        .22961E-06** at limit **
   2  Prefactor     .10000E-03    12.262       -.53048E-06** at limit **
   3  norm          10.017        16.551        .12371E-05   -.35897E-04
   4  Prefactor     26.725        15.985        .78381E-05   -.69090E-03
   5  Prefactor     .10000E-03    5.2586       -.34654E-06** at limit **
   6  norm          .63336        1.9932       -.15089E-06   -.11835E-02
   7  Prefactor     9.9755        37.038       -.19169E-05    .27279E-04
   8  Prefactor     4.0930        10.025       -.26639E-05   -.49520E-04
   9  norm          .21972        2.0476       -.92189E-06   -.32500E-03
  10  Prefactor     .10000E-03    12.203       -.37833E-06** at limit **
  11  Prefactor     .10000E-03    5.6662        .71198E-06** at limit **
  12  norm          .10000E-03    .20500        .12067E-06** at limit **
  13  Prefactor     1.9037        352.48       -.42238E-04    .15739E-04
  14  Prefactor     1.4771        5.3525       -.16671E-05   -.86606E-03
  15  norm          4.5009        6.2631       -.29506E-05    .59596E-04
  16  Prefactor     .10000E-03    12.310        .25771E-06** at limit **
  17  norm          2.4130        2.7072       -.58397E-06   -.54250E-03
  18  Prefactor     4.5829        39.113        .69805E-05   -.60391E-04
  19  Prefactor     .10000E-03    43.550       -.40323E-05** at limit **
  20  Prefactor     .36275        26.197       -.18056E-05    .33040E-04
  21  Normalizat    1.0932        .16584        .66368E-06    .26661E-03
  22  Prefactor     .66764        .15702        .54700E-06    .18532E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 10.0168
  Prefactor  = 26.7248
  Prefactor  = 0.0001
  norm       = 0.633364
  Prefactor  = 9.97545
  Prefactor  = 4.09297
  norm       = 0.219722
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.90372
  Prefactor  = 1.47706
  norm       = 4.50085
  Prefactor  = 0.0001
  norm       = 2.41299
  Prefactor  = 4.58287
  Prefactor  = 0.0001
  Prefactor  = 0.362751
  Normalizat = 1.09323
  Prefactor  = 0.667639
 **********
 **   18 **HESSE 
 **********

 FCN=   5848.953     FROM HESSE     STATUS=OK           362 CALLS     2475 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.773        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.017        16.504        .12659E-03   -1.5075    
   4  Prefactor     26.725        15.626        .77436E-04   -1.4674    
   5  Prefactor     .10000E-03    5.2903        .17119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .63336        1.9516        .14331E-02   -1.5549    
   7  Prefactor     9.9755        39.418        .12693E-03   -1.5076    
   8  Prefactor     4.0930        10.142        .19918E-03   -1.5303    
   9  norm          .21972        4.3031        .20518E-02   -1.5614    
  10  Prefactor     .10000E-03    12.477        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.8282        .35275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .30961        .63632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.9037        358.11        .30077E-03   -1.5432    
  14  Prefactor     1.4771        5.2224        .31503E-03   -1.5465    
  15  norm          4.5009        6.2927        .18979E-03   -1.5284    
  16  Prefactor     .10000E-03    12.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4130        2.6663        .11780E-03   -1.5397    
  18  Prefactor     4.5829        38.145        .18784E-03   -1.5280    
  19  Prefactor     .10000E-03    43.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .36275        29.602        .13409       -1.5588    
  21  Normalizat    1.0932        .20383        .19649E-03   -.89969    
  22  Prefactor     .66764        .19157        .24516E-03   -1.0481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66337e-08
Minuit parameter uncertainties:
  1  3.72877e-05
  2  0.000180799
  3  16.5118
  4  15.6281
  5  7.03747e-06
  6  1.95184
  7  39.5212
  8  10.1467
  9  1.94445
  10  0.000115345
  11  4.81236e-05
  12  8.76268e-06
  13  52.5411
  14  5.22405
  15  6.29359
  16  4.49674e-06
  17  2.66642
  18  26.4662
  19  0.000194656
  20  6.55628
  21  0.203976
  22  0.191758
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  8.763e-06  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.676e-01  1.918e-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.093e+00  2.040e-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: 4.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/598686/likelihoodResults_465091201_465350401_4FGL_J2258.1-2759_daily_bin871.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) = 5848.96815222
delta logL = -0.0154252830225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5848.95272548
delta logL = 1.45487592818e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3019       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66764       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=   5848.953     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      227 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .31977        .16062E-01** at limit **
   2  alpha         2.6629        3.8225        .41316        .48316E-06
   3  Normalizat    1.0932        .54567E-02    .38283E-01    .51048E-04
   4  Prefactor     .66764        .54711E-02    .41969E-01    .56606E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.66292
  Normalizat = 1.09323
  Prefactor  = 0.66764
 **********
 **   18 **HESSE 
 **********

 FCN=   5848.953     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      262 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    36.155        .56662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6629        3.4956        .50000        .65213E-01
   3  Normalizat    1.0932        .42429E-01    .19649E-03   -.89969    
   4  Prefactor     .66764        .42530E-01    .24516E-03   -1.0481    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.75868e-09
Minuit parameter uncertainties:
  1  2.3005e-05
  2  429.167
  3  0.0424299
  4  0.0425319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598686': 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) = 5848.95270604
delta logL = 2.08993105844e-05

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  2.301e-05  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.663e+00  4.292e+02  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.676e-01  4.253e-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:  1.093e+00  4.243e-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/598686/cmap_HighResolution_465091201_465350401_4FGL_J2258.1-2759_daily_bin871.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.82e-05', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2021-09-29 03:19:30.770152', job_id='598686', GAL2='0.67', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1632910770.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='2.09e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='871' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:19:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 598686: <4FGL_J2258.1-2759_daily_bin871> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin871 344.529 -27.9843 465091201 465350401 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 :                                   600.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            843 sec.

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

