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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1575
RA = 181.432, Dec = -26.5946
tmin = 647568001, tmax = 647827201
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='319951', job_status='RUN', time_executed='2021-09-04 23:47:24.900894', time_epoch_executed='1630824444.9' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1575'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319951

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319951/ft1_4FGL_J1205.7-2635_daily_bin1575.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319951/ft1_4FGL_J1205.7-2635_daily_bin1575.fits outfile=/scratch/kocevski/319951/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1575.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=647568001.0 tmax=647827201.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.43
user 3.22
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.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/319951/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1575.fits evtable="EVENTS" outfile="/scratch/kocevski/319951/ft1_filtered_4FGL_J1205.7-2635_daily_bin1575.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319951/ft1_filtered_4FGL_J1205.7-2635_daily_bin1575.fits" evtable="EVENTS" scfile=/scratch/kocevski/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.fits sctable="SC_DATA" outfile=/scratch/kocevski/319951/ltcube_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.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/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.fits
.....................!
real 11.79
user 11.44
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319951/ft1_filtered_4FGL_J1205.7-2635_daily_bin1575.fits evtable="EVENTS" scfile=/scratch/kocevski/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.fits sctable="SC_DATA" expcube=/scratch/kocevski/319951/ltcube_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.fits outfile=/scratch/kocevski/319951/expmap_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.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/319951/ltcube_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.fits
.....................!
real 191.20
user 185.82
sys 4.95

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1205.7-2635 @ 181.432 -26.5946

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/319951/ft1_filtered_4FGL_J1205.7-2635_daily_bin1575.fits scfile=/scratch/kocevski/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.fits outfile=/scratch/kocevski/319951/cmap_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.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=181.432 yref=-26.5946 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/319951/ft1_filtered_4FGL_J1205.7-2635_daily_bin1575.fits scfile=/scratch/kocevski/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.fits outfile=/scratch/kocevski/319951/cmap_HighResolution_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.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=181.432 yref=-26.5946 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319951/ft1_filtered_4FGL_J1205.7-2635_daily_bin1575.fits evtable="EVENTS" scfile=/scratch/kocevski/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319951/Model_4FGL_J1205.7-2635_daily_bin1575.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/319951/ft1_filtered_4FGL_J1205.7-2635_daily_bin1575.fits.....................!
real 63.21
user 61.88
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/319951/ft1_filtered_4FGL_J1205.7-2635_daily_bin1575.fits', '/scratch/kocevski/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.fits', expMap='/scratch/kocevski/319951/expmap_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.fits', expCube='/scratch/kocevski/319951/ltcube_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/319951/Model_4FGL_J1205.7-2635_daily_bin1575.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1205.7-2635'

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.173e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/319951/ft1_filtered_4FGL_J1205.7-2635_daily_bin1575.fits
Spacecraft file(s): /scratch/kocevski/319951/ft2_4FGL_J1205.7-2635_daily_bin1575.fits
Exposure map: /scratch/kocevski/319951/expmap_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.fits
Exposure cube: /scratch/kocevski/319951/ltcube_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/319951/Model_4FGL_J1205.7-2635_daily_bin1575.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) = 7124.03081033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5807       1.0000         .10000E-03   10000.    
     8 'norm      '    67.575       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .25656       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4950       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.639       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    51.176       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1677       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7968       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4331       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0550       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+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=   7124.028     FROM MIGRAD    STATUS=CONVERGED    848 CALLS     2743 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.605        .18142E-02** at limit **
   2  Prefactor     .10000E-03    4.6233        .17706E-02** at limit **
   3  Prefactor     .10000E-03    15.022        .18142E-02** at limit **
   4  norm          .10000E-03    .78420        .14323E-03** at limit **
   5  Prefactor     .10000E-03    19.545        .18142E-02** at limit **
   6  Prefactor     .10000E-03    2.7237        .13573E-02** at limit **
   7  Prefactor     4.5637        54.599        .18808E-03    .20371E-04
   8  norm          67.572        32.833        .48826E-04    .27009E-04
   9  Prefactor     .10000E-03    10.134        .18142E-02** at limit **
  10  norm          .25477        23.870        .27021E-02    .24470E-03
  11  Prefactor     5.4961        6.7895        .17140E-03    .10533E-03
  12  Prefactor     18.659        53.311        .92770E-04   -.13112E-04
  13  Prefactor     .10000E-03    4.9348        .18142E-02** at limit **
  14  Prefactor     51.177        35.156        .56061E-04    .44655E-04
  15  Prefactor     2.1822        828.46        .27972E-03   -.25239E-04
  16  Prefactor     1.4711        6593.1        .31193E-02   -.68373E-05
  17  Prefactor     .10000E-03    24.494        .18142E-02** at limit **
  18  Prefactor     .10000E-03    4.2315        .16949E-02** at limit **
  19  norm          .10000E-03    1.4672        .14260E-02** at limit **
  20  Prefactor     .10000E-03    51.579        .18142E-02** at limit **
  21  Normalizat    1.4332        .30815        .35003E-03    .36898E-03
  22  Prefactor     1.0550        .14604        .19163E-03    .28928E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.56372
  norm       = 67.5724
  Prefactor  = 0.0001
  norm       = 0.254769
  Prefactor  = 5.49614
  Prefactor  = 18.6592
  Prefactor  = 0.0001
  Prefactor  = 51.1772
  Prefactor  = 2.18224
  Prefactor  = 1.47112
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.43315
  Prefactor  = 1.05504
 **********
 **   18 **HESSE 
 **********

 FCN=   7124.028     FROM HESSE     STATUS=OK           324 CALLS     3067 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.606        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.6236        .35413E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.022        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .78420        .28646E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.554        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.7238        .27146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.5637        54.574        .75231E-05   -1.5281    
   8  norm          67.572        32.832        .97652E-05   -1.4062    
   9  Prefactor     .10000E-03    10.135        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .25477        23.720        .10808E-03   -1.5607    
  11  Prefactor     5.4961        6.7881        .68561E-05   -1.5239    
  12  Prefactor     18.659        52.656        .37108E-05   -1.4844    
  13  Prefactor     .10000E-03    4.9351        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     51.177        35.145        .11212E-04   -1.4276    
  15  Prefactor     2.1822        441.66        .11189E-04   -1.5413    
  16  Prefactor     1.4711        1830.0        .12477E-03   -1.5465    
  17  Prefactor     .10000E-03    24.502        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.2317        .33898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.4720        .28519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    51.580        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4332        .30622        .70006E-04   -.79675    
  22  Prefactor     1.0550        .14588        .38326E-04   -.90917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.59148e-10
Minuit parameter uncertainties:
  1  1.08198e-05
  2  2.07672e-06
  3  1.63217e-05
  4  1.14287e-06
  5  1.177e-05
  6  1.61122e-06
  7  31.5989
  8  32.8403
  9  3.69331e-05
  10  4.91755
  11  6.78907
  12  52.7872
  13  1.72558e-06
  14  35.1597
  15  62.5622
  16  107.236
  17  6.03632e-05
  18  1.99018e-06
  19  2.57403e-05
  20  4.90672e-05
  21  0.306613
  22  0.145937
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  5.496e+00  6.789e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.055e+00  1.459e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.433e+00  3.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.94
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 1.81e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319951/likelihoodResults_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.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) = 7124.00588004
delta logL = 0.0220924097121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7123.99954038
delta logL = 0.0284320618939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7124.000     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7698        144.90        .46073E-02    .56192E-03
   2  Index         2.7542        6.3585        .22729        .10967E-03
   3  Normalizat    1.4228        .86631E-01    .79314E-01    .49697E-04
   4  Prefactor     1.0583        .37432E-01    .39437E-01   -.52013E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.76976
  Index      = 2.75425
  Normalizat = 1.42276
  Prefactor  = 1.05831
 **********
 **   18 **HESSE 
 **********

 FCN=   7124.000     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7698        7.1963        .18429E-03   -1.5271    
   2  Index         2.7542        1.0546        .99907E-02   -.46581    
   3  Normalizat    1.4228        .30505        .35105E-03   -.79973    
   4  Prefactor     1.0583        .14540        .19137E-03   -.90810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.06167e-10
Minuit parameter uncertainties:
  1  7.19755
  2  1.06465
  3  0.305437
  4  0.145455
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319951': 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) = 7123.99953862
delta logL = 0.0284338311758

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  4.770e+00  7.198e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.754e+00  1.065e+00  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.058e+00  1.455e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.423e+00  3.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.01
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.75 +/- 1.06
Photon Flux (Free Index): 5.98e-08 +/- 7.27e-08
Energy Flux (Free Index): 1.38e-05 +/- 1.60e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/319951/cmap_HighResolution_647568001_647827201_4FGL_J1205.7-2635_daily_bin1575.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', comment='SUCCESS', energy_flux2='1.38e-05', dlogl='2.84e-02', photon_flux2='5.98e-08', job_status='DONE', time_completed='2021-09-04 23:59:38.344763', photon_index_error2='1.06', photon_index2='2.75', ts='0.94', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.81e-07', energy_flux_error2='1.60e-05', EG='1.43', time_epoch_completed='1630825178.34', return_code='0', job_id='319951', GAL2='1.06', EG2='1.42', return_code2='0', photon_flux_error2='7.27e-08', ts2='1.01', photon_index='2.53' WHERE bin_id='1575' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:59:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 319951: <4FGL_J1205.7-2635_daily_bin1575> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1575> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:48 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 23:45:50 2021
Terminated at Sat Sep  4 23:59:39 2021
Results reported at Sat Sep  4 23:59:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1575 181.432 -26.5946 647568001 647827201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1205.7-2635 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   731.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            831 sec.

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

