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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin1264
RA = 107.732, Dec = 47.553
tmin = 566956801, tmax = 567216001
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='166756', job_status='RUN', time_executed='2021-08-26 21:11:25.083568', time_epoch_executed='1630037485.08' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='1264'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/166756

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/166756/ft1_4FGL_J0710.9+4733_daily_bin1264.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/166756/ft1_4FGL_J0710.9+4733_daily_bin1264.fits outfile=/scratch/kocevski/166756/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin1264.fits ra=107.732 dec=47.553 rad=12.0 tmin=566956801.0 tmax=567216001.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 2.90
user 2.28
sys 0.55

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.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/166756/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin1264.fits evtable="EVENTS" outfile="/scratch/kocevski/166756/ft1_filtered_4FGL_J0710.9+4733_daily_bin1264.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.88
user 0.33
sys 0.51

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/166756/ft1_filtered_4FGL_J0710.9+4733_daily_bin1264.fits" evtable="EVENTS" scfile=/scratch/kocevski/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.fits sctable="SC_DATA" outfile=/scratch/kocevski/166756/ltcube_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.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/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.fits
.....................!
real 13.07
user 12.12
sys 0.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/166756/ft1_filtered_4FGL_J0710.9+4733_daily_bin1264.fits evtable="EVENTS" scfile=/scratch/kocevski/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.fits sctable="SC_DATA" expcube=/scratch/kocevski/166756/ltcube_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.fits outfile=/scratch/kocevski/166756/expmap_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.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/166756/ltcube_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.fits
.....................!
real 194.09
user 186.49
sys 5.37

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J0710.9+4733 @ 107.732 47.553

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/166756/ft1_filtered_4FGL_J0710.9+4733_daily_bin1264.fits scfile=/scratch/kocevski/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.fits outfile=/scratch/kocevski/166756/cmap_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.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.732 yref=47.553 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.88
user 0.37
sys 0.49

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/166756/ft1_filtered_4FGL_J0710.9+4733_daily_bin1264.fits scfile=/scratch/kocevski/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.fits outfile=/scratch/kocevski/166756/cmap_HighResolution_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.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.732 yref=47.553 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.89
user 0.36
sys 0.52

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/166756/ft1_filtered_4FGL_J0710.9+4733_daily_bin1264.fits evtable="EVENTS" scfile=/scratch/kocevski/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/166756/Model_4FGL_J0710.9+4733_daily_bin1264.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/166756/ft1_filtered_4FGL_J0710.9+4733_daily_bin1264.fits...............................!
real 17.11
user 15.27
sys 1.74

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/166756/ft1_filtered_4FGL_J0710.9+4733_daily_bin1264.fits', '/scratch/kocevski/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.fits', expMap='/scratch/kocevski/166756/expmap_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.fits', expCube='/scratch/kocevski/166756/ltcube_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/166756/Model_4FGL_J0710.9+4733_daily_bin1264.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0710.9+4733'

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.663e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.670e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
263        Scale:  6.204e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/166756/ft1_filtered_4FGL_J0710.9+4733_daily_bin1264.fits
Spacecraft file(s): /scratch/kocevski/166756/ft2_4FGL_J0710.9+4733_daily_bin1264.fits
Exposure map: /scratch/kocevski/166756/expmap_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.fits
Exposure cube: /scratch/kocevski/166756/ltcube_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/166756/Model_4FGL_J0710.9+4733_daily_bin1264.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) = 356.005986447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     2 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .52585E-02   1.0000         .10000E-03   10000.    
     4 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     5 'norm      '    .10963E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .15870E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .40132E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11070E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    800.98       1.0000         .10000E-03   10000.    
    12 'norm      '    .11955E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .96188E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11669E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10370E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10339E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    91.247       1.0000         .10000E-03   10000.    
    22 'norm      '    6.3778       1.0000         .10000E-03   10000.    
    23 'norm      '    2.9409       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .43947       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   355.8924     FROM MIGRAD    STATUS=CONVERGED    598 CALLS     2993 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm         10000.0        9983.2        .74785E-03** at limit **
   2  Prefactor    10000.0        9922.1        .10963E-02** at limit **
   3  Prefactor     .10000E-03    1409.4        .44065E-03** at limit **
   4  norm         10000.0        941.21       -.20005E-03** at limit **
   5  norm          .10000E-03    455.92        .24337E-03** at limit **
   6  Prefactor     .10000E-03    7287.0       -.21817E-03** at limit **
   7  norm          .10000E-03    340.99       -.16428E-03** at limit **
   8  Prefactor     .10139E-03    6876.3       -.35342E-03** at limit **
   9  Prefactor     .10000E-03    96.154       -.92114E-05** at limit **
  10  Prefactor     .10000E-03    366.05       -.84054E-04** at limit **
  11  Prefactor     800.76        792.68       -.80669E-04    .57219E-04
  12  norm          .10000E-03    113.40       -.51198E-05** at limit **
  13  Prefactor     .10000E-03    47.736        .91288E-05** at limit **
  14  Prefactor     .10000E-03    210.13        .53709E-04** at limit **
  15  Prefactor     .10005E-03    6278.0       -.49840E-03** at limit **
  16  norm          .10000E-03    1.0373        .15230E-05** at limit **
  17  Prefactor     .10000E-03    41.163       -.64007E-05** at limit **
  18  Prefactor     .10000E-03    32.757        .51595E-06** at limit **
  19  norm          .10000E-03    6.4714        .11898E-05** at limit **
  20  Prefactor     .10000E-03    12.301       -.52151E-05** at limit **
  21  Prefactor     91.199        94.320        .69616E-05    .95201E-04
  22  norm          6.3769        9.9506        .10121E-05   -.42863E-04
  23  norm          2.9401        3.9747       -.25694E-05    .14359E-03
  24  Normalizat    .10000E-01    .26896       -.47179E-05** at limit **
  25  Prefactor     .43972        .19492        .97568E-05    .12441E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  norm       = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000101393
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 800.76
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100054
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 91.1992
  norm       = 6.37693
  norm       = 2.94008
  Normalizat = 0.01
  Prefactor  = 0.439719
 **********
 **   18 **HESSE 
 **********

 FCN=   355.8924     FROM HESSE     STATUS=OK           405 CALLS     3398 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm         10000.0        9983.3        .20175E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        9921.8        .19483E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1411.0        .19132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm         10000.0        941.90        .20937E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    456.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7287.1        .20760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    341.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10139E-03    6876.2        .19490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    96.159        .18107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    366.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     800.76        789.29        .73680E-04   -.99700    
  12  norm          .10000E-03    113.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    47.741        .12748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    210.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10005E-03    6290.6        .18986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.0405        .18777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    41.298        .11834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    32.771        .10556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.5438        .46839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.310        .64653E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     91.199        94.713        .42068E-04   -1.3795    
  22  norm          6.3769        10.135        .60667E-04   -1.5203    
  23  norm          2.9401        4.0414        .35877E-04   -1.5365    
  24  Normalizat    .10000E-01    .26940        .30310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .43972        .19556        .16025E-03   -1.1483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.64914e-10
Minuit parameter uncertainties:
  1  0.000853843
  2  0.000483982
  3  0.000332202
  4  0.000374781
  5  2.7624e-05
  6  0.000533118
  7  8.15683e-05
  8  0.155611
  9  1.81289e-05
  10  9.60376e-05
  11  800.861
  12  7.68075e-05
  13  6.33343e-05
  14  0.00118097
  15  0.0246549
  16  7.27616e-06
  17  3.3356e-05
  18  0.000109992
  19  5.27645e-05
  20  8.12174e-05
  21  94.8705
  22  10.1382
  23  4.04176
  24  3.4764e-06
  25  0.195858
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  1.813e-05  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.670e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
263        Scale:  6.204e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  4.397e-01  1.959e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  1.000e-02  3.476e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 107.732 47.553
Photon Flux Upper Limit: 3.79e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/166756/likelihoodResults_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.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) = 355.892423907
delta logL = -4.95811604537e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 355.892374801
delta logL = -4.74485261748e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.8471       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43971       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+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=   355.8924     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      266 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    7456.8        .13359E-01** at limit **
   2  Index         2.3189        8.4619        .82910E-01    .48249E-08
   3  Normalizat    .10000E-01    .36726E-01    .30307E-02** at limit **
   4  Prefactor     .43971        .65510E-01    .16025E-03   -.48146E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100022
  Index      = 2.31885
  Normalizat = 0.01
  Prefactor  = 0.43971
 **********
 **   18 **HESSE 
 **********

 FCN=   355.8924     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    101.14        .18539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3189        5.9890        .33164E-02   -.56596    
   3  Normalizat    .10000E-01    .26940        .60614E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .43971        .17793        .32051E-04   -1.1483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28905e-09
Minuit parameter uncertainties:
  1  0.0029666
  2  1567.2
  3  9.80556e-06
  4  0.178152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/166756': 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) = 355.892374303
delta logL = 2.2967356017e-08

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  2.967e-03  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.319e+00  1.567e+03  0.000e+00  1.000e+01 (-1.000e+00)
263        Scale:  6.204e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  4.397e-01  1.782e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  1.000e-02  9.806e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 107.732 47.553

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/166756/cmap_HighResolution_566956801_567216001_4FGL_J0710.9+4733_daily_bin1264.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-01', job_status='DONE', photon_flux_upper_limit='3.79e-06', time_completed='2021-08-26 21:17:19.091817', job_id='166756', GAL2='0.44', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630037839.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='2.30e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1264' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:17:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 166756: <4FGL_J0710.9+4733_daily_bin1264> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin1264> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 21:10:54 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 21:10:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 21:10:58 2021
Terminated at Thu Aug 26 21:17:19 2021
Results reported at Thu Aug 26 21:17:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin1264 107.732 47.553 566956801 567216001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0710.9+4733 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   355.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   381 sec.
    Turnaround time :                            385 sec.

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

