/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 128 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2258.1-2759_daily_bin77
RA = 344.529, Dec = -27.9843
tmin = 259286401, tmax = 259545601
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='595611', job_status='RUN', time_executed='2021-09-29 02:57:54.440531', time_epoch_executed='1632909474.44' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='77'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595611

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595611/ft1_4FGL_J2258.1-2759_daily_bin77.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595611/ft2_4FGL_J2258.1-2759_daily_bin77.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595611/ft1_4FGL_J2258.1-2759_daily_bin77.fits outfile=/scratch/kocevski/595611/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin77.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=259286401.0 tmax=259545601.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 2.23
user 2.03
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595611/ft1_filtered_4FGL_J2258.1-2759_daily_bin77.fits" evtable="EVENTS" scfile=/scratch/kocevski/595611/ft2_4FGL_J2258.1-2759_daily_bin77.fits sctable="SC_DATA" outfile=/scratch/kocevski/595611/ltcube_259286401_259545601_4FGL_J2258.1-2759_daily_bin77.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/595611/ft2_4FGL_J2258.1-2759_daily_bin77.fits
.....................!
real 15.77
user 15.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595611/ft1_filtered_4FGL_J2258.1-2759_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/595611/ft2_4FGL_J2258.1-2759_daily_bin77.fits sctable="SC_DATA" expcube=/scratch/kocevski/595611/ltcube_259286401_259545601_4FGL_J2258.1-2759_daily_bin77.fits outfile=/scratch/kocevski/595611/expmap_259286401_259545601_4FGL_J2258.1-2759_daily_bin77.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/595611/ltcube_259286401_259545601_4FGL_J2258.1-2759_daily_bin77.fits
.....................!
real 190.37
user 184.96
sys 5.05

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/595611/ft1_filtered_4FGL_J2258.1-2759_daily_bin77.fits scfile=/scratch/kocevski/595611/ft2_4FGL_J2258.1-2759_daily_bin77.fits outfile=/scratch/kocevski/595611/cmap_259286401_259545601_4FGL_J2258.1-2759_daily_bin77.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595611/ft1_filtered_4FGL_J2258.1-2759_daily_bin77.fits scfile=/scratch/kocevski/595611/ft2_4FGL_J2258.1-2759_daily_bin77.fits outfile=/scratch/kocevski/595611/cmap_HighResolution_259286401_259545601_4FGL_J2258.1-2759_daily_bin77.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/595611/ft1_filtered_4FGL_J2258.1-2759_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/595611/ft2_4FGL_J2258.1-2759_daily_bin77.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595611/Model_4FGL_J2258.1-2759_daily_bin77.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/595611/ft1_filtered_4FGL_J2258.1-2759_daily_bin77.fits.....................!
real 48.09
user 46.63
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.733       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.980       1.0000         .10000E-03   10000.    
     6 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    64.282       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    32.260       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.420       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    55.745       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.4229       1.0000         .10000E-03   10000.    
    16 'Prefactor '    57.807       1.0000         .10000E-03   10000.    
    17 'norm      '    3.9873       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.8313       1.0000         .10000E-03   10000.    
    19 'Prefactor '    72.794       1.0000         .10000E-03   10000.    
    20 'Prefactor '    62.386       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89518       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83438       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=   6015.245     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2331 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.732        14.465        .83967E-07   -.13041E-04
   2  Prefactor     .10000E-03    2.0373       -.13901E-07** at limit **
   3  norm          .10000E-03    13.057        .28432E-06** at limit **
   4  Prefactor     .10000E-03    17.374       -.10202E-06** at limit **
   5  Prefactor     18.982        13.962        .91648E-07   -.43408E-04
   6  norm          .10000E-03    1.3317        .64743E-06** at limit **
   7  Prefactor     64.298        46.478       -.35830E-07   -.22928E-04
   8  Prefactor     .10000E-03    12.073       -.28936E-06** at limit **
   9  norm          32.262        7.5158       -.11601E-06   -.63531E-03
  10  Prefactor     31.431        17.359       -.49289E-06   -.28038E-03
  11  Prefactor     .10000E-03    5.3571        .89543E-06** at limit **
  12  norm          .10000E-03    .21167        .41238E-06** at limit **
  13  Prefactor     55.734        48.967       -.10580E-06   -.44493E-04
  14  Prefactor     .10000E-03    4.1366        .36211E-06** at limit **
  15  norm          6.4228        6.6991        .61949E-07   -.10587E-04
  16  Prefactor     57.805        48.797        .77691E-07   -.19101E-04
  17  norm          3.9874        2.7217        .37323E-07   -.25618E-04
  18  Prefactor     9.8316        17.879        .10005E-06   -.41624E-05
  19  Prefactor     72.808        65.768        .24503E-06    .26621E-04
  20  Prefactor     62.380        57.736       -.45173E-08   -.17393E-04
  21  Normalizat    .89498        .17846       -.63340E-06   -.13721E-03
  22  Prefactor     .83460        .16847        .35624E-06   -.16451E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7325
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.9818
  norm       = 0.0001
  Prefactor  = 64.2976
  Prefactor  = 0.0001
  norm       = 32.2624
  Prefactor  = 31.4313
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 55.7336
  Prefactor  = 0.0001
  norm       = 6.42281
  Prefactor  = 57.8054
  norm       = 3.98738
  Prefactor  = 9.83155
  Prefactor  = 72.8078
  Prefactor  = 62.38
  Normalizat = 0.894977
  Prefactor  = 0.8346
 **********
 **   18 **HESSE 
 **********

 FCN=   6015.245     FROM HESSE     STATUS=OK           338 CALLS     2669 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.732        14.469        .11695E-03   -1.5023    
   2  Prefactor     .10000E-03    2.0422        .10810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    13.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.982        13.987        .91935E-04   -1.4836    
   6  norm          .10000E-03    1.3381        .86838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     64.298        46.267        .50053E-04   -1.4103    
   8  Prefactor     .10000E-03    12.492        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          32.262        7.5553        .70547E-04   -1.4571    
  10  Prefactor     31.431        17.678        .71481E-04   -1.4586    
  11  Prefactor     .10000E-03    5.4256        .17537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .23039        .64595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     55.734        48.986        .53727E-04   -1.4213    
  14  Prefactor     .10000E-03    4.1527        .15395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.4228        6.6968        .15837E-03   -1.5201    
  16  Prefactor     57.805        49.051        .52765E-04   -1.4186    
  17  norm          3.9874        2.7208        .10089E-03   -1.5309    
  18  Prefactor     9.8316        17.867        .12780E-03   -1.5081    
  19  Prefactor     72.808        65.792        .23528E-03   -1.3999    
  20  Prefactor     62.380        57.762        .50803E-04   -1.4127    
  21  Normalizat    .89498        .21038        .24368E-03   -.96637    
  22  Prefactor     .83460        .19753        .24842E-03   -.98465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92132e-10
Minuit parameter uncertainties:
  1  14.4732
  2  6.62482e-07
  3  1.7019e-05
  4  1.62746e-05
  5  13.9898
  6  2.99394e-06
  7  46.2926
  8  1.3107e-06
  9  7.55549
  10  17.6814
  11  5.19155e-06
  12  3.83919e-06
  13  49.0217
  14  4.94426e-06
  15  6.6976
  16  49.0852
  17  2.72086
  18  17.8765
  19  65.8583
  20  57.8138
  21  0.210577
  22  0.197701
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  3.839e-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:  8.346e-01  1.977e-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:  8.950e-01  2.106e-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.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/595611/likelihoodResults_259286401_259545601_4FGL_J2258.1-2759_daily_bin77.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) = 6015.24550362
delta logL = -3.97075682486e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6015.24546758
delta logL = -3.66355197912e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2787       1.0000          .0000       5.0000    
     3 'Normalizat'    .89490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83490       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.

 FCN=   6015.245     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      243 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .32267        .64733E-03** at limit **
   2  alpha         2.1407        3.6672        .16543        .18170E-06
   3  Normalizat    .89498        .19677        .24368E-03    .16459E-02
   4  Prefactor     .83460        .19546        .24842E-03    .16590E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.14074
  Normalizat = 0.89498
  Prefactor  = 0.834603
 **********
 **   18 **HESSE 
 **********

 FCN=   6015.245     FROM HESSE     STATUS=OK            23 CALLS      266 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .23353        .12947E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1407        2.6799        .66171E-02   -.14420    
   3  Normalizat    .89498        .19695        .48737E-04   -.96637    
   4  Prefactor     .83460        .19564        .49685E-04   -.98465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11257e-09
Minuit parameter uncertainties:
  1  2.77726e-06
  2  61.8223
  3  0.197111
  4  0.195799
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595611': 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) = 6015.2454611
delta logL = 2.80891345028e-06

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  2.777e-06  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.141e+00  6.182e+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.346e-01  1.958e-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:  8.950e-01  1.971e-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/595611/cmap_HighResolution_259286401_259545601_4FGL_J2258.1-2759_daily_bin77.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-05', job_status='DONE', photon_flux_upper_limit='5.16e-08', time_completed='2021-09-29 03:08:06.145156', job_id='595611', GAL2='0.83', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632910086.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='77' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:08:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 595611: <4FGL_J2258.1-2759_daily_bin77> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin77> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:55:36 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:55:37 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:55:37 2021
Terminated at Wed Sep 29 03:08:06 2021
Results reported at Wed Sep 29 03:08:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin77 344.529 -27.9843 259286401 259545601 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 :                                   611.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            750 sec.

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

