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


Performing analysis on: 4FGL_J1012.7+2439_daily_bin1214
RA = 153.199, Dec = 24.6638
tmin = 553996801, tmax = 554256001
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='721045', job_status='RUN', time_executed='2021-09-01 13:23:10.752447', time_epoch_executed='1630527790.75' WHERE source_name='4FGL J1012.7+2439' and cadence='daily' and bin_id='1214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/721045

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/721045/ft1_4FGL_J1012.7+2439_daily_bin1214.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/721045/ft2_4FGL_J1012.7+2439_daily_bin1214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/721045/ft1_4FGL_J1012.7+2439_daily_bin1214.fits outfile=/scratch/kocevski/721045/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin1214.fits ra=153.199 dec=24.6638 rad=12.0 tmin=553996801.0 tmax=554256001.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 2.66
user 2.43
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/721045/ft1_filtered_4FGL_J1012.7+2439_daily_bin1214.fits" evtable="EVENTS" scfile=/scratch/kocevski/721045/ft2_4FGL_J1012.7+2439_daily_bin1214.fits sctable="SC_DATA" outfile=/scratch/kocevski/721045/ltcube_553996801_554256001_4FGL_J1012.7+2439_daily_bin1214.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/721045/ft2_4FGL_J1012.7+2439_daily_bin1214.fits
.....................!
real 15.12
user 14.78
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/721045/ft1_filtered_4FGL_J1012.7+2439_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/721045/ft2_4FGL_J1012.7+2439_daily_bin1214.fits sctable="SC_DATA" expcube=/scratch/kocevski/721045/ltcube_553996801_554256001_4FGL_J1012.7+2439_daily_bin1214.fits outfile=/scratch/kocevski/721045/expmap_553996801_554256001_4FGL_J1012.7+2439_daily_bin1214.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/721045/ltcube_553996801_554256001_4FGL_J1012.7+2439_daily_bin1214.fits
.....................!
real 190.51
user 185.38
sys 4.64

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/721045/ft1_filtered_4FGL_J1012.7+2439_daily_bin1214.fits scfile=/scratch/kocevski/721045/ft2_4FGL_J1012.7+2439_daily_bin1214.fits outfile=/scratch/kocevski/721045/cmap_553996801_554256001_4FGL_J1012.7+2439_daily_bin1214.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 1.45
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/721045/ft1_filtered_4FGL_J1012.7+2439_daily_bin1214.fits scfile=/scratch/kocevski/721045/ft2_4FGL_J1012.7+2439_daily_bin1214.fits outfile=/scratch/kocevski/721045/cmap_HighResolution_553996801_554256001_4FGL_J1012.7+2439_daily_bin1214.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 1.27
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/721045/ft1_filtered_4FGL_J1012.7+2439_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/721045/ft2_4FGL_J1012.7+2439_daily_bin1214.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/721045/Model_4FGL_J1012.7+2439_daily_bin1214.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/721045/ft1_filtered_4FGL_J1012.7+2439_daily_bin1214.fits.....................!
real 53.04
user 42.42
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.687       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12600E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.7153       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0077       1.0000         .10000E-03   10000.    
     9 'norm      '    .10119E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.293       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.113       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.9098       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3980       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.6958       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.490       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0440       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .95606       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4340       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=   4275.844     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.102        471.68        .76045E-03    .32787E-04
   2  Prefactor     .10000E-03    10.631        .89207E-06** at limit **
   3  Prefactor     .10002E-03    180.04       -.36343E-04** at limit **
   4  Prefactor     .10000E-03    79.989        .21424E-04** at limit **
   5  Prefactor     .10000E-03    18.623       -.30167E-04** at limit **
   6  Prefactor     .10000E-03    13.293        .39878E-05** at limit **
   7  Prefactor     9.7018        19.613        .22646E-05   -.40966E-04
   8  Prefactor     1.0051        5.6241        .79542E-06   -.72987E-03
   9  norm          .10000E-03    6.1236        .33081E-06** at limit **
  10  Prefactor     16.293        10.217        .74881E-06   -.10502E-03
  11  Prefactor     .10000E-03    13.551        .13395E-06** at limit **
  12  Prefactor     11.111        10.956        .76720E-06   -.67514E-04
  13  Prefactor     .10000E-03    33.726       -.98246E-05** at limit **
  14  Prefactor     2.9171        12.241        .28611E-05   -.22847E-03
  15  Prefactor     3.3982        3.3517        .59468E-06   -.42332E-03
  16  Prefactor     4.6805        14.389        .18182E-05   -.22346E-03
  17  Prefactor     .10000E-03    19.937        .32111E-04** at limit **
  18  Prefactor     10.492        17.186        .21600E-05   -.13900E-03
  19  Prefactor     .10000E-03    11.050       -.26987E-05** at limit **
  20  Prefactor     4.0454        14.841        .58193E-05   -.10269E-03
  21  Normalizat    .95598        .25760       -.10465E-04   -.32200E-04
  22  Prefactor     1.4340        .23814       -.59123E-05   -.33244E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.1015
  Prefactor  = 0.000100002
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.70178
  Prefactor  = 1.00513
  norm       = 0.0001
  Prefactor  = 16.2932
  Prefactor  = 0.0001
  Prefactor  = 11.1111
  Prefactor  = 0.0001
  Prefactor  = 2.91705
  Prefactor  = 3.39817
  Prefactor  = 4.68054
  Prefactor  = 0.0001
  Prefactor  = 10.4918
  Prefactor  = 0.0001
  Prefactor  = 4.04537
  Normalizat = 0.955977
  Prefactor  = 1.43401
 **********
 **   18 **HESSE 
 **********

 FCN=   4275.844     FROM HESSE     STATUS=OK           342 CALLS     3008 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.102        465.84        .38068E-03   -1.4647    
   2  Prefactor     .10000E-03    10.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10002E-03    181.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    80.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.7018        19.600        .12857E-03   -1.5085    
   8  Prefactor     1.0051        5.6844        .28712E-03   -1.5507    
   9  norm          .10000E-03    6.1592        .15802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.293        10.232        .99224E-04   -1.4900    
  11  Prefactor     .10000E-03    13.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.111        10.965        .12018E-03   -1.5041    
  13  Prefactor     .10000E-03    33.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9171        11.789        .23818E-03   -1.5366    
  15  Prefactor     3.3982        3.3049        .10515E-03   -1.5339    
  16  Prefactor     4.6805        14.078        .18570E-03   -1.5275    
  17  Prefactor     .10000E-03    19.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.492        16.922        .12371E-03   -1.5060    
  19  Prefactor     .10000E-03    11.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.0454        14.710        .20051E-03   -1.5306    
  21  Normalizat    .95598        .31070        .29712E-03   -.94520    
  22  Prefactor     1.4340        .28859        .25130E-03   -.79405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14677e-09
Minuit parameter uncertainties:
  1  230.98
  2  0.000299874
  3  0.0036925
  4  0.000386757
  5  1.44533e-05
  6  2.29887e-06
  7  19.6128
  8  4.78107
  9  5.16672e-05
  10  10.233
  11  3.68355e-05
  12  10.9667
  13  0.000100158
  14  11.7323
  15  3.30507
  16  14.0883
  17  5.71167e-05
  18  16.9297
  19  0.000130836
  20  14.723
  21  0.311289
  22  0.288919
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.000e-04  5.167e-05  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.434e+00  2.889e-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:  9.560e-01  3.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/721045/likelihoodResults_553996801_554256001_4FGL_J1012.7+2439_daily_bin1214.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) = 4275.84428891
delta logL = -0.000770934725551

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4275.84351796
delta logL = 1.29784893943e-08

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4275.844     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      240 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    159.17        .15875E-01** at limit **
   2  alpha         2.5113        3.6807        .16634        .10826E-07
   3  Normalizat    .95598        .31129E-01    .29713E-03   -.77480E-04
   4  Prefactor     1.4340        .31573E-01    .25130E-03   -.83548E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.51134
  Normalizat = 0.955977
  Prefactor  = 1.43401
 **********
 **   18 **HESSE 
 **********

 FCN=   4275.844     FROM HESSE     STATUS=OK            25 CALLS      265 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.6885        .32390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5113        2.5599        .33268E-01    .45346E-02
   3  Normalizat    .95598        .27700        .11885E-04   -.94520    
   4  Prefactor     1.4340        .28113        .50260E-04   -.79405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30451e-11
Minuit parameter uncertainties:
  1  1.30494e-07
  2  306.445
  3  0.277413
  4  0.281435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/721045': 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) = 4275.84351736
delta logL = 6.16344550508e-07

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.000e-04  1.305e-07  1.000e-04  1.000e+04 ( 1.000e-12)
208        alpha:  2.511e+00  3.064e+02  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.434e+00  2.814e-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:  9.560e-01  2.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/721045/cmap_HighResolution_553996801_554256001_4FGL_J1012.7+2439_daily_bin1214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-05', job_status='DONE', photon_flux_upper_limit='8.17e-08', time_completed='2021-09-01 13:32:11.470079', job_id='721045', GAL2='1.43', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1630528331.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.43', dlogl='6.16e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1214' AND source_name='4FGL J1012.7+2439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:32:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 721045: <4FGL_J1012.7+2439_daily_bin1214> in cluster <slac> Done

Job <4FGL_J1012.7+2439_daily_bin1214> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 13:15:40 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 13:21:06 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:21:06 2021
Terminated at Wed Sep  1 13:32:11 2021
Results reported at Wed Sep  1 13:32:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_daily_bin1214 153.199 24.6638 553996801 554256001 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 :                                   527.59 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   665 sec.
    Turnaround time :                            991 sec.

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

