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


Performing analysis on: 4FGL_J1012.7+2439_daily_bin455
RA = 153.199, Dec = 24.6638
tmin = 357264001, tmax = 357523201
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='716602', job_status='RUN', time_executed='2021-09-01 13:07:10.691225', time_epoch_executed='1630526830.69' WHERE source_name='4FGL J1012.7+2439' and cadence='daily' and bin_id='455'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/716602

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/716602/ft1_4FGL_J1012.7+2439_daily_bin455.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/716602/ft2_4FGL_J1012.7+2439_daily_bin455.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/716602/ft1_4FGL_J1012.7+2439_daily_bin455.fits outfile=/scratch/kocevski/716602/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin455.fits ra=153.199 dec=24.6638 rad=12.0 tmin=357264001.0 tmax=357523201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.67
user 3.44
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/716602/ft2_4FGL_J1012.7+2439_daily_bin455.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/716602/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin455.fits evtable="EVENTS" outfile="/scratch/kocevski/716602/ft1_filtered_4FGL_J1012.7+2439_daily_bin455.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.51
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/716602/ft1_filtered_4FGL_J1012.7+2439_daily_bin455.fits" evtable="EVENTS" scfile=/scratch/kocevski/716602/ft2_4FGL_J1012.7+2439_daily_bin455.fits sctable="SC_DATA" outfile=/scratch/kocevski/716602/ltcube_357264001_357523201_4FGL_J1012.7+2439_daily_bin455.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/716602/ft2_4FGL_J1012.7+2439_daily_bin455.fits
.....................!
real 14.22
user 13.81
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/716602/ft1_filtered_4FGL_J1012.7+2439_daily_bin455.fits evtable="EVENTS" scfile=/scratch/kocevski/716602/ft2_4FGL_J1012.7+2439_daily_bin455.fits sctable="SC_DATA" expcube=/scratch/kocevski/716602/ltcube_357264001_357523201_4FGL_J1012.7+2439_daily_bin455.fits outfile=/scratch/kocevski/716602/expmap_357264001_357523201_4FGL_J1012.7+2439_daily_bin455.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/716602/ltcube_357264001_357523201_4FGL_J1012.7+2439_daily_bin455.fits
.....................!
real 191.43
user 185.90
sys 5.03

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/716602/ft1_filtered_4FGL_J1012.7+2439_daily_bin455.fits scfile=/scratch/kocevski/716602/ft2_4FGL_J1012.7+2439_daily_bin455.fits outfile=/scratch/kocevski/716602/cmap_357264001_357523201_4FGL_J1012.7+2439_daily_bin455.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/716602/ft1_filtered_4FGL_J1012.7+2439_daily_bin455.fits scfile=/scratch/kocevski/716602/ft2_4FGL_J1012.7+2439_daily_bin455.fits outfile=/scratch/kocevski/716602/cmap_HighResolution_357264001_357523201_4FGL_J1012.7+2439_daily_bin455.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/716602/ft1_filtered_4FGL_J1012.7+2439_daily_bin455.fits evtable="EVENTS" scfile=/scratch/kocevski/716602/ft2_4FGL_J1012.7+2439_daily_bin455.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/716602/Model_4FGL_J1012.7+2439_daily_bin455.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/716602/ft1_filtered_4FGL_J1012.7+2439_daily_bin455.fits.....................!
real 51.20
user 49.86
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.797       1.0000         .10000E-03   10000.    
     5 'Prefactor '    55.790       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3042       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.853       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.034       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5408       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0362       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.917       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96422       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0549       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=   5395.031     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2307 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.072       -.77471E-06** at limit **
   2  Prefactor     .10000E-03    2.3047        .36739E-07** at limit **
   3  Prefactor     .10000E-03    12.437       -.47208E-06** at limit **
   4  Prefactor     32.796        39.456        .13511E-08   -.37326E-05
   5  Prefactor     55.786        50.705       -.64689E-06   -.53089E-04
   6  Prefactor     .10000E-03    3.7369        .61410E-06** at limit **
   7  Prefactor     .10000E-03    3.4721       -.22206E-06** at limit **
   8  Prefactor     .10000E-03    1.0998        .14637E-07** at limit **
   9  norm          .10000E-03    4.2594       -.50828E-06** at limit **
  10  Prefactor     6.3022        4.0719        .17106E-07   -.16592E-04
  11  Prefactor     10.852        32.004       -.38180E-06   -.21038E-04
  12  Prefactor     .10000E-03    2.0926       -.15212E-07** at limit **
  13  Prefactor     41.022        68.567       -.20959E-05   -.72095E-04
  14  Prefactor     .10000E-03    5.8333        .36438E-06** at limit **
  15  Prefactor     .10000E-03    1.6426        .15329E-08** at limit **
  16  Prefactor     5.5311        10.508       -.12877E-05   -.17452E-03
  17  Prefactor     .10000E-03    15.829        .12597E-05** at limit **
  18  Prefactor     1.0458        13.223        .47679E-05   -.15111E-03
  19  Prefactor     .10000E-03    9.0819       -.17490E-06** at limit **
  20  Prefactor     18.918        16.167       -.18029E-07    .76646E-05
  21  Normalizat    .96424        .18122        .57158E-06   -.83269E-04
  22  Prefactor     1.0550        .18132       -.39051E-06   -.17674E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.7964
  Prefactor  = 55.7859
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.30219
  Prefactor  = 10.8516
  Prefactor  = 0.0001
  Prefactor  = 41.0223
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.53105
  Prefactor  = 0.000100001
  Prefactor  = 1.04576
  Prefactor  = 0.0001
  Prefactor  = 18.918
  Normalizat = 0.96424
  Prefactor  = 1.05497
 **********
 **   18 **HESSE 
 **********

 FCN=   5395.031     FROM HESSE     STATUS=OK           334 CALLS     2641 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.3507        .10886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     32.796        39.460        .69970E-04   -1.4562    
   5  Prefactor     55.786        50.987        .53705E-04   -1.4213    
   6  Prefactor     .10000E-03    3.8254        .13965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4942        .13390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.1248        .75170E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.3522        .14903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3022        4.0735        .11385E-03   -1.5206    
  11  Prefactor     10.852        32.050        .12161E-03   -1.5049    
  12  Prefactor     .10000E-03    2.1115        .10360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     41.022        69.751        .62577E-04   -1.4426    
  14  Prefactor     .10000E-03    5.9330        .17338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.6986        .18345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.5311        10.505        .17068E-03   -1.5238    
  17  Prefactor     .10000E-03    16.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.0458        13.852        .49378E-03   -1.5503    
  19  Prefactor     .10000E-03    9.1394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.918        16.165        .92087E-04   -1.4838    
  21  Normalizat    .96424        .20984        .24007E-03   -.94238    
  22  Prefactor     1.0550        .21014        .23837E-03   -.90919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61282e-10
Minuit parameter uncertainties:
  1  0.000156725
  2  1.32669e-06
  3  7.92708e-05
  4  39.4919
  5  51.0267
  6  4.29238e-05
  7  1.86722e-05
  8  8.32237e-07
  9  4.56392e-05
  10  4.07365
  11  32.101
  12  4.47838e-07
  13  69.8898
  14  2.92133e-05
  15  2.79803e-06
  16  10.5081
  17  0.000214093
  18  7.61395
  19  2.76497e-05
  20  16.1684
  21  0.210023
  22  0.2103
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.000e-04  4.564e-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.055e+00  2.103e-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.642e-01  2.100e-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: 5.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/716602/likelihoodResults_357264001_357523201_4FGL_J1012.7+2439_daily_bin455.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) = 5395.03195715
delta logL = -0.00109414037979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5394.82666665
delta logL = 0.204196368879

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53900       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.5519       1.0000          .0000       5.0000    
     3 'Normalizat'    .91371       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0847       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=   5394.827     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      306 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53934        25.814        .11429E-01    .14142E-02
   2  alpha         4.5515        4.3343        .50000        .20819E-04
   3  Normalizat    .91383        .48340E-01    .45077E-01    .26924E-05
   4  Prefactor     1.0846        .49069E-01    .38201E-01   -.17399E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.539337
  alpha      = 4.55148
  Normalizat = 0.913827
  Prefactor  = 1.0846
 **********
 **   18 **HESSE 
 **********

 FCN=   5394.827     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      339 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53934        59.947        .78401E-04   -1.5561    
   2  alpha         4.5515        4.5229        .61410E-01    .96244    
   3  Normalizat    .91383        .17284        .24592E-03   -.95976    
   4  Prefactor     1.0846        .17631        .23549E-03   -.89960    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.46364e-10
Minuit parameter uncertainties:
  1  11.3829
  2  13.5216
  3  0.172942
  4  0.176408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/716602': 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): 102
logL (Free Index) = 5394.82666635
delta logL = 0.204196660357

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  5.393e-01  1.138e+01  1.000e-04  1.000e+04 ( 1.000e-12)
208        alpha:  4.551e+00  1.352e+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.085e+00  1.764e-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.138e-01  1.729e-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/716602/cmap_HighResolution_357264001_357523201_4FGL_J1012.7+2439_daily_bin455.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-05', job_status='DONE', photon_flux_upper_limit='5.62e-08', time_completed='2021-09-01 13:16:46.684056', job_id='716602', GAL2='1.08', fit_tolerance='1e-08', EG2='0.91', EG='0.96', time_epoch_completed='1630527406.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.04e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='455' AND source_name='4FGL J1012.7+2439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:16:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 716602: <4FGL_J1012.7+2439_daily_bin455> in cluster <slac> Done

Job <4FGL_J1012.7+2439_daily_bin455> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 13:00:51 2021
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 13:06:54 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:06:54 2021
Terminated at Wed Sep  1 13:16:47 2021
Results reported at Wed Sep  1 13:16:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_daily_bin455 153.199 24.6638 357264001 357523201 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 :                                   575.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             382.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            956 sec.

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

