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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin685
RA = 181.432, Dec = -26.5946
tmin = 416880001, tmax = 417139201
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='316705', job_status='RUN', time_executed='2021-09-04 23:39:31.435196', time_epoch_executed='1630823971.44' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316705

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316705/ft1_4FGL_J1205.7-2635_daily_bin685.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316705/ft2_4FGL_J1205.7-2635_daily_bin685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316705/ft1_4FGL_J1205.7-2635_daily_bin685.fits outfile=/scratch/kocevski/316705/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin685.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=416880001.0 tmax=417139201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.28
user 4.97
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/316705/ft2_4FGL_J1205.7-2635_daily_bin685.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/316705/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin685.fits evtable="EVENTS" outfile="/scratch/kocevski/316705/ft1_filtered_4FGL_J1205.7-2635_daily_bin685.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316705/ft1_filtered_4FGL_J1205.7-2635_daily_bin685.fits" evtable="EVENTS" scfile=/scratch/kocevski/316705/ft2_4FGL_J1205.7-2635_daily_bin685.fits sctable="SC_DATA" outfile=/scratch/kocevski/316705/ltcube_416880001_417139201_4FGL_J1205.7-2635_daily_bin685.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/316705/ft2_4FGL_J1205.7-2635_daily_bin685.fits
.....................!
real 11.93
user 11.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316705/ft1_filtered_4FGL_J1205.7-2635_daily_bin685.fits evtable="EVENTS" scfile=/scratch/kocevski/316705/ft2_4FGL_J1205.7-2635_daily_bin685.fits sctable="SC_DATA" expcube=/scratch/kocevski/316705/ltcube_416880001_417139201_4FGL_J1205.7-2635_daily_bin685.fits outfile=/scratch/kocevski/316705/expmap_416880001_417139201_4FGL_J1205.7-2635_daily_bin685.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/316705/ltcube_416880001_417139201_4FGL_J1205.7-2635_daily_bin685.fits
.....................!
real 191.30
user 185.63
sys 5.32

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/316705/ft1_filtered_4FGL_J1205.7-2635_daily_bin685.fits scfile=/scratch/kocevski/316705/ft2_4FGL_J1205.7-2635_daily_bin685.fits outfile=/scratch/kocevski/316705/cmap_416880001_417139201_4FGL_J1205.7-2635_daily_bin685.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316705/ft1_filtered_4FGL_J1205.7-2635_daily_bin685.fits scfile=/scratch/kocevski/316705/ft2_4FGL_J1205.7-2635_daily_bin685.fits outfile=/scratch/kocevski/316705/cmap_HighResolution_416880001_417139201_4FGL_J1205.7-2635_daily_bin685.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.58
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/316705/ft1_filtered_4FGL_J1205.7-2635_daily_bin685.fits evtable="EVENTS" scfile=/scratch/kocevski/316705/ft2_4FGL_J1205.7-2635_daily_bin685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316705/Model_4FGL_J1205.7-2635_daily_bin685.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/316705/ft1_filtered_4FGL_J1205.7-2635_daily_bin685.fits.....................!
real 62.88
user 61.45
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.750       1.0000         .10000E-03   10000.    
     3 'Prefactor '    69.909       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6123       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11151E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.459       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .32584E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2098       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.842       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.991       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    44.767       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.6694       1.0000         .10000E-03   10000.    
    19 'norm      '    2.1589       1.0000         .10000E-03   10000.    
    20 'Prefactor '    221.21       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2335       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75050       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=   7297.181     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2382 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    52.873        .57487E-06** at limit **
   2  Prefactor     11.754        8.7331       -.25686E-06   -.68762E-04
   3  Prefactor     69.909        50.704       -.85383E-07   -.37453E-05
   4  norm          1.6125        1.2005       -.21918E-07   -.22281E-03
   5  Prefactor     .10000E-03    5.9344        .42708E-06** at limit **
   6  Prefactor     .10002E-03    3.0659        .16071E-05** at limit **
   7  Prefactor     .10000E-03    36.822        .11113E-05** at limit **
   8  norm          14.459        15.624       -.14144E-07   -.10171E-04
   9  Prefactor     .10000E-03    6.3214       -.16464E-05** at limit **
  10  norm          .10000E-03    1.5645       -.10709E-05** at limit **
  11  Prefactor     7.2098        4.8959       -.28891E-06   -.35540E-03
  12  Prefactor     30.860        39.063        .19504E-04    .11402E-03
  13  Prefactor     .10000E-03    8.9544        .14097E-05** at limit **
  14  Prefactor     10.990        21.813       -.87689E-06   -.30965E-04
  15  Prefactor     .10000E-03    7.8265       -.44502E-05** at limit **
  16  Prefactor     44.763        35.483       -.40128E-05    .65199E-04
  17  Prefactor     .10000E-03    19.176        .22043E-07** at limit **
  18  Prefactor     5.6700        9.0343        .40450E-06   -.64610E-04
  19  norm          2.1590        .98069        .15741E-06    .33292E-04
  20  Prefactor     221.18        123.22       -.20741E-04   -.15815E-05
  21  Normalizat    1.2333        .20290       -.15239E-06   -.48370E-04
  22  Prefactor     .75063        .97648E-01    .25870E-06   -.74140E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.7535
  Prefactor  = 69.9093
  norm       = 1.61248
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  norm       = 14.4588
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 7.20976
  Prefactor  = 30.8596
  Prefactor  = 0.0001
  Prefactor  = 10.9896
  Prefactor  = 0.0001
  Prefactor  = 44.7631
  Prefactor  = 0.0001
  Prefactor  = 5.66996
  norm       = 2.15899
  Prefactor  = 221.183
  Normalizat = 1.23333
  Prefactor  = 0.750632
 **********
 **   18 **HESSE 
 **********

 FCN=   7297.181     FROM HESSE     STATUS=OK           344 CALLS     2726 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    53.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.754        8.7407        .11687E-03   -1.5022    
   3  Prefactor     69.909        50.653        .48010E-04   -1.4034    
   4  norm          1.6125        1.1887        .77116E-04   -1.5454    
   5  Prefactor     .10000E-03    5.9719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    7.2774        .28465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    37.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.459        15.627        .10533E-03   -1.4947    
   9  Prefactor     .10000E-03    6.3630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    12.017        .20457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.2098        4.8845        .14495E-03   -1.5171    
  12  Prefactor     30.860        39.128        .72146E-04   -1.4596    
  13  Prefactor     .10000E-03    9.0602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.990        21.783        .12084E-03   -1.5045    
  15  Prefactor     .10000E-03    7.8325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     44.763        35.417        .59922E-04   -1.4369    
  17  Prefactor     .10000E-03    19.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.6700        9.0239        .16870E-03   -1.5232    
  19  norm          2.1590        .97984        .54768E-04   -1.5414    
  20  Prefactor     221.18        122.93        .13598E-03   -1.2722    
  21  Normalizat    1.2333        .23780        .29332E-03   -.85579    
  22  Prefactor     .75063        .11565        .18059E-03   -1.0157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40943e-09
Minuit parameter uncertainties:
  1  3.06432e-06
  2  8.7417
  3  50.6842
  4  1.1887
  5  2.29132e-06
  6  0.000683823
  7  9.9261e-05
  8  15.6312
  9  6.87418e-05
  10  0.000212384
  11  4.88482
  12  39.1602
  13  7.57407e-06
  14  21.7992
  15  9.37428e-06
  16  35.4332
  17  1.29041e-05
  18  9.02604
  19  0.979846
  20  123.071
  21  0.238011
  22  0.115691
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  7.210e+00  4.885e+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.506e-01  1.157e-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.233e+00  2.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.73
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 6.67e-08 +/- 4.52e-08
Energy Flux (Fixed Index): 1.88e-05 +/- 1.27e-05

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

Saving results to:
/scratch/kocevski/316705/likelihoodResults_416880001_417139201_4FGL_J1205.7-2635_daily_bin685.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) = 7296.93207162
delta logL = 0.248699823245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7296.93149215
delta logL = 0.249279293605

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8939       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1500       1.0000          .0000       10.000    
     3 'Normalizat'    1.2556       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74321       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=   7296.931     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      304 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8779        5.9679        .67200E-03    .96796E-04
   2  Index         2.1481        .50526        .79480E-02    .55107E-04
   3  Normalizat    1.2551        .23425        .29115E-03   -.15229E-05
   4  Prefactor     .74343        .11536        .18135E-03   -.11284E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.87795
  Index      = 2.14807
  Normalizat = 1.25515
  Prefactor  = 0.743433
 **********
 **   18 **HESSE 
 **********

 FCN=   7296.931     FROM HESSE     STATUS=OK            27 CALLS      331 TOTAL
                     EDM=   .87E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8779        5.9436        .13440E-03   -1.5112    
   2  Index         2.1481        .50312        .15896E-02   -.60698    
   3  Normalizat    1.2551        .23441        .11646E-04   -.84915    
   4  Prefactor     .74343        .11545        .72539E-05   -1.0185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.7363e-15
Minuit parameter uncertainties:
  1  5.94397
  2  0.504383
  3  0.234604
  4  0.115486
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316705': 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) = 7296.93147679
delta logL = 0.249294650035

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  8.878e+00  5.944e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.148e+00  5.044e-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.434e-01  1.155e-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.255e+00  2.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.22
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.15 +/- 0.50
Photon Flux (Free Index): 5.18e-08 +/- 4.23e-08
Energy Flux (Free Index): 2.57e-05 +/- 2.20e-05

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/316705/cmap_HighResolution_416880001_417139201_4FGL_J1205.7-2635_daily_bin685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', comment='SUCCESS', photon_flux='6.67e-08', energy_flux2='2.57e-05', photon_flux_error='4.52e-08', dlogl='2.49e-01', energy_flux='1.88e-05', photon_flux2='5.18e-08', job_status='DONE', time_completed='2021-09-04 23:51:31.596049', photon_index_error2='0.50', photon_index2='2.15', ts='3.73', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='2.20e-05', EG='1.23', time_epoch_completed='1630824691.6', return_code='0', job_id='316705', GAL2='0.74', EG2='1.26', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='4.23e-08', ts2='4.22', photon_index='2.53' WHERE bin_id='685' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:51:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 316705: <4FGL_J1205.7-2635_daily_bin685> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin685> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep  4 23:35:49 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:35:51 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:35:51 2021
Terminated at Sat Sep  4 23:51:32 2021
Results reported at Sat Sep  4 23:51:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin685 181.432 -26.5946 416880001 417139201 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 :                                   718.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             271.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            943 sec.

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

