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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1370
RA = 181.432, Dec = -26.5946
tmin = 594432001, tmax = 594691201
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='319629', job_status='RUN', time_executed='2021-09-04 23:49:03.103443', time_epoch_executed='1630824543.1' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1370'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319629

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319629/ft1_4FGL_J1205.7-2635_daily_bin1370.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319629/ft2_4FGL_J1205.7-2635_daily_bin1370.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319629/ft1_4FGL_J1205.7-2635_daily_bin1370.fits outfile=/scratch/kocevski/319629/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1370.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=594432001.0 tmax=594691201.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.38
user 4.12
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319629/ft1_filtered_4FGL_J1205.7-2635_daily_bin1370.fits" evtable="EVENTS" scfile=/scratch/kocevski/319629/ft2_4FGL_J1205.7-2635_daily_bin1370.fits sctable="SC_DATA" outfile=/scratch/kocevski/319629/ltcube_594432001_594691201_4FGL_J1205.7-2635_daily_bin1370.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/319629/ft2_4FGL_J1205.7-2635_daily_bin1370.fits
.....................!
real 12.01
user 11.64
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319629/ft1_filtered_4FGL_J1205.7-2635_daily_bin1370.fits evtable="EVENTS" scfile=/scratch/kocevski/319629/ft2_4FGL_J1205.7-2635_daily_bin1370.fits sctable="SC_DATA" expcube=/scratch/kocevski/319629/ltcube_594432001_594691201_4FGL_J1205.7-2635_daily_bin1370.fits outfile=/scratch/kocevski/319629/expmap_594432001_594691201_4FGL_J1205.7-2635_daily_bin1370.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/319629/ltcube_594432001_594691201_4FGL_J1205.7-2635_daily_bin1370.fits
.....................!
real 191.52
user 186.61
sys 4.52

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/319629/ft1_filtered_4FGL_J1205.7-2635_daily_bin1370.fits scfile=/scratch/kocevski/319629/ft2_4FGL_J1205.7-2635_daily_bin1370.fits outfile=/scratch/kocevski/319629/cmap_594432001_594691201_4FGL_J1205.7-2635_daily_bin1370.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/319629/ft1_filtered_4FGL_J1205.7-2635_daily_bin1370.fits scfile=/scratch/kocevski/319629/ft2_4FGL_J1205.7-2635_daily_bin1370.fits outfile=/scratch/kocevski/319629/cmap_HighResolution_594432001_594691201_4FGL_J1205.7-2635_daily_bin1370.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .31000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.390       1.0000         .10000E-03   10000.    
    10 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8771       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.074       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10641E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.885       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.6867       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.3928       1.0000         .10000E-03   10000.    
    19 'norm      '    6.4363       1.0000         .10000E-03   10000.    
    20 'Prefactor '    130.13       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.7636       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69434       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=   6703.340     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2332 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.556        .91832E-05** at limit **
   2  Prefactor     .10000E-03    6.5718       -.17640E-05** at limit **
   3  Prefactor     .10006E-03    311.18       -.19371E-03** at limit **
   4  norm          .10000E-03    .60586        .97798E-07** at limit **
   5  Prefactor     .10000E-03    3.4778       -.17250E-06** at limit **
   6  Prefactor     .10000E-03    5.1820        .23156E-05** at limit **
   7  Prefactor     .10000E-03    16.671       -.52386E-05** at limit **
   8  norm          .10000E-03    10.967        .60979E-05** at limit **
   9  Prefactor     26.396        18.431        .47582E-05    .77718E-04
  10  norm          .10000E-03    2.9354       -.19781E-06** at limit **
  11  Prefactor     4.8771        4.6753       -.32483E-06   -.35428E-05
  12  Prefactor     32.058        53.989       -.24957E-04    .16223E-04
  13  Prefactor     .10000E-03    4.9751       -.17422E-05** at limit **
  14  Prefactor     .10000E-03    12.998       -.55190E-05** at limit **
  15  Prefactor     .10000E-03    28.160       -.22443E-05** at limit **
  16  Prefactor     33.882        49.892       -.28514E-05    .29987E-04
  17  Prefactor     3.6859        34.136       -.25128E-05   -.30780E-04
  18  Prefactor     5.4035        16.306        .11495E-04    .10183E-04
  19  norm          6.4369        1.7870        .94148E-06   -.70658E-04
  20  Prefactor     129.94        102.56       -.16384E-03   -.44025E-06
  21  Normalizat    1.7636        .25117        .38447E-05    .24793E-03
  22  Prefactor     .69432        .11444        .44205E-06    .70111E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100056
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.3964
  norm       = 0.0001
  Prefactor  = 4.87714
  Prefactor  = 32.0579
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 33.8824
  Prefactor  = 3.68593
  Prefactor  = 5.40352
  norm       = 6.43689
  Prefactor  = 129.941
  Normalizat = 1.76363
  Prefactor  = 0.69432
 **********
 **   18 **HESSE 
 **********

 FCN=   6703.340     FROM HESSE     STATUS=OK           336 CALLS     2668 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.5914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10006E-03    318.85        .42752E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .93217        .12377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4799        .14912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    10.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.396        18.434        .77982E-04   -1.4680    
  10  norm          .10000E-03    2.9737        .13663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.8771        4.6729        .16686E-03   -1.5266    
  12  Prefactor     32.058        53.962        .70751E-04   -1.4575    
  13  Prefactor     .10000E-03    4.9825        .17836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    28.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     33.882        49.809        .68840E-04   -1.4543    
  17  Prefactor     3.6859        34.102        .21035E-03   -1.5324    
  18  Prefactor     5.4035        16.295        .17305E-03   -1.5243    
  19  norm          6.4369        1.7869        .55122E-04   -1.5200    
  20  Prefactor     129.94        102.67        .17647E-03   -1.3423    
  21  Normalizat    1.7636        .29670        .30436E-03   -.70617    
  22  Prefactor     .69432        .13505        .21024E-03   -1.0375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.47024e-10
Minuit parameter uncertainties:
  1  4.19345e-05
  2  1.83681e-05
  3  0.00850916
  4  1.28062e-05
  5  4.35637e-06
  6  4.94302e-05
  7  2.75234e-05
  8  1.70498e-05
  9  18.4384
  10  3.25097e-05
  11  4.67324
  12  54.0446
  13  6.76628e-06
  14  8.86634e-07
  15  0.000563941
  16  49.8704
  17  22.4395
  18  16.308
  19  1.7869
  20  102.811
  21  0.297
  22  0.135113
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  4.877e+00  4.673e+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:  6.943e-01  1.351e-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.764e+00  2.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.83
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 4.51e-08 +/- 4.32e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.22e-05

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

Saving results to:
/scratch/kocevski/319629/likelihoodResults_594432001_594691201_4FGL_J1205.7-2635_daily_bin1370.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) = 6703.03905804
delta logL = 0.301349443418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6703.03366299
delta logL = 0.306744491186

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3153       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9666       1.0000          .0000       10.000    
     3 'Normalizat'    1.7832       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68930       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=   6703.034     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3175        6.7766        .43582E-02   -.10491E-03
   2  Index         1.9663        .69226        .25985       -.16067E-04
   3  Normalizat    1.7827        .24744        .68525E-01    .23877E-03
   4  Prefactor     .68954        .11397        .42259E-01   -.10067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.31754
  Index      = 1.96634
  Normalizat = 1.78272
  Prefactor  = 0.689536
 **********
 **   18 **HESSE 
 **********

 FCN=   6703.034     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3175        5.3325        .17433E-03   -1.5247    
   2  Index         1.9663        .67119        .10559E-01   -.65194    
   3  Normalizat    1.7827        .29098        .30310E-03   -.70116    
   4  Prefactor     .68954        .13435        .21090E-03   -1.0394    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61767e-10
Minuit parameter uncertainties:
  1  5.33294
  2  0.674424
  3  0.291261
  4  0.134414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319629': 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) = 6703.03366105
delta logL = 0.306746433259

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  5.318e+00  5.333e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  1.966e+00  6.744e-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:  6.895e-01  1.344e-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.783e+00  2.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.45
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 1.97 +/- 0.67
Photon Flux (Free Index): 2.58e-08 +/- 3.38e-08
Energy Flux (Free Index): 1.94e-05 +/- 2.50e-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/319629/cmap_HighResolution_594432001_594691201_4FGL_J1205.7-2635_daily_bin1370.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', photon_flux='4.51e-08', energy_flux2='1.94e-05', photon_flux_error='4.32e-08', dlogl='3.07e-01', energy_flux='1.27e-05', photon_flux2='2.58e-08', job_status='DONE', time_completed='2021-09-05 00:00:19.295335', photon_index_error2='0.67', photon_index2='1.97', ts='2.83', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='2.50e-05', EG='1.76', time_epoch_completed='1630825219.3', return_code='0', job_id='319629', GAL2='0.69', EG2='1.78', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='3.38e-08', ts2='3.45', photon_index='2.53' WHERE bin_id='1370' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 00:00:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 319629: <4FGL_J1205.7-2635_daily_bin1370> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1370> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:19 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:21 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:21 2021
Terminated at Sun Sep  5 00:00:20 2021
Results reported at Sun Sep  5 00:00:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1370 181.432 -26.5946 594432001 594691201 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 :                                   668.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            901 sec.

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

