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


Performing analysis on: 4FGL_J1012.7+2439_daily_bin7
RA = 153.199, Dec = 24.6638
tmin = 241142401, tmax = 241401601
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='714807', job_status='RUN', time_executed='2021-09-01 13:00:15.387722', time_epoch_executed='1630526415.39' WHERE source_name='4FGL J1012.7+2439' and cadence='daily' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714807

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714807/ft1_4FGL_J1012.7+2439_daily_bin7.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714807/ft2_4FGL_J1012.7+2439_daily_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714807/ft1_4FGL_J1012.7+2439_daily_bin7.fits outfile=/scratch/kocevski/714807/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin7.fits ra=153.199 dec=24.6638 rad=12.0 tmin=241142401.0 tmax=241401601.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.34
user 1.11
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714807/ft2_4FGL_J1012.7+2439_daily_bin7.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/714807/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin7.fits evtable="EVENTS" outfile="/scratch/kocevski/714807/ft1_filtered_4FGL_J1012.7+2439_daily_bin7.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.54
user 0.30
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714807/ft1_filtered_4FGL_J1012.7+2439_daily_bin7.fits" evtable="EVENTS" scfile=/scratch/kocevski/714807/ft2_4FGL_J1012.7+2439_daily_bin7.fits sctable="SC_DATA" outfile=/scratch/kocevski/714807/ltcube_241142401_241401601_4FGL_J1012.7+2439_daily_bin7.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/714807/ft2_4FGL_J1012.7+2439_daily_bin7.fits
.....................!
real 16.51
user 16.07
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714807/ft1_filtered_4FGL_J1012.7+2439_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/714807/ft2_4FGL_J1012.7+2439_daily_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/714807/ltcube_241142401_241401601_4FGL_J1012.7+2439_daily_bin7.fits outfile=/scratch/kocevski/714807/expmap_241142401_241401601_4FGL_J1012.7+2439_daily_bin7.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/714807/ltcube_241142401_241401601_4FGL_J1012.7+2439_daily_bin7.fits
.....................!
real 156.18
user 151.18
sys 4.59

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/714807/ft1_filtered_4FGL_J1012.7+2439_daily_bin7.fits scfile=/scratch/kocevski/714807/ft2_4FGL_J1012.7+2439_daily_bin7.fits outfile=/scratch/kocevski/714807/cmap_241142401_241401601_4FGL_J1012.7+2439_daily_bin7.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.49
user 0.36
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714807/ft1_filtered_4FGL_J1012.7+2439_daily_bin7.fits scfile=/scratch/kocevski/714807/ft2_4FGL_J1012.7+2439_daily_bin7.fits outfile=/scratch/kocevski/714807/cmap_HighResolution_241142401_241401601_4FGL_J1012.7+2439_daily_bin7.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.50
user 0.35
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714807/ft1_filtered_4FGL_J1012.7+2439_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/714807/ft2_4FGL_J1012.7+2439_daily_bin7.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714807/Model_4FGL_J1012.7+2439_daily_bin7.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/714807/ft1_filtered_4FGL_J1012.7+2439_daily_bin7.fits.....................!
real 46.60
user 45.50
sys 1.01

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    55.241       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0391       1.0000         .10000E-03   10000.    
     4 'Prefactor '    91.918       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11766E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11511E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    33.350       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    49.934       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0554       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.1473       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13078E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.8211       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77507       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3869       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=   6129.822     FROM MIGRAD    STATUS=CONVERGED    857 CALLS     3104 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     55.255        59.177        .53970E-04   -.59361E-04
   2  Prefactor     .10000E-03    .89777        .72397E-03** at limit **
   3  Prefactor     5.0409        16.268        .17913E-03   -.54073E-04
   4  Prefactor     91.923        61.960        .41915E-04   -.14923E-03
   5  Prefactor     .10001E-03    35.307        .11911    ** at limit **
   6  Prefactor     .10000E-03    8.5113        .28952E-02** at limit **
   7  Prefactor     .10000E-03    3.3349        .13916E-02** at limit **
   8  Prefactor     .10000E-03    .85478        .70115E-03** at limit **
   9  norm          33.350        10.566        .69389E-04   -.30314E-03
  10  Prefactor     .10000E-03    1.2743        .85888E-03** at limit **
  11  Prefactor     49.943        47.740        .56751E-04   -.10068E-03
  12  Prefactor     .10000E-03    2.0383        .10830E-02** at limit **
  13  Prefactor     .10000E-03    34.283        .18142E-02** at limit **
  14  Prefactor     3.0593        8.2361        .23209E-03   -.11467E-03
  15  Prefactor     .10000E-03    1.6515        .15712E-02** at limit **
  16  Prefactor     7.1534        9.3608        .15004E-03   -.29315E-03
  17  Prefactor     .10001E-03    131.93        .58878E-02** at limit **
  18  Prefactor     .10000E-03    5.7876        .18142E-02** at limit **
  19  Prefactor     .10000E-03    3.2376        .13740E-02** at limit **
  20  Prefactor     4.8229        12.595        .18322E-03   -.77562E-04
  21  Normalizat    .77483        .20372        .27218E-03   -.79060E-03
  22  Prefactor     1.3869        .21638        .23203E-03   -.89754E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 55.2554
  Prefactor  = 0.0001
  Prefactor  = 5.04088
  Prefactor  = 91.9231
  Prefactor  = 0.00010001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 33.3498
  Prefactor  = 0.0001
  Prefactor  = 49.9426
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.0593
  Prefactor  = 0.0001
  Prefactor  = 7.15336
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.82289
  Normalizat = 0.774828
  Prefactor  = 1.38685
 **********
 **   18 **HESSE 
 **********

 FCN=   6129.822     FROM HESSE     STATUS=OK           330 CALLS     3434 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     55.255        59.177        .10794E-04   -1.4220    
   2  Prefactor     .10000E-03    .89778        .14479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.0409        16.268        .71652E-05   -1.5259    
   4  Prefactor     91.923        61.955        .83831E-05   -1.3787    
   5  Prefactor     .10001E-03    34.902        .11997       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.5597        .57905E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3354        .27832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .85486        .14023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          33.350        10.566        .13878E-04   -1.4552    
  10  Prefactor     .10000E-03    1.2744        .17178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     49.943        47.739        .11350E-04   -1.4293    
  12  Prefactor     .10000E-03    2.0387        .21661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.285        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0593        8.2322        .92837E-05   -1.5358    
  15  Prefactor     .10000E-03    1.6537        .31424E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.1534        9.3570        .60017E-05   -1.5173    
  17  Prefactor     .10001E-03    134.91        .11776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.7891        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.2378        .27479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.8229        12.591        .73287E-05   -1.5269    
  21  Normalizat    .77483        .20385        .54435E-04   -1.0101    
  22  Prefactor     1.3869        .21655        .46406E-04   -.80760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80928e-09
Minuit parameter uncertainties:
  1  59.2403
  2  6.00034e-07
  3  16.2819
  4  61.9989
  5  0.00120148
  6  0.000337806
  7  1.87831e-05
  8  1.14935e-05
  9  10.5662
  10  1.46847e-05
  11  47.7755
  12  2.41581e-05
  13  0.000164524
  14  8.23526
  15  5.72828e-05
  16  9.35887
  17  0.00228378
  18  3.80831e-05
  19  1.05062e-05
  20  12.5981
  21  0.204046
  22  0.216689
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  3.335e+01  1.057e+01  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.387e+00  2.167e-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:  7.748e-01  2.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 35.35
Ra Dec: 153.199 24.664
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 1.20e-07 +/- 3.81e-08
Energy Flux (Fixed Index): 4.73e-05 +/- 1.50e-05

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) = 6128.10601605
delta logL = 1.71600928741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6128.10425102
delta logL = 1.71777431745

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.984       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6286       1.0000          .0000       5.0000    
     3 'Normalizat'    .81260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3640       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=   6128.104     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      205 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.984        11.337        .17185E-02   -.15010E-02
   2  alpha         1.6286        .26131        .19839       -.12428E-04
   3  Normalizat    .81262        .16645        .43775E-01    .11137E-04
   4  Prefactor     1.3640        .18420        .52874E-01    .13339E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 33.9843
  alpha      = 1.62861
  Normalizat = 0.812616
  Prefactor  = 1.36402
 **********
 **   18 **HESSE 
 **********

 FCN=   6128.104     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.984        11.940        .68740E-04   -1.4541    
   2  alpha         1.6286        .28389        .84946E-02   -.35603    
   3  Normalizat    .81262        .19474        .26664E-03   -.99602    
   4  Prefactor     1.3640        .21566        .23377E-03   -.81423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40817e-10
Minuit parameter uncertainties:
  1  11.941
  2  0.28459
  3  0.194909
  4  0.215806
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714807': 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) = 6128.10425099
delta logL = 1.71777435134

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  3.398e+01  1.194e+01  1.000e-04  1.000e+04 ( 1.000e-12)
208        alpha:  1.629e+00  2.846e-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.364e+00  2.158e-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:  8.126e-01  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 38.86
Ra Dec: 153.199 24.664
Photon Index (Free Index): 1.63 +/- 0.28
Photon Flux (Free Index): 8.34e-08 +/- 3.43e-08
Energy Flux (Free Index): 7.43e-05 +/- 3.34e-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/714807/cmap_HighResolution_241142401_241401601_4FGL_J1012.7+2439_daily_bin7.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.20e-07', energy_flux2='7.43e-05', photon_flux_error='3.81e-08', dlogl='1.72e+00', energy_flux='4.73e-05', photon_flux2='8.34e-08', job_status='DONE', time_completed='2021-09-01 13:08:34.033121', photon_index_error2='0.28', photon_index2='1.63', ts='35.35', fit_tolerance='1e-08', GAL='1.39', photon_index_error='0.00', energy_flux_error2='3.34e-05', EG='0.77', time_epoch_completed='1630526914.03', return_code='0', job_id='714807', GAL2='1.36', EG2='0.81', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='3.43e-08', ts2='38.86', photon_index='2.17' WHERE bin_id='7' AND source_name='4FGL J1012.7+2439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:08:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 714807: <4FGL_J1012.7+2439_daily_bin7> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_daily_bin7 153.199 24.6638 241142401 241401601 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 :                                   498.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            763 sec.

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

