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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1365
RA = 181.432, Dec = -26.5946
tmin = 593136001, tmax = 593395201
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='319621', job_status='RUN', time_executed='2021-09-04 23:45:32.662656', time_epoch_executed='1630824332.66' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1365'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319621

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319621/ft1_4FGL_J1205.7-2635_daily_bin1365.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319621/ft2_4FGL_J1205.7-2635_daily_bin1365.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319621/ft1_4FGL_J1205.7-2635_daily_bin1365.fits outfile=/scratch/kocevski/319621/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1365.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=593136001.0 tmax=593395201.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.23
user 4.92
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319621/ft2_4FGL_J1205.7-2635_daily_bin1365.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/319621/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1365.fits evtable="EVENTS" outfile="/scratch/kocevski/319621/ft1_filtered_4FGL_J1205.7-2635_daily_bin1365.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/319621/ft1_filtered_4FGL_J1205.7-2635_daily_bin1365.fits" evtable="EVENTS" scfile=/scratch/kocevski/319621/ft2_4FGL_J1205.7-2635_daily_bin1365.fits sctable="SC_DATA" outfile=/scratch/kocevski/319621/ltcube_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.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/319621/ft2_4FGL_J1205.7-2635_daily_bin1365.fits
.....................!
real 11.83
user 11.49
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319621/ft1_filtered_4FGL_J1205.7-2635_daily_bin1365.fits evtable="EVENTS" scfile=/scratch/kocevski/319621/ft2_4FGL_J1205.7-2635_daily_bin1365.fits sctable="SC_DATA" expcube=/scratch/kocevski/319621/ltcube_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.fits outfile=/scratch/kocevski/319621/expmap_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.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/319621/ltcube_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.fits
.....................!
real 190.81
user 186.19
sys 4.17

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/319621/ft1_filtered_4FGL_J1205.7-2635_daily_bin1365.fits scfile=/scratch/kocevski/319621/ft2_4FGL_J1205.7-2635_daily_bin1365.fits outfile=/scratch/kocevski/319621/cmap_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319621/ft1_filtered_4FGL_J1205.7-2635_daily_bin1365.fits scfile=/scratch/kocevski/319621/ft2_4FGL_J1205.7-2635_daily_bin1365.fits outfile=/scratch/kocevski/319621/cmap_HighResolution_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=181.432 yref=-26.5946 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319621/ft1_filtered_4FGL_J1205.7-2635_daily_bin1365.fits evtable="EVENTS" scfile=/scratch/kocevski/319621/ft2_4FGL_J1205.7-2635_daily_bin1365.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319621/Model_4FGL_J1205.7-2635_daily_bin1365.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/319621/ft1_filtered_4FGL_J1205.7-2635_daily_bin1365.fits.....................!
real 54.94
user 53.52
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/319621/ft1_filtered_4FGL_J1205.7-2635_daily_bin1365.fits', '/scratch/kocevski/319621/ft2_4FGL_J1205.7-2635_daily_bin1365.fits', expMap='/scratch/kocevski/319621/expmap_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.fits', expCube='/scratch/kocevski/319621/ltcube_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/319621/Model_4FGL_J1205.7-2635_daily_bin1365.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/319621/ft1_filtered_4FGL_J1205.7-2635_daily_bin1365.fits
Spacecraft file(s): /scratch/kocevski/319621/ft2_4FGL_J1205.7-2635_daily_bin1365.fits
Exposure map: /scratch/kocevski/319621/expmap_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.fits
Exposure cube: /scratch/kocevski/319621/ltcube_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/319621/Model_4FGL_J1205.7-2635_daily_bin1365.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5764.96923552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.7578       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.2857       1.0000         .10000E-03   10000.    
    10 'norm      '    3.7246       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7252       1.0000         .10000E-03   10000.    
    12 'Prefactor '    47.056       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.718       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11066E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12191E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.676       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.638       1.0000         .10000E-03   10000.    
    19 'norm      '    9.7005       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .95369       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1843       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=   5764.897     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2394 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 22.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    61.814       -.37098E-06** at limit **
   2  Prefactor     .10000E-03    10.082        .25951E-07** at limit **
   3  Prefactor     .10000E-03    18.637        .18552E-06** at limit **
   4  norm          1.7578        1.3662        .24947E-08    .29110E-04
   5  Prefactor     .10000E-03    6.0742        .14131E-07** at limit **
   6  Prefactor     .10000E-03    14.223       -.40825E-06** at limit **
   7  Prefactor     .10000E-03    24.974       -.10600E-05** at limit **
   8  norm          .10000E-03    34.286        .30453E-06** at limit **
   9  Prefactor     3.2791        199.61        .45137E-04   -.47391E-04
  10  norm          3.7259        15.202       -.12622E-04   -.19018E-03
  11  Prefactor     7.7233        7.3343       -.55691E-06    .45557E-04
  12  Prefactor     47.112        81.106        .27994E-05    .38335E-05
  13  Prefactor     20.718        23.386        .14362E-06   -.57301E-05
  14  Prefactor     .10000E-03    29.640        .10876E-05** at limit **
  15  Prefactor     .10000E-03    52.965       -.26171E-05** at limit **
  16  Prefactor     .10002E-03    185.99       -.51748E-06** at limit **
  17  Prefactor     38.631        42.375       -.15829E-05    .11206E-03
  18  Prefactor     21.638        18.577        .40917E-07   -.16815E-05
  19  norm          9.7006        2.5219        .34325E-07   -.10478E-03
  20  Prefactor     .10000E-03    72.122        .38795E-05** at limit **
  21  Normalizat    .95396        .32476       -.22943E-05    .60837E-04
  22  Prefactor     1.1842        .15416        .52382E-06    .23566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.75778
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.27912
  norm       = 3.72592
  Prefactor  = 7.72327
  Prefactor  = 47.1123
  Prefactor  = 20.7176
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100019
  Prefactor  = 38.6313
  Prefactor  = 21.638
  norm       = 9.7006
  Prefactor  = 0.000100004
  Normalizat = 0.953959
  Prefactor  = 1.18425
 **********
 **   18 **HESSE 
 **********

 FCN=   5764.897     FROM HESSE     STATUS=OK           336 CALLS     2730 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    61.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7578        1.3700        .75995E-04   -1.5443    
   5  Prefactor     .10000E-03    6.0861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.635        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    24.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    34.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.2791        206.50        .22337E-03   -1.5346    
  10  norm          3.7259        15.668        .20923E-03   -1.5322    
  11  Prefactor     7.7233        7.3289        .14427E-03   -1.5152    
  12  Prefactor     47.112        81.647        .58452E-04   -1.4334    
  13  Prefactor     20.718        23.395        .87996E-04   -1.4797    
  14  Prefactor     .10000E-03    29.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    54.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    188.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     38.631        42.344        .64450E-04   -1.4464    
  18  Prefactor     21.638        18.576        .86107E-04   -1.4777    
  19  norm          9.7006        2.5215        .58601E-04   -1.5085    
  20  Prefactor     .10000E-03    71.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .95396        .37044        .43150E-03   -.94589    
  22  Prefactor     1.1842        .17802        .18930E-03   -.86817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78464e-10
Minuit parameter uncertainties:
  1  0.000112335
  2  2.35239e-07
  3  2.55628e-05
  4  1.37005
  5  2.9283e-07
  6  3.24232e-05
  7  0.000158048
  8  3.90542e-05
  9  52.2326
  10  15.2877
  11  7.32971
  12  81.8415
  13  23.405
  14  8.22765e-05
  15  0.000837212
  16  0.0038428
  17  42.3768
  18  18.5807
  19  2.52155
  20  0.00105389
  21  0.371441
  22  0.178109
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  7.723e+00  7.330e+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:  1.184e+00  1.781e-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:  9.540e-01  3.714e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.37
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 7.15e-08 +/- 6.78e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 1.91e-05

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

Saving results to:
/scratch/kocevski/319621/likelihoodResults_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.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) = 5764.66727587
delta logL = 0.229687211009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5764.65701698
delta logL = 0.239946106802

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8289       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0065       1.0000          .0000       10.000    
     3 'Normalizat'    .98827       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1733       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=   5764.657     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      238 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8292        8.4596        .13490E-03   -.91759E-03
   2  Index         2.0068        .68465        .93581E-02   -.46156E-04
   3  Normalizat    .98828        .35876        .42475E-03   -.11054E-03
   4  Prefactor     1.1733        .17420        .19003E-03   -.19753E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.82924
  Index      = 2.00679
  Normalizat = 0.988284
  Prefactor  = 1.17331
 **********
 **   18 **HESSE 
 **********

 FCN=   5764.657     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8292        8.5215        .26979E-04   -1.5114    
   2  Index         2.0068        .68963        .37433E-03   -.64180    
   3  Normalizat    .98828        .35899        .16990E-04   -.93424    
   4  Prefactor     1.1733        .17431        .38006E-04   -.87157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13628e-10
Minuit parameter uncertainties:
  1  8.52264
  2  0.693079
  3  0.359866
  4  0.174397
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319621': 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) = 5764.65701689
delta logL = 0.239946196531

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  8.829e+00  8.523e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.007e+00  6.931e-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:  1.173e+00  1.744e-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:  9.883e-01  3.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.84
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.01 +/- 0.69
Photon Flux (Free Index): 4.46e-08 +/- 5.78e-08
Energy Flux (Free Index): 3.03e-05 +/- 3.72e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/319621/cmap_HighResolution_593136001_593395201_4FGL_J1205.7-2635_daily_bin1365.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.80e-02', comment='SUCCESS', photon_flux='7.15e-08', energy_flux2='3.03e-05', photon_flux_error='6.78e-08', dlogl='2.40e-01', energy_flux='2.01e-05', photon_flux2='4.46e-08', job_status='DONE', time_completed='2021-09-04 23:55:54.205977', photon_index_error2='0.69', photon_index2='2.01', ts='2.37', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='2.31e-07', energy_flux_error2='3.72e-05', EG='0.95', time_epoch_completed='1630824954.21', return_code='0', job_id='319621', GAL2='1.17', EG2='0.99', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='5.78e-08', ts2='2.84', photon_index='2.53' WHERE bin_id='1365' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:55:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 319621: <4FGL_J1205.7-2635_daily_bin1365> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1365> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:18 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:20 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:20 2021
Terminated at Sat Sep  4 23:55:54 2021
Results reported at Sat Sep  4 23:55:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1365 181.432 -26.5946 593136001 593395201 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 :                                   617.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             286.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            636 sec.

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

