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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1338
RA = 181.432, Dec = -26.5946
tmin = 586137601, tmax = 586396801
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='318705', job_status='RUN', time_executed='2021-09-04 23:42:20.052504', time_epoch_executed='1630824140.05' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318705

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318705/ft1_4FGL_J1205.7-2635_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318705/ft2_4FGL_J1205.7-2635_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318705/ft1_4FGL_J1205.7-2635_daily_bin1338.fits outfile=/scratch/kocevski/318705/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1338.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=586137601.0 tmax=586396801.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.55
user 4.26
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318705/ft1_filtered_4FGL_J1205.7-2635_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/318705/ft2_4FGL_J1205.7-2635_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/318705/ltcube_586137601_586396801_4FGL_J1205.7-2635_daily_bin1338.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/318705/ft2_4FGL_J1205.7-2635_daily_bin1338.fits
.....................!
real 10.09
user 9.73
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318705/ft1_filtered_4FGL_J1205.7-2635_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/318705/ft2_4FGL_J1205.7-2635_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/318705/ltcube_586137601_586396801_4FGL_J1205.7-2635_daily_bin1338.fits outfile=/scratch/kocevski/318705/expmap_586137601_586396801_4FGL_J1205.7-2635_daily_bin1338.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/318705/ltcube_586137601_586396801_4FGL_J1205.7-2635_daily_bin1338.fits
.....................!
real 190.70
user 185.31
sys 4.51

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/318705/ft1_filtered_4FGL_J1205.7-2635_daily_bin1338.fits scfile=/scratch/kocevski/318705/ft2_4FGL_J1205.7-2635_daily_bin1338.fits outfile=/scratch/kocevski/318705/cmap_586137601_586396801_4FGL_J1205.7-2635_daily_bin1338.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.52
user 0.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    47.136       1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2664       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14882E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .49969E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.944       1.0000         .10000E-03   10000.    
    10 'norm      '    .47822       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.5692       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.8724       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.2447       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .70677       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .97784E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.7949       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6406       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1529       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80598       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=   8300.387     FROM MIGRAD    STATUS=CONVERGED    910 CALLS     2894 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.336        .18142E-02** at limit **
   2  Prefactor     .10000E-03    3.3895        .16362E-02** at limit **
   3  Prefactor     47.150        37.630        .58403E-04   -.33092E-04
   4  norm          .10000E-03    2.0540        .13978E-02** at limit **
   5  Prefactor     8.2691        11.562        .13944E-03    .20383E-04
   6  Prefactor     .10000E-03    7.8710        .29808E-02** at limit **
   7  Prefactor     .10000E-03    15.998        .12166    ** at limit **
   8  norm          .10000E-03    8.9263        .18142E-02** at limit **
   9  Prefactor     14.909        14.724        .10361E-03    .68250E-03
  10  norm          .48235        7.3153        .24917E-02    .92160E-03
  11  Prefactor     7.5666        7.1993        .72883E-03    .30127E-03
  12  Prefactor     6.8527        29.367        .15304E-03    .51850E-04
  13  Prefactor     8.2441        9.7627        .13962E-03   -.92823E-05
  14  Prefactor     .84521        443.04        .77914E-02    .89929E-04
  15  Prefactor     .10000E-03    4.4727        .18142E-02** at limit **
  16  Prefactor     .10000E-03    8.2977        .18142E-02** at limit **
  17  Prefactor     .10000E-03    80.013        .63288E-02** at limit **
  18  Prefactor     .10000E-03    2.1878        .13152E-02** at limit **
  19  norm          5.7950        1.1982        .43506E-04   -.66165E-03
  20  Prefactor     3.4668        265.33        .21173E-03   -.77321E-05
  21  Normalizat    1.1529        .22699        .30386E-03    .62855E-05
  22  Prefactor     .80604        .10890        .17597E-03   -.48626E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.1503
  norm       = 0.0001
  Prefactor  = 8.26913
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 14.9086
  norm       = 0.482349
  Prefactor  = 7.56657
  Prefactor  = 6.85273
  Prefactor  = 8.24412
  Prefactor  = 0.845206
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 5.79501
  Prefactor  = 3.4668
  Normalizat = 1.1529
  Prefactor  = 0.806037
 **********
 **   18 **HESSE 
 **********

 FCN=   8300.387     FROM HESSE     STATUS=OK           334 CALLS     3228 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.338        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.3897        .32724E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     47.150        37.620        .11681E-04   -1.4334    
   4  norm          .10000E-03    2.0787        .27956E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.2691        11.559        .55776E-05   -1.5133    
   6  Prefactor     .10000E-03    7.9302        .59615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.821        .12287       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.9272        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.909        14.051        .41444E-05   -1.4936    
  10  norm          .48235        6.6564        .99668E-04   -1.5569    
  11  Prefactor     7.5666        6.4288        .29153E-04   -1.5158    
  12  Prefactor     6.8527        29.344        .61218E-05   -1.5184    
  13  Prefactor     8.2441        9.7617        .55849E-05   -1.5134    
  14  Prefactor     .84521        354.90        .31166E-03   -1.5524    
  15  Prefactor     .10000E-03    4.4727        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.2978        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    82.171        .25315E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.1878        .26304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.7950        1.1981        .17402E-05   -1.5226    
  20  Prefactor     3.4668        265.50        .84691E-05   -1.5336    
  21  Normalizat    1.1529        .22551        .12154E-04   -.88071    
  22  Prefactor     .80604        .10891        .35193E-04   -.99506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70849e-09
Minuit parameter uncertainties:
  1  2.81421e-05
  2  6.62903e-06
  3  37.6393
  4  2.63501e-05
  5  11.5616
  6  0.00011726
  7  0.000437636
  8  6.60719e-06
  9  14.0543
  10  3.58381
  11  6.42935
  12  28.3845
  13  9.76356
  14  34.8463
  15  2.54235e-07
  16  3.5664e-06
  17  0.000803838
  18  1.60711e-06
  19  1.1981
  20  60.9591
  21  0.225696
  22  0.108936
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  7.567e+00  6.429e+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.060e-01  1.089e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.153e+00  2.257e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.89
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 7.00e-08 +/- 5.94e-08
Energy Flux (Fixed Index): 1.97e-05 +/- 1.67e-05

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

Saving results to:
/scratch/kocevski/318705/likelihoodResults_586137601_586396801_4FGL_J1205.7-2635_daily_bin1338.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) = 8299.96892201
delta logL = 0.417751922965

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8299.93634822
delta logL = 0.450325707014

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1827       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1840       1.0000          .0000       10.000    
     3 'Normalizat'    1.1124       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81948       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=   8299.936     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      329 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1831        5.8901        .10439E-03    .45545E-03
   2  Index         3.1844        .93189        .57355E-02    .11799E-03
   3  Normalizat    1.1124        .22585        .30851E-03    .16995E-03
   4  Prefactor     .81946        .10959        .17461E-03    .31572E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.18311
  Index      = 3.18436
  Normalizat = 1.11241
  Prefactor  = 0.81946
 **********
 **   18 **HESSE 
 **********

 FCN=   8299.936     FROM HESSE     STATUS=OK            25 CALLS      354 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1831        4.8094        .41756E-05   -1.5299    
   2  Index         3.1844        .76152        .22942E-03   -.37162    
   3  Normalizat    1.1124        .22551        .12340E-04   -.89354    
   4  Prefactor     .81946        .10934        .34923E-04   -.99015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.51092e-11
Minuit parameter uncertainties:
  1  4.80981
  2  0.76495
  3  0.22571
  4  0.109373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318705': 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) = 8299.9363476
delta logL = 0.45032632577

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  4.183e+00  4.810e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  3.184e+00  7.649e-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.195e-01  1.094e-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.112e+00  2.257e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.86
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 3.18 +/- 0.76
Photon Flux (Free Index): 9.78e-08 +/- 6.11e-08
Energy Flux (Free Index): 1.80e-05 +/- 1.11e-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/318705/cmap_HighResolution_586137601_586396801_4FGL_J1205.7-2635_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', comment='SUCCESS', photon_flux='7.00e-08', energy_flux2='1.80e-05', photon_flux_error='5.94e-08', dlogl='4.50e-01', energy_flux='1.97e-05', photon_flux2='9.78e-08', job_status='DONE', time_completed='2021-09-04 23:56:06.249314', photon_index_error2='0.76', photon_index2='3.18', ts='2.89', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.65e-07', energy_flux_error2='1.11e-05', EG='1.15', time_epoch_completed='1630824966.25', return_code='0', job_id='318705', GAL2='0.82', EG2='1.11', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='6.11e-08', ts2='3.86', photon_index='2.53' WHERE bin_id='1338' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:56:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 318705: <4FGL_J1205.7-2635_daily_bin1338> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1338> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:41:27 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:41:29 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:41:29 2021
Terminated at Sat Sep  4 23:56:06 2021
Results reported at Sat Sep  4 23:56:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1338 181.432 -26.5946 586137601 586396801 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 :                                   824.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            879 sec.

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

