/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 72 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 = 7474
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1012.7+2439_daily_bin1639
RA = 153.199, Dec = 24.6638
tmin = 664156801, tmax = 664416001
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='193028', job_status='RUN', time_executed='2022-01-21 00:10:16.959206', time_epoch_executed='1642752616.96' WHERE source_name='4FGL J1012.7+2439' and cadence='daily' and bin_id='1639'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193028

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193028/ft1_4FGL_J1012.7+2439_daily_bin1639.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193028/ft2_4FGL_J1012.7+2439_daily_bin1639.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193028/ft1_4FGL_J1012.7+2439_daily_bin1639.fits outfile=/scratch/kocevski/193028/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin1639.fits ra=153.199 dec=24.6638 rad=12.0 tmin=664156801.0 tmax=664416001.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 4.49
user 3.70
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193028/ft1_filtered_4FGL_J1012.7+2439_daily_bin1639.fits" evtable="EVENTS" scfile=/scratch/kocevski/193028/ft2_4FGL_J1012.7+2439_daily_bin1639.fits sctable="SC_DATA" outfile=/scratch/kocevski/193028/ltcube_664156801_664416001_4FGL_J1012.7+2439_daily_bin1639.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/193028/ft2_4FGL_J1012.7+2439_daily_bin1639.fits
.....................!
real 11.89
user 11.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193028/ft1_filtered_4FGL_J1012.7+2439_daily_bin1639.fits evtable="EVENTS" scfile=/scratch/kocevski/193028/ft2_4FGL_J1012.7+2439_daily_bin1639.fits sctable="SC_DATA" expcube=/scratch/kocevski/193028/ltcube_664156801_664416001_4FGL_J1012.7+2439_daily_bin1639.fits outfile=/scratch/kocevski/193028/expmap_664156801_664416001_4FGL_J1012.7+2439_daily_bin1639.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/193028/ltcube_664156801_664416001_4FGL_J1012.7+2439_daily_bin1639.fits
.....................!
real 190.39
user 185.17
sys 4.88

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/193028/ft1_filtered_4FGL_J1012.7+2439_daily_bin1639.fits scfile=/scratch/kocevski/193028/ft2_4FGL_J1012.7+2439_daily_bin1639.fits outfile=/scratch/kocevski/193028/cmap_664156801_664416001_4FGL_J1012.7+2439_daily_bin1639.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193028/ft1_filtered_4FGL_J1012.7+2439_daily_bin1639.fits scfile=/scratch/kocevski/193028/ft2_4FGL_J1012.7+2439_daily_bin1639.fits outfile=/scratch/kocevski/193028/cmap_HighResolution_664156801_664416001_4FGL_J1012.7+2439_daily_bin1639.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193028/ft1_filtered_4FGL_J1012.7+2439_daily_bin1639.fits evtable="EVENTS" scfile=/scratch/kocevski/193028/ft2_4FGL_J1012.7+2439_daily_bin1639.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193028/Model_4FGL_J1012.7+2439_daily_bin1639.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/193028/ft1_filtered_4FGL_J1012.7+2439_daily_bin1639.fits.....................!
real 56.89
user 55.58
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9981       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.481       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .64993       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6961       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2335       1.0000         .10000E-03   10000.    
     9 'norm      '    .13686E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8023       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.664       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .21297E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1385       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2885       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2034       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=   6406.630     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2414 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9860        208.71       -.79913E-06    .60405E-05
   2  Prefactor     .10000E-03    3.5203       -.57264E-06** at limit **
   3  Prefactor     .10000E-03    31.163        .16019E-05** at limit **
   4  Prefactor     .10000E-03    24.937       -.12314E-05** at limit **
   5  Prefactor     14.364        55.393        .50032E-05    .53090E-04
   6  Prefactor     .63240        12.054       -.10205E-04   -.36722E-03
   7  Prefactor     1.6968        4.9726       -.34444E-05    .34502E-04
   8  Prefactor     2.2331        2.8309       -.50879E-06    .14429E-03
   9  norm          .10001E-03    4.6939        .16038E-06** at limit **
  10  Prefactor     2.8009        3.8129       -.97107E-06    .88612E-04
  11  Prefactor     .10000E-03    19.616       -.66331E-08** at limit **
  12  Prefactor     .10000E-03    3.3425        .20881E-06** at limit **
  13  Prefactor     14.607        55.438        .24814E-05    .36131E-04
  14  Prefactor     .10000E-03    4.5454       -.88623E-06** at limit **
  15  Prefactor     .10000E-03    .94108       -.51000E-06** at limit **
  16  Prefactor     .10017E-03    31.774        .17032E-04** at limit **
  17  Prefactor     6.1032        37.104       -.64918E-05   -.36679E-04
  18  Prefactor     .10000E-03    4.2594       -.40794E-06** at limit **
  19  Prefactor     .10000E-03    3.6835       -.44020E-06** at limit **
  20  Prefactor     .10000E-03    4.1497        .18207E-07** at limit **
  21  Normalizat    1.2889        .19923        .26794E-05    .83564E-03
  22  Prefactor     1.2030        .19911        .17247E-05    .16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.98602
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.3641
  Prefactor  = 0.632401
  Prefactor  = 1.69678
  Prefactor  = 2.23308
  norm       = 0.000100011
  Prefactor  = 2.80094
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.6066
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100165
  Prefactor  = 6.10315
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.28892
  Prefactor  = 1.203
 **********
 **   18 **HESSE 
 **********

 FCN=   6406.630     FROM HESSE     STATUS=OK           344 CALLS     2758 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9860        209.52        .16395E-03   -1.5219    
   2  Prefactor     .10000E-03    3.5802        .14676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    24.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.364        55.574        .10525E-03   -1.4950    
   6  Prefactor     .63240        24.750        .30424E-02   -1.5549    
   7  Prefactor     1.6968        4.9426        .29779E-03   -1.5447    
   8  Prefactor     2.2331        2.8143        .14304E-03   -1.5409    
   9  norm          .10001E-03    12.856        .33016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.8009        3.8029        .17494E-03   -1.5373    
  11  Prefactor     .10000E-03    19.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.3940        .14242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.607        55.512        .10459E-03   -1.4943    
  14  Prefactor     .10000E-03    4.6113        .16678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .95577        .75909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10017E-03    48.035        .35647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.1032        37.299        .16204E-03   -1.5214    
  18  Prefactor     .10000E-03    4.2712        .16128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.6894        .15005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.1514        .15925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2889        .23642        .25105E-03   -.83898    
  22  Prefactor     1.2030        .23351        .26593E-03   -.86239    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.22682e-09
Minuit parameter uncertainties:
  1  71.0991
  2  1.93881e-05
  3  3.32331e-05
  4  0.000156699
  5  55.775
  6  7.91545
  7  4.94375
  8  2.81449
  9  0.00076438
  10  3.80319
  11  4.05208e-05
  12  3.07249e-05
  13  55.7094
  14  1.88338e-05
  15  4.93425e-06
  16  0.00564311
  17  30.2032
  18  1.50414e-05
  19  5.54319e-06
  20  1.41827e-07
  21  0.23662
  22  0.233712
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.000e-04  7.644e-04  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.203e+00  2.337e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.289e+00  2.366e-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: 6.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193028/likelihoodResults_664156801_664416001_4FGL_J1012.7+2439_daily_bin1639.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) = 6406.63062915
delta logL = -0.000368865074961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6406.63026283
delta logL = -2.54325459537e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13691E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1646       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2027       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=   6406.630     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      226 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.9203        .64115E-01** at limit **
   2  alpha         2.1610        3.3009        .41630        .11269E-05
   3  Normalizat    1.2889        .59721E-02    .56771E-01    .24912E-04
   4  Prefactor     1.2030        .61659E-02    .60131E-01    .27368E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.16104
  Normalizat = 1.28891
  Prefactor  = 1.20301
 **********
 **   18 **HESSE 
 **********

 FCN=   6406.630     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      259 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    802.65        .33044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1610        3.3071        .16652       -.13600    
   3  Normalizat    1.2889        .41398E-01    .25105E-03   -.83898    
   4  Prefactor     1.2030        .42746E-01    .26593E-03   -.86239    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.82964e-07
Minuit parameter uncertainties:
  1  0.000570389
  2  1577.08
  3  0.0413987
  4  0.0427477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193028': 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) = 6406.63026028
delta logL = 5.94445737079e-09

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.000e-04  5.704e-04  1.000e-04  1.000e+04 ( 1.000e-12)
208        alpha:  2.161e+00  1.577e+03  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.203e+00  4.275e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.289e+00  4.140e-02  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/193028/cmap_HighResolution_664156801_664416001_4FGL_J1012.7+2439_daily_bin1639.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.40e-05', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2022-01-21 00:20:32.151945', job_id='193028', GAL2='1.20', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1642753232.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='5.94e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1639' AND source_name='4FGL J1012.7+2439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 21 00:20:32 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 192928: <4FGL_J1012.7+2439_daily_bin1639> in cluster <slac> Done

Job <4FGL_J1012.7+2439_daily_bin1639> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 21 00:06:48 2022
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 21 00:08:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 21 00:08:26 2022
Terminated at Fri Jan 21 00:20:22 2022
Results reported at Fri Jan 21 00:20:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_daily_bin1639 153.199 24.6638 664156801 664416001 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 :                                   623.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            814 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0142>
Subject: Job 193028: <4FGL_J1012.7+2439_daily_bin1639> in cluster <slac> Done

Job <4FGL_J1012.7+2439_daily_bin1639> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Jan 21 00:06:55 2022
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 21 00:08:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 21 00:08:42 2022
Terminated at Fri Jan 21 00:20:32 2022
Results reported at Fri Jan 21 00:20:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_daily_bin1639 153.199 24.6638 664156801 664416001 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 :                                   614.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            817 sec.

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

