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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin981
RA = 344.529, Dec = -27.9843
tmin = 493603201, tmax = 493862401
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='599932', job_status='RUN', time_executed='2021-09-29 03:12:50.836687', time_epoch_executed='1632910370.84' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='981'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/599932

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/599932/ft1_4FGL_J2258.1-2759_daily_bin981.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/599932/ft2_4FGL_J2258.1-2759_daily_bin981.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/599932/ft1_4FGL_J2258.1-2759_daily_bin981.fits outfile=/scratch/kocevski/599932/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin981.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=493603201.0 tmax=493862401.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.51
user 3.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/599932/ft1_filtered_4FGL_J2258.1-2759_daily_bin981.fits" evtable="EVENTS" scfile=/scratch/kocevski/599932/ft2_4FGL_J2258.1-2759_daily_bin981.fits sctable="SC_DATA" outfile=/scratch/kocevski/599932/ltcube_493603201_493862401_4FGL_J2258.1-2759_daily_bin981.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/599932/ft2_4FGL_J2258.1-2759_daily_bin981.fits
.....................!
real 11.66
user 11.33
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/599932/ft1_filtered_4FGL_J2258.1-2759_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/599932/ft2_4FGL_J2258.1-2759_daily_bin981.fits sctable="SC_DATA" expcube=/scratch/kocevski/599932/ltcube_493603201_493862401_4FGL_J2258.1-2759_daily_bin981.fits outfile=/scratch/kocevski/599932/expmap_493603201_493862401_4FGL_J2258.1-2759_daily_bin981.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/599932/ltcube_493603201_493862401_4FGL_J2258.1-2759_daily_bin981.fits
.....................!
real 190.16
user 185.14
sys 4.53

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/599932/ft1_filtered_4FGL_J2258.1-2759_daily_bin981.fits scfile=/scratch/kocevski/599932/ft2_4FGL_J2258.1-2759_daily_bin981.fits outfile=/scratch/kocevski/599932/cmap_493603201_493862401_4FGL_J2258.1-2759_daily_bin981.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/599932/ft1_filtered_4FGL_J2258.1-2759_daily_bin981.fits scfile=/scratch/kocevski/599932/ft2_4FGL_J2258.1-2759_daily_bin981.fits outfile=/scratch/kocevski/599932/cmap_HighResolution_493603201_493862401_4FGL_J2258.1-2759_daily_bin981.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/599932/ft1_filtered_4FGL_J2258.1-2759_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/599932/ft2_4FGL_J2258.1-2759_daily_bin981.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/599932/Model_4FGL_J2258.1-2759_daily_bin981.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/599932/ft1_filtered_4FGL_J2258.1-2759_daily_bin981.fits.....................!
real 49.00
user 47.74
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10190E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2816       1.0000         .10000E-03   10000.    
     6 'norm      '    1.5134       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12587E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.351       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2313       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.0436       1.0000         .10000E-03   10000.    
    12 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.284       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1651       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8774       1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.280       1.0000         .10000E-03   10000.    
    19 'Prefactor '    150.82       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84204       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83819       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6240.079     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     2053 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6100       -.80792E-10** at limit **
   2  Prefactor     .10000E-03    3.2071        .40549E-07** at limit **
   3  norm          .10003E-03    20.105       -.40943E-05** at limit **
   4  Prefactor     .10000E-03    4.5886        .13599E-05** at limit **
   5  Prefactor     9.2725        7.8925        .16477E-04    .11118E-01
   6  norm          1.5078        1.5371       -.10786E-05   -.32677E-04
   7  Prefactor     .11322E-03    64.964        .38218E-04** at limit **
   8  Prefactor     32.355        1.0817       -.41653E-06   -.16142E-02
   9  norm          2.2306        2.9027       -.38069E-06   -.57948E-04
  10  Prefactor     .10000E-03    4.4288       -.95041E-06** at limit **
  11  Prefactor     5.0457        4.5840        .54106E-06   -.60093E-04
  12  norm          .10000E-03    .29389       -.30652E-06** at limit **
  13  Prefactor     12.268        3.2826       -.50676E-05    .23200E-02
  14  Prefactor     9.1648        3.0601        .19348E-05    .82470E-03
  15  norm          .10000E-03    2.2685       -.33121E-06** at limit **
  16  Prefactor     .10010E-03    34.507        .17219E-05** at limit **
  17  norm          1.8766        2.5885        .51285E-06    .45667E-04
  18  Prefactor     30.285        1.0897        .20009E-06   -.48334E-03
  19  Prefactor     150.82        1.2379       -.36527E-06    .23250E-02
  20  Prefactor     .12463E-03    75.961       -.56533E-04** at limit **
  21  Normalizat    .84175        .17721       -.58315E-05   -.57385E-04
  22  Prefactor     .83845        .17571        .15997E-05    .77484E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100032
  Prefactor  = 0.0001
  Prefactor  = 9.27251
  norm       = 1.50784
  Prefactor  = 0.000113219
  Prefactor  = 32.3545
  norm       = 2.2306
  Prefactor  = 0.0001
  Prefactor  = 5.04574
  norm       = 0.0001
  Prefactor  = 12.268
  Prefactor  = 9.16475
  norm       = 0.0001
  Prefactor  = 0.0001001
  norm       = 1.8766
  Prefactor  = 30.2848
  Prefactor  = 150.817
  Prefactor  = 0.000124633
  Normalizat = 0.841753
  Prefactor  = 0.838449
 **********
 **   18 **HESSE 
 **********

 FCN=   6240.079     FROM HESSE     STATUS=OK           388 CALLS     2441 TOTAL
                     EDM=   .65E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6069        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.1498        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10003E-03    19.754        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.5852        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.2725        9.0961        .32887E-02   -1.5099    
   6  norm          1.5078        1.5609        .86894E-02   -1.5462    
   7  Prefactor     .11322E-03    95.743        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     32.355        11.902        .17612E-02   -1.4570    
   9  norm          2.2306        2.9792        .68804E-02   -1.5409    
  10  Prefactor     .10000E-03    4.4275        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.0457        7.2129        .44762E-02   -1.5259    
  12  norm          .10000E-03    .22369        .17193E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.268        36.523        .28573E-02   -1.5007    
  14  Prefactor     9.1648        8.4013        .33097E-02   -1.5102    
  15  norm          .10000E-03    2.2641        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10010E-03    34.664        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8766        2.6905        .75967E-02   -1.5434    
  18  Prefactor     30.285        27.056        .18203E-02   -1.4607    
  19  Prefactor     150.82        93.695        .82049E-03   -1.3246    
  20  Prefactor     .12463E-03    129.69        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84175        .15391        .44156E-01   -.98538    
  22  Prefactor     .83845        .14886        .44212E-01   -.98326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45585e-07
Minuit parameter uncertainties:
  1  1.81575e-05
  2  5.50497e-05
  3  0.00159461
  4  5.701e-05
  5  9.0975
  6  1.56097
  7  0.071265
  8  11.9025
  9  2.9794
  10  2.48914e-05
  11  7.21416
  12  2.98329e-06
  13  36.5894
  14  8.40234
  15  1.48574e-05
  16  0.00372582
  17  2.69065
  18  27.0667
  19  93.7871
  20  0.113289
  21  0.153989
  22  0.148932
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  2.983e-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:  8.384e-01  1.489e-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.418e-01  1.540e-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: 4.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/599932/likelihoodResults_493603201_493862401_4FGL_J2258.1-2759_daily_bin981.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) = 6240.08055647
delta logL = -0.00115217516668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6240.07939589
delta logL = 8.39785479911e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3197       1.0000          .0000       5.0000    
     3 'Normalizat'    .84166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83854       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=   6239.790     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      252 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23873E-01    .34636E-01    .36564E-02   -.73077E-02
   2  alpha         4.3824        .87465        .41288        .46929E-04
   3  Normalizat    .81058        .15058        .44152E-01   -.13671E-05
   4  Prefactor     .85542        .14857        .44217E-01   -.88443E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0238727
  alpha      = 4.3824
  Normalizat = 0.810578
  Prefactor  = 0.855418
 **********
 **   18 **HESSE 
 **********

 FCN=   6239.790     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      285 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23873E-01    2.3098        .16193E-04   -1.5739    
   2  alpha         4.3824        2.9138        .39001E-01    .85255    
   3  Normalizat    .81058        .15308        .22951E-03   -.99677    
   4  Prefactor     .85542        .15399        .22459E-03   -.97717    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.5634e-06
Minuit parameter uncertainties:
  1  0.468673
  2  11.023
  3  0.153162
  4  0.154066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/599932': 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) = 6239.78955175
delta logL = 0.289852540687

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.387e-02  4.687e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  4.382e+00  1.102e+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:  8.554e-01  1.541e-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.106e-01  1.532e-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/599932/cmap_HighResolution_493603201_493862401_4FGL_J2258.1-2759_daily_bin981.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.86e-05', job_status='DONE', photon_flux_upper_limit='4.92e-08', time_completed='2021-09-29 03:22:58.072526', job_id='599932', GAL2='0.86', fit_tolerance='1e-08', EG2='0.81', EG='0.84', time_epoch_completed='1632910978.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='2.90e-01', ts2='0.60', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='981' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:22:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 599932: <4FGL_J2258.1-2759_daily_bin981> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin981> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 03:10:21 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:10:22 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:10:22 2021
Terminated at Wed Sep 29 03:22:58 2021
Results reported at Wed Sep 29 03:22:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin981 344.529 -27.9843 493603201 493862401 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 :                                   603.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             244.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            757 sec.

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

