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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin82
RA = 344.529, Dec = -27.9843
tmin = 260582401, tmax = 260841601
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='595618', job_status='RUN', time_executed='2021-09-29 02:59:30.720681', time_epoch_executed='1632909570.72' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='82'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595618

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595618/ft1_4FGL_J2258.1-2759_daily_bin82.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595618/ft2_4FGL_J2258.1-2759_daily_bin82.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595618/ft1_4FGL_J2258.1-2759_daily_bin82.fits outfile=/scratch/kocevski/595618/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin82.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=260582401.0 tmax=260841601.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 1.57
user 1.37
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595618/ft2_4FGL_J2258.1-2759_daily_bin82.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/595618/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin82.fits evtable="EVENTS" outfile="/scratch/kocevski/595618/ft1_filtered_4FGL_J2258.1-2759_daily_bin82.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/595618/ft1_filtered_4FGL_J2258.1-2759_daily_bin82.fits" evtable="EVENTS" scfile=/scratch/kocevski/595618/ft2_4FGL_J2258.1-2759_daily_bin82.fits sctable="SC_DATA" outfile=/scratch/kocevski/595618/ltcube_260582401_260841601_4FGL_J2258.1-2759_daily_bin82.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/595618/ft2_4FGL_J2258.1-2759_daily_bin82.fits
.....................!
real 12.25
user 11.85
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595618/ft1_filtered_4FGL_J2258.1-2759_daily_bin82.fits evtable="EVENTS" scfile=/scratch/kocevski/595618/ft2_4FGL_J2258.1-2759_daily_bin82.fits sctable="SC_DATA" expcube=/scratch/kocevski/595618/ltcube_260582401_260841601_4FGL_J2258.1-2759_daily_bin82.fits outfile=/scratch/kocevski/595618/expmap_260582401_260841601_4FGL_J2258.1-2759_daily_bin82.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/595618/ltcube_260582401_260841601_4FGL_J2258.1-2759_daily_bin82.fits
.....................!
real 191.69
user 185.84
sys 5.54

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

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

This is gtbin version HEAD
real 0.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595618/ft1_filtered_4FGL_J2258.1-2759_daily_bin82.fits scfile=/scratch/kocevski/595618/ft2_4FGL_J2258.1-2759_daily_bin82.fits outfile=/scratch/kocevski/595618/cmap_HighResolution_260582401_260841601_4FGL_J2258.1-2759_daily_bin82.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.983       1.0000         .10000E-03   10000.    
     3 'norm      '    11.345       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .54943E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9341       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    43.213       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5207       1.0000         .10000E-03   10000.    
     9 'norm      '    .78924       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .37616       1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.026       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.935       1.0000         .10000E-03   10000.    
    15 'norm      '    12.274       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1633       1.0000         .10000E-03   10000.    
    17 'norm      '    3.6000       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.626       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    246.94       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .69109       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1703       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=   5441.094     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2433 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.2210        .40464E-07** at limit **
   2  Prefactor     16.978        11.238        .45296E-06   -.15776E-03
   3  norm          11.352        23.811       -.48928E-05   -.21077E-03
   4  Prefactor     .10110E-03    20.000        .18512E-05** at limit **
   5  Prefactor     9.9339        12.486        .98738E-06   -.14664E-03
   6  norm          .10008E-03    1.6885        .17101E-05** at limit **
   7  Prefactor     43.324        50.668       -.27064E-05   -.29717E-03
   8  Prefactor     4.5202        11.679        .13271E-05   -.70456E-04
   9  norm          .78770        2.1127        .14446E-05    .89985E-03
  10  Prefactor     .10000E-03    4.8383        .59010E-07** at limit **
  11  Prefactor     .10000E-03    5.7911        .43066E-06** at limit **
  12  norm          .37645        .51388       -.85291E-08   -.73420E-03
  13  Prefactor     36.994        43.410       -.11789E-05   -.50022E-04
  14  Prefactor     12.938        11.068       -.12195E-05   -.37156E-03
  15  norm          12.271        10.953        .72503E-06    .34601E-04
  16  Prefactor     5.1634        95.310        .15793E-05   -.39988E-05
  17  norm          3.5998        3.2428        .15182E-06   -.22196E-04
  18  Prefactor     18.625        35.338        .47720E-06   -.15819E-04
  19  Prefactor     .10000E-03    74.162       -.69120E-07** at limit **
  20  Prefactor     246.90        99.125       -.27298E-05   -.86978E-04
  21  Normalizat    .69109        .20439       -.21656E-05   -.37595E-03
  22  Prefactor     1.1704        .18518        .28257E-06   -.56238E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.9783
  norm       = 11.3515
  Prefactor  = 0.000101103
  Prefactor  = 9.93389
  norm       = 0.000100083
  Prefactor  = 43.3241
  Prefactor  = 4.52019
  norm       = 0.787702
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.376451
  Prefactor  = 36.9943
  Prefactor  = 12.9382
  norm       = 12.271
  Prefactor  = 5.16337
  norm       = 3.59977
  Prefactor  = 18.625
  Prefactor  = 0.0001
  Prefactor  = 246.901
  Normalizat = 0.691087
  Prefactor  = 1.1704
 **********
 **   18 **HESSE 
 **********

 FCN=   5441.094     FROM HESSE     STATUS=OK           360 CALLS     2793 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.2474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.978        11.244        .97188E-04   -1.4884    
   3  norm          11.352        23.691        .11894E-03   -1.5034    
   4  Prefactor     .10110E-03    24.256        .96934E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.9339        12.461        .12714E-03   -1.5078    
   6  norm          .10008E-03    7.9265        .16066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     43.324        51.056        .60985E-04   -1.4391    
   8  Prefactor     4.5202        11.656        .18935E-03   -1.5283    
   9  norm          .78770        1.8945        .17876E-02   -1.5530    
  10  Prefactor     .10000E-03    4.8431        .15838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.8718        .17243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .37645        .46488        .54707E-03   -1.5585    
  13  Prefactor     36.994        43.416        .65865E-04   -1.4491    
  14  Prefactor     12.938        10.966        .11137E-03   -1.4988    
  15  norm          12.271        10.931        .11434E-03   -1.5007    
  16  Prefactor     5.1634        95.493        .17692E-03   -1.5253    
  17  norm          3.5998        3.2261        .11611E-03   -1.5328    
  18  Prefactor     18.625        35.363        .92802E-04   -1.4845    
  19  Prefactor     .10000E-03    74.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     246.90        98.994        .12887E-03   -1.2552    
  21  Normalizat    .69109        .24542        .28692E-03   -1.0425    
  22  Prefactor     1.1704        .22448        .22430E-03   -.87247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16312e-08
Minuit parameter uncertainties:
  1  1.19128e-05
  2  11.245
  3  23.7108
  4  0.0103501
  5  12.4645
  6  0.00161881
  7  51.1079
  8  11.6618
  9  1.89462
  10  1.76374e-06
  11  1.98035e-05
  12  0.464884
  13  43.4532
  14  10.9673
  15  10.9323
  16  44.4923
  17  3.22624
  18  35.4027
  19  9.83041e-05
  20  99.0609
  21  0.245815
  22  0.22466
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.765e-01  4.649e-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:  1.170e+00  2.247e-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:  6.911e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 2.13e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 8.04e-06 +/- 9.93e-06

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

Saving results to:
/scratch/kocevski/595618/likelihoodResults_260582401_260841601_4FGL_J2258.1-2759_daily_bin82.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) = 5441.0918411
delta logL = 0.0024830811044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5441.09155373
delta logL = 0.00277045358689

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38736       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2179       1.0000          .0000       5.0000    
     3 'Normalizat'    .69226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1697       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=   5441.092     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      208 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38736        15.342        .10802E-01    .21072E-02
   2  alpha         2.2179        2.7795        .41488        .26594E-04
   3  Normalizat    .69226        .53450E-01    .64800E-01    .31182E-04
   4  Prefactor     1.1697        .53076E-01    .50748E-01   -.78583E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.387363
  alpha      = 2.2179
  Normalizat = 0.692263
  Prefactor  = 1.16969
 **********
 **   18 **HESSE 
 **********

 FCN=   5441.092     FROM HESSE     STATUS=OK            35 CALLS      243 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38736        .48410        .55679E-03   -1.5584    
   2  alpha         2.2179        .93269        .22305E-01   -.11308    
   3  Normalizat    .69226        .22141        .28670E-03   -1.0420    
   4  Prefactor     1.1697        .22138        .22436E-03   -.87269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74471e-11
Minuit parameter uncertainties:
  1  0.484109
  2  0.95613
  3  0.221693
  4  0.221558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595618': 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) = 5441.09155373
delta logL = 0.00277045370694

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.874e-01  4.841e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.218e+00  9.561e-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:  1.170e+00  2.216e-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:  6.923e-01  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.10
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.22 +/- 0.96
Photon Flux (Free Index): 2.03e-08 +/- 2.69e-08
Energy Flux (Free Index): 8.21e-06 +/- 1.01e-05

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/595618/cmap_HighResolution_260582401_260841601_4FGL_J2258.1-2759_daily_bin82.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-05', comment='SUCCESS', photon_flux='2.13e-08', energy_flux2='8.21e-06', photon_flux_error='2.63e-08', dlogl='2.77e-03', energy_flux='8.04e-06', photon_flux2='2.03e-08', job_status='DONE', time_completed='2021-09-29 03:09:05.724505', photon_index_error2='0.96', photon_index2='2.22', ts='1.09', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='8.31e-08', energy_flux_error2='1.01e-05', EG='0.69', time_epoch_completed='1632910145.72', return_code='0', job_id='595618', GAL2='1.17', EG2='0.69', return_code2='0', energy_flux_error='9.93e-06', photon_flux_error2='2.69e-08', ts2='1.10', photon_index='2.29' WHERE bin_id='82' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:09:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 595618: <4FGL_J2258.1-2759_daily_bin82> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin82> 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) <bullet0267>, 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:09:06 2021
Results reported at Wed Sep 29 03:09:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin82 344.529 -27.9843 260582401 260841601 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 :                                   575.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

