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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1453
RA = 181.432, Dec = -26.5946
tmin = 615945601, tmax = 616204801
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='319760', job_status='RUN', time_executed='2021-09-04 23:46:18.780257', time_epoch_executed='1630824378.78' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319760

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319760/ft1_4FGL_J1205.7-2635_daily_bin1453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319760/ft2_4FGL_J1205.7-2635_daily_bin1453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319760/ft1_4FGL_J1205.7-2635_daily_bin1453.fits outfile=/scratch/kocevski/319760/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1453.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=615945601.0 tmax=616204801.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 4.17
user 3.97
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319760/ft2_4FGL_J1205.7-2635_daily_bin1453.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/319760/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1453.fits evtable="EVENTS" outfile="/scratch/kocevski/319760/ft1_filtered_4FGL_J1205.7-2635_daily_bin1453.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/319760/ft1_filtered_4FGL_J1205.7-2635_daily_bin1453.fits" evtable="EVENTS" scfile=/scratch/kocevski/319760/ft2_4FGL_J1205.7-2635_daily_bin1453.fits sctable="SC_DATA" outfile=/scratch/kocevski/319760/ltcube_615945601_616204801_4FGL_J1205.7-2635_daily_bin1453.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/319760/ft2_4FGL_J1205.7-2635_daily_bin1453.fits
.....................!
real 11.65
user 11.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319760/ft1_filtered_4FGL_J1205.7-2635_daily_bin1453.fits evtable="EVENTS" scfile=/scratch/kocevski/319760/ft2_4FGL_J1205.7-2635_daily_bin1453.fits sctable="SC_DATA" expcube=/scratch/kocevski/319760/ltcube_615945601_616204801_4FGL_J1205.7-2635_daily_bin1453.fits outfile=/scratch/kocevski/319760/expmap_615945601_616204801_4FGL_J1205.7-2635_daily_bin1453.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/319760/ltcube_615945601_616204801_4FGL_J1205.7-2635_daily_bin1453.fits
.....................!
real 190.51
user 185.81
sys 4.26

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/319760/ft1_filtered_4FGL_J1205.7-2635_daily_bin1453.fits scfile=/scratch/kocevski/319760/ft2_4FGL_J1205.7-2635_daily_bin1453.fits outfile=/scratch/kocevski/319760/cmap_615945601_616204801_4FGL_J1205.7-2635_daily_bin1453.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=181.432 yref=-26.5946 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319760/ft1_filtered_4FGL_J1205.7-2635_daily_bin1453.fits scfile=/scratch/kocevski/319760/ft2_4FGL_J1205.7-2635_daily_bin1453.fits outfile=/scratch/kocevski/319760/cmap_HighResolution_615945601_616204801_4FGL_J1205.7-2635_daily_bin1453.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319760/ft1_filtered_4FGL_J1205.7-2635_daily_bin1453.fits evtable="EVENTS" scfile=/scratch/kocevski/319760/ft2_4FGL_J1205.7-2635_daily_bin1453.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319760/Model_4FGL_J1205.7-2635_daily_bin1453.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/319760/ft1_filtered_4FGL_J1205.7-2635_daily_bin1453.fits.....................!
real 56.25
user 54.81
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10898E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7949       1.0000         .10000E-03   10000.    
     3 'Prefactor '    65.485       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9183       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .56987E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1060       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    44.024       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.2706       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6164       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.1606       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.2011       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.7226       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85056       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=   5842.442     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2336 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    116.72       -.64673E-04** at limit **
   2  Prefactor     1.7876        35.942       -.19495E-05    .46404E-04
   3  Prefactor     65.482        86.358       -.27491E-05    .40931E-05
   4  norm          1.9186        2.1321       -.88245E-07   -.41038E-03
   5  Prefactor     .10127E-03    6.5121        .13594E-05** at limit **
   6  Prefactor     6.1056        7.9631        .11455E-05   -.22740E-03
   7  Prefactor     .10000E-03    15.384       -.57290E-06** at limit **
   8  norm          44.025        29.537       -.13250E-06   -.98776E-05
   9  Prefactor     .10000E-03    32.490        .18128E-04** at limit **
  10  norm          9.2615        6.2436        .10068E-05   -.77690E-03
  11  Prefactor     7.6136        7.5843        .36713E-05   -.27926E-03
  12  Prefactor     9.1198        94.568       -.93651E-04   -.74309E-04
  13  Prefactor     .10000E-03    6.7009       -.29027E-06** at limit **
  14  Prefactor     .10000E-03    57.756        .14091E-04** at limit **
  15  Prefactor     .10002E-03    54.972        .95769E-05** at limit **
  16  Prefactor     .10000E-03    81.801        .43268E-04** at limit **
  17  Prefactor     .10000E-03    48.016       -.19252E-04** at limit **
  18  Prefactor     .10000E-03    6.3576       -.22464E-06** at limit **
  19  norm          2.2012        1.3302       -.52980E-07   -.11803E-03
  20  Prefactor     .10000E-03    37.891       -.22267E-04** at limit **
  21  Normalizat    1.7227        .29178       -.50253E-06   -.17033E-04
  22  Prefactor     .85049        .13140        .15343E-05   -.20130E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 1.78759
  Prefactor  = 65.4822
  norm       = 1.91856
  Prefactor  = 0.000101271
  Prefactor  = 6.10563
  Prefactor  = 0.0001
  norm       = 44.0255
  Prefactor  = 0.000100002
  norm       = 9.2615
  Prefactor  = 7.61364
  Prefactor  = 9.11982
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100021
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.2012
  Prefactor  = 0.0001
  Normalizat = 1.72267
  Prefactor  = 0.850495
 **********
 **   18 **HESSE 
 **********

 FCN=   5842.442     FROM HESSE     STATUS=OK           344 CALLS     2680 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    116.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7876        35.996        .31212E-03   -1.5441    
   3  Prefactor     65.482        86.092        .49594E-04   -1.4088    
   4  norm          1.9186        2.1129        .10819E-03   -1.5431    
   5  Prefactor     .10127E-03    8.1611        .74200E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.1056        7.9613        .16248E-03   -1.5214    
   7  Prefactor     .10000E-03    15.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          44.025        29.545        .60423E-04   -1.4380    
   9  Prefactor     .10000E-03    32.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.2615        6.2198        .13163E-03   -1.5099    
  11  Prefactor     7.6136        7.5695        .14531E-03   -1.5156    
  12  Prefactor     9.1198        96.016        .13242E-03   -1.5104    
  13  Prefactor     .10000E-03    6.7077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    57.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    55.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    82.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    48.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.3662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.2012        1.3277        .65938E-04   -1.5411    
  20  Prefactor     .10000E-03    37.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.7227        .34670        .33099E-03   -.71700    
  22  Prefactor     .85049        .15594        .20630E-03   -.97893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20188e-09
Minuit parameter uncertainties:
  1  0.000640948
  2  16.0537
  3  86.2563
  4  2.11301
  5  0.00644167
  6  7.96271
  7  2.95745e-05
  8  29.5547
  9  0.000486417
  10  6.22023
  11  7.57046
  12  59.3049
  13  5.14927e-06
  14  0.000373727
  15  0.00214129
  16  0.00117565
  17  9.2178e-05
  18  5.32504e-07
  19  1.32769
  20  1.49405e-06
  21  0.347196
  22  0.156017
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  7.614e+00  7.570e+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:  8.505e-01  1.560e-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.723e+00  3.472e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.71
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 7.04e-08 +/- 7.00e-08
Energy Flux (Fixed Index): 1.98e-05 +/- 1.97e-05

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

Saving results to:
/scratch/kocevski/319760/likelihoodResults_615945601_616204801_4FGL_J1205.7-2635_daily_bin1453.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) = 5842.23587876
delta logL = 0.206278883908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5842.22580627
delta logL = 0.216351377781

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7792       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0936       1.0000          .0000       10.000    
     3 'Normalizat'    1.6745       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86323       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=   5842.226     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      294 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7796        7.4709        .14238E-03   -.24073E-03
   2  Index         3.0937        .97041        .78632E-02   -.45027E-04
   3  Normalizat    1.6744        .34863        .33461E-03    .15711E-03
   4  Prefactor     .86323        .15674        .20488E-03    .29766E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77965
  Index      = 3.09375
  Normalizat = 1.67442
  Prefactor  = 0.863226
 **********
 **   18 **HESSE 
 **********

 FCN=   5842.226     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7796        6.7589        .56954E-05   -1.5227    
   2  Index         3.0937        .87715        .31453E-03   -.39115    
   3  Normalizat    1.6744        .34823        .66922E-04   -.72988    
   4  Prefactor     .86323        .15660        .40977E-04   -.97438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64852e-10
Minuit parameter uncertainties:
  1  6.75983
  2  0.882506
  3  0.348743
  4  0.156677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319760': 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) = 5842.22580621
delta logL = 0.216351440073

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  5.780e+00  6.760e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  3.094e+00  8.825e-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:  8.632e-01  1.567e-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.674e+00  3.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.17
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 3.09 +/- 0.88
Photon Flux (Free Index): 1.18e-07 +/- 1.13e-07
Energy Flux (Free Index): 2.26e-05 +/- 1.89e-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/319760/cmap_HighResolution_615945601_616204801_4FGL_J1205.7-2635_daily_bin1453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.78e-02', comment='SUCCESS', photon_flux='7.04e-08', energy_flux2='2.26e-05', photon_flux_error='7.00e-08', dlogl='2.16e-01', energy_flux='1.98e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-09-04 23:56:49.968242', photon_index_error2='0.88', photon_index2='3.09', ts='1.71', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='2.29e-07', energy_flux_error2='1.89e-05', EG='1.72', time_epoch_completed='1630825009.97', return_code='0', job_id='319760', GAL2='0.86', EG2='1.67', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='1.13e-07', ts2='2.17', photon_index='2.53' WHERE bin_id='1453' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:56:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 319760: <4FGL_J1205.7-2635_daily_bin1453> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1453> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:31 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:33 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:33 2021
Terminated at Sat Sep  4 23:56:50 2021
Results reported at Sat Sep  4 23:56:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1453 181.432 -26.5946 615945601 616204801 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 :                                   626.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            679 sec.

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

