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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin175
RA = 344.529, Dec = -27.9843
tmin = 284688001, tmax = 284947201
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='595760', job_status='RUN', time_executed='2021-09-29 02:59:03.633539', time_epoch_executed='1632909543.63' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='175'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595760

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595760/ft1_4FGL_J2258.1-2759_daily_bin175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595760/ft2_4FGL_J2258.1-2759_daily_bin175.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595760/ft1_4FGL_J2258.1-2759_daily_bin175.fits outfile=/scratch/kocevski/595760/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin175.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=284688001.0 tmax=284947201.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.74
user 3.41
sys 0.32

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595760/ft1_filtered_4FGL_J2258.1-2759_daily_bin175.fits" evtable="EVENTS" scfile=/scratch/kocevski/595760/ft2_4FGL_J2258.1-2759_daily_bin175.fits sctable="SC_DATA" outfile=/scratch/kocevski/595760/ltcube_284688001_284947201_4FGL_J2258.1-2759_daily_bin175.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/595760/ft2_4FGL_J2258.1-2759_daily_bin175.fits
.....................!
real 11.70
user 11.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595760/ft1_filtered_4FGL_J2258.1-2759_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/595760/ft2_4FGL_J2258.1-2759_daily_bin175.fits sctable="SC_DATA" expcube=/scratch/kocevski/595760/ltcube_284688001_284947201_4FGL_J2258.1-2759_daily_bin175.fits outfile=/scratch/kocevski/595760/expmap_284688001_284947201_4FGL_J2258.1-2759_daily_bin175.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/595760/ltcube_284688001_284947201_4FGL_J2258.1-2759_daily_bin175.fits
.....................!
real 190.61
user 185.65
sys 4.61

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/595760/ft1_filtered_4FGL_J2258.1-2759_daily_bin175.fits scfile=/scratch/kocevski/595760/ft2_4FGL_J2258.1-2759_daily_bin175.fits outfile=/scratch/kocevski/595760/cmap_284688001_284947201_4FGL_J2258.1-2759_daily_bin175.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/595760/ft1_filtered_4FGL_J2258.1-2759_daily_bin175.fits scfile=/scratch/kocevski/595760/ft2_4FGL_J2258.1-2759_daily_bin175.fits outfile=/scratch/kocevski/595760/cmap_HighResolution_284688001_284947201_4FGL_J2258.1-2759_daily_bin175.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.647       1.0000         .10000E-03   10000.    
     3 'norm      '    20.960       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.376       1.0000         .10000E-03   10000.    
     6 'norm      '    .14180E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.6624       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10207E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6545       1.0000         .10000E-03   10000.    
    12 'norm      '    .98554E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    46.862       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    13.797       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.298       1.0000         .10000E-03   10000.    
    17 'norm      '    3.5721       1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.092       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84668       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97303       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=   4235.034     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2333 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.9732        .17558E-05** at limit **
   2  Prefactor     16.645        12.303       -.18127E-05    .83058E-04
   3  norm          20.953        20.153       -.19681E-05    .43532E-04
   4  Prefactor     .10000E-03    9.7220       -.78525E-06** at limit **
   5  Prefactor     26.362        18.511       -.45090E-05    .14165E-03
   6  norm          .10000E-03    1.4723       -.56152E-07** at limit **
   7  Prefactor     .10000E-03    57.803       -.61556E-05** at limit **
   8  Prefactor     .10000E-03    8.9905       -.13406E-05** at limit **
   9  norm          8.6580        6.3838       -.23684E-05    .33429E-03
  10  Prefactor     .10000E-03    18.188        .68045E-06** at limit **
  11  Prefactor     1.6766        27.061       -.79608E-05   -.44037E-03
  12  norm          .97535E-01    .94302        .22901E-06   -.10849E-02
  13  Prefactor     46.763        72.163       -.12751E-03    .25728E-04
  14  Prefactor     .10000E-03    8.0839        .74383E-06** at limit **
  15  norm          13.796        9.7586        .15419E-05    .15796E-03
  16  Prefactor     10.269        84.066       -.76361E-04    .22313E-04
  17  norm          3.5716        3.9512       -.99251E-06   -.18588E-03
  18  Prefactor     40.084        33.854       -.80296E-05    .51822E-04
  19  Prefactor     .10000E-03    27.362       -.19767E-05** at limit **
  20  Prefactor     .10000E-03    54.903        .10600E-04** at limit **
  21  Normalizat    .84695        .22587        .18890E-04   -.99284E-04
  22  Prefactor     .97280        .20362        .13973E-05    .46342E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.6448
  norm       = 20.9534
  Prefactor  = 0.0001
  Prefactor  = 26.362
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.65799
  Prefactor  = 0.000100001
  Prefactor  = 1.67659
  norm       = 0.0975346
  Prefactor  = 46.7631
  Prefactor  = 0.0001
  norm       = 13.7964
  Prefactor  = 10.2688
  norm       = 3.57162
  Prefactor  = 40.0841
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.846954
  Prefactor  = 0.972797
 **********
 **   18 **HESSE 
 **********

 FCN=   4235.034     FROM HESSE     STATUS=OK           340 CALLS     2673 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.9927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.645        12.332        .98163E-04   -1.4892    
   3  norm          20.953        20.126        .87488E-04   -1.4792    
   4  Prefactor     .10000E-03    9.7271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.362        18.469        .78002E-04   -1.4681    
   6  norm          .10000E-03    3.5351        .15280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    57.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.0162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.6580        6.1566        .11585E-03   -1.5119    
  10  Prefactor     .10000E-03    18.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6766        19.132        .32814E-03   -1.5449    
  12  norm          .97535E-01    .68612        .91443E-04   -1.5646    
  13  Prefactor     46.763        72.216        .29286E-03   -1.4339    
  14  Prefactor     .10000E-03    8.1256        .18044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.796        9.7550        .10784E-03   -1.4965    
  16  Prefactor     10.269        84.984        .12486E-03   -1.5067    
  17  norm          3.5716        3.9354        .12575E-03   -1.5330    
  18  Prefactor     40.084        33.803        .63305E-04   -1.4441    
  19  Prefactor     .10000E-03    27.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    55.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84695        .26564        .25743E-03   -.98350    
  22  Prefactor     .97280        .24063        .23420E-03   -.93642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42959e-09
Minuit parameter uncertainties:
  1  7.34817e-05
  2  12.334
  3  20.1321
  4  3.71029e-05
  5  18.4726
  6  5.29093e-06
  7  2.59736e-05
  8  0.000105454
  9  6.15702
  10  0.000302351
  11  11.3315
  12  0.517123
  13  72.3513
  14  7.37559e-06
  15  9.75612
  16  59.1965
  17  3.93571
  18  33.8196
  19  2.7265e-05
  20  0.000258588
  21  0.266053
  22  0.240899
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  9.753e-02  5.171e-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:  9.728e-01  2.409e-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.470e-01  2.661e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/595760/likelihoodResults_284688001_284947201_4FGL_J2258.1-2759_daily_bin175.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) = 4234.99487202
delta logL = 0.038652006062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4234.99386772
delta logL = 0.0396563051045

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99658E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1567       1.0000          .0000       5.0000    
     3 'Normalizat'    .83462       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97838       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=   4234.994     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      206 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .98696E-01    5.9750        .95096E-02    .34971E-02
   2  alpha         3.1654        2.6430        .43108        .36075E-04
   3  Normalizat    .83460        .29674E-01    .44060E-01    .22967E-04
   4  Prefactor     .97841        .28995E-01    .45996E-01    .10446E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0986958
  alpha      = 3.16537
  Normalizat = 0.834596
  Prefactor  = 0.978411
 **********
 **   18 **HESSE 
 **********

 FCN=   4234.994     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      241 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .98696E-01    39.061        .54406E-03   -1.5645    
   2  alpha         3.1654        2.9841        .39654E-01    .26940    
   3  Normalizat    .83460        .36885        .25911E-03   -.98798    
   4  Prefactor     .97841        .36702        .23356E-03   -.93453    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.09221e-09
Minuit parameter uncertainties:
  1  3.92752
  2  29.2159
  3  0.369963
  4  0.367958
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595760': 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) = 4234.99386289
delta logL = 0.0396611372835

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  9.870e-02  3.928e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  3.165e+00  2.922e+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:  9.784e-01  3.680e-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.346e-01  3.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/595760/cmap_HighResolution_284688001_284947201_4FGL_J2258.1-2759_daily_bin175.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-05', job_status='DONE', photon_flux_upper_limit='8.79e-08', time_completed='2021-09-29 03:07:40.431942', job_id='595760', GAL2='0.98', fit_tolerance='1e-08', EG2='0.83', EG='0.85', time_epoch_completed='1632910060.43', return_code2='102', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.97e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='175' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:07:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 595760: <4FGL_J2258.1-2759_daily_bin175> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin175 344.529 -27.9843 284688001 284947201 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 :                                   511.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            715 sec.

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

