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


Performing analysis on: 4FGL_J0805.1+7744_daily_bin75
RA = 121.289, Dec = 77.7441
tmin = 258768001, tmax = 259027201
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='105779', job_status='RUN', time_executed='2021-08-29 00:49:01.970734', time_epoch_executed='1630223341.97' WHERE source_name='4FGL J0805.1+7744' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105779

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105779/ft1_4FGL_J0805.1+7744_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105779/ft2_4FGL_J0805.1+7744_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105779/ft1_4FGL_J0805.1+7744_daily_bin75.fits outfile=/scratch/kocevski/105779/ft1_filteredMKT_4FGL_J0805.1+7744_daily_bin75.fits ra=121.289 dec=77.7441 rad=12.0 tmin=258768001.0 tmax=259027201.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.46
user 0.94
sys 0.50

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/105779/ft2_4FGL_J0805.1+7744_daily_bin75.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105779/ft2_4FGL_J0805.1+7744_daily_bin75.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/105779/ft1_filteredMKT_4FGL_J0805.1+7744_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/105779/ft1_filtered_4FGL_J0805.1+7744_daily_bin75.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.82
user 0.29
sys 0.51

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105779/ft1_filtered_4FGL_J0805.1+7744_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/105779/ft2_4FGL_J0805.1+7744_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/105779/ltcube_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.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/105779/ft2_4FGL_J0805.1+7744_daily_bin75.fits
.....................!
real 8.81
user 8.06
sys 0.70

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105779/ft1_filtered_4FGL_J0805.1+7744_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/105779/ft2_4FGL_J0805.1+7744_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/105779/ltcube_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.fits outfile=/scratch/kocevski/105779/expmap_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.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/105779/ltcube_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.fits
.....................!
real 190.62
user 184.62
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 217 point sources and 0 extended sources

Setting source of interest to:
4FGL J0805.1+7744 @ 121.289 77.7441

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/105779/ft1_filtered_4FGL_J0805.1+7744_daily_bin75.fits scfile=/scratch/kocevski/105779/ft2_4FGL_J0805.1+7744_daily_bin75.fits outfile=/scratch/kocevski/105779/cmap_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.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=121.289 yref=77.7441 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.86
user 0.35
sys 0.50

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105779/ft1_filtered_4FGL_J0805.1+7744_daily_bin75.fits scfile=/scratch/kocevski/105779/ft2_4FGL_J0805.1+7744_daily_bin75.fits outfile=/scratch/kocevski/105779/cmap_HighResolution_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.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=121.289 yref=77.7441 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.86
user 0.36
sys 0.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/105779/ft1_filtered_4FGL_J0805.1+7744_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/105779/ft2_4FGL_J0805.1+7744_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/105779/Model_4FGL_J0805.1+7744_daily_bin75.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/105779/ft1_filtered_4FGL_J0805.1+7744_daily_bin75.fits.....................!
real 70.98
user 69.06
sys 1.71

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/105779/ft1_filtered_4FGL_J0805.1+7744_daily_bin75.fits', '/scratch/kocevski/105779/ft2_4FGL_J0805.1+7744_daily_bin75.fits', expMap='/scratch/kocevski/105779/expmap_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.fits', expCube='/scratch/kocevski/105779/ltcube_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/105779/Model_4FGL_J0805.1+7744_daily_bin75.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0805.1+7744'

4FGL J0805.1+7744
   Spectrum: PowerLaw
293    Prefactor:  7.928e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.717e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  6.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/105779/ft1_filtered_4FGL_J0805.1+7744_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/105779/ft2_4FGL_J0805.1+7744_daily_bin75.fits
Exposure map: /scratch/kocevski/105779/expmap_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.fits
Exposure cube: /scratch/kocevski/105779/ltcube_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/105779/Model_4FGL_J0805.1+7744_daily_bin75.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) = 5162.5681809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.157       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    65.891       1.0000         .10000E-03   10000.    
     4 'norm      '    6.2207       1.0000         .10000E-03   10000.    
     5 'norm      '    .62880       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11222E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10324E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    48.948       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .21503E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    56.717       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.054       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5580       1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.840       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .57818E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10391E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.9666       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.7740       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .79576       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96025       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5162.473     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2967 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.157        10.766        .73930E-07    .96726E-05
   2  Prefactor     .10000E-03    19.261       -.26838E-05** at limit **
   3  Prefactor     65.884        41.671        .14761E-05    .17875E-03
   4  norm          6.2224        16.866        .12632E-06    .24309E-05
   5  norm          .62902        .61290        .55846E-07    .58515E-03
   6  Prefactor     .10000E-03    58.904       -.66026E-05** at limit **
   7  norm          .10000E-03    17.626        .18157E-05** at limit **
   8  Prefactor     48.944        51.176        .19976E-06   -.45569E-05
   9  Prefactor     .10000E-03    1.4698        .26612E-07** at limit **
  10  norm          .10000E-03    2.1442        .73815E-06** at limit **
  11  Prefactor     56.720        39.383       -.11762E-05   -.26576E-03
  12  Prefactor     26.053        14.838        .54586E-07    .28603E-03
  13  Prefactor     1.5587        34.667        .18280E-04    .19970E-03
  14  Prefactor     40.846        19.787       -.69172E-06   -.40410E-03
  15  Prefactor     .10509E-03    24.699       -.74170E-05** at limit **
  16  Prefactor     .10000E-03    37.796        .35704E-05** at limit **
  17  Prefactor     .10000E-03    115.16        .53710E-05** at limit **
  18  norm          2.9651        5.5812        .23377E-06    .57975E-03
  19  Prefactor     .10000E-03    4.0493       -.78606E-07** at limit **
  20  norm          .10000E-03    .48363       -.18424E-07** at limit **
  21  Prefactor     .10000E-03    8.2764       -.62017E-07** at limit **
  22  Prefactor     .10000E-03    5.9021       -.54894E-08** at limit **
  23  norm          1.7744        3.1961        .76166E-07    .87949E-04
  24  Normalizat    .79585        .23129        .26013E-07    .16616E-03
  25  Prefactor     .96019        .11955       -.53903E-06    .19993E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.1568
  Prefactor  = 0.0001
  Prefactor  = 65.8841
  norm       = 6.22238
  norm       = 0.629019
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 48.9444
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 56.7204
  Prefactor  = 26.0532
  Prefactor  = 1.5587
  Prefactor  = 40.8455
  Prefactor  = 0.000105093
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.96511
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.77444
  Normalizat = 0.795855
  Prefactor  = 0.960185
 **********
 **   18 **HESSE 
 **********

 FCN=   5162.473     FROM HESSE     STATUS=OK           423 CALLS     3390 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.157        10.763        .11489E-03   -1.5010    
   2  Prefactor     .10000E-03    19.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     65.884        41.853        .49442E-04   -1.4083    
   4  norm          6.2224        16.860        .16095E-03   -1.5209    
   5  norm          .62902        .60124        .53177E-04   -1.5549    
   6  Prefactor     .10000E-03    59.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    17.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     48.944        51.532        .57317E-04   -1.4308    
   9  Prefactor     .10000E-03    1.4704        .85065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    9.5737        .17910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     56.720        36.321        .53267E-04   -1.4200    
  12  Prefactor     26.053        14.725        .78482E-04   -1.4687    
  13  Prefactor     1.5587        35.278        .17049E-02   -1.5458    
  14  Prefactor     40.846        19.840        .62725E-04   -1.4429    
  15  Prefactor     .10509E-03    204.41        .53426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    37.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    115.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.9651        5.2881        .20656E-03   -1.5364    
  19  Prefactor     .10000E-03    4.1073        .14104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .48964        .48707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.2869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.9190        .17043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.7744        3.1643        .16775E-03   -1.5442    
  24  Normalizat    .79585        .25710        .32815E-03   -1.0022    
  25  Prefactor     .96019        .13524        .17647E-03   -.94069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40873e-08
Minuit parameter uncertainties:
  1  10.7647
  2  6.82109e-05
  3  41.8719
  4  16.8729
  5  0.601247
  6  0.000579198
  7  9.95808e-05
  8  51.5787
  9  2.66911e-07
  10  0.000259736
  11  36.3348
  12  14.7273
  13  14.8402
  14  19.8434
  15  0.0647508
  16  0.000227495
  17  0.000721622
  18  5.28897
  19  6.52734e-06
  20  1.31506e-07
  21  2.11025e-05
  22  8.4017e-06
  23  3.1646
  24  0.257493
  25  0.135285
Done.

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

Extracting fit parameters...

4FGL J0805.1+7744
   Spectrum: PowerLaw
293    Prefactor:  4.894e+01  5.158e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.717e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  6.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  9.602e-01  1.353e-01  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  7.959e-01  2.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.27
Ra Dec: 121.289 77.744
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 4.96e-08 +/- 5.23e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 1.24e-05

TS (Fixed Index): 1.27
Ra Dec: 121.289 77.744
Photon Flux Upper Limit: 1.61e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/105779/likelihoodResults_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.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) = 5162.47301033
delta logL = 0.000282893517578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5162.47286107
delta logL = 0.000432154090049

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.003       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7479       1.0000          .0000       10.000    
     3 'Normalizat'    .79403       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96077       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+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=   5162.473     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      259 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.964        63.693        .57876E-04   -.10957E-03
   2  Index         2.7460        1.0264        .85451E-02   -.42708E-04
   3  Normalizat    .79459        .23273        .32839E-03   -.21405E-03
   4  Prefactor     .96067        .13269        .17644E-03    .25950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.9636
  Index      = 2.746
  Normalizat = 0.794591
  Prefactor  = 0.960665
 **********
 **   18 **HESSE 
 **********

 FCN=   5162.473     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.964        60.640        .11575E-04   -1.4322    
   2  Index         2.7460        .97587        .34180E-03   -.46766    
   3  Normalizat    .79459        .23278        .13136E-04   -1.0027    
   4  Prefactor     .96067        .13269        .35288E-04   -.94052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.85398e-10
Minuit parameter uncertainties:
  1  60.7186
  2  0.983819
  3  0.233071
  4  0.132739
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105779': 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) = 5162.47285398
delta logL = 0.000439240833657

Extracting fit parameters...

4FGL J0805.1+7744
   Spectrum: PowerLaw
293    Prefactor:  4.796e+01  6.072e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.746e+00  9.838e-01  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  6.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  9.607e-01  1.327e-01  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  7.946e-01  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 121.289 77.744
Photon Index (Free Index): 2.75 +/- 0.98
Photon Flux (Free Index): 5.06e-08 +/- 6.06e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.24e-05

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/105779/cmap_HighResolution_258768001_259027201_4FGL_J0805.1+7744_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', comment='SUCCESS', photon_flux='4.96e-08', energy_flux2='1.18e-05', photon_flux_error='5.23e-08', dlogl='4.39e-04', energy_flux='1.18e-05', photon_flux2='5.06e-08', job_status='DONE', time_completed='2021-08-29 01:01:16.838142', photon_index_error2='0.98', photon_index2='2.75', ts='1.27', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.61e-07', energy_flux_error2='1.24e-05', EG='0.80', time_epoch_completed='1630224076.84', return_code='0', job_id='105779', GAL2='0.96', EG2='0.79', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='6.06e-08', ts2='1.27', photon_index='2.72' WHERE bin_id='75' AND source_name='4FGL J0805.1+7744' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:01:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 105779: <4FGL_J0805.1+7744_daily_bin75> in cluster <slac> Done

Job <4FGL_J0805.1+7744_daily_bin75> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 29 00:45:37 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 00:45:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 00:45:38 2021
Terminated at Sun Aug 29 01:01:17 2021
Results reported at Sun Aug 29 01:01:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.1+7744_daily_bin75 121.289 77.7441 258768001 259027201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.1+7744 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   738.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            940 sec.

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

