/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 133 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 = 7474
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0710.9+4733_daily_bin177
RA = 107.732, Dec = 47.553
tmin = 285206401, tmax = 285465601
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='158879', job_status='RUN', time_executed='2021-08-26 20:48:17.648590', time_epoch_executed='1630036097.65' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158879

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158879/ft1_4FGL_J0710.9+4733_daily_bin177.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158879/ft2_4FGL_J0710.9+4733_daily_bin177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158879/ft1_4FGL_J0710.9+4733_daily_bin177.fits outfile=/scratch/kocevski/158879/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin177.fits ra=107.732 dec=47.553 rad=12.0 tmin=285206401.0 tmax=285465601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.79
user 3.25
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158879/ft1_filtered_4FGL_J0710.9+4733_daily_bin177.fits" evtable="EVENTS" scfile=/scratch/kocevski/158879/ft2_4FGL_J0710.9+4733_daily_bin177.fits sctable="SC_DATA" outfile=/scratch/kocevski/158879/ltcube_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.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/158879/ft2_4FGL_J0710.9+4733_daily_bin177.fits
.....................!
real 11.99
user 11.26
sys 0.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158879/ft1_filtered_4FGL_J0710.9+4733_daily_bin177.fits evtable="EVENTS" scfile=/scratch/kocevski/158879/ft2_4FGL_J0710.9+4733_daily_bin177.fits sctable="SC_DATA" expcube=/scratch/kocevski/158879/ltcube_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.fits outfile=/scratch/kocevski/158879/expmap_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.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/158879/ltcube_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.fits
.....................!
real 191.86
user 186.06
sys 4.59

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/158879/ft1_filtered_4FGL_J0710.9+4733_daily_bin177.fits scfile=/scratch/kocevski/158879/ft2_4FGL_J0710.9+4733_daily_bin177.fits outfile=/scratch/kocevski/158879/cmap_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.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.81
user 0.36
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158879/ft1_filtered_4FGL_J0710.9+4733_daily_bin177.fits scfile=/scratch/kocevski/158879/ft2_4FGL_J0710.9+4733_daily_bin177.fits outfile=/scratch/kocevski/158879/cmap_HighResolution_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.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.81
user 0.37
sys 0.38

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158879/ft1_filtered_4FGL_J0710.9+4733_daily_bin177.fits', '/scratch/kocevski/158879/ft2_4FGL_J0710.9+4733_daily_bin177.fits', expMap='/scratch/kocevski/158879/expmap_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.fits', expCube='/scratch/kocevski/158879/ltcube_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158879/Model_4FGL_J0710.9+4733_daily_bin177.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/158879/ft1_filtered_4FGL_J0710.9+4733_daily_bin177.fits
Spacecraft file(s): /scratch/kocevski/158879/ft2_4FGL_J0710.9+4733_daily_bin177.fits
Exposure map: /scratch/kocevski/158879/expmap_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.fits
Exposure cube: /scratch/kocevski/158879/ltcube_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158879/Model_4FGL_J0710.9+4733_daily_bin177.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) = 7283.02105495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3648       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.003       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.9917       1.0000         .10000E-03   10000.    
     4 'norm      '    6.7767       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .29777E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.231       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .92970       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.7859       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.961       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.5939       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13642E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.1368       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3570       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .77996       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.

 FCN=   7282.962     FROM MIGRAD    STATUS=CONVERGED    581 CALLS     2497 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3648        2.6782        .52088E-07    .51621E-05
   2  Prefactor     11.003        7.5907        .52041E-07   -.13338E-04
   3  Prefactor     7.9753        29.226        .24439E-05   -.24412E-05
   4  norm          6.7774        3.9694       -.90233E-07   -.14667E-04
   5  norm          .10000E-03    2.6071        .80385E-07** at limit **
   6  Prefactor     .10000E-03    15.392        .42416E-06** at limit **
   7  norm          .10000E-03    1.3425        .33804E-07** at limit **
   8  Prefactor     .10000E-03    4.7854       -.18713E-07** at limit **
   9  Prefactor     .10000E-03    4.3499        .90375E-06** at limit **
  10  Prefactor     .10000E-03    7.0624       -.74839E-06** at limit **
  11  Prefactor     .10000E-03    14.975       -.16949E-06** at limit **
  12  norm          12.242        9.9980       -.19243E-06   -.20260E-03
  13  Prefactor     .89286        28.230       -.50756E-05    .15591E-03
  14  Prefactor     .10000E-03    7.6486        .73387E-06** at limit **
  15  Prefactor     .10000E-03    39.723       -.22137E-06** at limit **
  16  norm          3.7854        1.2452       -.31873E-07    .23494E-03
  17  Prefactor     21.949        17.197       -.43934E-07   -.16788E-04
  18  Prefactor     .10000E-03    11.942       -.32779E-06** at limit **
  19  norm          6.5952        3.9873        .13888E-06   -.20820E-04
  20  Prefactor     .10000E-03    6.2092        .25979E-06** at limit **
  21  Prefactor     .10000E-03    72.083        .12951E-06** at limit **
  22  norm          4.1368        4.8575        .22671E-05    .29382E-03
  23  norm          .10000E-03    .80780        .41679E-07** at limit **
  24  Normalizat    1.3571        .21211       -.36581E-06   -.52053E-04
  25  Prefactor     .77993        .99718E-01   -.27618E-06   -.22640E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.36484
  Prefactor  = 11.0034
  Prefactor  = 7.9753
  norm       = 6.77739
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.2418
  Prefactor  = 0.89286
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.78544
  Prefactor  = 21.9488
  Prefactor  = 0.0001
  norm       = 6.5952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.13685
  norm       = 0.0001
  Normalizat = 1.35712
  Prefactor  = 0.77993
 **********
 **   18 **HESSE 
 **********

 FCN=   7282.962     FROM HESSE     STATUS=OK           427 CALLS     2924 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3648        2.6805        .12034E-03   -1.5341    
   2  Prefactor     11.003        7.5957        .12078E-03   -1.5044    
   3  Prefactor     7.9753        29.280        .14183E-03   -1.5143    
   4  norm          6.7774        3.9687        .12623E-03   -1.5187    
   5  norm          .10000E-03    2.6610        .13452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.3459        .96549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.7858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.170        .33328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.0586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.242        9.8640        .11454E-03   -1.5008    
  13  Prefactor     .89286        179.43        .72272E-02   -1.5519    
  14  Prefactor     .10000E-03    7.6681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    40.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.7854        1.2486        .51571E-04   -1.5319    
  17  Prefactor     21.949        17.255        .85472E-04   -1.4771    
  18  Prefactor     .10000E-03    11.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5952        3.9845        .12197E-03   -1.5194    
  20  Prefactor     .10000E-03    6.2483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    72.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.1368        4.9896        .99092E-03   -1.5301    
  23  norm          .10000E-03    .81845        .74940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3571        .24626        .30349E-03   -.81877    
  25  Prefactor     .77993        .11535        .19088E-03   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67356e-09
Minuit parameter uncertainties:
  1  2.68055
  2  7.5964
  3  29.3323
  4  3.96883
  5  6.96874e-06
  6  8.92949e-06
  7  2.75393e-06
  8  8.01092e-07
  9  5.70227e-05
  10  1.94869e-05
  11  4.04535e-06
  12  9.86528
  13  25.3905
  14  2.7297e-06
  15  4.55376e-05
  16  1.2486
  17  17.2585
  18  5.2402e-06
  19  3.98464
  20  8.13983e-07
  21  1.16419e-06
  22  4.99009
  23  4.51466e-07
  24  0.246478
  25  0.115385
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  5.702e-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:  7.799e-01  1.154e-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.357e+00  2.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 107.732 47.553
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158879/likelihoodResults_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.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) = 7282.96265671
delta logL = -0.000466693328235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7282.96219005
delta logL = -3.20223989547e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6487       1.0000          .0000       10.000    
     3 'Normalizat'    1.3572       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77992       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.

 FCN=   7282.962     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      229 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .53588        .59223E-01** at limit **
   2  Index         2.6291        6.2924        .50000        .15216E-04
   3  Normalizat    1.3571        .20901E-02    .68600E-01    .99468E-04
   4  Prefactor     .77993        .10331E-02    .43455E-01    .11769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.62914
  Normalizat = 1.35712
  Prefactor  = 0.779931
 **********
 **   18 **HESSE 
 **********

 FCN=   7282.962     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      264 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    64.283        .32421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6291        5.7388        .50000       -.49402    
   3  Normalizat    1.3571        .13811E-01    .30349E-03   -.81877    
   4  Prefactor     .77993        .68308E-02    .19088E-03   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.66005e-07
Minuit parameter uncertainties:
  1  0.000483275
  2  259.801
  3  0.0138112
  4  0.00683085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158879': 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) = 7282.96218985
delta logL = 1.6026024241e-07

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  4.833e-04  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.629e+00  2.598e+02  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:  7.799e-01  6.831e-03  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.357e+00  1.381e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/158879/cmap_HighResolution_285206401_285465601_4FGL_J0710.9+4733_daily_bin177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.28e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-08-26 21:01:13.950055', job_id='158879', GAL2='0.78', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1630036873.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.60e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='177' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:01:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0185>
Subject: Job 158879: <4FGL_J0710.9+4733_daily_bin177> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin177> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 20:45:49 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 20:45:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 20:45:51 2021
Terminated at Thu Aug 26 21:01:14 2021
Results reported at Thu Aug 26 21:01:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin177 107.732 47.553 285206401 285465601 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 :                                   776.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

