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


Performing analysis on: 4FGL_J0709.7-0255_daily_bin1561
RA = 107.445, Dec = -2.9301
tmin = 643939201, tmax = 644198401
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='135537', job_status='RUN', time_executed='2021-08-26 19:31:08.797932', time_epoch_executed='1630031468.8' WHERE source_name='4FGL J0709.7-0255' and cadence='daily' and bin_id='1561'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135537

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135537/ft1_4FGL_J0709.7-0255_daily_bin1561.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135537/ft1_4FGL_J0709.7-0255_daily_bin1561.fits outfile=/scratch/kocevski/135537/ft1_filteredMKT_4FGL_J0709.7-0255_daily_bin1561.fits ra=107.445 dec=-2.9301 rad=12.0 tmin=643939201.0 tmax=644198401.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.73
user 4.23
sys 1.47

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.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/135537/ft1_filteredMKT_4FGL_J0709.7-0255_daily_bin1561.fits evtable="EVENTS" outfile="/scratch/kocevski/135537/ft1_filtered_4FGL_J0709.7-0255_daily_bin1561.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 1.77
user 0.32
sys 1.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135537/ft1_filtered_4FGL_J0709.7-0255_daily_bin1561.fits" evtable="EVENTS" scfile=/scratch/kocevski/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.fits sctable="SC_DATA" outfile=/scratch/kocevski/135537/ltcube_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.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/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.fits
.....................!
real 13.46
user 11.65
sys 1.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135537/ft1_filtered_4FGL_J0709.7-0255_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.fits sctable="SC_DATA" expcube=/scratch/kocevski/135537/ltcube_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.fits outfile=/scratch/kocevski/135537/expmap_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.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/135537/ltcube_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.fits
.....................!
real 195.12
user 187.82
sys 6.85

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 155 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0709.7-0255 @ 107.445 -2.9301

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/135537/ft1_filtered_4FGL_J0709.7-0255_daily_bin1561.fits scfile=/scratch/kocevski/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.fits outfile=/scratch/kocevski/135537/cmap_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.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=107.445 yref=-2.9301 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 1.64
user 0.36
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135537/ft1_filtered_4FGL_J0709.7-0255_daily_bin1561.fits scfile=/scratch/kocevski/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.fits outfile=/scratch/kocevski/135537/cmap_HighResolution_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.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=107.445 yref=-2.9301 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 1.79
user 0.38
sys 1.38

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/135537/ft1_filtered_4FGL_J0709.7-0255_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135537/Model_4FGL_J0709.7-0255_daily_bin1561.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/135537/ft1_filtered_4FGL_J0709.7-0255_daily_bin1561.fits.....................!
real 243.81
user 240.50
sys 2.82

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/135537/ft1_filtered_4FGL_J0709.7-0255_daily_bin1561.fits', '/scratch/kocevski/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.fits', expMap='/scratch/kocevski/135537/expmap_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.fits', expCube='/scratch/kocevski/135537/ltcube_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/135537/Model_4FGL_J0709.7-0255_daily_bin1561.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0709.7-0255'

4FGL J0709.7-0255
   Spectrum: LogParabola
240         norm:  3.255e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
241        alpha:  2.218e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
242         beta:  6.923e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
243           Eb:  9.522e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/135537/ft1_filtered_4FGL_J0709.7-0255_daily_bin1561.fits
Spacecraft file(s): /scratch/kocevski/135537/ft2_4FGL_J0709.7-0255_daily_bin1561.fits
Exposure map: /scratch/kocevski/135537/expmap_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.fits
Exposure cube: /scratch/kocevski/135537/ltcube_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/135537/Model_4FGL_J0709.7-0255_daily_bin1561.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) = 14401.6766632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12071E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.3272       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.3215       1.0000         .10000E-03   10000.    
     6 'norm      '    .50690       1.0000         .10000E-03   10000.    
     7 'Prefactor '    107.00       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16381E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    2.3143       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.1039       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3045       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .99144       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14401.50     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1292 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9678        .17109E-06** at limit **
   2  norm          .10000E-03    11.643        .18799E-08** at limit **
   3  norm          5.3288        20.895        .33883E-06    .40127E-05
   4  Prefactor     .10001E-03    38.229        .42788E-05** at limit **
   5  norm          2.3212        5.8413        .25734E-06   -.28134E-03
   6  norm          .50879        1.7018        .17797E-05   -.66596E-03
   7  Prefactor     106.98        66.268       -.29398E-05   -.23052E-03
   8  Prefactor     .10001E-03    5.1951       -.32059E-06** at limit **
   9  norm          2.3150        2.0755        .21533E-06   -.31710E-03
  10  Prefactor     .10000E-03    4.9435        .10999E-07** at limit **
  11  Prefactor     .10001E-03    46.397       -.39701E-05** at limit **
  12  norm          3.1030        2.4788        .13700E-06   -.27076E-03
  13  Prefactor     .10000E-03    22.459       -.13496E-05** at limit **
  14  norm          .10000E-03    19.286        .98889E-06** at limit **
  15  Normalizat    1.3043        .30022       -.11565E-05   -.52453E-04
  16  Prefactor     .99143        .46580E-01   -.31520E-08   -.14841E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.32876
  Prefactor  = 0.000100009
  norm       = 2.32121
  norm       = 0.508793
  Prefactor  = 106.985
  Prefactor  = 0.000100015
  norm       = 2.31496
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 3.10299
  Prefactor  = 0.000100001
  norm       = 0.0001
  Normalizat = 1.30433
  Prefactor  = 0.99143
 **********
 **   18 **HESSE 
 **********

 FCN=   14401.50     FROM HESSE     STATUS=OK           203 CALLS     1495 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.3604        .31832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    11.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.3288        20.882        .17413E-03   -1.5246    
   4  Prefactor     .10001E-03    40.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.3212        5.9349        .26921E-03   -1.5403    
   6  norm          .50879        1.7823        .27853E-03   -1.5565    
   7  Prefactor     106.98        67.183        .19440E-03   -1.3636    
   8  Prefactor     .10001E-03    28.203        .52204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3150        2.0767        .15738E-03   -1.5404    
  10  Prefactor     .10000E-03    4.9487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    48.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1030        2.4845        .15683E-03   -1.5356    
  13  Prefactor     .10000E-03    22.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    19.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.3043        .30785        .70588E-03   -.83437    
  16  Prefactor     .99143        .47838E-01    .12864E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47917e-09
Minuit parameter uncertainties:
  1  2.539e-05
  2  3.54607e-06
  3  20.9105
  4  0.00121071
  5  5.93641
  6  1.7825
  7  67.2312
  8  0.00128743
  9  2.07678
  10  8.16432e-07
  11  0.00117048
  12  2.48463
  13  0.000296073
  14  0.000181375
  15  0.308279
  16  0.0478403
Done.

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

Extracting fit parameters...

4FGL J0709.7-0255
   Spectrum: LogParabola
240         norm:  2.321e+00  5.936e+00  1.000e-04  1.000e+04 ( 1.000e-12)
241        alpha:  2.218e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
242         beta:  6.923e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
243           Eb:  9.522e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  9.914e-01  4.784e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.304e+00  3.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 107.445 -2.930
Photon Flux Upper Limit: 1.67e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/135537/likelihoodResults_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.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) = 14401.1044614
delta logL = 0.394829129986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14401.0772545
delta logL = 0.42203600947

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3394       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5541       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2450       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99273       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14401.08     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      225 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3290        19.546        .94705E-02    .22432E-02
   2  alpha         3.5600        4.0414        .47132        .11637E-03
   3  Normalizat    1.2450        .74020E-01    .16160        .44645E-04
   4  Prefactor     .99272        .11950E-01    .29083E-01   -.24873E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32899
  alpha      = 3.56001
  Normalizat = 1.24502
  Prefactor  = 0.992715
 **********
 **   18 **HESSE 
 **********

 FCN=   14401.08     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      258 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3290        68.199        .13635E-03   -1.5477    
   2  alpha         3.5600        3.0289        .21273E-01    .43786    
   3  Normalizat    1.2450        .28746        .71883E-03   -.85223    
   4  Prefactor     .99272        .46481E-01    .12853E-03   -.92973    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.80463e-06
Minuit parameter uncertainties:
  1  19.0629
  2  8.10635
  3  0.287828
  4  0.0464828
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135537': 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) = 14401.0772467
delta logL = 0.42204380817

Extracting fit parameters...

4FGL J0709.7-0255
   Spectrum: LogParabola
240         norm:  1.329e+00  1.906e+01  1.000e-04  1.000e+04 ( 1.000e-12)
241        alpha:  3.560e+00  8.106e+00  0.000e+00  5.000e+00 ( 1.000e+00)
242         beta:  6.923e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
243           Eb:  9.522e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  9.927e-01  4.648e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.245e+00  2.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 107.445 -2.930
Photon Index (Free Index): 3.56 +/- 8.11
Photon Flux (Free Index): 1.24e-07 +/- 1.42e-07
Energy Flux (Free Index): 2.12e-05 +/- 4.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/135537/cmap_HighResolution_643939201_644198401_4FGL_J0709.7-0255_daily_bin1561.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-05', comment='SUCCESS', energy_flux2='2.12e-05', dlogl='4.22e-01', photon_flux2='1.24e-07', job_status='DONE', time_completed='2021-08-26 19:46:10.049390', photon_index_error2='8.11', photon_index2='3.56', ts='0.18', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='4.20e-05', EG='1.30', time_epoch_completed='1630032370.05', return_code='0', job_id='135537', GAL2='0.99', EG2='1.25', return_code2='102', photon_flux_error2='1.42e-07', ts2='1.06', photon_index='2.22' WHERE bin_id='1561' AND source_name='4FGL J0709.7-0255' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 19:46:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 135537: <4FGL_J0709.7-0255_daily_bin1561> in cluster <slac> Done

Job <4FGL_J0709.7-0255_daily_bin1561> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Aug 26 19:30:33 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 19:30:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 19:30:35 2021
Terminated at Thu Aug 26 19:46:11 2021
Results reported at Thu Aug 26 19:46:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0709.7-0255_daily_bin1561 107.445 -2.9301 643939201 644198401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0709.7-0255 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   913.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             379.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            938 sec.

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

