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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1119
RA = 181.432, Dec = -26.5946
tmin = 529372801, tmax = 529632001
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='318368', job_status='RUN', time_executed='2021-09-04 23:41:45.139695', time_epoch_executed='1630824105.14' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318368

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318368/ft1_4FGL_J1205.7-2635_daily_bin1119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318368/ft2_4FGL_J1205.7-2635_daily_bin1119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318368/ft1_4FGL_J1205.7-2635_daily_bin1119.fits outfile=/scratch/kocevski/318368/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1119.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=529372801.0 tmax=529632001.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.51
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318368/ft2_4FGL_J1205.7-2635_daily_bin1119.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/318368/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1119.fits evtable="EVENTS" outfile="/scratch/kocevski/318368/ft1_filtered_4FGL_J1205.7-2635_daily_bin1119.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/318368/ft1_filtered_4FGL_J1205.7-2635_daily_bin1119.fits" evtable="EVENTS" scfile=/scratch/kocevski/318368/ft2_4FGL_J1205.7-2635_daily_bin1119.fits sctable="SC_DATA" outfile=/scratch/kocevski/318368/ltcube_529372801_529632001_4FGL_J1205.7-2635_daily_bin1119.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/318368/ft2_4FGL_J1205.7-2635_daily_bin1119.fits
.....................!
real 14.25
user 13.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318368/ft1_filtered_4FGL_J1205.7-2635_daily_bin1119.fits evtable="EVENTS" scfile=/scratch/kocevski/318368/ft2_4FGL_J1205.7-2635_daily_bin1119.fits sctable="SC_DATA" expcube=/scratch/kocevski/318368/ltcube_529372801_529632001_4FGL_J1205.7-2635_daily_bin1119.fits outfile=/scratch/kocevski/318368/expmap_529372801_529632001_4FGL_J1205.7-2635_daily_bin1119.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/318368/ltcube_529372801_529632001_4FGL_J1205.7-2635_daily_bin1119.fits
.....................!
real 191.95
user 186.17
sys 5.31

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/318368/ft1_filtered_4FGL_J1205.7-2635_daily_bin1119.fits scfile=/scratch/kocevski/318368/ft2_4FGL_J1205.7-2635_daily_bin1119.fits outfile=/scratch/kocevski/318368/cmap_529372801_529632001_4FGL_J1205.7-2635_daily_bin1119.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318368/ft1_filtered_4FGL_J1205.7-2635_daily_bin1119.fits scfile=/scratch/kocevski/318368/ft2_4FGL_J1205.7-2635_daily_bin1119.fits outfile=/scratch/kocevski/318368/cmap_HighResolution_529372801_529632001_4FGL_J1205.7-2635_daily_bin1119.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.739       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .33156E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.923       1.0000         .10000E-03   10000.    
     4 'norm      '    .65191       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.051       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.224       1.0000         .10000E-03   10000.    
    10 'norm      '    .10353E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.488       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10837E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.434       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .51340E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    .19509       1.0000         .10000E-03   10000.    
    20 'Prefactor '    142.61       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6582       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79437       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=   6063.554     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     3070 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.733        30.428        .40616E-06   -.56310E-04
   2  Prefactor     .10004E-03    7.2916        .11636E-06** at limit **
   3  Prefactor     22.910        37.769        .40466E-06   -.37622E-04
   4  norm          .65018        1.4042        .24109E-06    .14110E-03
   5  Prefactor     14.051        15.154        .38298E-06   -.20292E-04
   6  Prefactor     .10000E-03    3.0254        .42638E-07** at limit **
   7  Prefactor     .10000E-03    10.299        .47583E-07** at limit **
   8  norm          .10000E-03    8.3543       -.19287E-07** at limit **
   9  Prefactor     12.171        17.318       -.58692E-05   -.50863E-03
  10  norm          .10000E-03    7.0549        .48234E-05** at limit **
  11  Prefactor     10.486        6.4959        .19478E-06   -.43599E-04
  12  Prefactor     .10000E-03    19.855        .18169E-06** at limit **
  13  Prefactor     .10000E-03    28.213       -.38578E-06** at limit **
  14  Prefactor     33.455        34.526        .44197E-06    .16950E-04
  15  Prefactor     .10000E-03    25.083        .17508E-06** at limit **
  16  Prefactor     .10000E-03    38.479        .22881E-06** at limit **
  17  Prefactor     .10000E-03    14.342       -.24524E-07** at limit **
  18  Prefactor     .10000E-03    11.573        .91402E-06** at limit **
  19  norm          .19754        1.1035        .72008E-06   -.72083E-03
  20  Prefactor     142.93        175.72       -.42570E-05    .24925E-03
  21  Normalizat    1.6591        .27821       -.34576E-05    .41621E-03
  22  Prefactor     .79408        .12335        .13829E-06    .19221E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.7332
  Prefactor  = 0.00010004
  Prefactor  = 22.9096
  norm       = 0.650182
  Prefactor  = 14.0508
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.1711
  norm       = 0.0001
  Prefactor  = 10.4859
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.4552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.197537
  Prefactor  = 142.927
  Normalizat = 1.65913
  Prefactor  = 0.794081
 **********
 **   18 **HESSE 
 **********

 FCN=   6063.554     FROM HESSE     STATUS=OK           346 CALLS     3416 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.733        30.283        .72268E-04   -1.4599    
   2  Prefactor     .10004E-03    38.748        .40502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     22.910        37.746        .83662E-04   -1.4750    
   4  norm          .65018        1.2683        .13013E-02   -1.5547    
   5  Prefactor     14.051        15.147        .10686E-03   -1.4958    
   6  Prefactor     .10000E-03    3.0453        .13226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.3570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.171        17.406        .11458E-03   -1.5010    
  10  norm          .10000E-03    36.059        .34298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.486        6.4887        .12372E-03   -1.5060    
  12  Prefactor     .10000E-03    19.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.455        34.489        .69302E-04   -1.4551    
  15  Prefactor     .10000E-03    25.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    38.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    124.01        .50985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .19754        2.0908        .14776E-02   -1.5619    
  20  Prefactor     142.93        172.07        .16868E-03   -1.3311    
  21  Normalizat    1.6591        .32515        .31732E-03   -.73400    
  22  Prefactor     .79408        .14753        .20126E-03   -.99947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.23471e-09
Minuit parameter uncertainties:
  1  30.2984
  2  0.00250249
  3  37.7856
  4  1.26835
  5  15.1512
  6  1.57725e-05
  7  4.32746e-06
  8  1.01858e-05
  9  17.4134
  10  6.77569e-06
  11  6.48911
  12  2.67699e-05
  13  0.000203535
  14  34.5096
  15  2.92094e-05
  16  8.74732e-05
  17  2.6948e-05
  18  0.000507259
  19  1.28506
  20  172.68
  21  0.325572
  22  0.1476
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.049e+01  6.489e+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:  7.941e-01  1.476e-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.659e+00  3.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.12
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 9.70e-08 +/- 6.00e-08
Energy Flux (Fixed Index): 2.73e-05 +/- 1.69e-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) = 6062.09907903
delta logL = 1.45502623287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6062.03603098
delta logL = 1.51807428832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3538       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6092       1.0000          .0000       10.000    
     3 'Normalizat'    1.7189       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78121       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=   6062.036     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3358        5.8533        .34676E-02   -.21664E-02
   2  Index         1.6084        .35029        .17563       -.64131E-04
   3  Normalizat    1.7184        .26425        .70790E-01    .33748E-05
   4  Prefactor     .78136        .12208        .43472E-01    .10551E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.33577
  Index      = 1.60842
  Normalizat = 1.71844
  Prefactor  = 0.781359
 **********
 **   18 **HESSE 
 **********

 FCN=   6062.036     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3358        7.4579        .69351E-03   -1.5130    
   2  Index         1.6084        .49206        .70405E-02   -.74547    
   3  Normalizat    1.7184        .31576        .31316E-03   -.71812    
   4  Prefactor     .78136        .14597        .20282E-03   -1.0042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29262e-09
Minuit parameter uncertainties:
  1  7.45873
  2  0.493541
  3  0.316129
  4  0.146038
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318368': 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) = 6062.03602632
delta logL = 1.51807894531

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  8.336e+00  7.459e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  1.608e+00  4.935e-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:  7.814e-01  1.460e-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.718e+00  3.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.20
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 1.61 +/- 0.49
Photon Flux (Free Index): 3.15e-08 +/- 3.27e-08
Energy Flux (Free Index): 6.92e-05 +/- 7.53e-05

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/318368/cmap_HighResolution_529372801_529632001_4FGL_J1205.7-2635_daily_bin1119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.70e-08', energy_flux2='6.92e-05', photon_flux_error='6.00e-08', dlogl='1.52e+00', energy_flux='2.73e-05', photon_flux2='3.15e-08', job_status='DONE', time_completed='2021-09-04 23:52:10.505178', photon_index_error2='0.49', photon_index2='1.61', ts='9.12', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='7.53e-05', EG='1.66', time_epoch_completed='1630824730.51', return_code='0', job_id='318368', GAL2='0.78', EG2='1.72', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='3.27e-08', ts2='12.20', photon_index='2.53' WHERE bin_id='1119' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:52:10 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1119 181.432 -26.5946 529372801 529632001 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 :                                   617.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            675 sec.

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

