/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 43 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 = 7653
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1012.7+2439_daily_bin35
RA = 153.199, Dec = 24.6638
tmin = 248400001, tmax = 248659201
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='714853', job_status='RUN', time_executed='2021-09-01 12:58:37.151727', time_epoch_executed='1630526317.15' WHERE source_name='4FGL J1012.7+2439' and cadence='daily' and bin_id='35'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714853

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714853/ft1_4FGL_J1012.7+2439_daily_bin35.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714853/ft2_4FGL_J1012.7+2439_daily_bin35.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714853/ft1_4FGL_J1012.7+2439_daily_bin35.fits outfile=/scratch/kocevski/714853/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin35.fits ra=153.199 dec=24.6638 rad=12.0 tmin=248400001.0 tmax=248659201.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.68
user 1.26
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714853/ft1_filtered_4FGL_J1012.7+2439_daily_bin35.fits" evtable="EVENTS" scfile=/scratch/kocevski/714853/ft2_4FGL_J1012.7+2439_daily_bin35.fits sctable="SC_DATA" outfile=/scratch/kocevski/714853/ltcube_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.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/714853/ft2_4FGL_J1012.7+2439_daily_bin35.fits
.....................!
real 20.36
user 19.35
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714853/ft1_filtered_4FGL_J1012.7+2439_daily_bin35.fits evtable="EVENTS" scfile=/scratch/kocevski/714853/ft2_4FGL_J1012.7+2439_daily_bin35.fits sctable="SC_DATA" expcube=/scratch/kocevski/714853/ltcube_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.fits outfile=/scratch/kocevski/714853/expmap_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.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/714853/ltcube_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.fits
.....................!
real 196.66
user 188.80
sys 5.72

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/714853/ft1_filtered_4FGL_J1012.7+2439_daily_bin35.fits scfile=/scratch/kocevski/714853/ft2_4FGL_J1012.7+2439_daily_bin35.fits outfile=/scratch/kocevski/714853/cmap_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.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.59
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714853/ft1_filtered_4FGL_J1012.7+2439_daily_bin35.fits scfile=/scratch/kocevski/714853/ft2_4FGL_J1012.7+2439_daily_bin35.fits outfile=/scratch/kocevski/714853/cmap_HighResolution_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714853/ft1_filtered_4FGL_J1012.7+2439_daily_bin35.fits evtable="EVENTS" scfile=/scratch/kocevski/714853/ft2_4FGL_J1012.7+2439_daily_bin35.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714853/Model_4FGL_J1012.7+2439_daily_bin35.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/714853/ft1_filtered_4FGL_J1012.7+2439_daily_bin35.fits.....................!
real 62.24
user 60.17
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/714853/ft1_filtered_4FGL_J1012.7+2439_daily_bin35.fits', '/scratch/kocevski/714853/ft2_4FGL_J1012.7+2439_daily_bin35.fits', expMap='/scratch/kocevski/714853/expmap_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.fits', expCube='/scratch/kocevski/714853/ltcube_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/714853/Model_4FGL_J1012.7+2439_daily_bin35.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/714853/ft1_filtered_4FGL_J1012.7+2439_daily_bin35.fits
Spacecraft file(s): /scratch/kocevski/714853/ft2_4FGL_J1012.7+2439_daily_bin35.fits
Exposure map: /scratch/kocevski/714853/expmap_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.fits
Exposure cube: /scratch/kocevski/714853/ltcube_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/714853/Model_4FGL_J1012.7+2439_daily_bin35.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) = 6901.09599479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.773       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.704       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.987       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.925       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3881       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.1901       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2975       1.0000         .10000E-03   10000.    
     9 'norm      '    1.2415       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3763       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8057       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.888       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7531       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7132       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2541       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70768       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=   6901.092     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2372 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.775        55.438        .11838E-05    .66609E-05
   2  Prefactor     .10000E-03    1.6542        .32116E-07** at limit **
   3  Prefactor     43.706        24.701        .13682E-05    .31152E-04
   4  Prefactor     13.994        44.546        .12065E-04    .36563E-04
   5  Prefactor     24.927        30.700        .29636E-05    .26543E-04
   6  Prefactor     3.3893        2.3480        .44927E-06   -.25663E-02
   7  Prefactor     9.1915        8.2080        .20050E-06   -.17069E-04
   8  Prefactor     2.2983        2.3948        .54338E-07   -.16059E-03
   9  norm          1.2416        4.0880        .23308E-06   -.19665E-03
  10  Prefactor     1.3768        3.1980        .66660E-07   -.19822E-03
  11  Prefactor     .10000E-03    17.991       -.17692E-06** at limit **
  12  Prefactor     3.8061        4.8191        .71893E-07   -.90137E-04
  13  Prefactor     32.894        31.529        .61851E-05    .89017E-04
  14  Prefactor     2.7546        5.7766        .13542E-06   -.13284E-03
  15  Prefactor     1.7133        1.5100        .84999E-07   -.89962E-05
  16  Prefactor     .10000E-03    2.3827        .11208E-06** at limit **
  17  Prefactor     .10000E-03    23.964        .14150E-08** at limit **
  18  Prefactor     .10000E-03    8.7586       -.18772E-08** at limit **
  19  Prefactor     .10000E-03    5.0584        .25112E-07** at limit **
  20  Prefactor     .10000E-03    3.7600        .18618E-07** at limit **
  21  Normalizat    1.2538        .16377       -.12651E-05    .27509E-04
  22  Prefactor     .70795        .15634       -.26336E-06   -.63331E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.7745
  Prefactor  = 0.0001
  Prefactor  = 43.7059
  Prefactor  = 13.9942
  Prefactor  = 24.9275
  Prefactor  = 3.38934
  Prefactor  = 9.19152
  Prefactor  = 2.29826
  norm       = 1.24158
  Prefactor  = 1.37676
  Prefactor  = 0.0001
  Prefactor  = 3.80612
  Prefactor  = 32.8944
  Prefactor  = 2.7546
  Prefactor  = 1.7133
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.25376
  Prefactor  = 0.70795
 **********
 **   18 **HESSE 
 **********

 FCN=   6901.092     FROM HESSE     STATUS=OK           348 CALLS     2720 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.775        55.419        .48755E-04   -1.4060    
   2  Prefactor     .10000E-03    3.2629        .20740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     43.706        24.741        .60643E-04   -1.4385    
   4  Prefactor     13.994        44.731        .10710E-03   -1.4960    
   5  Prefactor     24.927        30.713        .80237E-04   -1.4709    
   6  Prefactor     3.3893        4.9799        .10699E-02   -1.5340    
   7  Prefactor     9.1915        8.2064        .13220E-03   -1.5102    
   8  Prefactor     2.2983        2.3833        .12393E-03   -1.5405    
   9  norm          1.2416        4.0496        .29456E-03   -1.5485    
  10  Prefactor     1.3768        3.1101        .19751E-03   -1.5473    
  11  Prefactor     .10000E-03    18.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.8061        4.7161        .17915E-03   -1.5318    
  13  Prefactor     32.894        31.581        .69873E-04   -1.4560    
  14  Prefactor     2.7546        5.7806        .24534E-03   -1.5376    
  15  Prefactor     1.7133        1.5058        .91295E-04   -1.5446    
  16  Prefactor     .10000E-03    2.3939        .12521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.0307        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.0790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.7636        .15732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2538        .18930        .21223E-03   -.84957    
  22  Prefactor     .70795        .17989        .27737E-03   -1.0322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96246e-09
Minuit parameter uncertainties:
  1  55.4612
  2  5.77125e-06
  3  24.7464
  4  44.8388
  5  30.7326
  6  4.98055
  7  8.20744
  8  2.38341
  9  4.05049
  10  3.11051
  11  9.45811e-06
  12  4.71655
  13  31.5966
  14  5.78178
  15  1.5058
  16  3.89318e-06
  17  9.76195e-06
  18  1.80397e-05
  19  4.7514e-06
  20  2.13934e-06
  21  0.189404
  22  0.180039
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.242e+00  4.050e+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:  7.079e-01  1.800e-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.254e+00  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/714853/likelihoodResults_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.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) = 6900.99511716
delta logL = 0.0971472492811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6900.98936754
delta logL = 0.102896865795

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5928       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9058       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2462       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71062       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.

 FCN=   6900.989     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      212 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5950        183.59        .84037E-02    .83141E-03
   2  alpha         2.9058        3.4398        .41858        .32530E-04
   3  Normalizat    1.2463        .51511E-01    .33845E-01    .40164E-05
   4  Prefactor     .71052        .52039E-01    .62584E-01    .22530E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.59495
  alpha      = 2.90582
  Normalizat = 1.24629
  Prefactor  = 0.710519
 **********
 **   18 **HESSE 
 **********

 FCN=   6900.989     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5950        3.7579        .20164E-03   -1.5455    
   2  alpha         2.9058        1.5103        .39245E-01    .16305    
   3  Normalizat    1.2463        .17731        .21274E-03   -.85184    
   4  Prefactor     .71052        .17862        .27685E-03   -1.0312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.39644e-09
Minuit parameter uncertainties:
  1  3.75841
  2  1.62535
  3  0.177392
  4  0.178761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714853': 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) = 6900.98936714
delta logL = 0.102897269018

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.595e+00  3.758e+00  1.000e-04  1.000e+04 ( 1.000e-12)
208        alpha:  2.906e+00  1.625e+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:  7.105e-01  1.788e-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.246e+00  1.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/714853/cmap_HighResolution_248400001_248659201_4FGL_J1012.7+2439_daily_bin35.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-05', job_status='DONE', photon_flux_upper_limit='4.89e-08', time_completed='2021-09-01 13:09:37.890008', job_id='714853', GAL2='0.71', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1630526977.89', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='1.03e-01', ts2='0.32', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='35' AND source_name='4FGL J1012.7+2439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:09:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 714853: <4FGL_J1012.7+2439_daily_bin35> in cluster <slac> Done

Job <4FGL_J1012.7+2439_daily_bin35> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep  1 12:55:54 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:55:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 12:55:59 2021
Terminated at Wed Sep  1 13:09:38 2021
Results reported at Wed Sep  1 13:09:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_daily_bin35 153.199 24.6638 248400001 248659201 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 :                                   655.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            824 sec.

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

