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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1497
RA = 181.432, Dec = -26.5946
tmin = 627350401, tmax = 627609601
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='319827', job_status='RUN', time_executed='2021-09-04 23:47:23.328332', time_epoch_executed='1630824443.33' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1497'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319827

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319827/ft1_4FGL_J1205.7-2635_daily_bin1497.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319827/ft2_4FGL_J1205.7-2635_daily_bin1497.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319827/ft1_4FGL_J1205.7-2635_daily_bin1497.fits outfile=/scratch/kocevski/319827/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1497.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=627350401.0 tmax=627609601.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 2.79
user 2.54
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319827/ft2_4FGL_J1205.7-2635_daily_bin1497.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/319827/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1497.fits evtable="EVENTS" outfile="/scratch/kocevski/319827/ft1_filtered_4FGL_J1205.7-2635_daily_bin1497.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/319827/ft1_filtered_4FGL_J1205.7-2635_daily_bin1497.fits" evtable="EVENTS" scfile=/scratch/kocevski/319827/ft2_4FGL_J1205.7-2635_daily_bin1497.fits sctable="SC_DATA" outfile=/scratch/kocevski/319827/ltcube_627350401_627609601_4FGL_J1205.7-2635_daily_bin1497.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/319827/ft2_4FGL_J1205.7-2635_daily_bin1497.fits
.....................!
real 12.73
user 12.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319827/ft1_filtered_4FGL_J1205.7-2635_daily_bin1497.fits evtable="EVENTS" scfile=/scratch/kocevski/319827/ft2_4FGL_J1205.7-2635_daily_bin1497.fits sctable="SC_DATA" expcube=/scratch/kocevski/319827/ltcube_627350401_627609601_4FGL_J1205.7-2635_daily_bin1497.fits outfile=/scratch/kocevski/319827/expmap_627350401_627609601_4FGL_J1205.7-2635_daily_bin1497.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/319827/ltcube_627350401_627609601_4FGL_J1205.7-2635_daily_bin1497.fits
.....................!
real 191.26
user 185.81
sys 4.41

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/319827/ft1_filtered_4FGL_J1205.7-2635_daily_bin1497.fits scfile=/scratch/kocevski/319827/ft2_4FGL_J1205.7-2635_daily_bin1497.fits outfile=/scratch/kocevski/319827/cmap_627350401_627609601_4FGL_J1205.7-2635_daily_bin1497.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319827/ft1_filtered_4FGL_J1205.7-2635_daily_bin1497.fits scfile=/scratch/kocevski/319827/ft2_4FGL_J1205.7-2635_daily_bin1497.fits outfile=/scratch/kocevski/319827/cmap_HighResolution_627350401_627609601_4FGL_J1205.7-2635_daily_bin1497.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/319827/ft1_filtered_4FGL_J1205.7-2635_daily_bin1497.fits evtable="EVENTS" scfile=/scratch/kocevski/319827/ft2_4FGL_J1205.7-2635_daily_bin1497.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319827/Model_4FGL_J1205.7-2635_daily_bin1497.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/319827/ft1_filtered_4FGL_J1205.7-2635_daily_bin1497.fits.....................!
real 73.16
user 71.67
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10621E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.703       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.8851       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    46.713       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.2619       1.0000         .10000E-03   10000.    
    10 'norm      '    9.9141       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15018E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18337E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.427       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11167E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    51.602       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11643E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.7238       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90063       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0421       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.

 FCN=   8994.008     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2350 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.415        .40735E-08** at limit **
   2  Prefactor     18.696        11.958        .12658E-06    .11180E-03
   3  Prefactor     .10001E-03    46.553        .25588E-05** at limit **
   4  norm          2.8847        1.3521        .34488E-08   -.22442E-03
   5  Prefactor     .10000E-03    7.0808        .33413E-09** at limit **
   6  Prefactor     .10000E-03    2.4564        .14372E-07** at limit **
   7  Prefactor     .10000E-03    9.0790        .51298E-08** at limit **
   8  norm          46.724        24.759       -.19825E-06   -.97249E-04
   9  Prefactor     9.2834        19.931       -.41672E-05   -.37628E-03
  10  norm          9.9169        5.9723        .13961E-05   -.24644E-02
  11  Prefactor     .10003E-03    2.2713       -.47198E-06** at limit **
  12  Prefactor     .10000E-03    158.77       -.93766E-06** at limit **
  13  Prefactor     .10000E-03    4.6399        .43802E-08** at limit **
  14  Prefactor     27.525        29.700        .65714E-06    .29335E-03
  15  Prefactor     .10000E-03    12.640        .65809E-06** at limit **
  16  Prefactor     51.604        49.079       -.71396E-06   -.96491E-04
  17  Prefactor     .10000E-03    14.981       -.29935E-06** at limit **
  18  Prefactor     .10001E-03    31.672        .25026E-05** at limit **
  19  norm          6.7233        1.5566       -.59882E-09    .31386E-04
  20  Prefactor     .10003E-03    34.233       -.47966E-05** at limit **
  21  Normalizat    .90083        .21266        .24034E-06    .53399E-04
  22  Prefactor     1.0422        .10302       -.71272E-07    .15416E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.696
  Prefactor  = 0.000100008
  norm       = 2.88472
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 46.7241
  Prefactor  = 9.28338
  norm       = 9.91692
  Prefactor  = 0.000100025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.5249
  Prefactor  = 0.000100001
  Prefactor  = 51.6036
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 6.72325
  Prefactor  = 0.00010003
  Normalizat = 0.900827
  Prefactor  = 1.04218
 **********
 **   18 **HESSE 
 **********

 FCN=   8994.008     FROM HESSE     STATUS=OK           334 CALLS     2684 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.696        11.988        .92612E-04   -1.4843    
   3  Prefactor     .10001E-03    47.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.8847        1.3506        .72661E-04   -1.5368    
   5  Prefactor     .10000E-03    7.1377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.4922        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.0860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          46.724        24.811        .58666E-04   -1.4340    
   9  Prefactor     9.2834        20.118        .13169E-03   -1.5098    
  10  norm          9.9169        6.7063        .63632E-03   -1.5078    
  11  Prefactor     .10003E-03    15.144        .25242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    159.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.6570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.525        28.387        .76496E-04   -1.4658    
  15  Prefactor     .10000E-03    12.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     51.604        49.162        .55830E-04   -1.4270    
  17  Prefactor     .10000E-03    15.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    33.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.7233        1.5567        .54936E-04   -1.5189    
  20  Prefactor     .10003E-03    38.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90083        .24431        .37696E-03   -.96431    
  22  Prefactor     1.0422        .11922        .17823E-03   -.91336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62784e-09
Minuit parameter uncertainties:
  1  8.2883e-06
  2  11.9898
  3  0.00126679
  4  1.35065
  5  2.11308e-06
  6  4.64083e-06
  7  6.59829e-06
  8  24.817
  9  20.1325
  10  6.70677
  11  0.00123471
  12  3.7651e-05
  13  1.86823e-07
  14  28.4013
  15  0.000199014
  16  49.2011
  17  9.36634e-05
  18  0.000967333
  19  1.55674
  20  0.00216509
  21  0.244608
  22  0.119247
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.235e-03  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.042e+00  1.192e-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:  9.008e-01  2.446e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 9.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319827/likelihoodResults_627350401_627609601_4FGL_J1205.7-2635_daily_bin1497.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) = 8994.00800209
delta logL = -0.00031332321123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8994.0076888
delta logL = -3.49791662302e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5380       1.0000          .0000       10.000    
     3 'Normalizat'    .90086       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0422       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=   8994.008     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      235 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .18917        .50235E-01** at limit **
   2  Index         2.5457        5.4910        .50000       -.42237E-05
   3  Normalizat    .90083        .13551E-02    .85134E-01    .69407E-04
   4  Prefactor     1.0422        .68761E-03    .40391E-01    .43548E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.54575
  Normalizat = 0.900827
  Prefactor  = 1.04218
 **********
 **   18 **HESSE 
 **********

 FCN=   8994.008     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    210.95        .30789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5457        8.7261        .50000       -.51307    
   3  Normalizat    .90083        .19682E-01    .37696E-03   -.96431    
   4  Prefactor     1.0422        .10010E-01    .17823E-03   -.91336    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.84713e-07
Minuit parameter uncertainties:
  1  0.000355018
  2  538.467
  3  0.0196818
  4  0.01001
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319827': 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) = 8994.00768875
delta logL = 1.89829734154e-08

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  3.550e-04  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.546e+00  5.385e+02  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.042e+00  1.001e-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:  9.008e-01  1.968e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 181.432 -26.595

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/319827/cmap_HighResolution_627350401_627609601_4FGL_J1205.7-2635_daily_bin1497.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-03', job_status='DONE', photon_flux_upper_limit='9.07e-08', time_completed='2021-09-05 00:00:31.645696', job_id='319827', GAL2='1.04', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630825231.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.90e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1497' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 00:00:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 319827: <4FGL_J1205.7-2635_daily_bin1497> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1497> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:37 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:40 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:40 2021
Terminated at Sun Sep  5 00:00:32 2021
Results reported at Sun Sep  5 00:00:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1497 181.432 -26.5946 627350401 627609601 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 :                                   779.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            895 sec.

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

