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


Performing analysis on: 4FGL_J1012.7+2439_daily_bin682
RA = 153.199, Dec = 24.6638
tmin = 416102401, tmax = 416361601
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='717944', job_status='RUN', time_executed='2021-09-01 13:10:03.998512', time_epoch_executed='1630527004.0' WHERE source_name='4FGL J1012.7+2439' and cadence='daily' and bin_id='682'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/717944

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/717944/ft1_4FGL_J1012.7+2439_daily_bin682.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/717944/ft2_4FGL_J1012.7+2439_daily_bin682.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/717944/ft1_4FGL_J1012.7+2439_daily_bin682.fits outfile=/scratch/kocevski/717944/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin682.fits ra=153.199 dec=24.6638 rad=12.0 tmin=416102401.0 tmax=416361601.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 6.53
user 6.24
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/717944/ft2_4FGL_J1012.7+2439_daily_bin682.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/717944/ft2_4FGL_J1012.7+2439_daily_bin682.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/717944/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin682.fits evtable="EVENTS" outfile="/scratch/kocevski/717944/ft1_filtered_4FGL_J1012.7+2439_daily_bin682.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.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/717944/ft1_filtered_4FGL_J1012.7+2439_daily_bin682.fits" evtable="EVENTS" scfile=/scratch/kocevski/717944/ft2_4FGL_J1012.7+2439_daily_bin682.fits sctable="SC_DATA" outfile=/scratch/kocevski/717944/ltcube_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.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/717944/ft2_4FGL_J1012.7+2439_daily_bin682.fits
.....................!
real 15.65
user 15.28
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/717944/ft1_filtered_4FGL_J1012.7+2439_daily_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/717944/ft2_4FGL_J1012.7+2439_daily_bin682.fits sctable="SC_DATA" expcube=/scratch/kocevski/717944/ltcube_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.fits outfile=/scratch/kocevski/717944/expmap_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.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/717944/ltcube_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.fits
.....................!
real 194.29
user 188.80
sys 5.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 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J1012.7+2439 @ 153.199 24.6638

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/717944/ft1_filtered_4FGL_J1012.7+2439_daily_bin682.fits scfile=/scratch/kocevski/717944/ft2_4FGL_J1012.7+2439_daily_bin682.fits outfile=/scratch/kocevski/717944/cmap_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.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=153.199 yref=24.6638 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/717944/ft1_filtered_4FGL_J1012.7+2439_daily_bin682.fits scfile=/scratch/kocevski/717944/ft2_4FGL_J1012.7+2439_daily_bin682.fits outfile=/scratch/kocevski/717944/cmap_HighResolution_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.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=153.199 yref=24.6638 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/717944/ft1_filtered_4FGL_J1012.7+2439_daily_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/717944/ft2_4FGL_J1012.7+2439_daily_bin682.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/717944/Model_4FGL_J1012.7+2439_daily_bin682.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/717944/ft1_filtered_4FGL_J1012.7+2439_daily_bin682.fits.....................!
real 41.30
user 39.99
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/717944/ft1_filtered_4FGL_J1012.7+2439_daily_bin682.fits', '/scratch/kocevski/717944/ft2_4FGL_J1012.7+2439_daily_bin682.fits', expMap='/scratch/kocevski/717944/expmap_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.fits', expCube='/scratch/kocevski/717944/ltcube_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/717944/Model_4FGL_J1012.7+2439_daily_bin682.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1012.7+2439'

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  8.685e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
208        alpha:  2.169e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
209         beta:  1.367e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  6.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/717944/ft1_filtered_4FGL_J1012.7+2439_daily_bin682.fits
Spacecraft file(s): /scratch/kocevski/717944/ft2_4FGL_J1012.7+2439_daily_bin682.fits
Exposure map: /scratch/kocevski/717944/expmap_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.fits
Exposure cube: /scratch/kocevski/717944/ltcube_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/717944/Model_4FGL_J1012.7+2439_daily_bin682.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) = 3860.93776673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.416       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .37071E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.063       1.0000         .10000E-03   10000.    
     5 'Prefactor '    49.948       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2305       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.5354       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6069       1.0000         .10000E-03   10000.    
    11 'Prefactor '    62.874       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.0922       1.0000         .10000E-03   10000.    
    13 'Prefactor '    117.22       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1169       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.5139       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5164       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2764       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .45883       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3860.937     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2348 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.413        36.520       -.65307E-05   -.14458E-04
   2  Prefactor     .10004E-03    2.5790        .73063E-06** at limit **
   3  Prefactor     .10000E-03    12.557        .74777E-05** at limit **
   4  Prefactor     26.063        32.480        .76238E-07   -.68064E-05
   5  Prefactor     49.953        47.880        .66561E-05   -.65868E-05
   6  Prefactor     7.2308        8.1676        .63637E-07   -.36209E-03
   7  Prefactor     .10000E-03    3.7802        .42622E-07** at limit **
   8  Prefactor     .10000E-03    1.1890       -.43112E-07** at limit **
   9  norm          3.5359        5.9898        .32871E-08   -.29826E-03
  10  Prefactor     2.6136        5.9196        .10143E-05   -.81015E-03
  11  Prefactor     62.879        51.474        .56535E-05   -.12221E-06
  12  Prefactor     7.0840        8.7468       -.69744E-06   -.59605E-04
  13  Prefactor     117.22        74.420        .11462E-09   -.57803E-05
  14  Prefactor     2.1171        5.2160       -.87303E-06   -.85806E-03
  15  Prefactor     4.5142        2.8360        .76927E-07    .77272E-05
  16  Prefactor     .10000E-03    5.8952        .31584E-06** at limit **
  17  Prefactor     .10000E-03    11.847       -.72524E-05** at limit **
  18  Prefactor     4.5154        12.765        .13641E-05    .22974E-04
  19  Prefactor     .10000E-03    4.7844       -.11057E-06** at limit **
  20  Prefactor     .10000E-03    22.370       -.39554E-05** at limit **
  21  Normalizat    1.2763        .20310       -.15331E-05   -.10046E-03
  22  Prefactor     .45876        .19031        .23589E-06   -.99790E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.4126
  Prefactor  = 0.000100043
  Prefactor  = 0.0001
  Prefactor  = 26.0634
  Prefactor  = 49.9531
  Prefactor  = 7.23083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.53585
  Prefactor  = 2.61364
  Prefactor  = 62.8789
  Prefactor  = 7.08396
  Prefactor  = 117.221
  Prefactor  = 2.11711
  Prefactor  = 4.51422
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.51544
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.27634
  Prefactor  = 0.458761
 **********
 **   18 **HESSE 
 **********

 FCN=   3860.937     FROM HESSE     STATUS=OK           342 CALLS     2690 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.413        36.530        .93330E-04   -1.4850    
   2  Prefactor     .10004E-03    25.135        .19022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.063        32.476        .78468E-04   -1.4686    
   5  Prefactor     49.953        48.036        .56743E-04   -1.4293    
   6  Prefactor     7.2308        8.3420        .74585E-03   -1.5170    
   7  Prefactor     .10000E-03    3.7876        .11798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.2073        .66108E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5359        6.0415        .96575E-03   -1.5332    
  10  Prefactor     2.6136        7.8687        .10074E-02   -1.5385    
  11  Prefactor     62.879        51.499        .50607E-04   -1.4120    
  12  Prefactor     7.0840        9.5903        .15063E-03   -1.5176    
  13  Prefactor     117.22        74.501        .37164E-04   -1.3538    
  14  Prefactor     2.1171        7.1734        .14175E-02   -1.5417    
  15  Prefactor     4.5142        2.8448        .78509E-04   -1.5283    
  16  Prefactor     .10000E-03    5.9255        .14721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.5154        12.740        .18944E-03   -1.5283    
  19  Prefactor     .10000E-03    4.7948        .13274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2763        .22880        .19572E-03   -.84275    
  22  Prefactor     .45876        .20975        .30849E-03   -1.1391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.11105e-09
Minuit parameter uncertainties:
  1  36.5744
  2  0.00209191
  3  1.03874e-05
  4  32.4979
  5  48.0733
  6  8.34335
  7  1.85203e-06
  8  2.67814e-06
  9  6.04259
  10  7.87183
  11  51.5351
  12  9.59241
  13  74.5606
  14  7.17635
  15  2.84493
  16  8.72836e-07
  17  3.04153e-06
  18  12.7472
  19  2.36361e-06
  20  1.13748e-06
  21  0.228984
  22  0.210107
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  3.536e+00  6.043e+00  1.000e-04  1.000e+04 ( 1.000e-12)
208        alpha:  2.169e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
209         beta:  1.367e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  6.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  4.588e-01  2.101e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.276e+00  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.55
Ra Dec: 153.199 24.664
Photon Flux Upper Limit: 8.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/717944/likelihoodResults_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.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) = 3860.91575553
delta logL = 0.0209002509969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3860.91483622
delta logL = 0.0218195526008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7910       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9296       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2790       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .45654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3860.915     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7914        5.7472        .15741E-05   -.90596E-03
   2  alpha         1.9285        .90902       -.18769E-04   -.89137E-04
   3  Normalizat    1.2788        .19048        .21395E-06    .55165E-04
   4  Prefactor     .45666        .18907       -.49130E-06    .31975E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.79137
  alpha      = 1.9285
  Normalizat = 1.27884
  Prefactor  = 0.456659
 **********
 **   18 **HESSE 
 **********

 FCN=   3860.915     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7914        6.3021        .19476E-03   -1.5319    
   2  alpha         1.9285        1.0733        .24293E-01   -.23064    
   3  Normalizat    1.2788        .20989        .19555E-03   -.84200    
   4  Prefactor     .45666        .20799        .30915E-03   -1.1401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41521e-09
Minuit parameter uncertainties:
  1  6.30323
  2  1.1115
  3  0.210034
  4  0.208339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/717944': 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) = 3860.91483557
delta logL = 0.0218202037931

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  3.791e+00  6.303e+00  1.000e-04  1.000e+04 ( 1.000e-12)
208        alpha:  1.929e+00  1.112e+00  0.000e+00  5.000e+00 ( 1.000e+00)
209         beta:  1.367e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  6.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  4.567e-01  2.083e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.279e+00  2.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
Ra Dec: 153.199 24.664

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/717944/cmap_HighResolution_416102401_416361601_4FGL_J1012.7+2439_daily_bin682.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-05', job_status='DONE', photon_flux_upper_limit='8.14e-08', time_completed='2021-09-01 13:18:54.070895', job_id='717944', GAL2='0.46', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1630527534.07', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='0.46', dlogl='2.18e-02', ts2='0.60', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='682' AND source_name='4FGL J1012.7+2439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:18:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 717944: <4FGL_J1012.7+2439_daily_bin682> in cluster <slac> Done

Job <4FGL_J1012.7+2439_daily_bin682> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 13:05:31 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 13:09:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 13:09:51 2021
Terminated at Wed Sep  1 13:18:54 2021
Results reported at Wed Sep  1 13:18:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_daily_bin682 153.199 24.6638 416102401 416361601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1012.7+2439 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   528.00 sec.
    Max Memory :                                 1146 MB
    Average Memory :                             334.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   544 sec.
    Turnaround time :                            803 sec.

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

