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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1533
RA = 181.432, Dec = -26.5946
tmin = 636681601, tmax = 636940801
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='319885', job_status='RUN', time_executed='2021-09-04 23:46:04.614787', time_epoch_executed='1630824364.61' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1533'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319885

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319885/ft1_4FGL_J1205.7-2635_daily_bin1533.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319885/ft2_4FGL_J1205.7-2635_daily_bin1533.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319885/ft1_4FGL_J1205.7-2635_daily_bin1533.fits outfile=/scratch/kocevski/319885/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1533.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=636681601.0 tmax=636940801.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.14
user 4.93
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319885/ft2_4FGL_J1205.7-2635_daily_bin1533.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/319885/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1533.fits evtable="EVENTS" outfile="/scratch/kocevski/319885/ft1_filtered_4FGL_J1205.7-2635_daily_bin1533.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/319885/ft1_filtered_4FGL_J1205.7-2635_daily_bin1533.fits" evtable="EVENTS" scfile=/scratch/kocevski/319885/ft2_4FGL_J1205.7-2635_daily_bin1533.fits sctable="SC_DATA" outfile=/scratch/kocevski/319885/ltcube_636681601_636940801_4FGL_J1205.7-2635_daily_bin1533.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/319885/ft2_4FGL_J1205.7-2635_daily_bin1533.fits
.....................!
real 11.56
user 11.18
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319885/ft1_filtered_4FGL_J1205.7-2635_daily_bin1533.fits evtable="EVENTS" scfile=/scratch/kocevski/319885/ft2_4FGL_J1205.7-2635_daily_bin1533.fits sctable="SC_DATA" expcube=/scratch/kocevski/319885/ltcube_636681601_636940801_4FGL_J1205.7-2635_daily_bin1533.fits outfile=/scratch/kocevski/319885/expmap_636681601_636940801_4FGL_J1205.7-2635_daily_bin1533.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/319885/ltcube_636681601_636940801_4FGL_J1205.7-2635_daily_bin1533.fits
.....................!
real 190.48
user 185.29
sys 4.87

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/319885/ft1_filtered_4FGL_J1205.7-2635_daily_bin1533.fits scfile=/scratch/kocevski/319885/ft2_4FGL_J1205.7-2635_daily_bin1533.fits outfile=/scratch/kocevski/319885/cmap_636681601_636940801_4FGL_J1205.7-2635_daily_bin1533.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319885/ft1_filtered_4FGL_J1205.7-2635_daily_bin1533.fits scfile=/scratch/kocevski/319885/ft2_4FGL_J1205.7-2635_daily_bin1533.fits outfile=/scratch/kocevski/319885/cmap_HighResolution_636681601_636940801_4FGL_J1205.7-2635_daily_bin1533.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319885/ft1_filtered_4FGL_J1205.7-2635_daily_bin1533.fits evtable="EVENTS" scfile=/scratch/kocevski/319885/ft2_4FGL_J1205.7-2635_daily_bin1533.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319885/Model_4FGL_J1205.7-2635_daily_bin1533.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/319885/ft1_filtered_4FGL_J1205.7-2635_daily_bin1533.fits.....................!
real 85.86
user 84.54
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12027E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3966       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3984       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.864       1.0000         .10000E-03   10000.    
    10 'norm      '    12.616       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.8184       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.475       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.970       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .90441E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.3416       1.0000         .10000E-03   10000.    
    19 'norm      '    2.2239       1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.426       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94193       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97936       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=   10623.84     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2362 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    62.753        .90712E-02** at limit **
   2  Prefactor     .10000E-03    5.8624        .90712E-02** at limit **
   3  Prefactor     .10004E-03    14.373        .90712E-02** at limit **
   4  norm          1.3968        .98306        .91842E-02    .64440E-03
   5  Prefactor     2.3984        9.5413        .66103E-02    .28096E-03
   6  Prefactor     .10000E-03    1.8907        .90712E-02** at limit **
   7  Prefactor     .10001E-03    27.009        .90712E-02** at limit **
   8  norm          .10000E-03    8.5205        .90712E-02** at limit **
   9  Prefactor     22.866        13.871        .20942E-02    .95098E-04
  10  norm          12.616        5.2040        .28195E-02    .33300E-02
  11  Prefactor     6.8187        4.1871        .38414E-02    .41713E-03
  12  Prefactor     28.475        35.154        .18769E-02    .12029E-04
  13  Prefactor     .10000E-03    11.830        .90712E-02** at limit **
  14  Prefactor     31.968        23.499        .17717E-02    .43252E-03
  15  Prefactor     .10000E-03    5.7034        .90712E-02** at limit **
  16  Prefactor     .10002E-03    15.934        .90712E-02** at limit **
  17  Prefactor     .10008E-03    6.2586        .10414    ** at limit **
  18  Prefactor     6.3419        5.6047        .39848E-02   -.94743E-04
  19  norm          2.2239        .86271        .68931E-02    .53678E-03
  20  Prefactor     24.426        39.842        .20263E-02    .28666E-03
  21  Normalizat    .94174        .17971        .78227E-01    .45282E-04
  22  Prefactor     .97943        .89015E-01    .46009E-01    .16193E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100039
  norm       = 1.39679
  Prefactor  = 2.39838
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.0001
  Prefactor  = 22.8658
  norm       = 12.6157
  Prefactor  = 6.81867
  Prefactor  = 28.4754
  Prefactor  = 0.000100004
  Prefactor  = 31.9683
  Prefactor  = 0.0001
  Prefactor  = 0.000100021
  Prefactor  = 0.000100078
  Prefactor  = 6.34187
  norm       = 2.22395
  Prefactor  = 24.4255
  Normalizat = 0.941739
  Prefactor  = 0.979429
 **********
 **   18 **HESSE 
 **********

 FCN=   10623.84     FROM HESSE     STATUS=OK           340 CALLS     2702 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    63.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.9060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10004E-03    14.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3968        .96882        .83079E-04   -1.5472    
   5  Prefactor     2.3984        9.5422        .26441E-03   -1.5398    
   6  Prefactor     .10000E-03    1.9199        .13832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    27.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.5416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.866        13.905        .83769E-04   -1.4751    
  10  norm          12.616        5.2132        .56389E-03   -1.4997    
  11  Prefactor     6.8187        4.1803        .15134E-03   -1.5186    
  12  Prefactor     28.475        35.137        .75078E-04   -1.4640    
  13  Prefactor     .10000E-03    11.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.968        23.429        .70866E-04   -1.4577    
  15  Prefactor     .10000E-03    5.7100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    15.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10008E-03    29.945        .49823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.3419        5.6071        .15939E-03   -1.5204    
  19  norm          2.2239        .85982        .57242E-04   -1.5410    
  20  Prefactor     24.426        39.836        .81051E-04   -1.4719    
  21  Normalizat    .94174        .21410        .34623E-03   -.95009    
  22  Prefactor     .97943        .10686        .17130E-03   -.93418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.08032e-09
Minuit parameter uncertainties:
  1  0.000469911
  2  1.8165e-05
  3  0.00150232
  4  0.968832
  5  9.54823
  6  7.12883e-08
  7  0.00090294
  8  4.26888e-05
  9  13.9073
  10  5.21334
  11  4.1805
  12  35.1623
  13  0.000456581
  14  23.436
  15  1.31187e-05
  16  0.00115627
  17  0.00306571
  18  5.60753
  19  0.859829
  20  39.8798
  21  0.214295
  22  0.106878
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  6.819e+00  4.180e+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.794e-01  1.069e-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.417e-01  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.37
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 6.31e-08 +/- 3.86e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 1.09e-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) = 10623.6480929
delta logL = 0.188841338364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10623.6412118
delta logL = 0.195722405073

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9856       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8971       1.0000          .0000       10.000    
     3 'Normalizat'    .92280       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98600       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=   10623.64     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      305 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9855        5.0246        .12149E-03   -.11753E-03
   2  Index         2.8971        .71423        .71473E-02    .71451E-03
   3  Normalizat    .92283        .21289        .34926E-03    .12792E-03
   4  Prefactor     .98601        .10681        .17078E-03   -.32316E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.98549
  Index      = 2.89713
  Normalizat = 0.92283
  Prefactor  = 0.986005
 **********
 **   18 **HESSE 
 **********

 FCN=   10623.64     FROM HESSE     STATUS=OK            25 CALLS      330 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9855        4.5030        .48597E-05   -1.5261    
   2  Index         2.8971        .64028        .14295E-02   -.43408    
   3  Normalizat    .92283        .21278        .13971E-04   -.95662    
   4  Prefactor     .98601        .10676        .34155E-04   -.93197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31894e-10
Minuit parameter uncertainties:
  1  4.50326
  2  0.642422
  3  0.212976
  4  0.10678
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319885': 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) = 10623.6412118
delta logL = 0.195722448581

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  4.985e+00  4.503e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.897e+00  6.424e-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.860e-01  1.068e-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.228e-01  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.81
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.90 +/- 0.64
Photon Flux (Free Index): 7.64e-08 +/- 4.50e-08
Energy Flux (Free Index): 1.61e-05 +/- 9.29e-06

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/319885/cmap_HighResolution_636681601_636940801_4FGL_J1205.7-2635_daily_bin1533.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.31e-08', energy_flux2='1.61e-05', photon_flux_error='3.86e-08', dlogl='1.96e-01', energy_flux='1.77e-05', photon_flux2='7.64e-08', job_status='DONE', time_completed='2021-09-04 23:59:24.937293', photon_index_error2='0.64', photon_index2='2.90', ts='4.37', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='9.29e-06', EG='0.94', time_epoch_completed='1630825164.94', return_code='0', job_id='319885', GAL2='0.99', EG2='0.92', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='4.50e-08', ts2='4.81', photon_index='2.53' WHERE bin_id='1533' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:59:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 319885: <4FGL_J1205.7-2635_daily_bin1533> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1533> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:43 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:44 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:44 2021
Terminated at Sat Sep  4 23:59:25 2021
Results reported at Sat Sep  4 23:59:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1533 181.432 -26.5946 636681601 636940801 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 :                                   795.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             345.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            822 sec.

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

