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


Performing analysis on: 4FGL_J1012.7+2439_daily_bin25
RA = 153.199, Dec = 24.6638
tmin = 245808001, tmax = 246067201
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='714837', job_status='RUN', time_executed='2021-09-01 12:58:49.776377', time_epoch_executed='1630526329.78' WHERE source_name='4FGL J1012.7+2439' and cadence='daily' and bin_id='25'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714837

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714837/ft1_4FGL_J1012.7+2439_daily_bin25.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714837/ft2_4FGL_J1012.7+2439_daily_bin25.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714837/ft1_4FGL_J1012.7+2439_daily_bin25.fits outfile=/scratch/kocevski/714837/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin25.fits ra=153.199 dec=24.6638 rad=12.0 tmin=245808001.0 tmax=246067201.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.51
user 1.30
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714837/ft2_4FGL_J1012.7+2439_daily_bin25.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/714837/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin25.fits evtable="EVENTS" outfile="/scratch/kocevski/714837/ft1_filtered_4FGL_J1012.7+2439_daily_bin25.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.57
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714837/ft1_filtered_4FGL_J1012.7+2439_daily_bin25.fits" evtable="EVENTS" scfile=/scratch/kocevski/714837/ft2_4FGL_J1012.7+2439_daily_bin25.fits sctable="SC_DATA" outfile=/scratch/kocevski/714837/ltcube_245808001_246067201_4FGL_J1012.7+2439_daily_bin25.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/714837/ft2_4FGL_J1012.7+2439_daily_bin25.fits
.....................!
real 19.08
user 18.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714837/ft1_filtered_4FGL_J1012.7+2439_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/714837/ft2_4FGL_J1012.7+2439_daily_bin25.fits sctable="SC_DATA" expcube=/scratch/kocevski/714837/ltcube_245808001_246067201_4FGL_J1012.7+2439_daily_bin25.fits outfile=/scratch/kocevski/714837/expmap_245808001_246067201_4FGL_J1012.7+2439_daily_bin25.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/714837/ltcube_245808001_246067201_4FGL_J1012.7+2439_daily_bin25.fits
.....................!
real 198.33
user 192.58
sys 5.07

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/714837/ft1_filtered_4FGL_J1012.7+2439_daily_bin25.fits scfile=/scratch/kocevski/714837/ft2_4FGL_J1012.7+2439_daily_bin25.fits outfile=/scratch/kocevski/714837/cmap_245808001_246067201_4FGL_J1012.7+2439_daily_bin25.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714837/ft1_filtered_4FGL_J1012.7+2439_daily_bin25.fits scfile=/scratch/kocevski/714837/ft2_4FGL_J1012.7+2439_daily_bin25.fits outfile=/scratch/kocevski/714837/cmap_HighResolution_245808001_246067201_4FGL_J1012.7+2439_daily_bin25.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/714837/ft1_filtered_4FGL_J1012.7+2439_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/714837/ft2_4FGL_J1012.7+2439_daily_bin25.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714837/Model_4FGL_J1012.7+2439_daily_bin25.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/714837/ft1_filtered_4FGL_J1012.7+2439_daily_bin25.fits.....................!
real 48.10
user 46.17
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.243       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .59654E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.534       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.7323       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .64482       1.0000         .10000E-03   10000.    
     9 'norm      '    .86638       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8207       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.6448       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.077       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63606       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1192       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=   4965.739     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2353 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.240        60.168       -.23988E-05   -.15558E-04
   2  Prefactor     .10000E-03    3.0215        .40007E-07** at limit **
   3  Prefactor     .10004E-03    12.080       -.93339E-06** at limit **
   4  Prefactor     .10000E-03    16.431       -.64474E-05** at limit **
   5  Prefactor     27.532        29.003       -.16271E-05   -.42897E-04
   6  Prefactor     9.7327        6.9259       -.21127E-07    .24865E-04
   7  Prefactor     .10000E-03    5.0190       -.28005E-07** at limit **
   8  Prefactor     .64347        1.6924        .89910E-07   -.18599E-03
   9  norm          .86617        12.401        .32076E-08   -.27353E-03
  10  Prefactor     .10000E-03    2.5328        .26858E-07** at limit **
  11  Prefactor     .10000E-03    19.667        .99638E-05** at limit **
  12  Prefactor     .10000E-03    1.1288        .99140E-09** at limit **
  13  Prefactor     .10000E-03    15.728       -.69526E-05** at limit **
  14  Prefactor     .10000E-03    6.4301        .13723E-05** at limit **
  15  Prefactor     1.8205        2.0713       -.10132E-06   -.20198E-03
  16  Prefactor     3.6416        5.4335        .16852E-05   -.16888E-02
  17  Prefactor     .10000E-03    12.698        .57730E-05** at limit **
  18  Prefactor     19.079        11.964       -.66343E-06   -.14312E-04
  19  Prefactor     .10000E-03    8.2971       -.76831E-06** at limit **
  20  Prefactor     .10000E-03    6.6252       -.15029E-05** at limit **
  21  Normalizat    .63602        .16146       -.98930E-07   -.31115E-05
  22  Prefactor     1.1192        .16907        .91458E-07   -.67840E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.2403
  Prefactor  = 0.0001
  Prefactor  = 0.000100035
  Prefactor  = 0.000100001
  Prefactor  = 27.5315
  Prefactor  = 9.7327
  Prefactor  = 0.0001
  Prefactor  = 0.643472
  norm       = 0.866173
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.82054
  Prefactor  = 3.64164
  Prefactor  = 0.000100001
  Prefactor  = 19.0792
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.636023
  Prefactor  = 1.11919
 **********
 **   18 **HESSE 
 **********

 FCN=   4965.739     FROM HESSE     STATUS=OK           344 CALLS     2697 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.240        60.242        .66570E-04   -1.4503    
   2  Prefactor     .10000E-03    3.0819        .11955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10004E-03    56.569        .47346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.532        29.037        .76348E-04   -1.4658    
   6  Prefactor     9.7327        6.8871        .12845E-03   -1.5084    
   7  Prefactor     .10000E-03    5.0483        .15416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .64347        1.5660        .14020E-02   -1.5548    
   9  norm          .86617        13.213        .47586E-03   -1.5522    
  10  Prefactor     .10000E-03    2.6392        .21885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.1317        .73110E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.5478        .17415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8205        2.0528        .10156E-03   -1.5438    
  16  Prefactor     3.6416        9.7696        .10580E-02   -1.5326    
  17  Prefactor     .10000E-03    12.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.079        13.223        .91700E-04   -1.4834    
  19  Prefactor     .10000E-03    8.3490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.6440        .17714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .63602        .18366        .24566E-03   -1.0648    
  22  Prefactor     1.1192        .19313        .20694E-03   -.88856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36124e-08
Minuit parameter uncertainties:
  1  60.3432
  2  2.42343e-06
  3  0.00281754
  4  0.000204685
  5  29.052
  6  6.88765
  7  1.80337e-06
  8  1.56611
  9  6.76735
  10  1.27169e-06
  11  0.000339672
  12  2.00768e-07
  13  0.000219716
  14  1.8873e-05
  15  2.05284
  16  9.77392
  17  0.000160378
  18  13.2251
  19  1.86312e-05
  20  2.94722e-05
  21  0.183836
  22  0.193247
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  8.662e-01  6.767e+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:  1.119e+00  1.932e-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:  6.360e-01  1.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/714837/likelihoodResults_245808001_246067201_4FGL_J1012.7+2439_daily_bin25.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) = 4964.37977224
delta logL = 1.35937872735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4964.15802264
delta logL = 1.58112832726

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56157       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9824       1.0000          .0000       5.0000    
     3 'Normalizat'    .53135       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1865       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4964.158     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      293 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55581        .41560        .32090E-04    .24374E-03
   2  alpha         4.9901        .91807        .50000       -.49930E-04
   3  Normalizat    .53117        .18333        .26674E-03   -.29907E-03
   4  Prefactor     1.1869        .19555        .20139E-03   -.21998E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.555813
  alpha      = 4.99012
  Normalizat = 0.531166
  Prefactor  = 1.18686
 **********
 **   18 **HESSE 
 **********

 FCN=   4964.158     FROM HESSE     STATUS=OK            29 CALLS      322 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55581        .41498        .12836E-05   -1.5559    
   2  alpha         4.9901        .91550        .50000        1.4819    
   3  Normalizat    .53117        .18348        .10670E-04   -1.1099    
   4  Prefactor     1.1869        .19570        .40277E-04   -.86737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22156e-09
Minuit parameter uncertainties:
  1  0.414985
  2  0.196747
  3  0.183687
  4  0.195824
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714837': 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) = 4964.15800997
delta logL = 1.58114100148

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  5.558e-01  4.150e-01  1.000e-04  1.000e+04 ( 1.000e-12)
208        alpha:  4.990e+00  1.967e-01  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:  1.187e+00  1.958e-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:  5.312e-01  1.837e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.49
Ra Dec: 153.199 24.664
Photon Index (Free Index): 4.99 +/- 0.20
Photon Flux (Free Index): 8.85e-08 +/- 8.21e-08
Energy Flux (Free Index): 1.21e-05 +/- 1.11e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/714837/cmap_HighResolution_245808001_246067201_4FGL_J1012.7+2439_daily_bin25.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.78e-05', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='1.58e+00', photon_flux2='8.85e-08', job_status='DONE', time_completed='2021-09-01 13:08:13.251569', photon_index_error2='0.20', photon_index2='4.99', ts='0.02', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='7.07e-08', energy_flux_error2='1.11e-05', EG='0.64', time_epoch_completed='1630526893.25', return_code='0', job_id='714837', GAL2='1.19', EG2='0.53', return_code2='0', photon_flux_error2='8.21e-08', ts2='3.49', photon_index='2.17' WHERE bin_id='25' AND source_name='4FGL J1012.7+2439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:08:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 714837: <4FGL_J1012.7+2439_daily_bin25> in cluster <slac> Done

Job <4FGL_J1012.7+2439_daily_bin25> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep  1 12:55:53 2021
Job was executed on host(s) <bullet0011>, 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:08:13 2021
Results reported at Wed Sep  1 13:08:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_daily_bin25 153.199 24.6638 245808001 246067201 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 :                                   563.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            740 sec.

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

