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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin250
RA = 344.529, Dec = -27.9843
tmin = 304128001, tmax = 304387201
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='595868', job_status='RUN', time_executed='2021-09-29 02:59:36.846063', time_epoch_executed='1632909576.85' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595868

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595868/ft1_4FGL_J2258.1-2759_daily_bin250.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595868/ft2_4FGL_J2258.1-2759_daily_bin250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595868/ft1_4FGL_J2258.1-2759_daily_bin250.fits outfile=/scratch/kocevski/595868/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin250.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=304128001.0 tmax=304387201.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.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595868/ft1_filtered_4FGL_J2258.1-2759_daily_bin250.fits" evtable="EVENTS" scfile=/scratch/kocevski/595868/ft2_4FGL_J2258.1-2759_daily_bin250.fits sctable="SC_DATA" outfile=/scratch/kocevski/595868/ltcube_304128001_304387201_4FGL_J2258.1-2759_daily_bin250.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/595868/ft2_4FGL_J2258.1-2759_daily_bin250.fits
.....................!
real 12.06
user 11.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595868/ft1_filtered_4FGL_J2258.1-2759_daily_bin250.fits evtable="EVENTS" scfile=/scratch/kocevski/595868/ft2_4FGL_J2258.1-2759_daily_bin250.fits sctable="SC_DATA" expcube=/scratch/kocevski/595868/ltcube_304128001_304387201_4FGL_J2258.1-2759_daily_bin250.fits outfile=/scratch/kocevski/595868/expmap_304128001_304387201_4FGL_J2258.1-2759_daily_bin250.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/595868/ltcube_304128001_304387201_4FGL_J2258.1-2759_daily_bin250.fits
.....................!
real 191.56
user 186.01
sys 5.19

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/595868/ft1_filtered_4FGL_J2258.1-2759_daily_bin250.fits scfile=/scratch/kocevski/595868/ft2_4FGL_J2258.1-2759_daily_bin250.fits outfile=/scratch/kocevski/595868/cmap_304128001_304387201_4FGL_J2258.1-2759_daily_bin250.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=344.529 yref=-27.9843 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595868/ft1_filtered_4FGL_J2258.1-2759_daily_bin250.fits scfile=/scratch/kocevski/595868/ft2_4FGL_J2258.1-2759_daily_bin250.fits outfile=/scratch/kocevski/595868/cmap_HighResolution_304128001_304387201_4FGL_J2258.1-2759_daily_bin250.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595868/ft1_filtered_4FGL_J2258.1-2759_daily_bin250.fits evtable="EVENTS" scfile=/scratch/kocevski/595868/ft2_4FGL_J2258.1-2759_daily_bin250.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595868/Model_4FGL_J2258.1-2759_daily_bin250.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/595868/ft1_filtered_4FGL_J2258.1-2759_daily_bin250.fits.....................!
real 48.40
user 46.99
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    23.540       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.147       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.0751       1.0000         .10000E-03   10000.    
     6 'norm      '    1.9356       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.125       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3102       1.0000         .10000E-03   10000.    
     9 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.6129       1.0000         .10000E-03   10000.    
    12 'norm      '    .70778E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    46.701       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.7541       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.7872       1.0000         .10000E-03   10000.    
    17 'norm      '    .62058       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13980       1.0000         .10000E-03   10000.    
    19 'Prefactor '    44.118       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1780       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .72670       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=   6147.917     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2440 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.390       -.25801E-05** at limit **
   2  Prefactor     .10000E-03    9.0011        .73760E-06** at limit **
   3  norm          23.535        20.173        .41106E-05   -.47957E-05
   4  Prefactor     15.145        17.566        .83917E-06    .18848E-05
   5  Prefactor     9.0747        10.713       -.90491E-06   -.60339E-04
   6  norm          1.9357        3.1248        .50788E-06   -.57612E-03
   7  Prefactor     14.120        46.445       -.93454E-05   -.21127E-04
   8  Prefactor     4.3096        9.7349       -.18882E-05   -.16058E-03
   9  norm          .10000E-03    1.1467        .75352E-07** at limit **
  10  Prefactor     .10000E-03    4.4296       -.13167E-07** at limit **
  11  Prefactor     8.6083        7.1527       -.68403E-06   -.69093E-03
  12  norm          .10024E-03    .33052        .16611E-06** at limit **
  13  Prefactor     46.659        54.149       -.29882E-04    .12979E-04
  14  Prefactor     .10000E-03    13.471        .10095E-05** at limit **
  15  norm          3.7530        6.2644       -.77568E-05   -.25865E-03
  16  Prefactor     7.7860        24.633       -.98931E-05    .58882E-05
  17  norm          .62145        2.1102       -.15654E-05   -.14486E-02
  18  Prefactor     .10005E-03    16.674       -.32531E-05** at limit **
  19  Prefactor     44.156        72.627        .45693E-04    .45815E-04
  20  Prefactor     .10000E-03    10.397       -.12604E-05** at limit **
  21  Normalizat    1.1780        .17720        .29227E-05    .14289E-03
  22  Prefactor     .72678        .16947       -.15775E-06    .26042E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.5348
  Prefactor  = 15.1446
  Prefactor  = 9.07472
  norm       = 1.93575
  Prefactor  = 14.12
  Prefactor  = 4.30965
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.60835
  norm       = 0.000100236
  Prefactor  = 46.6593
  Prefactor  = 0.0001
  norm       = 3.75303
  Prefactor  = 7.78596
  norm       = 0.62145
  Prefactor  = 0.000100052
  Prefactor  = 44.1557
  Prefactor  = 0.0001
  Normalizat = 1.17803
  Prefactor  = 0.726776
 **********
 **   18 **HESSE 
 **********

 FCN=   6147.917     FROM HESSE     STATUS=OK           364 CALLS     2804 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.2589        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          23.535        20.137        .82560E-04   -1.4737    
   4  Prefactor     15.145        17.559        .10291E-03   -1.4929    
   5  Prefactor     9.0747        10.703        .13304E-03   -1.5105    
   6  norm          1.9357        3.0420        .13226E-03   -1.5430    
   7  Prefactor     14.120        45.540        .10657E-03   -1.4956    
   8  Prefactor     4.3096        9.7511        .19404E-03   -1.5293    
   9  norm          .10000E-03    1.1532        .81889E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.4328        .16102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.6083        8.1561        .13659E-03   -1.5121    
  12  norm          .10024E-03    1.0781        .12162E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     46.659        54.133        .58673E-04   -1.4341    
  14  Prefactor     .10000E-03    13.847        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.7530        6.2808        .20838E-03   -1.5320    
  16  Prefactor     7.7860        24.632        .14370E-03   -1.5150    
  17  norm          .62145        2.1011        .20040E-03   -1.5550    
  18  Prefactor     .10005E-03    16.786        .95958E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     44.156        72.608        .60359E-04   -1.4378    
  20  Prefactor     .10000E-03    10.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1780        .20890        .21186E-03   -.87284    
  22  Prefactor     .72678        .19832        .26157E-03   -1.0249    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36544e-09
Minuit parameter uncertainties:
  1  0.000103218
  2  4.99345e-05
  3  20.1429
  4  17.5654
  5  10.7048
  6  3.04228
  7  45.6528
  8  9.75467
  9  1.3852e-06
  10  6.04491e-06
  11  8.15713
  12  0.00100947
  13  54.1902
  14  1.13164e-06
  15  6.28192
  16  24.6645
  17  2.10133
  18  0.00187185
  19  72.7543
  20  1.68723e-05
  21  0.209049
  22  0.198517
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.002e-04  1.009e-03  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:  7.268e-01  1.985e-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.178e+00  2.090e-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: 6.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/595868/likelihoodResults_304128001_304387201_4FGL_J2258.1-2759_daily_bin250.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) = 6147.9175834
delta logL = -0.000358739074727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6147.805523
delta logL = 0.111701662657

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76992E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3012       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73098       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=   6147.806     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      241 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77105E-01    2.3216        .94010E-02    .37324E-02
   2  alpha         3.3008        4.0441        .44205        .41713E-04
   3  Normalizat    1.1645        .22601E-01    .35830E-01   -.10536E-05
   4  Prefactor     .73096        .22613E-01    .42812E-01    .19123E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.077105
  alpha      = 3.30078
  Normalizat = 1.16445
  Prefactor  = 0.730955
 **********
 **   18 **HESSE 
 **********

 FCN=   6147.806     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      276 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77105E-01    19.262        .42355E-03   -1.5652    
   2  alpha         3.3008        4.0491        .32136E-01    .32606    
   3  Normalizat    1.1645        .20255        .21278E-03   -.87709    
   4  Prefactor     .73096        .22042        .26072E-03   -1.0233    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.57864e-11
Minuit parameter uncertainties:
  1  2.43655
  2  18.4129
  3  0.202687
  4  0.220684
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595868': 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) = 6147.80552285
delta logL = 0.111701812836

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  7.710e-02  2.437e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  3.301e+00  1.841e+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:  7.310e-01  2.207e-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.164e+00  2.027e-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/595868/cmap_HighResolution_304128001_304387201_4FGL_J2258.1-2759_daily_bin250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.35e-05', job_status='DONE', photon_flux_upper_limit='6.23e-08', time_completed='2021-09-29 03:10:13.581994', job_id='595868', GAL2='0.73', fit_tolerance='1e-08', EG2='1.16', EG='1.18', time_epoch_completed='1632910213.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.12e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='250' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:10:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 595868: <4FGL_J2258.1-2759_daily_bin250> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin250 344.529 -27.9843 304128001 304387201 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 :                                   632.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            861 sec.

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

