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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1537
RA = 181.432, Dec = -26.5946
tmin = 637718401, tmax = 637977601
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='319891', job_status='RUN', time_executed='2021-09-04 23:46:04.605126', time_epoch_executed='1630824364.61' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1537'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319891

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319891/ft1_4FGL_J1205.7-2635_daily_bin1537.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319891/ft2_4FGL_J1205.7-2635_daily_bin1537.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319891/ft1_4FGL_J1205.7-2635_daily_bin1537.fits outfile=/scratch/kocevski/319891/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1537.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=637718401.0 tmax=637977601.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.90
user 3.67
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319891/ft1_filtered_4FGL_J1205.7-2635_daily_bin1537.fits" evtable="EVENTS" scfile=/scratch/kocevski/319891/ft2_4FGL_J1205.7-2635_daily_bin1537.fits sctable="SC_DATA" outfile=/scratch/kocevski/319891/ltcube_637718401_637977601_4FGL_J1205.7-2635_daily_bin1537.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/319891/ft2_4FGL_J1205.7-2635_daily_bin1537.fits
.....................!
real 11.91
user 11.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319891/ft1_filtered_4FGL_J1205.7-2635_daily_bin1537.fits evtable="EVENTS" scfile=/scratch/kocevski/319891/ft2_4FGL_J1205.7-2635_daily_bin1537.fits sctable="SC_DATA" expcube=/scratch/kocevski/319891/ltcube_637718401_637977601_4FGL_J1205.7-2635_daily_bin1537.fits outfile=/scratch/kocevski/319891/expmap_637718401_637977601_4FGL_J1205.7-2635_daily_bin1537.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/319891/ltcube_637718401_637977601_4FGL_J1205.7-2635_daily_bin1537.fits
.....................!
real 190.45
user 185.21
sys 4.85

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/319891/ft1_filtered_4FGL_J1205.7-2635_daily_bin1537.fits scfile=/scratch/kocevski/319891/ft2_4FGL_J1205.7-2635_daily_bin1537.fits outfile=/scratch/kocevski/319891/cmap_637718401_637977601_4FGL_J1205.7-2635_daily_bin1537.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319891/ft1_filtered_4FGL_J1205.7-2635_daily_bin1537.fits scfile=/scratch/kocevski/319891/ft2_4FGL_J1205.7-2635_daily_bin1537.fits outfile=/scratch/kocevski/319891/cmap_HighResolution_637718401_637977601_4FGL_J1205.7-2635_daily_bin1537.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319891/ft1_filtered_4FGL_J1205.7-2635_daily_bin1537.fits evtable="EVENTS" scfile=/scratch/kocevski/319891/ft2_4FGL_J1205.7-2635_daily_bin1537.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319891/Model_4FGL_J1205.7-2635_daily_bin1537.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/319891/ft1_filtered_4FGL_J1205.7-2635_daily_bin1537.fits.....................!
real 77.08
user 75.65
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.305       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.6927       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .74715       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .43548       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.479       1.0000         .10000E-03   10000.    
    10 'norm      '    3.8347       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2753       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.108       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10882E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .22568E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    1.9173       1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.219       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1591       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0381       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=   9423.264     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2456 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.307        25.324        .12900E-05   -.11933E-04
   2  Prefactor     .10000E-03    3.4058       -.14815E-06** at limit **
   3  Prefactor     .10000E-03    10.403        .29589E-06** at limit **
   4  norm          1.6927        1.2530        .20091E-06    .78233E-03
   5  Prefactor     .75336        18.848       -.84624E-05    .19284E-03
   6  Prefactor     .10000E-03    1.9386        .31951E-07** at limit **
   7  Prefactor     .10000E-03    19.528        .86854E-07** at limit **
   8  norm          .10000E-03    9.3763       -.10492E-06** at limit **
   9  Prefactor     11.483        12.602       -.14536E-05   -.15531E-05
  10  norm          3.8348        4.2544        .11019E-05    .67408E-03
  11  Prefactor     4.2810        5.1702        .11746E-05    .56097E-03
  12  Prefactor     .10000E-03    21.809       -.10723E-05** at limit **
  13  Prefactor     .10000E-03    6.5425        .26890E-07** at limit **
  14  Prefactor     37.095        27.304       -.12581E-05   -.68117E-04
  15  Prefactor     .10000E-03    8.0925        .88951E-07** at limit **
  16  Prefactor     .10000E-03    20.839        .11715E-05** at limit **
  17  Prefactor     .10000E-03    54.649        .18734E-05** at limit **
  18  Prefactor     .10030E-03    3.9827        .13019E-05** at limit **
  19  norm          1.9170        .92770        .58613E-07    .21722E-03
  20  Prefactor     21.195        44.695        .25541E-05   -.15109E-04
  21  Normalizat    1.1590        .20352       -.13165E-05   -.30101E-03
  22  Prefactor     1.0382        .10094       -.11672E-07   -.55159E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.3067
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.69265
  Prefactor  = 0.753361
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 11.483
  norm       = 3.83481
  Prefactor  = 4.28105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.095
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100303
  norm       = 1.91705
  Prefactor  = 21.1952
  Normalizat = 1.15904
  Prefactor  = 1.03825
 **********
 **   18 **HESSE 
 **********

 FCN=   9423.264     FROM HESSE     STATUS=OK           360 CALLS     2816 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.307        25.337        .88886E-04   -1.4806    
   2  Prefactor     .10000E-03    3.4209        .17493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.6927        1.2496        .90851E-04   -1.5448    
   5  Prefactor     .75336        21.413        .46209E-02   -1.5534    
   6  Prefactor     .10000E-03    1.9537        .13187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.642        .12764       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    9.3919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.483        12.679        .11824E-03   -1.5030    
  10  norm          3.8348        4.3437        .17926E-03   -1.5316    
  11  Prefactor     4.2810        5.2726        .19485E-03   -1.5294    
  12  Prefactor     .10000E-03    21.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.095        27.372        .65792E-04   -1.4489    
  15  Prefactor     .10000E-03    8.1027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    56.494        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10030E-03    4.7465        .72893E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.9170        .92757        .62732E-04   -1.5431    
  20  Prefactor     21.195        44.623        .86951E-04   -1.4787    
  21  Normalizat    1.1590        .24058        .34003E-03   -.87878    
  22  Prefactor     1.0382        .11989        .17899E-03   -.91465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83338e-09
Minuit parameter uncertainties:
  1  25.3499
  2  1.18708e-05
  3  4.84609e-06
  4  1.24957
  5  8.03558
  6  4.78018e-06
  7  0.000658118
  8  1.30489e-05
  9  12.6821
  10  4.34407
  11  5.27322
  12  4.7609e-05
  13  1.39701e-05
  14  27.3814
  15  8.7827e-06
  16  4.19753e-06
  17  0.000261957
  18  0.00239746
  19  0.927577
  20  44.6928
  21  0.240812
  22  0.11992
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  4.281e+00  5.273e+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:  1.038e+00  1.199e-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.159e+00  2.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.92
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319891/likelihoodResults_637718401_637977601_4FGL_J1205.7-2635_daily_bin1537.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): 0
logL (Free Index) = 9423.25512487
delta logL = 0.00906266424136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9423.25198087
delta logL = 0.0122066631629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8637       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6752       1.0000          .0000       10.000    
     3 'Normalizat'    1.1532       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0403       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9423.252     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      251 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8636        6.2158        .10265E-02   -.34498E-03
   2  Index         2.6750        1.0881        .10861E-01   -.45065E-04
   3  Normalizat    1.1532        .24073        .34076E-03   -.73563E-03
   4  Prefactor     1.0402        .11997        .17883E-03   -.15504E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.86364
  Index      = 2.67502
  Normalizat = 1.15323
  Prefactor  = 1.04025
 **********
 **   18 **HESSE 
 **********

 FCN=   9423.252     FROM HESSE     STATUS=OK            27 CALLS      278 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8636        5.4712        .41059E-04   -1.5315    
   2  Index         2.6750        .95925        .43445E-03   -.48363    
   3  Normalizat    1.1532        .24057        .68151E-04   -.88061    
   4  Prefactor     1.0402        .11980        .35766E-04   -.91400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.87571e-10
Minuit parameter uncertainties:
  1  5.47194
  2  0.966919
  3  0.240798
  4  0.11983
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319891': 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) = 9423.2519808
delta logL = 0.0122067315606

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  3.864e+00  5.472e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.675e+00  9.669e-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:  1.040e+00  1.198e-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.153e+00  2.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.92
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/319891/cmap_HighResolution_637718401_637977601_4FGL_J1205.7-2635_daily_bin1537.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.36e-07', time_completed='2021-09-05 00:00:08.320616', job_id='319891', GAL2='1.04', fit_tolerance='1e-08', EG2='1.15', EG='1.16', time_epoch_completed='1630825208.32', return_code2='0', ts='0.92', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.22e-02', ts2='0.95', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1537' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 00:00:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 319891: <4FGL_J1205.7-2635_daily_bin1537> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1537> 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) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:45 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:45 2021
Terminated at Sun Sep  5 00:00:09 2021
Results reported at Sun Sep  5 00:00:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1537 181.432 -26.5946 637718401 637977601 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 :                                   840.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            866 sec.

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

