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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin743
RA = 181.432, Dec = -26.5946
tmin = 431913601, tmax = 432172801
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='316790', job_status='RUN', time_executed='2021-09-04 23:39:38.808559', time_epoch_executed='1630823978.81' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316790

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316790/ft1_4FGL_J1205.7-2635_daily_bin743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316790/ft2_4FGL_J1205.7-2635_daily_bin743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316790/ft1_4FGL_J1205.7-2635_daily_bin743.fits outfile=/scratch/kocevski/316790/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin743.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=431913601.0 tmax=432172801.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.25
user 4.98
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316790/ft1_filtered_4FGL_J1205.7-2635_daily_bin743.fits" evtable="EVENTS" scfile=/scratch/kocevski/316790/ft2_4FGL_J1205.7-2635_daily_bin743.fits sctable="SC_DATA" outfile=/scratch/kocevski/316790/ltcube_431913601_432172801_4FGL_J1205.7-2635_daily_bin743.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/316790/ft2_4FGL_J1205.7-2635_daily_bin743.fits
.....................!
real 12.22
user 11.75
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316790/ft1_filtered_4FGL_J1205.7-2635_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/316790/ft2_4FGL_J1205.7-2635_daily_bin743.fits sctable="SC_DATA" expcube=/scratch/kocevski/316790/ltcube_431913601_432172801_4FGL_J1205.7-2635_daily_bin743.fits outfile=/scratch/kocevski/316790/expmap_431913601_432172801_4FGL_J1205.7-2635_daily_bin743.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/316790/ltcube_431913601_432172801_4FGL_J1205.7-2635_daily_bin743.fits
.....................!
real 191.25
user 185.84
sys 4.89

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/316790/ft1_filtered_4FGL_J1205.7-2635_daily_bin743.fits scfile=/scratch/kocevski/316790/ft2_4FGL_J1205.7-2635_daily_bin743.fits outfile=/scratch/kocevski/316790/cmap_431913601_432172801_4FGL_J1205.7-2635_daily_bin743.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.63
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316790/ft1_filtered_4FGL_J1205.7-2635_daily_bin743.fits scfile=/scratch/kocevski/316790/ft2_4FGL_J1205.7-2635_daily_bin743.fits outfile=/scratch/kocevski/316790/cmap_HighResolution_431913601_432172801_4FGL_J1205.7-2635_daily_bin743.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.60
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/316790/ft1_filtered_4FGL_J1205.7-2635_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/316790/ft2_4FGL_J1205.7-2635_daily_bin743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316790/Model_4FGL_J1205.7-2635_daily_bin743.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/316790/ft1_filtered_4FGL_J1205.7-2635_daily_bin743.fits.....................!
real 54.71
user 53.17
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.317       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.053       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9690       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.438       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10553E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.2986       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.991       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.3390       1.0000         .10000E-03   10000.    
    19 'norm      '    2.1480       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .56682       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0712       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=   6061.317     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2324 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.318        19.824        .62967E-08    .21689E-06
   2  Prefactor     .10000E-03    2.8995       -.76838E-08** at limit **
   3  Prefactor     19.055        28.050        .91045E-06   -.83902E-06
   4  norm          1.9690        1.2366       -.54381E-07   -.38993E-06
   5  Prefactor     19.440        15.093       -.56044E-06   -.14373E-04
   6  Prefactor     .10000E-03    7.3765        .70130E-06** at limit **
   7  Prefactor     8.2760        26.180       -.25409E-04   -.28147E-04
   8  norm          .10000E-03    10.211       -.43499E-06** at limit **
   9  Prefactor     .10000E-03    3.1974        .36040E-08** at limit **
  10  norm          .10000E-03    1.8699       -.21518E-07** at limit **
  11  Prefactor     .10000E-03    1.5640        .67489E-07** at limit **
  12  Prefactor     .10000E-03    25.988       -.38578E-05** at limit **
  13  Prefactor     .10000E-03    4.7292       -.66463E-08** at limit **
  14  Prefactor     .10000E-03    50.717        .20389E-04** at limit **
  15  Prefactor     .10000E-03    5.5685       -.56244E-07** at limit **
  16  Prefactor     .10000E-03    16.532        .14441E-05** at limit **
  17  Prefactor     23.981        27.397       -.77343E-05   -.64554E-04
  18  Prefactor     7.3415        16.466       -.14680E-05   -.39200E-04
  19  norm          2.1481        1.0130       -.30465E-07   -.64931E-04
  20  Prefactor     .10000E-03    57.820       -.16204E-04** at limit **
  21  Normalizat    .56671        .22730        .20994E-05   -.53679E-04
  22  Prefactor     1.0712        .11447        .84298E-06   -.21464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.318
  Prefactor  = 0.0001
  Prefactor  = 19.0546
  norm       = 1.96904
  Prefactor  = 19.4397
  Prefactor  = 0.000100001
  Prefactor  = 8.276
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.9812
  Prefactor  = 7.3415
  norm       = 2.14807
  Prefactor  = 0.0001
  Normalizat = 0.566705
  Prefactor  = 1.07116
 **********
 **   18 **HESSE 
 **********

 FCN=   6061.317     FROM HESSE     STATUS=OK           338 CALLS     2662 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.318        19.823        .99151E-04   -1.4900    
   2  Prefactor     .10000E-03    2.9017        .12947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.055        28.044        .91757E-04   -1.4835    
   4  norm          1.9690        1.2360        .66540E-04   -1.5427    
   5  Prefactor     19.440        15.096        .90845E-04   -1.4826    
   6  Prefactor     .10000E-03    7.6855        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.2760        26.227        .13917E-03   -1.5133    
   8  norm          .10000E-03    10.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.2022        .13595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.9059        .10394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.5713        .95064E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    26.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.7351        .16536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    51.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.5701        .17943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.981        27.437        .81781E-04   -1.4728    
  18  Prefactor     7.3415        16.447        .14805E-03   -1.5166    
  19  norm          2.1481        1.0111        .51786E-04   -1.5415    
  20  Prefactor     .10000E-03    57.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .56671        .25137        .40907E-03   -1.0942    
  22  Prefactor     1.0712        .12858        .15530E-03   -.90394    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44193e-10
Minuit parameter uncertainties:
  1  19.8308
  2  1.97416e-06
  3  28.0634
  4  1.236
  5  15.0985
  6  0.000152855
  7  26.2633
  8  5.07573e-06
  9  1.20774e-06
  10  1.80396e-06
  11  7.64582e-06
  12  5.55367e-06
  13  3.49653e-06
  14  0.000107112
  15  1.88324e-07
  16  3.05085e-06
  17  27.4512
  18  16.4575
  19  1.01109
  20  9.56521e-06
  21  0.251877
  22  0.128616
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  7.646e-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:  1.071e+00  1.286e-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:  5.667e-01  2.519e-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: 7.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/316790/likelihoodResults_431913601_432172801_4FGL_J1205.7-2635_daily_bin743.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) = 6061.31978336
delta logL = -0.00301201881575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6061.31677129
delta logL = 5.14546627528e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5202       1.0000          .0000       10.000    
     3 'Normalizat'    .56669       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0712       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=   6061.317     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      250 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.649        .95387E-02** at limit **
   2  Index         2.1433        8.3225        .50000       -.36812E-07
   3  Normalizat    .56670        .14516E-01    .40907E-03   -.24537E-03
   4  Prefactor     1.0712        .74600E-02    .15530E-03   -.63099E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.14333
  Normalizat = 0.566704
  Prefactor  = 1.07116
 **********
 **   18 **HESSE 
 **********

 FCN=   6061.317     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      279 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    139.92        .98883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1433        5.9375        .50000       -.60813    
   3  Normalizat    .56670        .55582E-01    .16363E-04   -1.0942    
   4  Prefactor     1.0712        .28565E-01    .31059E-04   -.90394    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.31613e-10
Minuit parameter uncertainties:
  1  6.86237e-05
  2  853.458
  3  0.0555878
  4  0.0285659
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316790': 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): 102
logL (Free Index) = 6061.31676903
delta logL = 2.31624198932e-06

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  6.862e-05  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.143e+00  8.535e+02  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.071e+00  2.857e-02  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:  5.667e-01  5.559e-02  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/316790/cmap_HighResolution_431913601_432172801_4FGL_J1205.7-2635_daily_bin743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-03', job_status='DONE', photon_flux_upper_limit='7.03e-08', time_completed='2021-09-04 23:50:06.816943', job_id='316790', GAL2='1.07', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1630824606.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.32e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='743' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:50:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 316790: <4FGL_J1205.7-2635_daily_bin743> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin743> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep  4 23:35:56 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:35:58 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:35:58 2021
Terminated at Sat Sep  4 23:50:07 2021
Results reported at Sat Sep  4 23:50:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin743 181.432 -26.5946 431913601 432172801 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 :                                   627.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             256.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

