/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 127 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 = 7473
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1205.7-2635_daily_bin269
RA = 181.432, Dec = -26.5946
tmin = 309052801, tmax = 309312001
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='313765', job_status='RUN', time_executed='2021-09-04 23:28:01.818126', time_epoch_executed='1630823281.82' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/313765

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/313765/ft1_4FGL_J1205.7-2635_daily_bin269.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/313765/ft2_4FGL_J1205.7-2635_daily_bin269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/313765/ft1_4FGL_J1205.7-2635_daily_bin269.fits outfile=/scratch/kocevski/313765/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin269.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=309052801.0 tmax=309312001.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.36
user 3.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/313765/ft2_4FGL_J1205.7-2635_daily_bin269.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/313765/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin269.fits evtable="EVENTS" outfile="/scratch/kocevski/313765/ft1_filtered_4FGL_J1205.7-2635_daily_bin269.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/313765/ft1_filtered_4FGL_J1205.7-2635_daily_bin269.fits" evtable="EVENTS" scfile=/scratch/kocevski/313765/ft2_4FGL_J1205.7-2635_daily_bin269.fits sctable="SC_DATA" outfile=/scratch/kocevski/313765/ltcube_309052801_309312001_4FGL_J1205.7-2635_daily_bin269.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/313765/ft2_4FGL_J1205.7-2635_daily_bin269.fits
.....................!
real 11.87
user 11.51
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/313765/ft1_filtered_4FGL_J1205.7-2635_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/313765/ft2_4FGL_J1205.7-2635_daily_bin269.fits sctable="SC_DATA" expcube=/scratch/kocevski/313765/ltcube_309052801_309312001_4FGL_J1205.7-2635_daily_bin269.fits outfile=/scratch/kocevski/313765/expmap_309052801_309312001_4FGL_J1205.7-2635_daily_bin269.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/313765/ltcube_309052801_309312001_4FGL_J1205.7-2635_daily_bin269.fits
.....................!
real 192.60
user 187.50
sys 4.73

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/313765/ft1_filtered_4FGL_J1205.7-2635_daily_bin269.fits scfile=/scratch/kocevski/313765/ft2_4FGL_J1205.7-2635_daily_bin269.fits outfile=/scratch/kocevski/313765/cmap_309052801_309312001_4FGL_J1205.7-2635_daily_bin269.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/313765/ft1_filtered_4FGL_J1205.7-2635_daily_bin269.fits scfile=/scratch/kocevski/313765/ft2_4FGL_J1205.7-2635_daily_bin269.fits outfile=/scratch/kocevski/313765/cmap_HighResolution_309052801_309312001_4FGL_J1205.7-2635_daily_bin269.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/313765/ft1_filtered_4FGL_J1205.7-2635_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/313765/ft2_4FGL_J1205.7-2635_daily_bin269.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/313765/Model_4FGL_J1205.7-2635_daily_bin269.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/313765/ft1_filtered_4FGL_J1205.7-2635_daily_bin269.fits.....................!
real 53.84
user 52.51
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7467       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.740       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.5911       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.797       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .36394E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.3661       1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.617       1.0000         .10000E-03   10000.    
    10 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5744       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.317       1.0000         .10000E-03   10000.    
    17 'Prefactor '    41.218       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.757       1.0000         .10000E-03   10000.    
    19 'norm      '    1.8697       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .61643       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2033       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=   5940.022     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2355 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7264        93.881       -.10610E-04   -.99594E-04
   2  Prefactor     18.743        14.197        .56255E-06    .80433E-04
   3  Prefactor     .10000E-03    19.072       -.35806E-06** at limit **
   4  norm          4.5910        2.0842       -.13343E-07   -.93675E-04
   5  Prefactor     19.795        18.482       -.10418E-07    .16186E-05
   6  Prefactor     .10000E-03    6.0034        .23688E-06** at limit **
   7  Prefactor     .10000E-03    49.145       -.69255E-06** at limit **
   8  norm          3.3657        16.792        .80673E-05   -.29960E-03
   9  Prefactor     44.619        22.026        .20964E-06   -.20757E-04
  10  norm          .10000E-03    2.4910        .10653E-06** at limit **
  11  Prefactor     .10000E-03    4.6745       -.24813E-06** at limit **
  12  Prefactor     5.5562        127.21       -.12009E-04   -.77732E-04
  13  Prefactor     .10000E-03    5.9330       -.17843E-06** at limit **
  14  Prefactor     .10000E-03    18.969        .34754E-06** at limit **
  15  Prefactor     .10000E-03    14.523        .22465E-08** at limit **
  16  Prefactor     37.329        62.371        .37211E-05    .95925E-04
  17  Prefactor     41.216        36.953       -.45859E-06   -.48848E-04
  18  Prefactor     28.743        20.403        .27718E-06    .65446E-04
  19  norm          1.8689        1.3838       -.26034E-07   -.29640E-03
  20  Prefactor     .10000E-03    106.05       -.27016E-06** at limit **
  21  Normalizat    .61666        .31627       -.84023E-06   -.23218E-04
  22  Prefactor     1.2033        .14385        .13029E-06   -.33499E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.7264
  Prefactor  = 18.7431
  Prefactor  = 0.0001
  norm       = 4.59101
  Prefactor  = 19.7949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.36574
  Prefactor  = 44.6191
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.55617
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.3295
  Prefactor  = 41.2156
  Prefactor  = 28.743
  norm       = 1.86891
  Prefactor  = 0.0001
  Normalizat = 0.616657
  Prefactor  = 1.20329
 **********
 **   18 **HESSE 
 **********

 FCN=   5940.022     FROM HESSE     STATUS=OK           346 CALLS     2701 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7264        101.38        .20859E-03   -1.5322    
   2  Prefactor     18.743        14.226        .92522E-04   -1.4842    
   3  Prefactor     .10000E-03    19.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.5910        2.0825        .72345E-04   -1.5279    
   5  Prefactor     19.795        18.481        .90019E-04   -1.4818    
   6  Prefactor     .10000E-03    13.466        .35480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    49.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.3657        19.295        .11028E-02   -1.5341    
   9  Prefactor     44.619        21.920        .60022E-04   -1.4371    
  10  norm          .10000E-03    2.5020        .11862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.7746        .16268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5562        136.74        .17016E-03   -1.5236    
  13  Prefactor     .10000E-03    5.9406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    18.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.329        63.289        .65608E-04   -1.4485    
  17  Prefactor     41.216        36.866        .62438E-04   -1.4423    
  18  Prefactor     28.743        20.355        .74711E-04   -1.4635    
  19  norm          1.8689        1.3761        .74467E-04   -1.5435    
  20  Prefactor     .10000E-03    106.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .61666        .32919        .48184E-03   -1.0728    
  22  Prefactor     1.2033        .15558        .17215E-03   -.86230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70104e-09
Minuit parameter uncertainties:
  1  38.9454
  2  14.2289
  3  5.44933e-05
  4  2.08251
  5  18.4865
  6  3.73303e-05
  7  0.000182188
  8  16.1248
  9  21.9237
  10  1.15592e-05
  11  1.96607e-05
  12  55.2677
  13  1.59472e-05
  14  5.44827e-05
  15  2.61377e-05
  16  63.4036
  17  36.8866
  18  20.36
  19  1.37609
  20  0.000102807
  21  0.330243
  22  0.155637
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.966e-05  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.203e+00  1.556e-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:  6.167e-01  3.302e-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: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/313765/likelihoodResults_309052801_309312001_4FGL_J1205.7-2635_daily_bin269.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) = 5940.02292176
delta logL = -0.000998158921902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5940.0219236
delta logL = -5.11681719217e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5046       1.0000          .0000       10.000    
     3 'Normalizat'    .61667       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2033       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=   5940.022     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      263 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7778        .58563E-01** at limit **
   2  Index         2.0292        8.5146        .50000        .53453E-06
   3  Normalizat    .61666        .47663E-02    .48184E-03    .44357E-04
   4  Prefactor     1.2033        .23305E-02    .17215E-03    .12043E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.02916
  Normalizat = 0.616658
  Prefactor  = 1.20329
 **********
 **   18 **HESSE 
 **********

 FCN=   5940.022     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      294 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    313.49        .28650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0292        5.3066        .50000       -.63623    
   3  Normalizat    .61666        .49450E-01    .19274E-04   -1.0728    
   4  Prefactor     1.2033        .24181E-01    .34430E-04   -.86230    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.09412e-09
Minuit parameter uncertainties:
  1  0.0018242
  2  682.922
  3  0.0494534
  4  0.0241815
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/313765': 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) = 5940.0219206
delta logL = 2.99663224723e-06

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.824e-03  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.029e+00  6.829e+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.203e+00  2.418e-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:  6.167e-01  4.945e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/313765/cmap_HighResolution_309052801_309312001_4FGL_J1205.7-2635_daily_bin269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.31e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-04 23:38:15.187540', job_id='313765', GAL2='1.20', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1630823895.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='3.00e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='269' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:38:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 313765: <4FGL_J1205.7-2635_daily_bin269> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin269> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 23:25:44 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:25:46 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:25:46 2021
Terminated at Sat Sep  4 23:38:15 2021
Results reported at Sat Sep  4 23:38:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin269 181.432 -26.5946 309052801 309312001 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 :                                   612.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

