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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin932
RA = 344.529, Dec = -27.9843
tmin = 480902401, tmax = 481161601
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='598777', job_status='RUN', time_executed='2021-09-29 03:08:27.780400', time_epoch_executed='1632910107.78' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598777

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598777/ft1_4FGL_J2258.1-2759_daily_bin932.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598777/ft2_4FGL_J2258.1-2759_daily_bin932.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598777/ft1_4FGL_J2258.1-2759_daily_bin932.fits outfile=/scratch/kocevski/598777/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin932.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=480902401.0 tmax=481161601.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.66
user 3.42
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/598777/ft2_4FGL_J2258.1-2759_daily_bin932.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/598777/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin932.fits evtable="EVENTS" outfile="/scratch/kocevski/598777/ft1_filtered_4FGL_J2258.1-2759_daily_bin932.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/598777/ft1_filtered_4FGL_J2258.1-2759_daily_bin932.fits" evtable="EVENTS" scfile=/scratch/kocevski/598777/ft2_4FGL_J2258.1-2759_daily_bin932.fits sctable="SC_DATA" outfile=/scratch/kocevski/598777/ltcube_480902401_481161601_4FGL_J2258.1-2759_daily_bin932.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/598777/ft2_4FGL_J2258.1-2759_daily_bin932.fits
.....................!
real 11.80
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598777/ft1_filtered_4FGL_J2258.1-2759_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/598777/ft2_4FGL_J2258.1-2759_daily_bin932.fits sctable="SC_DATA" expcube=/scratch/kocevski/598777/ltcube_480902401_481161601_4FGL_J2258.1-2759_daily_bin932.fits outfile=/scratch/kocevski/598777/expmap_480902401_481161601_4FGL_J2258.1-2759_daily_bin932.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/598777/ltcube_480902401_481161601_4FGL_J2258.1-2759_daily_bin932.fits
.....................!
real 190.55
user 184.98
sys 5.26

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/598777/ft1_filtered_4FGL_J2258.1-2759_daily_bin932.fits scfile=/scratch/kocevski/598777/ft2_4FGL_J2258.1-2759_daily_bin932.fits outfile=/scratch/kocevski/598777/cmap_480902401_481161601_4FGL_J2258.1-2759_daily_bin932.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598777/ft1_filtered_4FGL_J2258.1-2759_daily_bin932.fits scfile=/scratch/kocevski/598777/ft2_4FGL_J2258.1-2759_daily_bin932.fits outfile=/scratch/kocevski/598777/cmap_HighResolution_480902401_481161601_4FGL_J2258.1-2759_daily_bin932.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598777/ft1_filtered_4FGL_J2258.1-2759_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/598777/ft2_4FGL_J2258.1-2759_daily_bin932.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598777/Model_4FGL_J2258.1-2759_daily_bin932.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/598777/ft1_filtered_4FGL_J2258.1-2759_daily_bin932.fits.....................!
real 41.99
user 40.68
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10530E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.5949       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .62766E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4063       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .14192       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.930       1.0000         .10000E-03   10000.    
    17 'norm      '    7.5078       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.619       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    74.053       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .93523       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2852       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4896.727     FROM MIGRAD    STATUS=CONVERGED    889 CALLS     2786 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.635        .18142E-02** at limit **
   2  Prefactor     .10000E-03    15.718        .36285E-03** at limit **
   3  norm          9.5922        19.728        .12937E-03   -.14324E-04
   4  Prefactor     .10000E-03    28.456        .96957E-01** at limit **
   5  Prefactor     .10000E-03    4.9589        .15198E-02** at limit **
   6  norm          1.4058        2.2308        .12825E-03   -.12649E-03
   7  Prefactor     .10000E-03    73.107        .18142E-02** at limit **
   8  Prefactor     .10000E-03    12.534        .18142E-02** at limit **
   9  norm          .10000E-03    1.3063        .78017E-03** at limit **
  10  Prefactor     .10000E-03    4.4798        .14456E-02** at limit **
  11  Prefactor     .10000E-03    2.4972        .10782E-02** at limit **
  12  norm          .14207        .41232        .73402E-04   -.30636E-03
  13  Prefactor     .10000E-03    41.780        .18142E-02** at limit **
  14  Prefactor     .10000E-03    3.9278        .13527E-02** at limit **
  15  norm          .10000E-03    13.074        .36285E-03** at limit **
  16  Prefactor     29.769        56.962        .73235E-04    .15058E-04
  17  norm          7.5049        5.3660        .12622E-03    .38729E-04
  18  Prefactor     20.659        36.218        .88207E-04    .19848E-04
  19  Prefactor     .10000E-03    39.061        .18142E-02** at limit **
  20  Prefactor     74.079        78.696        .46657E-04   -.48733E-06
  21  Normalizat    .93593        .26158        .27101E-03   -.24331E-05
  22  Prefactor     1.2846        .25573        .23345E-03   -.34089E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.59217
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.4058
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.142074
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.7695
  norm       = 7.50487
  Prefactor  = 20.6586
  Prefactor  = 0.0001
  Prefactor  = 74.0792
  Normalizat = 0.935932
  Prefactor  = 1.28457
 **********
 **   18 **HESSE 
 **********

 FCN=   4896.727     FROM HESSE     STATUS=OK           330 CALLS     3116 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.637        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.718        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.5922        19.727        .51749E-05   -1.5088    
   4  Prefactor     .10000E-03    26.602        .10151       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.9593        .30397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4058        2.2306        .51301E-05   -1.5471    
   7  Prefactor     .10000E-03    73.118        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.538        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.3063        .15603E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.4799        .28913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.4973        .21563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .14207        .41229        .29361E-05   -1.5633    
  13  Prefactor     .10000E-03    41.782        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9280        .27054E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    13.075        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.769        56.957        .29294E-05   -1.4616    
  17  norm          7.5049        5.3662        .50489E-05   -1.5160    
  18  Prefactor     20.659        36.232        .35283E-05   -1.4799    
  19  Prefactor     .10000E-03    39.061        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     74.079        78.702        .93313E-05   -1.3984    
  21  Normalizat    .93593        .26198        .10840E-04   -.95209    
  22  Prefactor     1.2846        .25609        .93381E-05   -.83767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.16616e-11
Minuit parameter uncertainties:
  1  4.06348e-05
  2  5.21704e-05
  3  19.7407
  4  0.00029841
  5  1.38015e-05
  6  2.23074
  7  0.000380948
  8  5.14278e-05
  9  6.01566e-06
  10  1.47676e-05
  11  1.30709e-05
  12  0.412302
  13  4.07118e-05
  14  1.70632e-05
  15  4.07563e-05
  16  57.0614
  17  5.36653
  18  36.2702
  19  4.77905e-06
  20  78.8124
  21  0.262339
  22  0.256345
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.421e-01  4.123e-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.285e+00  2.563e-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:  9.359e-01  2.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/598777/likelihoodResults_480902401_481161601_4FGL_J2258.1-2759_daily_bin932.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) = 4896.38243616
delta logL = 0.344072954519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4896.31998223
delta logL = 0.406526893054

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31838       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3437       1.0000          .0000       5.0000    
     3 'Normalizat'    .95225       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2649       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=   4896.320     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      216 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31889        .61379        .10505E-01    .59055E-03
   2  alpha         1.3445        .91729        .48883       -.15529E-04
   3  Normalizat    .95243        .21031        .45566E-01    .11850E-04
   4  Prefactor     1.2647        .21022        .53111E-01    .26473E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.318892
  alpha      = 1.34447
  Normalizat = 0.95243
  Prefactor  = 1.26473
 **********
 **   18 **HESSE 
 **********

 FCN=   4896.320     FROM HESSE     STATUS=OK            35 CALLS      251 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31889        .46478        .57706E-03   -1.5595    
   2  alpha         1.3445        .84620        .22770E-01   -.48049    
   3  Normalizat    .95243        .25486        .26886E-03   -.94642    
   4  Prefactor     1.2647        .25429        .23482E-03   -.84362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84838e-10
Minuit parameter uncertainties:
  1  0.464785
  2  0.868228
  3  0.255183
  4  0.25454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598777': 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) = 4896.31998124
delta logL = 0.406527876687

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.189e-01  4.648e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  1.344e+00  8.682e-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.265e+00  2.545e-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:  9.524e-01  2.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/598777/cmap_HighResolution_480902401_481161601_4FGL_J2258.1-2759_daily_bin932.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.95e-05', job_status='DONE', photon_flux_upper_limit='7.82e-08', time_completed='2021-09-29 03:18:02.897579', job_id='598777', GAL2='1.26', fit_tolerance='1e-08', EG2='0.95', EG='0.94', time_epoch_completed='1632910682.9', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='4.07e-01', ts2='0.97', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='932' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:18:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 598777: <4FGL_J2258.1-2759_daily_bin932> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin932> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 03:05:33 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:05:34 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:05:34 2021
Terminated at Wed Sep 29 03:18:03 2021
Results reported at Wed Sep 29 03:18:03 2021

Your job looked like:

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

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

