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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1030
RA = 121.3, Dec = -1.181
tmin = 506304001, tmax = 506563201
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='124385', job_status='RUN', time_executed='2021-08-29 01:43:38.764378', time_epoch_executed='1630226618.76' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1030'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124385

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124385/ft1_4FGL_J0805.2-0110_daily_bin1030.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124385/ft1_4FGL_J0805.2-0110_daily_bin1030.fits outfile=/scratch/kocevski/124385/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1030.fits ra=121.3 dec=-1.181 rad=12.0 tmin=506304001.0 tmax=506563201.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.48
user 3.24
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.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/124385/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1030.fits evtable="EVENTS" outfile="/scratch/kocevski/124385/ft1_filtered_4FGL_J0805.2-0110_daily_bin1030.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.56
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124385/ft1_filtered_4FGL_J0805.2-0110_daily_bin1030.fits" evtable="EVENTS" scfile=/scratch/kocevski/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.fits sctable="SC_DATA" outfile=/scratch/kocevski/124385/ltcube_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.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/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.fits
.....................!
real 11.91
user 11.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124385/ft1_filtered_4FGL_J0805.2-0110_daily_bin1030.fits evtable="EVENTS" scfile=/scratch/kocevski/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.fits sctable="SC_DATA" expcube=/scratch/kocevski/124385/ltcube_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.fits outfile=/scratch/kocevski/124385/expmap_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.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/124385/ltcube_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.fits
.....................!
real 191.14
user 185.23
sys 5.58

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

Setting source of interest to:
4FGL J0805.2-0110 @ 121.3 -1.181

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/124385/ft1_filtered_4FGL_J0805.2-0110_daily_bin1030.fits scfile=/scratch/kocevski/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.fits outfile=/scratch/kocevski/124385/cmap_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.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.3 yref=-1.181 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.64
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124385/ft1_filtered_4FGL_J0805.2-0110_daily_bin1030.fits scfile=/scratch/kocevski/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.fits outfile=/scratch/kocevski/124385/cmap_HighResolution_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.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.3 yref=-1.181 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.59
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/124385/ft1_filtered_4FGL_J0805.2-0110_daily_bin1030.fits evtable="EVENTS" scfile=/scratch/kocevski/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/124385/Model_4FGL_J0805.2-0110_daily_bin1030.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/124385/ft1_filtered_4FGL_J0805.2-0110_daily_bin1030.fits.....................!
real 93.96
user 92.26
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/124385/ft1_filtered_4FGL_J0805.2-0110_daily_bin1030.fits', '/scratch/kocevski/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.fits', expMap='/scratch/kocevski/124385/expmap_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.fits', expCube='/scratch/kocevski/124385/ltcube_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/124385/Model_4FGL_J0805.2-0110_daily_bin1030.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0805.2-0110'

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  3.803e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.349e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  1.330e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/124385/ft1_filtered_4FGL_J0805.2-0110_daily_bin1030.fits
Spacecraft file(s): /scratch/kocevski/124385/ft2_4FGL_J0805.2-0110_daily_bin1030.fits
Exposure map: /scratch/kocevski/124385/expmap_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.fits
Exposure cube: /scratch/kocevski/124385/ltcube_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/124385/Model_4FGL_J0805.2-0110_daily_bin1030.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) = 7387.70293327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.7257       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.508       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.076       1.0000         .10000E-03   10000.    
     5 'norm      '    4.8078       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    23.761       1.0000         .10000E-03   10000.    
     9 'norm      '    5.6637       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .71137       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.3628       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.617       1.0000         .10000E-03   10000.    
    13 'norm      '    .10527E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3958       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1214       1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    13.655       1.0000         .10000E-03   10000.    
    18 'norm      '    .51387       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10687E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    6.8023       1.0000         .10000E-03   10000.    
    22 'Prefactor '    27.082       1.0000         .10000E-03   10000.    
    23 'norm      '    1.4565       1.0000         .10000E-03   10000.    
    24 'norm      '    4.8694       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.4447       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .73432       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7387.616     FROM MIGRAD    STATUS=CONVERGED    600 CALLS     3656 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.952        .12359E-05** at limit **
   2  Prefactor     3.7248        8.7397        .26738E-05   -.19618E-04
   3  Prefactor     20.507        14.317        .14197E-06   -.37651E-05
   4  Prefactor     19.072        23.943        .56995E-06   -.43116E-05
   5  norm          4.8074        2.3467        .40935E-07   -.22650E-04
   6  Prefactor     .10000E-03    33.033        .13538E-05** at limit **
   7  norm          .10000E-03    9.8906       -.62332E-06** at limit **
   8  norm          23.762        22.798        .66229E-06    .65546E-04
   9  norm          5.6636        3.4903        .14327E-07   -.22480E-05
  10  Prefactor     .72327        9.8338       -.50663E-06    .44572E-04
  11  Prefactor     8.3584        8.9088        .13505E-06    .57866E-05
  12  Prefactor     23.650        52.495       -.70384E-05   -.46084E-04
  13  norm          .10000E-03    13.088       -.56417E-06** at limit **
  14  norm          1.3957        2.3393        .11040E-06   -.12104E-04
  15  Prefactor     5.1200        9.1401        .16014E-05   -.14581E-04
  16  norm          .10000E-03    .62901       -.27562E-08** at limit **
  17  norm          13.632        34.616        .58207E-05   -.22242E-04
  18  norm          .49165        3.0232        .66364E-06   -.23755E-03
  19  Prefactor     .10000E-03    31.278       -.17937E-05** at limit **
  20  Prefactor     .10000E-03    5.0484        .10091E-06** at limit **
  21  norm          6.8013        13.260        .47876E-06   -.51817E-05
  22  Prefactor     27.080        27.507        .51228E-06    .41106E-05
  23  norm          1.4566        1.2412        .14206E-07   -.12078E-03
  24  norm          4.8692        6.1804        .16466E-06   -.85935E-05
  25  Normalizat    1.4448        .21654       -.34651E-06   -.71287E-04
  26  Prefactor     .73432        .10218       -.46455E-06   -.15707E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.72484
  Prefactor  = 20.5069
  Prefactor  = 19.0725
  norm       = 4.80739
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 23.7623
  norm       = 5.66361
  Prefactor  = 0.72327
  Prefactor  = 8.3584
  Prefactor  = 23.6496
  norm       = 0.0001
  norm       = 1.39575
  Prefactor  = 5.12001
  norm       = 0.0001
  norm       = 13.6316
  norm       = 0.491648
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.80133
  Prefactor  = 27.0801
  norm       = 1.4566
  norm       = 4.86924
  Normalizat = 1.44482
  Prefactor  = 0.734318
 **********
 **   18 **HESSE 
 **********

 FCN=   7387.616     FROM HESSE     STATUS=OK           474 CALLS     4130 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7248        8.7698        .10460E-02   -1.5322    
   3  Prefactor     20.507        14.397        .88446E-04   -1.4802    
   4  Prefactor     19.072        23.941        .91703E-04   -1.4834    
   5  norm          4.8074        2.3455        .86480E-04   -1.5269    
   6  Prefactor     .10000E-03    33.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.9474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          23.762        23.974        .82176E-04   -1.4733    
   9  norm          5.6636        3.4914        .12163E-03   -1.5232    
  10  Prefactor     .72327        61.103        .46316E-02   -1.5538    
  11  Prefactor     8.3584        8.8888        .13863E-03   -1.5130    
  12  Prefactor     23.650        52.694        .82425E-04   -1.4735    
  13  norm          .10000E-03    13.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3957        2.2755        .15923E-03   -1.5472    
  15  Prefactor     5.1200        9.1363        .88828E-03   -1.5255    
  16  norm          .10000E-03    1.0856        .12904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.632        34.577        .10839E-03   -1.4969    
  18  norm          .49165        16.475        .26148E-02   -1.5568    
  19  Prefactor     .10000E-03    31.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.0718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          6.8013        13.243        .76919E-03   -1.5186    
  22  Prefactor     27.080        27.589        .76980E-04   -1.4667    
  23  norm          1.4566        1.2302        .83560E-04   -1.5467    
  24  norm          4.8692        6.1748        .18229E-03   -1.5267    
  25  Normalizat    1.4448        .24556        .30653E-03   -.79341    
  26  Prefactor     .73432        .11500        .20332E-03   -1.0220    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66625e-10
Minuit parameter uncertainties:
  1  1.42531e-05
  2  8.77283
  3  14.3992
  4  23.9528
  5  2.3455
  6  3.47497e-05
  7  9.15714e-06
  8  23.9835
  9  3.49149
  10  13.3088
  11  8.89018
  12  52.7974
  13  1.69169e-05
  14  2.27568
  15  9.13874
  16  1.92524e-06
  17  34.6274
  18  5.69316
  19  8.41779e-05
  20  1.24952e-06
  21  13.2489
  22  27.6022
  23  1.23021
  24  6.17556
  25  0.245759
  26  0.115035
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  1.692e-05  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.349e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  1.330e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  7.343e-01  1.150e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.445e+00  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 121.300 -1.181
Photon Flux Upper Limit: 9.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.00e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/124385/likelihoodResults_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.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) = 7387.61647212
delta logL = -0.000360305892173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7387.6161118
delta logL = 1.09976099338e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10192E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3740       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4448       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73431       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7387.241     FROM MIGRAD    STATUS=FAILED       216 CALLS      362 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61226        47.701        .17457E-01    .18721E-02
   2  alpha         5.0000        4.4670        .16487    ** at limit **
   3  Normalizat    1.3750        .76273        .30653E-03   -.58265E-04
   4  Prefactor     .75356        .17389        .20332E-03   -.26646E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7387.241     FROM SIMPLEX   STATUS=UNCHANGED    148 CALLS      510 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61226        47.701        .28316E-05    .18721E-02
   2  alpha         5.0000        4.4670        .57763E-02** at limit **
   3  Normalizat    1.3750        .76273        .34077E-05   -.58265E-04
   4  Prefactor     .75356        .17389        .21047E-06   -.26646E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7387.241     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      544 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61226        .77243        .79499E-03    .64964E-02
   2  alpha         5.0000        3.1934        .65949E-02** at limit **
   3  Normalizat    1.3750        .23111        .12261E-04   -.62308E-04
   4  Prefactor     .75356        .10968        .40664E-04   -.26476E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.612258
  alpha      = 5
  Normalizat = 1.375
  Prefactor  = 0.753558
 **********
 **   18 **HESSE 
 **********

 FCN=   7387.241     FROM HESSE     STATUS=OK            25 CALLS      569 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61226        .77115        .15900E-03   -1.5551    
   2  alpha         5.0000        3.1934        .13190E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3750        .23087        .24523E-05   -.81355    
   4  Prefactor     .75356        .10965        .81329E-05   -1.0146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.33956e-11
Minuit parameter uncertainties:
  1  0.77116
  2  9.06138e-06
  3  0.231048
  4  0.109685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124385': 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) = 7387.24117233
delta logL = 0.374939480606

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  6.123e-01  7.712e-01  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  5.000e+00  9.061e-06  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  1.330e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  7.536e-01  1.097e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.375e+00  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 121.300 -1.181

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/124385/cmap_HighResolution_506304001_506563201_4FGL_J0805.2-0110_daily_bin1030.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-05', job_status='DONE', photon_flux_upper_limit='9.39e-08', time_completed='2021-08-29 01:57:13.705957', job_id='124385', GAL2='0.75', fit_tolerance='1e-08', EG2='1.37', EG='1.44', time_epoch_completed='1630227433.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='3.75e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1030' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:57:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 124385: <4FGL_J0805.2-0110_daily_bin1030> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1030> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 01:40:38 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:40:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 01:40:40 2021
Terminated at Sun Aug 29 01:57:14 2021
Results reported at Sun Aug 29 01:57:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1030 121.3 -1.181 506304001 506563201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.2-0110 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   809.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            996 sec.

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

