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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1399
RA = 181.432, Dec = -26.5946
tmin = 601948801, tmax = 602208001
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='319674', job_status='RUN', time_executed='2021-09-04 23:46:10.677908', time_epoch_executed='1630824370.68' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1399'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319674

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319674/ft1_4FGL_J1205.7-2635_daily_bin1399.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319674/ft2_4FGL_J1205.7-2635_daily_bin1399.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319674/ft1_4FGL_J1205.7-2635_daily_bin1399.fits outfile=/scratch/kocevski/319674/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1399.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=601948801.0 tmax=602208001.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.82
user 3.59
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319674/ft2_4FGL_J1205.7-2635_daily_bin1399.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/319674/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1399.fits evtable="EVENTS" outfile="/scratch/kocevski/319674/ft1_filtered_4FGL_J1205.7-2635_daily_bin1399.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.51
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319674/ft1_filtered_4FGL_J1205.7-2635_daily_bin1399.fits" evtable="EVENTS" scfile=/scratch/kocevski/319674/ft2_4FGL_J1205.7-2635_daily_bin1399.fits sctable="SC_DATA" outfile=/scratch/kocevski/319674/ltcube_601948801_602208001_4FGL_J1205.7-2635_daily_bin1399.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/319674/ft2_4FGL_J1205.7-2635_daily_bin1399.fits
.....................!
real 11.79
user 11.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319674/ft1_filtered_4FGL_J1205.7-2635_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/319674/ft2_4FGL_J1205.7-2635_daily_bin1399.fits sctable="SC_DATA" expcube=/scratch/kocevski/319674/ltcube_601948801_602208001_4FGL_J1205.7-2635_daily_bin1399.fits outfile=/scratch/kocevski/319674/expmap_601948801_602208001_4FGL_J1205.7-2635_daily_bin1399.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/319674/ltcube_601948801_602208001_4FGL_J1205.7-2635_daily_bin1399.fits
.....................!
real 192.75
user 186.74
sys 5.63

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/319674/ft1_filtered_4FGL_J1205.7-2635_daily_bin1399.fits scfile=/scratch/kocevski/319674/ft2_4FGL_J1205.7-2635_daily_bin1399.fits outfile=/scratch/kocevski/319674/cmap_601948801_602208001_4FGL_J1205.7-2635_daily_bin1399.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.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319674/ft1_filtered_4FGL_J1205.7-2635_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/319674/ft2_4FGL_J1205.7-2635_daily_bin1399.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319674/Model_4FGL_J1205.7-2635_daily_bin1399.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/319674/ft1_filtered_4FGL_J1205.7-2635_daily_bin1399.fits.....................!
real 64.54
user 63.08
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.1694       1.0000         .10000E-03   10000.    
     3 'Prefactor '    90.186       1.0000         .10000E-03   10000.    
     4 'norm      '    .23497       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    16.811       1.0000         .10000E-03   10000.    
     9 'Prefactor '    55.767       1.0000         .10000E-03   10000.    
    10 'norm      '    8.5660       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11388E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.542       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.450       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.5569       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11248E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.7350       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .15053       1.0000         .10000E-03   10000.    
    20 'Prefactor '    77.857       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3909       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90673       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=   7460.892     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2409 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.370        .74633E-07** at limit **
   2  Prefactor     8.1696        8.9692       -.19741E-06   -.72913E-05
   3  Prefactor     90.243        66.841       -.50234E-05   -.38584E-04
   4  norm          .23155        1.3612       -.44672E-07    .43222E-03
   5  Prefactor     .10000E-03    7.0113        .23309E-06** at limit **
   6  Prefactor     .10000E-03    6.0182        .52517E-06** at limit **
   7  Prefactor     .10000E-03    20.515        .15159E-06** at limit **
   8  norm          16.813        28.309       -.26512E-06   -.93419E-06
   9  Prefactor     55.770        28.024       -.61445E-06   -.65395E-05
  10  norm          8.5670        7.6498        .51060E-07   -.30942E-05
  11  Prefactor     .10000E-03    2.9861       -.67530E-06** at limit **
  12  Prefactor     .10000E-03    27.299        .93895E-07** at limit **
  13  Prefactor     15.542        15.200       -.12621E-06    .47023E-06
  14  Prefactor     20.417        31.493       -.14822E-06    .16310E-04
  15  Prefactor     8.5594        20.158        .46445E-06    .59334E-05
  16  Prefactor     .10000E-03    82.845        .26901E-06** at limit **
  17  Prefactor     5.7378        21.454        .75126E-06    .65331E-05
  18  Prefactor     .10000E-03    4.4453       -.63672E-06** at limit **
  19  norm          .15049        .89320        .14539E-06   -.60328E-03
  20  Prefactor     77.518        127.16        .41276E-05   -.55279E-05
  21  Normalizat    1.3905        .25416        .19924E-05   -.27623E-04
  22  Prefactor     .90686        .11541       -.47857E-06    .13158E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.16956
  Prefactor  = 90.243
  norm       = 0.231545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.8126
  Prefactor  = 55.7702
  norm       = 8.56703
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.5423
  Prefactor  = 20.4172
  Prefactor  = 8.55937
  Prefactor  = 0.0001
  Prefactor  = 5.73784
  Prefactor  = 0.0001
  norm       = 0.150485
  Prefactor  = 77.5181
  Normalizat = 1.39047
  Prefactor  = 0.906859
 **********
 **   18 **HESSE 
 **********

 FCN=   7460.892     FROM HESSE     STATUS=OK           350 CALLS     2759 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.1696        8.9689        .14027E-03   -1.5136    
   3  Prefactor     90.243        67.810        .21156E-03   -1.3805    
   4  norm          .23155        2.7856        .17909E-02   -1.5612    
   5  Prefactor     .10000E-03    7.0448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.1264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          16.813        28.364        .97684E-04   -1.4888    
   9  Prefactor     55.770        28.036        .53716E-04   -1.4213    
  10  norm          8.5670        7.6343        .13696E-03   -1.5122    
  11  Prefactor     .10000E-03    3.0106        .14558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.542        15.203        .10159E-03   -1.4919    
  14  Prefactor     20.417        31.449        .88570E-04   -1.4804    
  15  Prefactor     8.5594        20.121        .13704E-03   -1.5123    
  16  Prefactor     .10000E-03    82.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.7378        21.435        .16772E-03   -1.5229    
  18  Prefactor     .10000E-03    4.4611        .17799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .15049        1.9139        .14884E-02   -1.5630    
  20  Prefactor     77.518        126.97        .22756E-03   -1.3945    
  21  Normalizat    1.3905        .29421        .33770E-03   -.80905    
  22  Prefactor     .90686        .13651        .19269E-03   -.95902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35336e-10
Minuit parameter uncertainties:
  1  1.1347e-06
  2  8.97036
  3  67.8687
  4  1.60596
  5  9.65961e-07
  6  3.32099e-06
  7  1.88643e-06
  8  28.3871
  9  28.0422
  10  7.6352
  11  8.46314e-06
  12  1.30328e-06
  13  15.2069
  14  31.4744
  15  20.1373
  16  8.1339e-05
  17  21.4641
  18  1.09352e-05
  19  1.07302
  20  127.416
  21  0.294568
  22  0.136564
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  8.463e-06  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:  9.069e-01  1.366e-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.390e+00  2.946e-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: 9.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319674/likelihoodResults_601948801_602208001_4FGL_J1205.7-2635_daily_bin1399.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) = 7460.89315788
delta logL = -0.00158318526337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7460.89157563
delta logL = -9.32127477427e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5426       1.0000          .0000       10.000    
     3 'Normalizat'    1.3904       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90683       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=   7460.892     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      239 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    472.50        .14663E-02** at limit **
   2  Index         2.5565        5.0597        .50000       -.42407E-04
   3  Normalizat    1.3905        .10154        .33769E-03   -.10470E-04
   4  Prefactor     .90686        .48317E-01    .19269E-03   -.21180E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.5565
  Normalizat = 1.39047
  Prefactor  = 0.906858
 **********
 **   18 **HESSE 
 **********

 FCN=   7460.892     FROM HESSE     STATUS=OK            29 CALLS      268 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    3.8249        .29326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5565        6.2739        .50000       -.51060    
   3  Normalizat    1.3905        .27794        .13508E-04   -.80905    
   4  Prefactor     .90686        .13241        .77078E-05   -.95902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48513e-09
Minuit parameter uncertainties:
  1  0.000290578
  2  4.88174
  3  0.27824
  4  0.132458
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319674': 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) = 7460.89157444
delta logL = 2.54391125054e-07

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  2.906e-04  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.557e+00  4.882e+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:  9.069e-01  1.325e-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.390e+00  2.782e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/319674/cmap_HighResolution_601948801_602208001_4FGL_J1205.7-2635_daily_bin1399.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.70e-03', job_status='DONE', photon_flux_upper_limit='9.88e-08', time_completed='2021-09-04 23:58:13.279870', job_id='319674', GAL2='0.91', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1630825093.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.54e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1399' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:58:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 319674: <4FGL_J1205.7-2635_daily_bin1399> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1399 181.432 -26.5946 601948801 602208001 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 :                                   717.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            771 sec.

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

