/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 46 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 = 7626
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0709.7-0255_daily_bin1211
RA = 107.445, Dec = -2.9301
tmin = 553219201, tmax = 553478401
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='134109', job_status='RUN', time_executed='2021-08-26 19:28:37.637243', time_epoch_executed='1630031317.64' WHERE source_name='4FGL J0709.7-0255' and cadence='daily' and bin_id='1211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/134109

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/134109/ft1_4FGL_J0709.7-0255_daily_bin1211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/134109/ft2_4FGL_J0709.7-0255_daily_bin1211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/134109/ft1_4FGL_J0709.7-0255_daily_bin1211.fits outfile=/scratch/kocevski/134109/ft1_filteredMKT_4FGL_J0709.7-0255_daily_bin1211.fits ra=107.445 dec=-2.9301 rad=12.0 tmin=553219201.0 tmax=553478401.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 10.30
user 2.52
sys 7.64

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/134109/ft1_filtered_4FGL_J0709.7-0255_daily_bin1211.fits" evtable="EVENTS" scfile=/scratch/kocevski/134109/ft2_4FGL_J0709.7-0255_daily_bin1211.fits sctable="SC_DATA" outfile=/scratch/kocevski/134109/ltcube_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.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/134109/ft2_4FGL_J0709.7-0255_daily_bin1211.fits
.....................!
real 20.56
user 11.81
sys 8.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/134109/ft1_filtered_4FGL_J0709.7-0255_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/134109/ft2_4FGL_J0709.7-0255_daily_bin1211.fits sctable="SC_DATA" expcube=/scratch/kocevski/134109/ltcube_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.fits outfile=/scratch/kocevski/134109/expmap_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.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/134109/ltcube_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.fits
.....................!
real 199.87
user 185.88
sys 13.16

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/134109/ft1_filtered_4FGL_J0709.7-0255_daily_bin1211.fits scfile=/scratch/kocevski/134109/ft2_4FGL_J0709.7-0255_daily_bin1211.fits outfile=/scratch/kocevski/134109/cmap_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.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 8.13
user 0.38
sys 7.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/134109/ft1_filtered_4FGL_J0709.7-0255_daily_bin1211.fits scfile=/scratch/kocevski/134109/ft2_4FGL_J0709.7-0255_daily_bin1211.fits outfile=/scratch/kocevski/134109/cmap_HighResolution_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.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 7.98
user 0.38
sys 7.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/134109/ft1_filtered_4FGL_J0709.7-0255_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/134109/ft2_4FGL_J0709.7-0255_daily_bin1211.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/134109/Model_4FGL_J0709.7-0255_daily_bin1211.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/134109/ft1_filtered_4FGL_J0709.7-0255_daily_bin1211.fits.....................!
real 138.38
user 126.72
sys 10.92

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/134109/ft1_filtered_4FGL_J0709.7-0255_daily_bin1211.fits', '/scratch/kocevski/134109/ft2_4FGL_J0709.7-0255_daily_bin1211.fits', expMap='/scratch/kocevski/134109/expmap_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.fits', expCube='/scratch/kocevski/134109/ltcube_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/134109/Model_4FGL_J0709.7-0255_daily_bin1211.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/134109/ft1_filtered_4FGL_J0709.7-0255_daily_bin1211.fits
Spacecraft file(s): /scratch/kocevski/134109/ft2_4FGL_J0709.7-0255_daily_bin1211.fits
Exposure map: /scratch/kocevski/134109/expmap_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.fits
Exposure cube: /scratch/kocevski/134109/ltcube_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/134109/Model_4FGL_J0709.7-0255_daily_bin1211.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) = 7608.60729784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10145E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    13.410       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10361E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10329E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .64024       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    328.72       1.0000         .10000E-03   10000.    
    12 'norm      '    5.0581       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .13110E-02   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .47567       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .98203       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=   7608.582     FROM MIGRAD    STATUS=CONVERGED    331 CALLS     1507 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4986        .10078E-05** at limit **
   2  norm          .10000E-03    8.5669        .25774E-06** at limit **
   3  norm          13.425        88.263        .48112E-05    .47234E-05
   4  Prefactor     .10000E-03    117.70       -.10807E-06** at limit **
   5  norm          .10000E-03    6.9216        .37894E-06** at limit **
   6  norm          .10000E-03    2.8026       -.51137E-06** at limit **
   7  Prefactor     .10000E-03    69.910       -.11210E-06** at limit **
   8  Prefactor     .10000E-03    11.662        .23565E-06** at limit **
   9  norm          .63762        1.7219        .16413E-05   -.77773E-03
  10  Prefactor     .10000E-03    11.337        .42313E-06** at limit **
  11  Prefactor     328.25        309.06       -.49615E-05    .27403E-06
  12  norm          5.0579        6.7433        .17274E-05    .93728E-04
  13  Prefactor     .10000E-03    41.086        .44713E-06** at limit **
  14  norm          .10000E-03    67.534        .10782E-05** at limit **
  15  Normalizat    .47674        .49153       -.48159E-04   -.30607E-04
  16  Prefactor     .98186        .67878E-01    .37246E-05    .23673E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  norm       = 0.0001
  norm       = 13.4251
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.637621
  Prefactor  = 0.0001
  Prefactor  = 328.247
  norm       = 5.05785
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.476741
  Prefactor  = 0.981862
 **********
 **   18 **HESSE 
 **********

 FCN=   7608.582     FROM HESSE     STATUS=OK           199 CALLS     1706 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.239        .30781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.5853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          13.425        88.627        .10938E-03   -1.4975    
   4  Prefactor     .10000E-03    117.71        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.9949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.7977        .14239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    69.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .63762        2.0487        .17080E-02   -1.5548    
  10  Prefactor     .10000E-03    11.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     328.25        308.85        .11217E-03   -1.2064    
  12  norm          5.0579        6.7393        .17879E-03   -1.5258    
  13  Prefactor     .10000E-03    41.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    69.187        .20574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .47674        .49715        .12164E-02   -1.1351    
  16  Prefactor     .98186        .67092E-01    .11776E-03   -.93337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.17456e-10
Minuit parameter uncertainties:
  1  0.000312354
  2  2.32631e-05
  3  69.1367
  4  0.00011829
  5  1.56801e-05
  6  8.37505e-05
  7  0.000316011
  8  3.21962e-05
  9  2.04894
  10  6.13552e-06
  11  310.416
  12  6.74034
  13  1.11347e-05
  14  0.000135892
  15  0.501875
  16  0.067098
Done.

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

Extracting fit parameters...

4FGL J0709.7-0255
   Spectrum: LogParabola
240         norm:  1.000e-04  1.568e-05  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.819e-01  6.710e-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:  4.767e-01  5.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/134109/likelihoodResults_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7608.58308706
delta logL = -0.000681538425852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7608.58240541
delta logL = 1.15931470646e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2395       1.0000          .0000       5.0000    
     3 'Normalizat'    .47671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98187       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=   7608.582     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      212 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.5945        .90712E-02** at limit **
   2  alpha         2.2616        3.5680        .41437       -.15691E-04
   3  Normalizat    .47675        .55738        .27539        .81792E-04
   4  Prefactor     .98186        .77833E-01    .26641E-01    .76966E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.26163
  Normalizat = 0.476745
  Prefactor  = 0.981861
 **********
 **   18 **HESSE 
 **********

 FCN=   7608.582     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.3996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2616        3.4980        .50000       -.95492E-01
   3  Normalizat    .47675        .46462        .12163E-02   -1.1351    
   4  Prefactor     .98186        .64621E-01    .11776E-03   -.93337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81504e-10
Minuit parameter uncertainties:
  1  0.000112983
  2  2.51385
  3  0.468467
  4  0.0646257
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/134109': 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) = 7608.58240525
delta logL = 2.73511432169e-07

Extracting fit parameters...

4FGL J0709.7-0255
   Spectrum: LogParabola
240         norm:  1.000e-04  1.130e-04  1.000e-04  1.000e+04 ( 1.000e-12)
241        alpha:  2.262e+00  2.514e+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.819e-01  6.463e-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:  4.767e-01  4.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 107.445 -2.930

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/134109/cmap_HighResolution_553219201_553478401_4FGL_J0709.7-0255_daily_bin1211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.87e-05', job_status='DONE', photon_flux_upper_limit='2.10e-07', time_completed='2021-08-26 19:40:31.709202', job_id='134109', GAL2='0.98', fit_tolerance='1e-08', EG2='0.48', EG='0.48', time_epoch_completed='1630032031.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1211' AND source_name='4FGL J0709.7-0255' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 19:40:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 134109: <4FGL_J0709.7-0255_daily_bin1211> in cluster <slac> Done

Job <4FGL_J0709.7-0255_daily_bin1211> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Aug 26 19:25:27 2021
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 19:25:28 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:25:28 2021
Terminated at Thu Aug 26 19:40:33 2021
Results reported at Thu Aug 26 19:40:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0709.7-0255_daily_bin1211 107.445 -2.9301 553219201 553478401 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 :                                   829.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            906 sec.

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

