/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 5 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 = 7478
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0729.1+5703_daily_bin113
RA = 112.286, Dec = 57.0558
tmin = 268617601, tmax = 268876801
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='350911', job_status='RUN', time_executed='2021-08-27 07:16:44.454927', time_epoch_executed='1630073804.45' WHERE source_name='4FGL J0729.1+5703' and cadence='daily' and bin_id='113'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350911

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350911/ft1_4FGL_J0729.1+5703_daily_bin113.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350911/ft2_4FGL_J0729.1+5703_daily_bin113.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350911/ft1_4FGL_J0729.1+5703_daily_bin113.fits outfile=/scratch/kocevski/350911/ft1_filteredMKT_4FGL_J0729.1+5703_daily_bin113.fits ra=112.286 dec=57.0558 rad=12.0 tmin=268617601.0 tmax=268876801.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 1.92
user 1.32
sys 0.49

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/350911/ft2_4FGL_J0729.1+5703_daily_bin113.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/350911/ft2_4FGL_J0729.1+5703_daily_bin113.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/350911/ft1_filteredMKT_4FGL_J0729.1+5703_daily_bin113.fits evtable="EVENTS" outfile="/scratch/kocevski/350911/ft1_filtered_4FGL_J0729.1+5703_daily_bin113.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.84
user 0.32
sys 0.47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350911/ft1_filtered_4FGL_J0729.1+5703_daily_bin113.fits" evtable="EVENTS" scfile=/scratch/kocevski/350911/ft2_4FGL_J0729.1+5703_daily_bin113.fits sctable="SC_DATA" outfile=/scratch/kocevski/350911/ltcube_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.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/350911/ft2_4FGL_J0729.1+5703_daily_bin113.fits
.....................!
real 13.82
user 12.72
sys 0.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350911/ft1_filtered_4FGL_J0729.1+5703_daily_bin113.fits evtable="EVENTS" scfile=/scratch/kocevski/350911/ft2_4FGL_J0729.1+5703_daily_bin113.fits sctable="SC_DATA" expcube=/scratch/kocevski/350911/ltcube_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.fits outfile=/scratch/kocevski/350911/expmap_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.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/350911/ltcube_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.fits
.....................!
real 194.20
user 187.49
sys 5.64

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

Setting source of interest to:
4FGL J0729.1+5703 @ 112.286 57.0558

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/350911/ft1_filtered_4FGL_J0729.1+5703_daily_bin113.fits scfile=/scratch/kocevski/350911/ft2_4FGL_J0729.1+5703_daily_bin113.fits outfile=/scratch/kocevski/350911/cmap_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.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=112.286 yref=57.0558 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.85
user 0.36
sys 0.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/350911/ft1_filtered_4FGL_J0729.1+5703_daily_bin113.fits scfile=/scratch/kocevski/350911/ft2_4FGL_J0729.1+5703_daily_bin113.fits outfile=/scratch/kocevski/350911/cmap_HighResolution_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.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=112.286 yref=57.0558 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.38
sys 0.46

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/350911/ft1_filtered_4FGL_J0729.1+5703_daily_bin113.fits evtable="EVENTS" scfile=/scratch/kocevski/350911/ft2_4FGL_J0729.1+5703_daily_bin113.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/350911/Model_4FGL_J0729.1+5703_daily_bin113.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/350911/ft1_filtered_4FGL_J0729.1+5703_daily_bin113.fits.....................!
real 68.94
user 66.21
sys 2.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/350911/ft1_filtered_4FGL_J0729.1+5703_daily_bin113.fits', '/scratch/kocevski/350911/ft2_4FGL_J0729.1+5703_daily_bin113.fits', expMap='/scratch/kocevski/350911/expmap_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.fits', expCube='/scratch/kocevski/350911/ltcube_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/350911/Model_4FGL_J0729.1+5703_daily_bin113.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0729.1+5703'

4FGL J0729.1+5703
   Spectrum: PowerLaw
277    Prefactor:  3.521e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
278        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  8.778e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/350911/ft1_filtered_4FGL_J0729.1+5703_daily_bin113.fits
Spacecraft file(s): /scratch/kocevski/350911/ft2_4FGL_J0729.1+5703_daily_bin113.fits
Exposure map: /scratch/kocevski/350911/expmap_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.fits
Exposure cube: /scratch/kocevski/350911/ltcube_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/350911/Model_4FGL_J0729.1+5703_daily_bin113.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) = 5780.85587292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6853       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.278       1.0000         .10000E-03   10000.    
     5 'norm      '    .84605       1.0000         .10000E-03   10000.    
     6 'norm      '    3.2650       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .32772E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5022       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.431       1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.852       1.0000         .10000E-03   10000.    
    11 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .59382E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    3.7303       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .20941E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6158       1.0000         .10000E-03   10000.    
    19 'norm      '    6.7397       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.4475       1.0000         .10000E-03   10000.    
    22 'norm      '    4.6359       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10716E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.035       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    17.679       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0580       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .89270       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5780.815     FROM MIGRAD    STATUS=CONVERGED    736 CALLS     3767 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.200        .43406E-06** at limit **
   2  Prefactor     1.6939        23.033        .15165E-04   -.74746E-04
   3  Prefactor     .10000E-03    27.217        .11176E-05** at limit **
   4  Prefactor     20.280        20.279        .11545E-06    .61119E-05
   5  norm          .84656        3.3528        .41029E-06   -.39739E-04
   6  norm          3.2661        6.2281        .29550E-06    .73730E-06
   7  Prefactor     .10001E-03    82.551       -.75879E-05** at limit **
   8  Prefactor     7.5060        8.2873       -.21024E-07   -.59297E-04
   9  Prefactor     18.427        29.384        .42248E-07    .88894E-05
  10  Prefactor     36.862        34.255        .30402E-05    .38529E-03
  11  norm          .10000E-03    11.184        .65894E-06** at limit **
  12  Prefactor     .10000E-03    18.563       -.79016E-07** at limit **
  13  Prefactor     .10000E-03    19.282       -.61676E-06** at limit **
  14  Prefactor     .10000E-03    290.27        .95143E-05** at limit **
  15  norm          3.7303        1.4904        .32076E-07    .25423E-03
  16  Prefactor     .10000E-03    9.4346        .65588E-06** at limit **
  17  norm          .10000E-03    1.7195       -.66196E-07** at limit **
  18  Prefactor     3.5912        40.897       -.61692E-05   -.63270E-04
  19  norm          6.7371        5.0073        .13362E-06   -.24280E-03
  20  Prefactor     .10000E-03    22.780       -.44631E-06** at limit **
  21  norm          2.4475        3.7292        .17471E-06    .10410E-03
  22  norm          4.6359        2.6715        .60476E-07    .12994E-03
  23  Prefactor     .10000E-03    1.2896        .12838E-05** at limit **
  24  Prefactor     11.033        11.575        .50968E-06    .16151E-03
  25  Prefactor     .10000E-03    10.074       -.16065E-05** at limit **
  26  Prefactor     .10000E-03    5.8918       -.61617E-08** at limit **
  27  Prefactor     17.677        22.392        .48879E-06    .81392E-04
  28  Normalizat    1.0581        .22798        .21844E-06    .23031E-04
  29  Prefactor     .89246        .12712       -.11234E-05    .14275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.69389
  Prefactor  = 0.0001
  Prefactor  = 20.2798
  norm       = 0.84656
  norm       = 3.2661
  Prefactor  = 0.000100006
  Prefactor  = 7.506
  Prefactor  = 18.4268
  Prefactor  = 36.8622
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 3.73029
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.59115
  norm       = 6.73709
  Prefactor  = 0.0001
  norm       = 2.44746
  norm       = 4.63588
  Prefactor  = 0.0001
  Prefactor  = 11.0332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6767
  Normalizat = 1.05808
  Prefactor  = 0.892464
 **********
 **   18 **HESSE 
 **********

 FCN=   5780.815     FROM HESSE     STATUS=OK           555 CALLS     4322 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6939        23.548        .16219E-02   -1.5448    
   3  Prefactor     .10000E-03    27.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.280        20.283        .88944E-04   -1.4807    
   5  norm          .84656        3.2651        .26438E-03   -1.5524    
   6  norm          3.2661        6.1492        .22412E-03   -1.5347    
   7  Prefactor     .10001E-03    84.048        .42704E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.5060        8.2558        .14642E-03   -1.5160    
   9  Prefactor     18.427        29.167        .93293E-04   -1.4849    
  10  Prefactor     36.862        34.650        .66020E-04   -1.4493    
  11  norm          .10000E-03    11.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    290.25        .18955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.7303        1.4905        .56049E-04   -1.5322    
  16  Prefactor     .10000E-03    9.4845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.3736        .19399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5912        40.599        .21248E-03   -1.5329    
  19  norm          6.7371        4.9966        .13505E-03   -1.5189    
  20  Prefactor     .10000E-03    22.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.4475        3.7121        .17166E-03   -1.5395    
  22  norm          4.6359        2.6696        .89158E-04   -1.5277    
  23  Prefactor     .10000E-03    2.0620        .16196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.033        11.578        .12061E-03   -1.5044    
  25  Prefactor     .10000E-03    10.271        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    5.9150        .18017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     17.677        22.460        .95255E-04   -1.4867    
  28  Normalizat    1.0581        .26165        .31258E-03   -.91109    
  29  Prefactor     .89246        .14594        .19681E-03   -.96405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.12196e-10
Minuit parameter uncertainties:
  1  3.24396e-05
  2  12.637
  3  0.000140773
  4  20.2894
  5  3.26583
  6  6.15039
  7  0.00148028
  8  8.25703
  9  29.1898
  10  34.6692
  11  5.69209e-05
  12  3.80214e-05
  13  1.91761e-05
  14  0.00212825
  15  1.49048
  16  4.92036e-05
  17  2.97626e-05
  18  24.1696
  19  4.99687
  20  1.25743e-05
  21  3.71242
  22  2.66969
  23  3.02864e-05
  24  11.5802
  25  0.0001139
  26  5.10223e-07
  27  22.4705
  28  0.261967
  29  0.146002
Done.

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

Extracting fit parameters...

4FGL J0729.1+5703
   Spectrum: PowerLaw
277    Prefactor:  1.000e-04  3.802e-05  1.000e-04  1.000e+04 ( 1.000e-13)
278        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  8.778e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  8.925e-01  1.460e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  1.058e+00  2.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 112.286 57.056
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/350911/likelihoodResults_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.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) = 5780.81566675
delta logL = -0.000256362160144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5780.81541165
delta logL = -1.26525355881e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0402       1.0000          .0000       10.000    
     3 'Normalizat'    1.0581       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89247       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+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=   5780.815     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      273 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10350E-03    7.0950        .18142E-01** at limit **
   2  Index         2.9422        7.5821        .50000        .15480E-04
   3  Normalizat    1.0581        .41355E-02    .31258E-03    .37025E-04
   4  Prefactor     .89246        .24277E-02    .19681E-03    .24723E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001035
  Index      = 2.94216
  Normalizat = 1.05808
  Prefactor  = 0.892463
 **********
 **   18 **HESSE 
 **********

 FCN=   5780.815     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      302 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10350E-03    89.304        .27512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9422        6.9342        .50000       -.42417    
   3  Normalizat    1.0581        .14671E-01    .12503E-04   -.91109    
   4  Prefactor     .89246        .86126E-02    .78724E-05   -.96405    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.12283e-09
Minuit parameter uncertainties:
  1  0.0354124
  2  386.285
  3  0.0146715
  4  0.00861263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350911': 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) = 5780.81541141
delta logL = -1.02415106085e-06

Extracting fit parameters...

4FGL J0729.1+5703
   Spectrum: PowerLaw
277    Prefactor:  1.035e-04  3.541e-02  1.000e-04  1.000e+04 ( 1.000e-13)
278        Index:  2.942e+00  3.863e+02  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  8.778e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  8.925e-01  8.613e-03  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  1.058e+00  1.467e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 112.286 57.056

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/350911/cmap_HighResolution_268617601_268876801_4FGL_J0729.1+5703_daily_bin113.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.31e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-08-27 07:31:48.748324', job_id='350911', GAL2='0.89', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630074708.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-1.02e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='113' AND source_name='4FGL J0729.1+5703' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 07:31:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 350911: <4FGL_J0729.1+5703_daily_bin113> in cluster <slac> Done

Job <4FGL_J0729.1+5703_daily_bin113> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 27 07:15:35 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 07:15:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 07:15:38 2021
Terminated at Fri Aug 27 07:31:49 2021
Results reported at Fri Aug 27 07:31:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0729.1+5703_daily_bin113 112.286 57.0558 268617601 268876801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0729.1+5703 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   889.52 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             293.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   971 sec.
    Turnaround time :                            974 sec.

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

