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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin594
RA = 344.529, Dec = -27.9843
tmin = 393292801, tmax = 393552001
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='597324', job_status='RUN', time_executed='2021-09-29 03:04:37.719337', time_epoch_executed='1632909877.72' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='594'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/597324

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/597324/ft1_4FGL_J2258.1-2759_daily_bin594.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/597324/ft2_4FGL_J2258.1-2759_daily_bin594.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/597324/ft1_4FGL_J2258.1-2759_daily_bin594.fits outfile=/scratch/kocevski/597324/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin594.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=393292801.0 tmax=393552001.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.63
user 3.40
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/597324/ft2_4FGL_J2258.1-2759_daily_bin594.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/597324/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin594.fits evtable="EVENTS" outfile="/scratch/kocevski/597324/ft1_filtered_4FGL_J2258.1-2759_daily_bin594.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.42
user 0.27
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/597324/ft1_filtered_4FGL_J2258.1-2759_daily_bin594.fits" evtable="EVENTS" scfile=/scratch/kocevski/597324/ft2_4FGL_J2258.1-2759_daily_bin594.fits sctable="SC_DATA" outfile=/scratch/kocevski/597324/ltcube_393292801_393552001_4FGL_J2258.1-2759_daily_bin594.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/597324/ft2_4FGL_J2258.1-2759_daily_bin594.fits
.....................!
real 9.81
user 9.49
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/597324/ft1_filtered_4FGL_J2258.1-2759_daily_bin594.fits evtable="EVENTS" scfile=/scratch/kocevski/597324/ft2_4FGL_J2258.1-2759_daily_bin594.fits sctable="SC_DATA" expcube=/scratch/kocevski/597324/ltcube_393292801_393552001_4FGL_J2258.1-2759_daily_bin594.fits outfile=/scratch/kocevski/597324/expmap_393292801_393552001_4FGL_J2258.1-2759_daily_bin594.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/597324/ltcube_393292801_393552001_4FGL_J2258.1-2759_daily_bin594.fits
.....................!
real 146.20
user 141.89
sys 4.06

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/597324/ft1_filtered_4FGL_J2258.1-2759_daily_bin594.fits scfile=/scratch/kocevski/597324/ft2_4FGL_J2258.1-2759_daily_bin594.fits outfile=/scratch/kocevski/597324/cmap_393292801_393552001_4FGL_J2258.1-2759_daily_bin594.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.45
user 0.29
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/597324/ft1_filtered_4FGL_J2258.1-2759_daily_bin594.fits scfile=/scratch/kocevski/597324/ft2_4FGL_J2258.1-2759_daily_bin594.fits outfile=/scratch/kocevski/597324/cmap_HighResolution_393292801_393552001_4FGL_J2258.1-2759_daily_bin594.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.45
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/597324/ft1_filtered_4FGL_J2258.1-2759_daily_bin594.fits evtable="EVENTS" scfile=/scratch/kocevski/597324/ft2_4FGL_J2258.1-2759_daily_bin594.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/597324/Model_4FGL_J2258.1-2759_daily_bin594.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/597324/ft1_filtered_4FGL_J2258.1-2759_daily_bin594.fits.....................!
real 35.29
user 34.17
sys 1.04

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.928       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5535       1.0000         .10000E-03   10000.    
     3 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.158       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.900       1.0000         .10000E-03   10000.    
     6 'norm      '    3.9464       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.0004       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.3047       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.548       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2095       1.0000         .10000E-03   10000.    
    15 'norm      '    18.699       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.7958       1.0000         .10000E-03   10000.    
    17 'norm      '    8.4314       1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.434       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3740       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .58714       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=   5534.446     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2033 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.928        17.816       -.13578E-05   -.60217E-03
   2  Prefactor     2.5533        5.4320       -.71330E-06   -.52801E-03
   3  norm          .10000E-03    28.904        .23418E-04** at limit **
   4  Prefactor     24.158        14.297        .21023E-07    .16790E-05
   5  Prefactor     11.900        15.097        .50252E-06   -.10342E-03
   6  norm          3.9461        2.5868        .13079E-06   -.22211E-03
   7  Prefactor     8.9983        59.331       -.54464E-05   -.32511E-04
   8  Prefactor     .10000E-03    5.4479        .22322E-06** at limit **
   9  norm          6.3031        4.7433        .56084E-06   -.11388E-03
  10  Prefactor     .10000E-03    5.8325       -.16695E-06** at limit **
  11  Prefactor     .10000E-03    3.4472       -.16506E-06** at limit **
  12  norm          .10000E-03    .22450       -.11715E-06** at limit **
  13  Prefactor     19.547        55.073       -.24030E-05   -.35131E-05
  14  Prefactor     4.2091        4.6836        .18295E-05    .10049E-03
  15  norm          18.698        11.408        .97874E-07   -.19677E-04
  16  Prefactor     4.7954        145.65       -.21295E-05   -.60913E-05
  17  norm          8.4310        4.1649        .18048E-06   -.83120E-04
  18  Prefactor     22.439        35.077        .75692E-05    .43595E-06
  19  Prefactor     .10000E-03    38.487       -.12318E-04** at limit **
  20  Prefactor     .10000E-03    25.264       -.13143E-04** at limit **
  21  Normalizat    1.3742        .19277       -.59128E-06   -.31968E-04
  22  Prefactor     .58703        .17462        .89392E-07   -.10713E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.928
  Prefactor  = 2.5533
  norm       = 0.0001
  Prefactor  = 24.1579
  Prefactor  = 11.8999
  norm       = 3.94613
  Prefactor  = 8.99833
  Prefactor  = 0.0001
  norm       = 6.30312
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.5473
  Prefactor  = 4.20907
  norm       = 18.6983
  Prefactor  = 4.79535
  norm       = 8.431
  Prefactor  = 22.4389
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.37415
  Prefactor  = 0.587032
 **********
 **   18 **HESSE 
 **********

 FCN=   5534.446     FROM HESSE     STATUS=OK           350 CALLS     2383 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.928        18.051        .57995E-03   -1.5017    
   2  Prefactor     2.5533        5.4480        .24445E-03   -1.5388    
   3  norm          .10000E-03    28.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.158        14.297        .81498E-04   -1.4725    
   5  Prefactor     11.900        15.096        .11613E-03   -1.5018    
   6  norm          3.9461        2.6023        .83710E-04   -1.5311    
   7  Prefactor     8.9983        59.868        .13360E-03   -1.5108    
   8  Prefactor     .10000E-03    5.4980        .16954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.3031        4.6052        .12932E-03   -1.5206    
  10  Prefactor     .10000E-03    5.8439        .17532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.4650        .13459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .36663        .66368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.547        55.157        .90588E-04   -1.4823    
  14  Prefactor     4.2091        4.6774        .16456E-03   -1.5298    
  15  norm          18.698        11.396        .92621E-04   -1.4843    
  16  Prefactor     4.7954        148.21        .18371E-03   -1.5270    
  17  norm          8.4310        4.1629        .99638E-04   -1.5127    
  18  Prefactor     22.439        35.115        .84568E-04   -1.4760    
  19  Prefactor     .10000E-03    38.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    25.153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3742        .23247        .21202E-03   -.81379    
  22  Prefactor     .58703        .20639        .29808E-03   -1.0814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53074e-09
Minuit parameter uncertainties:
  1  18.0591
  2  5.44902
  3  4.67178e-05
  4  14.2986
  5  15.1007
  6  2.6024
  7  46.4874
  8  2.40691e-06
  9  4.60546
  10  1.72259e-05
  11  1.61183e-05
  12  6.90756e-06
  13  55.3015
  14  4.67784
  15  11.397
  16  53.4632
  17  4.16308
  18  35.1475
  19  2.78454e-05
  20  3.46606e-06
  21  0.232645
  22  0.206658
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  6.908e-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:  5.870e-01  2.067e-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.374e+00  2.326e-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.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/597324/likelihoodResults_393292801_393552001_4FGL_J2258.1-2759_daily_bin594.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) = 5534.45835629
delta logL = -0.0128502646885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5534.44550308
delta logL = 2.94626261166e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2647       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3741       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58703       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=   5534.445     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      228 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.6278        .19430E-01** at limit **
   2  alpha         1.8605        2.9554        .41384       -.32446E-06
   3  Normalizat    1.3742        .11900E-01    .47960E-01   -.17931E-05
   4  Prefactor     .58703        .11466E-01    .67354E-01    .38675E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.86052
  Normalizat = 1.37415
  Prefactor  = 0.587032
 **********
 **   18 **HESSE 
 **********

 FCN=   5534.445     FROM HESSE     STATUS=OK            31 CALLS      259 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6069        .70207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8605        3.5071        .16554       -.25866    
   3  Normalizat    1.3742        .21038        .21202E-03   -.81379    
   4  Prefactor     .58703        .20223        .29808E-03   -1.0814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72594e-11
Minuit parameter uncertainties:
  1  6.08015e-06
  2  104.265
  3  0.210507
  4  0.202479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/597324': 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) = 5534.44547804
delta logL = 2.79796076939e-05

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  6.080e-06  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  1.861e+00  1.043e+02  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  5.870e-01  2.025e-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.374e+00  2.105e-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/597324/cmap_HighResolution_393292801_393552001_4FGL_J2258.1-2759_daily_bin594.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2021-09-29 03:11:59.515730', job_id='597324', GAL2='0.59', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1632910319.52', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='2.80e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='594' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:11:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 597324: <4FGL_J2258.1-2759_daily_bin594> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin594 344.529 -27.9843 393292801 393552001 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 :                                   440.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            675 sec.

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

