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


Performing analysis on: 4FGL_J1259.1-2311_daily_bin570
RA = 194.78, Dec = -23.1925
tmin = 387072001, tmax = 387331201
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='74311', job_status='RUN', time_executed='2021-09-06 13:38:17.925534', time_epoch_executed='1630960697.93' WHERE source_name='4FGL J1259.1-2311' and cadence='daily' and bin_id='570'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/74311

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/74311/ft1_4FGL_J1259.1-2311_daily_bin570.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/74311/ft2_4FGL_J1259.1-2311_daily_bin570.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/74311/ft1_4FGL_J1259.1-2311_daily_bin570.fits outfile=/scratch/kocevski/74311/ft1_filteredMKT_4FGL_J1259.1-2311_daily_bin570.fits ra=194.78 dec=-23.1925 rad=12.0 tmin=387072001.0 tmax=387331201.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.40
user 3.17
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/74311/ft2_4FGL_J1259.1-2311_daily_bin570.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/74311/ft2_4FGL_J1259.1-2311_daily_bin570.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/74311/ft1_filteredMKT_4FGL_J1259.1-2311_daily_bin570.fits evtable="EVENTS" outfile="/scratch/kocevski/74311/ft1_filtered_4FGL_J1259.1-2311_daily_bin570.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.50
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/74311/ft1_filtered_4FGL_J1259.1-2311_daily_bin570.fits" evtable="EVENTS" scfile=/scratch/kocevski/74311/ft2_4FGL_J1259.1-2311_daily_bin570.fits sctable="SC_DATA" outfile=/scratch/kocevski/74311/ltcube_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.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/74311/ft2_4FGL_J1259.1-2311_daily_bin570.fits
.....................!
real 11.75
user 11.37
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/74311/ft1_filtered_4FGL_J1259.1-2311_daily_bin570.fits evtable="EVENTS" scfile=/scratch/kocevski/74311/ft2_4FGL_J1259.1-2311_daily_bin570.fits sctable="SC_DATA" expcube=/scratch/kocevski/74311/ltcube_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.fits outfile=/scratch/kocevski/74311/expmap_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.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/74311/ltcube_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.fits
.....................!
real 190.84
user 184.98
sys 5.37

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Added 187 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1259.1-2311 @ 194.78 -23.1925

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/74311/ft1_filtered_4FGL_J1259.1-2311_daily_bin570.fits scfile=/scratch/kocevski/74311/ft2_4FGL_J1259.1-2311_daily_bin570.fits outfile=/scratch/kocevski/74311/cmap_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.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=194.78 yref=-23.1925 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/74311/ft1_filtered_4FGL_J1259.1-2311_daily_bin570.fits scfile=/scratch/kocevski/74311/ft2_4FGL_J1259.1-2311_daily_bin570.fits outfile=/scratch/kocevski/74311/cmap_HighResolution_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.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=194.78 yref=-23.1925 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.64
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/74311/ft1_filtered_4FGL_J1259.1-2311_daily_bin570.fits evtable="EVENTS" scfile=/scratch/kocevski/74311/ft2_4FGL_J1259.1-2311_daily_bin570.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/74311/Model_4FGL_J1259.1-2311_daily_bin570.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/74311/ft1_filtered_4FGL_J1259.1-2311_daily_bin570.fits.....................!
real 112.62
user 109.28
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/74311/ft1_filtered_4FGL_J1259.1-2311_daily_bin570.fits', '/scratch/kocevski/74311/ft2_4FGL_J1259.1-2311_daily_bin570.fits', expMap='/scratch/kocevski/74311/expmap_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.fits', expCube='/scratch/kocevski/74311/ltcube_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/74311/Model_4FGL_J1259.1-2311_daily_bin570.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1259.1-2311'

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  1.169e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/74311/ft1_filtered_4FGL_J1259.1-2311_daily_bin570.fits
Spacecraft file(s): /scratch/kocevski/74311/ft2_4FGL_J1259.1-2311_daily_bin570.fits
Exposure map: /scratch/kocevski/74311/expmap_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.fits
Exposure cube: /scratch/kocevski/74311/ltcube_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/74311/Model_4FGL_J1259.1-2311_daily_bin570.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) = 6639.6913298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1819       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.9328       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.167       1.0000         .10000E-03   10000.    
     8 'norm      '    2.9094       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .67309       1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.194       1.0000         .10000E-03   10000.    
    14 'norm      '    .15244E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    7.8782       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.282       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7238       1.0000         .10000E-03   10000.    
    21 'norm      '    12.991       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2677       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0714       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6639.654     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2565 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    49.136        .59392E-05** at limit **
   2  Prefactor     9.1790        33.017       -.33098E-05    .10593E-04
   3  Prefactor     .10000E-03    8.1174       -.59863E-07** at limit **
   4  Prefactor     .10000E-03    16.148       -.12959E-05** at limit **
   5  Prefactor     33.530        28.342       -.13147E-05    .43200E-04
   6  Prefactor     6.9328        2.7446        .11560E-06    .14199E-02
   7  Prefactor     26.162        21.614       -.18554E-06    .45794E-04
   8  norm          2.9088        1.7041       -.99877E-07   -.22465E-03
   9  Prefactor     .10000E-03    95.417       -.42716E-05** at limit **
  10  norm          .60648        7.9399       -.13224E-05   -.18807E-03
  11  norm          .10000E-03    3.8760        .41050E-07** at limit **
  12  Prefactor     .10000E-03    4.2281        .74002E-07** at limit **
  13  norm          10.192        8.0937       -.27131E-05    .24905E-03
  14  norm          .10065E-03    1.7936       -.85805E-06** at limit **
  15  norm          7.8774        9.1581       -.10723E-05   -.64914E-05
  16  Prefactor     12.281        10.714       -.48127E-06   -.39722E-03
  17  Prefactor     .10000E-03    21.393        .11207E-05** at limit **
  18  Prefactor     .10000E-03    21.087        .20833E-05** at limit **
  19  Prefactor     .10000E-03    5.2403       -.25378E-07** at limit **
  20  Prefactor     1.7192        20.740       -.31710E-05   -.19834E-03
  21  norm          12.989        18.759        .72818E-07   -.63411E-05
  22  Normalizat    1.2678        .30040        .18165E-05    .17390E-03
  23  Prefactor     1.0714        .13195        .58612E-06    .39614E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.17902
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.5299
  Prefactor  = 6.93277
  Prefactor  = 26.1615
  norm       = 2.90879
  Prefactor  = 0.0001
  norm       = 0.60648
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1923
  norm       = 0.000100655
  norm       = 7.87736
  Prefactor  = 12.2809
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.71916
  norm       = 12.9894
  Normalizat = 1.26781
  Prefactor  = 1.07139
 **********
 **   18 **HESSE 
 **********

 FCN=   6639.654     FROM HESSE     STATUS=OK           374 CALLS     2939 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1790        33.012        .13226E-03   -1.5102    
   3  Prefactor     .10000E-03    8.1209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.530        28.329        .69199E-04   -1.4549    
   6  Prefactor     6.9328        2.7745        .41840E-03   -1.5181    
   7  Prefactor     26.162        21.650        .78313E-04   -1.4685    
   8  norm          2.9088        1.7034        .76452E-04   -1.5367    
   9  Prefactor     .10000E-03    95.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .60648        35.541        .43974E-02   -1.5552    
  11  norm          .10000E-03    3.9016        .15659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.2675        .16355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.192        7.9387        .12550E-03   -1.5069    
  14  norm          .10065E-03    36.776        .20520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.8774        9.1872        .14286E-03   -1.5147    
  16  Prefactor     12.281        10.846        .57152E-03   -1.5007    
  17  Prefactor     .10000E-03    21.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.2607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7192        22.420        .31989E-03   -1.5446    
  21  norm          12.989        18.758        .11113E-03   -1.4987    
  22  Normalizat    1.2678        .35022        .39515E-03   -.84532    
  23  Prefactor     1.0714        .15416        .19209E-03   -.90386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75832e-08
Minuit parameter uncertainties:
  1  0.000299877
  2  33.0774
  3  1.59926e-06
  4  2.98094e-05
  5  28.3402
  6  2.77455
  7  21.6562
  8  1.70348
  9  0.000241542
  10  9.29049
  11  2.56575e-06
  12  4.56364e-06
  13  7.93956
  14  0.00982202
  15  9.18889
  16  10.8479
  17  1.79746e-05
  18  7.31719e-05
  19  3.61291e-06
  20  12.422
  21  18.7665
  22  0.350876
  23  0.154228
Done.

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

Extracting fit parameters...

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  4.564e-06  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  1.071e+00  1.542e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.268e+00  3.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 194.780 -23.192
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/74311/likelihoodResults_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.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) = 6639.65518469
delta logL = -0.00111632424705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6639.65406836
delta logL = 2.84035195364e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0974       1.0000          .0000       10.000    
     3 'Normalizat'    1.2678       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0714       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6639.654     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.053        .90712E-02** at limit **
   2  Index         2.1063        5.5919        .50000       -.17974E-04
   3  Normalizat    1.2678        .16055E-01    .89227E-01    .28584E-04
   4  Prefactor     1.0714        .72904E-02    .38791E-01    .27869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.10626
  Normalizat = 1.26781
  Prefactor  = 1.07139
 **********
 **   18 **HESSE 
 **********

 FCN=   6639.654     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      235 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    166.51        .16401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1063        5.0695        .50000       -.61719    
   3  Normalizat    1.2678        .47822E-01    .39515E-03   -.84532    
   4  Prefactor     1.0714        .21760E-01    .19209E-03   -.90386    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.09056e-08
Minuit parameter uncertainties:
  1  6.79788e-05
  2  25.4824
  3  0.0478233
  4  0.02176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/74311': 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) = 6639.65406829
delta logL = 7.35508365324e-08

Extracting fit parameters...

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  6.798e-05  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.106e+00  2.548e+01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  1.071e+00  2.176e-02  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.268e+00  4.782e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 194.780 -23.192

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/74311/cmap_HighResolution_387072001_387331201_4FGL_J1259.1-2311_daily_bin570.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.18e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-06 13:50:55.168678', job_id='74311', GAL2='1.07', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1630961455.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='7.36e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='570' AND source_name='4FGL J1259.1-2311' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 13:50:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 74311: <4FGL_J1259.1-2311_daily_bin570> in cluster <slac> Done

Job <4FGL_J1259.1-2311_daily_bin570> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Sep  6 13:35:34 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 13:35:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 13:35:36 2021
Terminated at Mon Sep  6 13:50:55 2021
Results reported at Mon Sep  6 13:50:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1259.1-2311_daily_bin570 194.78 -23.1925 387072001 387331201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1259.1-2311 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   752.00 sec.
    Max Memory :                                 1031 MB
    Average Memory :                             299.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            921 sec.

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

