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


Performing analysis on: 4FGL_J0812.6+2821_daily_bin11
RA = 123.156, Dec = 28.3574
tmin = 242179201, tmax = 242438401
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='314078', job_status='RUN', time_executed='2021-08-29 12:38:33.848592', time_epoch_executed='1630265913.85' WHERE source_name='4FGL J0812.6+2821' and cadence='daily' and bin_id='11'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/314078

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/314078/ft1_4FGL_J0812.6+2821_daily_bin11.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/314078/ft2_4FGL_J0812.6+2821_daily_bin11.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/314078/ft1_4FGL_J0812.6+2821_daily_bin11.fits outfile=/scratch/kocevski/314078/ft1_filteredMKT_4FGL_J0812.6+2821_daily_bin11.fits ra=123.156 dec=28.3574 rad=12.0 tmin=242179201.0 tmax=242438401.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.89
user 1.27
sys 2.59

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/314078/ft2_4FGL_J0812.6+2821_daily_bin11.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/314078/ft2_4FGL_J0812.6+2821_daily_bin11.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/314078/ft1_filteredMKT_4FGL_J0812.6+2821_daily_bin11.fits evtable="EVENTS" outfile="/scratch/kocevski/314078/ft1_filtered_4FGL_J0812.6+2821_daily_bin11.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 2.97
user 0.32
sys 2.61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/314078/ft1_filtered_4FGL_J0812.6+2821_daily_bin11.fits" evtable="EVENTS" scfile=/scratch/kocevski/314078/ft2_4FGL_J0812.6+2821_daily_bin11.fits sctable="SC_DATA" outfile=/scratch/kocevski/314078/ltcube_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.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/314078/ft2_4FGL_J0812.6+2821_daily_bin11.fits
.....................!
real 15.68
user 12.42
sys 3.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/314078/ft1_filtered_4FGL_J0812.6+2821_daily_bin11.fits evtable="EVENTS" scfile=/scratch/kocevski/314078/ft2_4FGL_J0812.6+2821_daily_bin11.fits sctable="SC_DATA" expcube=/scratch/kocevski/314078/ltcube_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.fits outfile=/scratch/kocevski/314078/expmap_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.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/314078/ltcube_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.fits
.....................!
real 194.91
user 184.53
sys 9.10

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

Setting source of interest to:
4FGL J0812.6+2821 @ 123.156 28.3574

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/314078/ft1_filtered_4FGL_J0812.6+2821_daily_bin11.fits scfile=/scratch/kocevski/314078/ft2_4FGL_J0812.6+2821_daily_bin11.fits outfile=/scratch/kocevski/314078/cmap_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.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=123.156 yref=28.3574 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 3.04
user 0.38
sys 2.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/314078/ft1_filtered_4FGL_J0812.6+2821_daily_bin11.fits scfile=/scratch/kocevski/314078/ft2_4FGL_J0812.6+2821_daily_bin11.fits outfile=/scratch/kocevski/314078/cmap_HighResolution_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.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=123.156 yref=28.3574 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 2.95
user 0.36
sys 2.57

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/314078/ft1_filtered_4FGL_J0812.6+2821_daily_bin11.fits evtable="EVENTS" scfile=/scratch/kocevski/314078/ft2_4FGL_J0812.6+2821_daily_bin11.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/314078/Model_4FGL_J0812.6+2821_daily_bin11.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/314078/ft1_filtered_4FGL_J0812.6+2821_daily_bin11.fits.....................!
real 87.50
user 82.65
sys 4.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/314078/ft1_filtered_4FGL_J0812.6+2821_daily_bin11.fits', '/scratch/kocevski/314078/ft2_4FGL_J0812.6+2821_daily_bin11.fits', expMap='/scratch/kocevski/314078/expmap_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.fits', expCube='/scratch/kocevski/314078/ltcube_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/314078/Model_4FGL_J0812.6+2821_daily_bin11.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0812.6+2821'

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  2.525e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/314078/ft1_filtered_4FGL_J0812.6+2821_daily_bin11.fits
Spacecraft file(s): /scratch/kocevski/314078/ft2_4FGL_J0812.6+2821_daily_bin11.fits
Exposure map: /scratch/kocevski/314078/expmap_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.fits
Exposure cube: /scratch/kocevski/314078/ltcube_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/314078/Model_4FGL_J0812.6+2821_daily_bin11.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) = 8628.51360257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6527       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.2584       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.207       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.3185       1.0000         .10000E-03   10000.    
     9 'norm      '    48.237       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.897       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6374       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1435       1.0000         .10000E-03   10000.    
    15 'norm      '    2.1782       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5011       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.288       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1266       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93131       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8628.511     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     2018 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6519        6.4890        .21437E-05   -.64922E-03
   2  Prefactor     .10000E-03    4.6264        .32234E-07** at limit **
   3  norm          5.2573        4.4607       -.74865E-07    .66889E-04
   4  Prefactor     .10001E-03    41.560       -.56880E-05** at limit **
   5  Prefactor     10.207        17.997        .24029E-06    .18293E-05
   6  Prefactor     .10001E-03    32.914        .57048E-05** at limit **
   7  Prefactor     .10000E-03    9.2327       -.97649E-06** at limit **
   8  norm          6.3185        6.7362        .14894E-05   -.35764E-03
   9  norm          48.239        56.605        .62671E-06    .21087E-04
  10  Prefactor     15.897        24.126        .18106E-06   -.17017E-04
  11  Prefactor     .10000E-03    9.9136        .13010E-05** at limit **
  12  Prefactor     .10000E-03    16.971       -.95516E-06** at limit **
  13  Prefactor     2.6357        32.056        .56018E-06   -.27072E-04
  14  Prefactor     2.1434        2.2887        .14174E-06   -.86315E-04
  15  norm          2.1779        1.1620        .77165E-07   -.32759E-03
  16  Prefactor     .10000E-03    6.1361        .43926E-07** at limit **
  17  Prefactor     1.5015        11.659        .20639E-05   -.68658E-04
  18  Prefactor     15.281        18.696       -.21674E-06   -.10608E-03
  19  Normalizat    1.1268        .16639       -.34850E-06   -.43594E-04
  20  Prefactor     .93113        .12424       -.65674E-06   -.73872E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.6519
  Prefactor  = 0.0001
  norm       = 5.25734
  Prefactor  = 0.000100014
  Prefactor  = 10.2068
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  norm       = 6.31846
  norm       = 48.2391
  Prefactor  = 15.8965
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.63565
  Prefactor  = 2.14341
  norm       = 2.17793
  Prefactor  = 0.0001
  Prefactor  = 1.50147
  Prefactor  = 15.2811
  Normalizat = 1.12682
  Prefactor  = 0.931133
 **********
 **   18 **HESSE 
 **********

 FCN=   8628.511     FROM HESSE     STATUS=OK           295 CALLS     2313 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6519        6.6367        .72481E-03   -1.5155    
   2  Prefactor     .10000E-03    4.6346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.2573        4.4401        .15062E-03   -1.5249    
   4  Prefactor     .10001E-03    43.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.207        17.910        .12542E-03   -1.5069    
   6  Prefactor     .10001E-03    35.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.3020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.3185        6.7888        .79843E-03   -1.5205    
   9  norm          48.239        56.629        .57736E-04   -1.4318    
  10  Prefactor     15.897        24.139        .10045E-03   -1.4910    
  11  Prefactor     .10000E-03    10.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.6357        31.128        .25107E-03   -1.5383    
  14  Prefactor     2.1434        2.2806        .14049E-03   -1.5415    
  15  norm          2.1779        1.1443        .13948E-03   -1.5413    
  16  Prefactor     .10000E-03    6.2509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5015        11.810        .34948E-03   -1.5463    
  18  Prefactor     15.281        18.899        .10244E-03   -1.4926    
  19  Normalizat    1.1268        .19854        .26183E-03   -.88895    
  20  Prefactor     .93113        .14751        .22194E-03   -.95062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30537e-09
Minuit parameter uncertainties:
  1  6.63737
  2  2.58954e-06
  3  4.44035
  4  0.00156508
  5  17.9197
  6  0.0014548
  7  0.000127714
  8  6.78961
  9  56.6918
  10  24.1539
  11  0.000183678
  12  0.00017434
  13  18.127
  14  2.28074
  15  1.14431
  16  3.15456e-06
  17  8.42397
  18  18.9062
  19  0.198669
  20  0.14757
Done.

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

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  1.590e+01  2.415e+01  1.000e-04  1.000e+04 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.311e-01  1.476e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.127e+00  1.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 123.156 28.357
Photon Flux Upper Limit: 6.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/314078/likelihoodResults_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.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) = 8628.20536189
delta logL = 0.305777113328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8628.19556924
delta logL = 0.315569766062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0345       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8089       1.0000          .0000       10.000    
     3 'Normalizat'    1.1051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94003       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+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=   8628.196     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      379 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0382        61.921        .16345E-03    .71781E-03
   2  Index         2.8088        2.4195        .60050E-02    .27621E-03
   3  Normalizat    1.1049        .19512        .26407E-03   -.91626E-03
   4  Prefactor     .94018        .14961        .22095E-03   -.99159E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.03819
  Index      = 2.80881
  Normalizat = 1.1049
  Prefactor  = 0.940179
 **********
 **   18 **HESSE 
 **********

 FCN=   8628.196     FROM HESSE     STATUS=OK            25 CALLS      404 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0382        14.484        .65379E-05   -1.5216    
   2  Index         2.8088        .94789        .24020E-03   -.45364    
   3  Normalizat    1.1049        .18920        .52814E-04   -.89595    
   4  Prefactor     .94018        .14598        .44189E-04   -.94751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56914e-09
Minuit parameter uncertainties:
  1  14.4922
  2  0.955061
  3  0.189321
  4  0.146041
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/314078': 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) = 8628.19556862
delta logL = 0.315570386292

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  6.038e+00  1.449e+01  1.000e-04  1.000e+04 ( 1.000e-14)
290        Index:  2.809e+00  9.551e-01  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.402e-01  1.460e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.105e+00  1.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 123.156 28.357
Photon Index (Free Index): 2.81 +/- 0.96
Photon Flux (Free Index): 3.28e-08 +/- 3.75e-08
Energy Flux (Free Index): 7.31e-06 +/- 7.83e-06

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/314078/cmap_HighResolution_242179201_242438401_4FGL_J0812.6+2821_daily_bin11.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.17e-03', comment='SUCCESS', energy_flux2='7.31e-06', dlogl='3.16e-01', photon_flux2='3.28e-08', job_status='DONE', time_completed='2021-08-29 12:51:03.051092', photon_index_error2='0.96', photon_index2='2.81', ts='0.57', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='6.83e-08', energy_flux_error2='7.83e-06', EG='1.13', time_epoch_completed='1630266663.05', return_code='0', job_id='314078', GAL2='0.94', EG2='1.10', return_code2='0', photon_flux_error2='3.75e-08', ts2='1.21', photon_index='2.11' WHERE bin_id='11' AND source_name='4FGL J0812.6+2821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:51:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0137>
Subject: Job 314078: <4FGL_J0812.6+2821_daily_bin11> in cluster <slac> Done

Job <4FGL_J0812.6+2821_daily_bin11> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 29 12:35:52 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:35:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 12:35:54 2021
Terminated at Sun Aug 29 12:51:04 2021
Results reported at Sun Aug 29 12:51:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0812.6+2821_daily_bin11 123.156 28.3574 242179201 242438401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0812.6+2821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   786.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            912 sec.

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

