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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1143
RA = 181.432, Dec = -26.5946
tmin = 535593601, tmax = 535852801
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='318399', job_status='RUN', time_executed='2021-09-04 23:43:53.207256', time_epoch_executed='1630824233.21' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1143'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318399

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318399/ft1_4FGL_J1205.7-2635_daily_bin1143.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318399/ft2_4FGL_J1205.7-2635_daily_bin1143.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318399/ft1_4FGL_J1205.7-2635_daily_bin1143.fits outfile=/scratch/kocevski/318399/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1143.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=535593601.0 tmax=535852801.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 5.05
user 4.77
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318399/ft2_4FGL_J1205.7-2635_daily_bin1143.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/318399/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1143.fits evtable="EVENTS" outfile="/scratch/kocevski/318399/ft1_filtered_4FGL_J1205.7-2635_daily_bin1143.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318399/ft1_filtered_4FGL_J1205.7-2635_daily_bin1143.fits" evtable="EVENTS" scfile=/scratch/kocevski/318399/ft2_4FGL_J1205.7-2635_daily_bin1143.fits sctable="SC_DATA" outfile=/scratch/kocevski/318399/ltcube_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.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/318399/ft2_4FGL_J1205.7-2635_daily_bin1143.fits
.....................!
real 11.49
user 11.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318399/ft1_filtered_4FGL_J1205.7-2635_daily_bin1143.fits evtable="EVENTS" scfile=/scratch/kocevski/318399/ft2_4FGL_J1205.7-2635_daily_bin1143.fits sctable="SC_DATA" expcube=/scratch/kocevski/318399/ltcube_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.fits outfile=/scratch/kocevski/318399/expmap_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.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/318399/ltcube_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.fits
.....................!
real 191.61
user 186.54
sys 4.72

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/318399/ft1_filtered_4FGL_J1205.7-2635_daily_bin1143.fits scfile=/scratch/kocevski/318399/ft2_4FGL_J1205.7-2635_daily_bin1143.fits outfile=/scratch/kocevski/318399/cmap_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318399/ft1_filtered_4FGL_J1205.7-2635_daily_bin1143.fits scfile=/scratch/kocevski/318399/ft2_4FGL_J1205.7-2635_daily_bin1143.fits outfile=/scratch/kocevski/318399/cmap_HighResolution_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318399/ft1_filtered_4FGL_J1205.7-2635_daily_bin1143.fits evtable="EVENTS" scfile=/scratch/kocevski/318399/ft2_4FGL_J1205.7-2635_daily_bin1143.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318399/Model_4FGL_J1205.7-2635_daily_bin1143.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/318399/ft1_filtered_4FGL_J1205.7-2635_daily_bin1143.fits.....................!
real 84.59
user 82.69
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/318399/ft1_filtered_4FGL_J1205.7-2635_daily_bin1143.fits', '/scratch/kocevski/318399/ft2_4FGL_J1205.7-2635_daily_bin1143.fits', expMap='/scratch/kocevski/318399/expmap_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.fits', expCube='/scratch/kocevski/318399/ltcube_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/318399/Model_4FGL_J1205.7-2635_daily_bin1143.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/318399/ft1_filtered_4FGL_J1205.7-2635_daily_bin1143.fits
Spacecraft file(s): /scratch/kocevski/318399/ft2_4FGL_J1205.7-2635_daily_bin1143.fits
Exposure map: /scratch/kocevski/318399/expmap_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.fits
Exposure cube: /scratch/kocevski/318399/ltcube_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/318399/Model_4FGL_J1205.7-2635_daily_bin1143.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) = 10396.6672103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.692       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4690       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 '    8.6898       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9556       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.0278       1.0000         .10000E-03   10000.    
    10 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.492       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.959       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15354       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.6248       1.0000         .10000E-03   10000.    
    19 'norm      '    .72111       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2486       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10396.64     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1989 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.694        1.0534       -.24240E-06    .77859E-03
   2  Prefactor     6.4621        1.0556       -.40600E-07    .10397E-04
   3  Prefactor     .10000E-03    15.559        .52378E-05** at limit **
   4  norm          .10000E-03    .34327        .15671E-06** at limit **
   5  Prefactor     8.6883        1.0120       -.81211E-07    .67466E-04
   6  Prefactor     1.9542        4.4286       -.29526E-06    .39204E-04
   7  Prefactor     .10000E-03    27.649       -.95480E-05** at limit **
   8  norm          .10000E-03    12.720       -.80980E-05** at limit **
   9  Prefactor     5.0303        1.0742       -.38600E-07    .11387E-03
  10  norm          .10000E-03    1.1648       -.39294E-06** at limit **
  11  Prefactor     10.490        4.7143        .31739E-05    .24415E-03
  12  Prefactor     18.891        3.8802       -.54322E-06    .19639E-02
  13  Prefactor     .10052E-03    364.19       -.31091E-05** at limit **
  14  Prefactor     .10000E-03    6.4633        .23212E-06** at limit **
  15  Prefactor     .10000E-03    4.2374        .26762E-06** at limit **
  16  Prefactor     .10000E-03    9.1188       -.51134E-05** at limit **
  17  Prefactor     .10000E-03    9.8819        .92869E-05** at limit **
  18  Prefactor     1.6244        4.7740        .10263E-04   -.96682E-04
  19  norm          .72103        .66956       -.25208E-06   -.54653E-03
  20  Prefactor     .10001E-03    44.265        .12268E-04** at limit **
  21  Normalizat    1.2486        .21424       -.14287E-05   -.14178E-03
  22  Prefactor     .94090        .10571        .43732E-06   -.29005E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.6944
  Prefactor  = 6.46206
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 8.68825
  Prefactor  = 1.95416
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 5.03026
  norm       = 0.0001
  Prefactor  = 10.4897
  Prefactor  = 18.8912
  Prefactor  = 0.000100524
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.62444
  norm       = 0.721032
  Prefactor  = 0.000100008
  Normalizat = 1.24857
  Prefactor  = 0.9409
 **********
 **   18 **HESSE 
 **********

 FCN=   10396.64     FROM HESSE     STATUS=OK           390 CALLS     2379 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.694        20.489        .24508E-02   -1.4891    
   2  Prefactor     6.4621        11.159        .39449E-02   -1.5200    
   3  Prefactor     .10000E-03    15.668        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .33734        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.6883        10.438        .33995E-02   -1.5118    
   6  Prefactor     1.9542        4.4652        .74174E-02   -1.5428    
   7  Prefactor     .10000E-03    27.465        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    12.695        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0303        9.2852        .44834E-02   -1.5259    
  10  norm          .10000E-03    1.1616        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.490        4.7376        .30924E-02   -1.5060    
  12  Prefactor     18.891        34.703        .22996E-02   -1.4838    
  13  Prefactor     .10052E-03    8.3664        .97635E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.4696        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2377        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.1611        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.8560        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.6244        4.8271        .82978E-02   -1.5453    
  19  norm          .72103        .72659        .18157E-01   -1.5538    
  20  Prefactor     .10001E-03    44.351        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2486        .18535        .72257E-01   -.85115    
  22  Prefactor     .94090        .89411E-01    .45523E-01   -.94726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27232e-07
Minuit parameter uncertainties:
  1  20.4973
  2  11.1626
  3  0.000369052
  4  1.80819e-06
  5  10.4398
  6  4.46596
  7  0.000122134
  8  0.000208105
  9  9.28783
  10  6.8587e-06
  11  4.73781
  12  34.7405
  13  0.00418742
  14  9.02736e-06
  15  1.0745e-05
  16  0.000110086
  17  0.000129779
  18  4.82826
  19  0.726602
  20  0.00115999
  21  0.185446
  22  0.0894255
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.049e+01  4.738e+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:  9.409e-01  8.943e-02  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.249e+00  1.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.22
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 9.71e-08 +/- 4.38e-08
Energy Flux (Fixed Index): 2.73e-05 +/- 1.23e-05

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) = 10396.6065296
delta logL = 0.0326919602721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10396.6019049
delta logL = 0.0373166960653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.336       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4226       1.0000          .0000       10.000    
     3 'Normalizat'    1.2559       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93847       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=   10396.60     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      265 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.336        5.9813        .11899E-03   -.23236E-03
   2  Index         2.4229        .39035        .64749E-02   -.88756E-04
   3  Normalizat    1.2559        .21412        .31896E-03    .60879E-04
   4  Prefactor     .93845        .10536        .17897E-03    .13858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.336
  Index      = 2.42291
  Normalizat = 1.25594
  Prefactor  = 0.938446
 **********
 **   18 **HESSE 
 **********

 FCN=   10396.60     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.336        5.8502        .47595E-05   -1.5034    
   2  Index         2.4229        .38162        .25900E-03   -.54149    
   3  Normalizat    1.2559        .21423        .12758E-04   -.84891    
   4  Prefactor     .93845        .10541        .35794E-04   -.94810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05469e-11
Minuit parameter uncertainties:
  1  5.85051
  2  0.382122
  3  0.214377
  4  0.105432
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318399': 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) = 10396.6019044
delta logL = 0.037317135364

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.134e+01  5.851e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.423e+00  3.821e-01  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:  9.384e-01  1.054e-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.256e+00  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.29
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.42 +/- 0.38
Photon Flux (Free Index): 9.15e-08 +/- 4.68e-08
Energy Flux (Free Index): 2.91e-05 +/- 1.51e-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/318399/cmap_HighResolution_535593601_535852801_4FGL_J1205.7-2635_daily_bin1143.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.71e-08', energy_flux2='2.91e-05', photon_flux_error='4.38e-08', dlogl='3.73e-02', energy_flux='2.73e-05', photon_flux2='9.15e-08', job_status='DONE', time_completed='2021-09-04 23:56:22.329826', photon_index_error2='0.38', photon_index2='2.42', ts='9.22', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.51e-05', EG='1.25', time_epoch_completed='1630824982.33', return_code='0', job_id='318399', GAL2='0.94', EG2='1.26', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='4.68e-08', ts2='9.29', photon_index='2.53' WHERE bin_id='1143' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:56:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 318399: <4FGL_J1205.7-2635_daily_bin1143> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1143> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:40:59 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:41:01 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:41:01 2021
Terminated at Sat Sep  4 23:56:23 2021
Results reported at Sat Sep  4 23:56:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1143 181.432 -26.5946 535593601 535852801 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 :                                   739.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            924 sec.

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

