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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1154
RA = 181.432, Dec = -26.5946
tmin = 538444801, tmax = 538704001
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='318414', job_status='RUN', time_executed='2021-09-04 23:44:20.639084', time_epoch_executed='1630824260.64' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1154'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318414

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318414/ft1_4FGL_J1205.7-2635_daily_bin1154.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318414/ft2_4FGL_J1205.7-2635_daily_bin1154.fits


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

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

Done.
real 3.46
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318414/ft2_4FGL_J1205.7-2635_daily_bin1154.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/318414/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1154.fits evtable="EVENTS" outfile="/scratch/kocevski/318414/ft1_filtered_4FGL_J1205.7-2635_daily_bin1154.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318414/ft1_filtered_4FGL_J1205.7-2635_daily_bin1154.fits" evtable="EVENTS" scfile=/scratch/kocevski/318414/ft2_4FGL_J1205.7-2635_daily_bin1154.fits sctable="SC_DATA" outfile=/scratch/kocevski/318414/ltcube_538444801_538704001_4FGL_J1205.7-2635_daily_bin1154.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/318414/ft2_4FGL_J1205.7-2635_daily_bin1154.fits
.....................!
real 13.68
user 13.29
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318414/ft1_filtered_4FGL_J1205.7-2635_daily_bin1154.fits evtable="EVENTS" scfile=/scratch/kocevski/318414/ft2_4FGL_J1205.7-2635_daily_bin1154.fits sctable="SC_DATA" expcube=/scratch/kocevski/318414/ltcube_538444801_538704001_4FGL_J1205.7-2635_daily_bin1154.fits outfile=/scratch/kocevski/318414/expmap_538444801_538704001_4FGL_J1205.7-2635_daily_bin1154.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/318414/ltcube_538444801_538704001_4FGL_J1205.7-2635_daily_bin1154.fits
.....................!
real 192.50
user 187.58
sys 4.56

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/318414/ft1_filtered_4FGL_J1205.7-2635_daily_bin1154.fits scfile=/scratch/kocevski/318414/ft2_4FGL_J1205.7-2635_daily_bin1154.fits outfile=/scratch/kocevski/318414/cmap_538444801_538704001_4FGL_J1205.7-2635_daily_bin1154.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.61
user 0.37
sys 0.14

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

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

This is gtbin version HEAD
real 0.65
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318414/ft1_filtered_4FGL_J1205.7-2635_daily_bin1154.fits evtable="EVENTS" scfile=/scratch/kocevski/318414/ft2_4FGL_J1205.7-2635_daily_bin1154.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318414/Model_4FGL_J1205.7-2635_daily_bin1154.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/318414/ft1_filtered_4FGL_J1205.7-2635_daily_bin1154.fits.....................!
real 57.89
user 56.12
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4037       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.0720       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6028       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7666       1.0000         .10000E-03   10000.    
     8 'norm      '    24.877       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.075       1.0000         .10000E-03   10000.    
    10 'norm      '    2.3251       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.8825       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.008       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.032       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.1845       1.0000         .10000E-03   10000.    
    19 'norm      '    2.9412       1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.122       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4950       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78956       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=   6558.663     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     2355 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.488        .47231E-06** at limit **
   2  Prefactor     3.4041        8.7763        .26817E-06   -.38588E-06
   3  Prefactor     .10000E-03    32.942       -.24277E-06** at limit **
   4  norm          2.0720        1.6493        .58190E-07    .72765E-06
   5  Prefactor     1.6020        8.6639        .92547E-05    .15824E-04
   6  Prefactor     .10000E-03    6.7508       -.56975E-06** at limit **
   7  Prefactor     5.7490        30.047        .40030E-05    .89489E-05
   8  norm          24.867        24.621        .10821E-05   -.20177E-05
   9  Prefactor     18.076        12.701       -.12899E-07   -.43447E-05
  10  norm          2.3250        2.9505        .33838E-07   -.60005E-05
  11  Prefactor     .10000E-03    4.8887       -.18338E-06** at limit **
  12  Prefactor     .10000E-03    12.895       -.37374E-06** at limit **
  13  Prefactor     .10000E-03    7.0184        .25094E-06** at limit **
  14  Prefactor     6.8779        28.848        .76756E-06   -.69194E-06
  15  Prefactor     .10000E-03    7.7098       -.10159E-06** at limit **
  16  Prefactor     38.997        40.187        .13075E-05    .12509E-06
  17  Prefactor     14.027        30.203        .98304E-06   -.43712E-05
  18  Prefactor     9.1842        16.677       -.49379E-06   -.23532E-04
  19  norm          2.9413        1.3819       -.13825E-06   -.27647E-03
  20  Prefactor     28.917        140.77        .36275E-04   -.51715E-05
  21  Normalizat    1.4948        .25176        .25744E-06   -.29564E-04
  22  Prefactor     .78967        .11560       -.14401E-05    .41745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.40411
  Prefactor  = 0.0001
  norm       = 2.07203
  Prefactor  = 1.60198
  Prefactor  = 0.0001
  Prefactor  = 5.74898
  norm       = 24.8672
  Prefactor  = 18.0765
  norm       = 2.32502
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.87792
  Prefactor  = 0.0001
  Prefactor  = 38.9973
  Prefactor  = 14.0273
  Prefactor  = 9.18419
  norm       = 2.94129
  Prefactor  = 28.9165
  Normalizat = 1.49484
  Prefactor  = 0.789669
 **********
 **   18 **HESSE 
 **********

 FCN=   6558.663     FROM HESSE     STATUS=OK           350 CALLS     2705 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4041        8.7675        .21928E-03   -1.5339    
   3  Prefactor     .10000E-03    32.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0720        1.6482        .89499E-04   -1.5420    
   5  Prefactor     1.6020        8.6655        .16740E-02   -1.5455    
   6  Prefactor     .10000E-03    6.9093        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.7490        30.007        .16726E-03   -1.5228    
   8  norm          24.867        24.644        .80313E-04   -1.4710    
   9  Prefactor     18.076        12.720        .94208E-04   -1.4857    
  10  norm          2.3250        2.9399        .14962E-03   -1.5403    
  11  Prefactor     .10000E-03    4.9774        .34826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.0313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.8779        28.633        .15293E-03   -1.5183    
  15  Prefactor     .10000E-03    7.7113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     38.997        40.193        .64176E-04   -1.4458    
  17  Prefactor     14.027        30.236        .10693E-03   -1.4959    
  18  Prefactor     9.1842        16.686        .13225E-03   -1.5102    
  19  norm          2.9413        1.3799        .62043E-04   -1.5365    
  20  Prefactor     28.917        140.60        .37121E-03   -1.4632    
  21  Normalizat    1.4948        .30063        .31441E-03   -.77924    
  22  Prefactor     .78967        .13739        .19519E-03   -1.0011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04148e-11
Minuit parameter uncertainties:
  1  6.87217e-06
  2  8.77085
  3  1.20445e-05
  4  1.64825
  5  7.45313
  6  3.84764e-05
  7  26.2891
  8  24.654
  9  12.7219
  10  2.94008
  11  1.302e-05
  12  3.17191e-06
  13  7.87297e-06
  14  28.0898
  15  9.73895e-06
  16  40.2204
  17  30.2691
  18  16.6949
  19  1.37987
  20  128.015
  21  0.300993
  22  0.137451
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.302e-05  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.897e-01  1.375e-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.495e+00  3.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318414/likelihoodResults_538444801_538704001_4FGL_J1205.7-2635_daily_bin1154.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): 102
logL (Free Index) = 6558.66377634
delta logL = -0.000958501195782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6558.66281848
delta logL = -6.39234713162e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5657       1.0000          .0000       10.000    
     3 'Normalizat'    1.4944       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78987       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=   6558.663     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      245 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    8.9187        .36285E-03** at limit **
   2  Index         2.6061        6.2603        .50000       -.72484E-04
   3  Normalizat    1.4948        .28488        .31441E-03   -.26154E-03
   4  Prefactor     .78967        .13445        .19519E-03   -.64289E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100031
  Index      = 2.60609
  Normalizat = 1.49484
  Prefactor  = 0.789667
 **********
 **   18 **HESSE 
 **********

 FCN=   6558.663     FROM HESSE     STATUS=OK            29 CALLS      274 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    5.7465        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6061        6.2981        .50000       -.49927    
   3  Normalizat    1.4948        .28512        .62881E-04   -.77923    
   4  Prefactor     .78967        .13456        .39037E-04   -1.0011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.75832e-09
Minuit parameter uncertainties:
  1  0.000842477
  2  4.42757
  3  0.285426
  4  0.134618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318414': 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) = 6558.66281663
delta logL = 1.2105992937e-06

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  8.425e-04  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.606e+00  4.428e+00  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  7.897e-01  1.346e-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.495e+00  2.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 181.432 -26.595

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/318414/cmap_HighResolution_538444801_538704001_4FGL_J1205.7-2635_daily_bin1154.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.40e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-04 23:55:20.300677', job_id='318414', GAL2='0.79', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1630824920.3', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.21e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1154' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:55:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 318414: <4FGL_J1205.7-2635_daily_bin1154> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1154> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:41:01 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:41:03 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:03 2021
Terminated at Sat Sep  4 23:55:21 2021
Results reported at Sat Sep  4 23:55:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1154 181.432 -26.5946 538444801 538704001 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 :                                   654.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            860 sec.

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

