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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1489
RA = 181.432, Dec = -26.5946
tmin = 625276801, tmax = 625536001
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='319814', job_status='RUN', time_executed='2021-09-04 23:46:41.926236', time_epoch_executed='1630824401.93' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1489'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319814/ft1_4FGL_J1205.7-2635_daily_bin1489.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319814/ft2_4FGL_J1205.7-2635_daily_bin1489.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319814/ft1_4FGL_J1205.7-2635_daily_bin1489.fits outfile=/scratch/kocevski/319814/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1489.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=625276801.0 tmax=625536001.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.72
user 3.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319814/ft2_4FGL_J1205.7-2635_daily_bin1489.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/319814/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1489.fits evtable="EVENTS" outfile="/scratch/kocevski/319814/ft1_filtered_4FGL_J1205.7-2635_daily_bin1489.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319814/ft1_filtered_4FGL_J1205.7-2635_daily_bin1489.fits" evtable="EVENTS" scfile=/scratch/kocevski/319814/ft2_4FGL_J1205.7-2635_daily_bin1489.fits sctable="SC_DATA" outfile=/scratch/kocevski/319814/ltcube_625276801_625536001_4FGL_J1205.7-2635_daily_bin1489.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/319814/ft2_4FGL_J1205.7-2635_daily_bin1489.fits
.....................!
real 11.76
user 11.37
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319814/ft1_filtered_4FGL_J1205.7-2635_daily_bin1489.fits evtable="EVENTS" scfile=/scratch/kocevski/319814/ft2_4FGL_J1205.7-2635_daily_bin1489.fits sctable="SC_DATA" expcube=/scratch/kocevski/319814/ltcube_625276801_625536001_4FGL_J1205.7-2635_daily_bin1489.fits outfile=/scratch/kocevski/319814/expmap_625276801_625536001_4FGL_J1205.7-2635_daily_bin1489.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/319814/ltcube_625276801_625536001_4FGL_J1205.7-2635_daily_bin1489.fits
.....................!
real 192.91
user 187.43
sys 5.12

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/319814/ft1_filtered_4FGL_J1205.7-2635_daily_bin1489.fits scfile=/scratch/kocevski/319814/ft2_4FGL_J1205.7-2635_daily_bin1489.fits outfile=/scratch/kocevski/319814/cmap_625276801_625536001_4FGL_J1205.7-2635_daily_bin1489.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319814/ft1_filtered_4FGL_J1205.7-2635_daily_bin1489.fits scfile=/scratch/kocevski/319814/ft2_4FGL_J1205.7-2635_daily_bin1489.fits outfile=/scratch/kocevski/319814/cmap_HighResolution_625276801_625536001_4FGL_J1205.7-2635_daily_bin1489.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.65
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .15648E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5352       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1823       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9408       1.0000         .10000E-03   10000.    
    10 'norm      '    4.8738       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.181       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12539E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    45.234       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10632E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.103       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.695       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.232       1.0000         .10000E-03   10000.    
    19 'norm      '    9.1795       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10444E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5249       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90263       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=   6954.560     FROM MIGRAD    STATUS=CONVERGED    873 CALLS     2786 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    60.628        .18142E-02** at limit **
   2  Prefactor     .10000E-03    5.3771        .18142E-02** at limit **
   3  Prefactor     .10000E-03    14.651        .18142E-02** at limit **
   4  norm          .10000E-03    8.8018        .13777E-02** at limit **
   5  Prefactor     .10000E-03    6.9217        .18142E-02** at limit **
   6  Prefactor     2.5361        5.4995        .25651E-03    .85539E-05
   7  Prefactor     2.1846        105.62        .27866E-03    .94649E-05
   8  norm          .10000E-03    34.799        .18142E-02** at limit **
   9  Prefactor     2.9279        46.826        .23685E-03    .10416E-04
  10  norm          4.8747        6.5820        .18220E-03   -.37312E-04
  11  Prefactor     14.179        10.962        .10636E-03   -.50237E-04
  12  Prefactor     .10000E-03    70.400        .18836    ** at limit **
  13  Prefactor     .10000E-03    6.0268        .18142E-02** at limit **
  14  Prefactor     45.249        44.441        .59613E-04    .52636E-05
  15  Prefactor     .10000E-03    52.049        .18142E-02** at limit **
  16  Prefactor     12.922        85.781        .11066E-03    .24657E-05
  17  Prefactor     15.705        27.534        .10110E-03    .13382E-04
  18  Prefactor     10.232        9.5193        .12526E-03    .31584E-05
  19  norm          9.1796        2.1689        .56816E-04    .28213E-04
  20  Prefactor     .10000E-03    49.061        .18142E-02** at limit **
  21  Normalizat    1.5249        .33608        .35250E-03   -.49699E-04
  22  Prefactor     .90265        .15515        .20717E-03    .13209E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.5361
  Prefactor  = 2.18455
  norm       = 0.0001
  Prefactor  = 2.9279
  norm       = 4.87475
  Prefactor  = 14.1789
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 45.249
  Prefactor  = 0.0001
  Prefactor  = 12.9219
  Prefactor  = 15.7049
  Prefactor  = 10.232
  norm       = 9.17958
  Prefactor  = 0.0001
  Normalizat = 1.52489
  Prefactor  = 0.902647
 **********
 **   18 **HESSE 
 **********

 FCN=   6954.560     FROM HESSE     STATUS=OK           330 CALLS     3116 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    60.646        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.3776        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.651        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    8.9902        .27555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.9223        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5361        5.4972        .10260E-04   -1.5389    
   7  Prefactor     2.1846        105.52        .11147E-04   -1.5412    
   8  norm          .10000E-03    34.812        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.9279        46.611        .94739E-05   -1.5366    
  10  norm          4.8747        6.5693        .72882E-05   -1.5266    
  11  Prefactor     14.179        10.959        .42545E-05   -1.4955    
  12  Prefactor     .10000E-03    74.339        .18115       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.0271        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     45.249        44.437        .11923E-04   -1.4362    
  15  Prefactor     .10000E-03    52.058        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.922        85.884        .44263E-05   -1.4989    
  17  Prefactor     15.705        27.530        .40439E-05   -1.4915    
  18  Prefactor     10.232        9.5192        .25053E-04   -1.5068    
  19  norm          9.1796        2.1689        .22727E-05   -1.5102    
  20  Prefactor     .10000E-03    49.061        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5249        .33638        .14100E-04   -.77081    
  22  Prefactor     .90265        .15532        .82867E-05   -.96049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84135e-10
Minuit parameter uncertainties:
  1  7.72509e-05
  2  6.03943e-06
  3  2.64605e-06
  4  0.000103436
  5  5.98895e-06
  6  5.49826
  7  30.4217
  8  4.56292e-05
  9  23.3855
  10  6.5703
  11  10.9609
  12  0.000390493
  13  4.30696e-06
  14  44.4696
  15  0.000269513
  16  66.7656
  17  27.552
  18  9.52065
  19  2.16893
  20  3.65144e-05
  21  0.33688
  22  0.155396
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.418e+01  1.096e+01  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.026e-01  1.554e-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.525e+00  3.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.69
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 1.31e-07 +/- 1.01e-07
Energy Flux (Fixed Index): 3.69e-05 +/- 2.85e-05

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

Saving results to:
/scratch/kocevski/319814/likelihoodResults_625276801_625536001_4FGL_J1205.7-2635_daily_bin1489.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) = 6953.81964858
delta logL = 0.740110500348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6953.80440767
delta logL = 0.755351413642

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1370       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5453       1.0000          .0000       10.000    
     3 'Normalizat'    1.4149       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94400       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=   6953.804     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      250 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1292        43.867        .44345E-02    .60047E-03
   2  Index         3.5464        2.9667        .12772        .18553E-03
   3  Normalizat    1.4148        .98579E-01    .81974E-01   -.48149E-04
   4  Prefactor     .94402        .46018E-01    .45563E-01   -.31117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.1292
  Index      = 3.54635
  Normalizat = 1.41482
  Prefactor  = 0.944018
 **********
 **   18 **HESSE 
 **********

 FCN=   6953.804     FROM HESSE     STATUS=OK            33 CALLS      283 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1292        57.345        .96021E-04   -1.5255    
   2  Index         3.5464        3.7433        .48402E-02   -.29499    
   3  Normalizat    1.4148        .37543        .36287E-03   -.80201    
   4  Prefactor     .94402        .18679        .20302E-03   -.94620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.29737e-10
Minuit parameter uncertainties:
  1  34.3421
  2  4.29901
  3  0.37617
  4  0.186918
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319814': 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) = 6953.80440708
delta logL = 0.755352009688

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  5.129e+00  3.434e+01  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  3.546e+00  4.299e+00  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.440e-01  1.869e-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.415e+00  3.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.45
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 3.55 +/- 4.30
Photon Flux (Free Index): 2.09e-07 +/- 1.16e-07
Energy Flux (Free Index): 3.44e-05 +/- 4.03e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/319814/cmap_HighResolution_625276801_625536001_4FGL_J1205.7-2635_daily_bin1489.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-02', comment='SUCCESS', photon_flux='1.31e-07', energy_flux2='3.44e-05', photon_flux_error='1.01e-07', dlogl='7.55e-01', energy_flux='3.69e-05', photon_flux2='2.09e-07', job_status='DONE', time_completed='2021-09-04 23:58:43.418191', photon_index_error2='4.30', photon_index2='3.55', ts='2.69', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='2.96e-07', energy_flux_error2='4.03e-05', EG='1.52', time_epoch_completed='1630825123.42', return_code='0', job_id='319814', GAL2='0.94', EG2='1.41', return_code2='0', energy_flux_error='2.85e-05', photon_flux_error2='1.16e-07', ts2='4.45', photon_index='2.53' WHERE bin_id='1489' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:58:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 319814: <4FGL_J1205.7-2635_daily_bin1489> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1489> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:36 2021
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:38 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:38 2021
Terminated at Sat Sep  4 23:58:46 2021
Results reported at Sat Sep  4 23:58:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1489 181.432 -26.5946 625276801 625536001 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 :                                   716.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            790 sec.

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

