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


Performing analysis on: 4FGL_J0930.3+8612_daily_bin1012
RA = 142.599, Dec = 86.2021
tmin = 501638401, tmax = 501897601
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='256629', job_status='RUN', time_executed='2021-08-31 13:06:30.850153', time_epoch_executed='1630440390.85' WHERE source_name='4FGL J0930.3+8612' and cadence='daily' and bin_id='1012'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/256629

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/256629/ft1_4FGL_J0930.3+8612_daily_bin1012.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/256629/ft1_4FGL_J0930.3+8612_daily_bin1012.fits outfile=/scratch/kocevski/256629/ft1_filteredMKT_4FGL_J0930.3+8612_daily_bin1012.fits ra=142.599 dec=86.2021 rad=12.0 tmin=501638401.0 tmax=501897601.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.44
user 2.54
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.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/256629/ft1_filteredMKT_4FGL_J0930.3+8612_daily_bin1012.fits evtable="EVENTS" outfile="/scratch/kocevski/256629/ft1_filtered_4FGL_J0930.3+8612_daily_bin1012.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.43
user 0.27
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/256629/ft1_filtered_4FGL_J0930.3+8612_daily_bin1012.fits" evtable="EVENTS" scfile=/scratch/kocevski/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.fits sctable="SC_DATA" outfile=/scratch/kocevski/256629/ltcube_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.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/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.fits
.....................!
real 9.07
user 8.76
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/256629/ft1_filtered_4FGL_J0930.3+8612_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.fits sctable="SC_DATA" expcube=/scratch/kocevski/256629/ltcube_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.fits outfile=/scratch/kocevski/256629/expmap_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.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/256629/ltcube_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.fits
.....................!
real 142.18
user 138.63
sys 3.13

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 209 point sources and 0 extended sources

Setting source of interest to:
4FGL J0930.3+8612 @ 142.599 86.2021

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/256629/ft1_filtered_4FGL_J0930.3+8612_daily_bin1012.fits scfile=/scratch/kocevski/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.fits outfile=/scratch/kocevski/256629/cmap_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.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=142.599 yref=86.2021 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.47
user 0.29
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/256629/ft1_filtered_4FGL_J0930.3+8612_daily_bin1012.fits scfile=/scratch/kocevski/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.fits outfile=/scratch/kocevski/256629/cmap_HighResolution_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.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=142.599 yref=86.2021 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.41
user 0.28
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/256629/ft1_filtered_4FGL_J0930.3+8612_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/256629/Model_4FGL_J0930.3+8612_daily_bin1012.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/256629/ft1_filtered_4FGL_J0930.3+8612_daily_bin1012.fits.....................!
real 104.86
user 103.71
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/256629/ft1_filtered_4FGL_J0930.3+8612_daily_bin1012.fits', '/scratch/kocevski/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.fits', expMap='/scratch/kocevski/256629/expmap_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.fits', expCube='/scratch/kocevski/256629/ltcube_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/256629/Model_4FGL_J0930.3+8612_daily_bin1012.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0930.3+8612'

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  3.863e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.219e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.519e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/256629/ft1_filtered_4FGL_J0930.3+8612_daily_bin1012.fits
Spacecraft file(s): /scratch/kocevski/256629/ft2_4FGL_J0930.3+8612_daily_bin1012.fits
Exposure map: /scratch/kocevski/256629/expmap_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.fits
Exposure cube: /scratch/kocevski/256629/ltcube_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/256629/Model_4FGL_J0930.3+8612_daily_bin1012.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) = 11156.8837132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.438       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    43.683       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.839       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10392E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .37081E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.3867       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.988       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8041       1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.997       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.078       1.0000         .10000E-03   10000.    
    20 'Prefactor '    79.431       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .78300       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0707       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11156.88     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2531 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.438        19.046        .42742E-08    .75728E-05
   2  Prefactor     .10000E-03    2.6732       -.97654E-08** at limit **
   3  Prefactor     .10000E-03    4.2509        .39638E-08** at limit **
   4  Prefactor     .10000E-03    3.8819       -.89083E-07** at limit **
   5  norm          .10000E-03    18.161        .32403E-05** at limit **
   6  norm          43.669        22.202        .64695E-06    .18588E-03
   7  Prefactor     .10000E-03    60.373        .14140E-05** at limit **
   8  Prefactor     .10000E-03    2.6777       -.38743E-07** at limit **
   9  Prefactor     .10000E-03    9.7399        .74687E-06** at limit **
  10  Prefactor     33.801        16.904       -.62692E-07    .43910E-04
  11  Prefactor     .10000E-03    24.670        .82112E-05** at limit **
  12  Prefactor     .10000E-03    75.588       -.71670E-06** at limit **
  13  norm          2.3901        4.1354       -.72313E-06   -.21878E-03
  14  Prefactor     .10000E-03    6.4082        .82519E-06** at limit **
  15  Prefactor     11.988        9.6634        .21667E-06   -.10421E-03
  16  Prefactor     1.8060        169.83       -.17745E-05    .37741E-05
  17  norm          .10000E-03    1.6026       -.78660E-08** at limit **
  18  Prefactor     39.998        42.018       -.10208E-06   -.56496E-05
  19  Prefactor     10.079        10.006       -.46740E-06    .44002E-03
  20  Prefactor     79.432        56.897       -.48705E-07   -.88847E-06
  21  Prefactor     .10000E-03    12.452       -.16844E-05** at limit **
  22  Normalizat    .78296        .15307        .26369E-06   -.23796E-03
  23  Prefactor     1.0707        .77138E-01    .52838E-07   -.23674E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4383
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 43.6694
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.801
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 2.39005
  Prefactor  = 0.000100001
  Prefactor  = 11.9885
  Prefactor  = 1.80603
  norm       = 0.0001
  Prefactor  = 39.9983
  Prefactor  = 10.0787
  Prefactor  = 79.4321
  Prefactor  = 0.000100001
  Normalizat = 0.782956
  Prefactor  = 1.07069
 **********
 **   18 **HESSE 
 **********

 FCN=   11156.88     FROM HESSE     STATUS=OK           364 CALLS     2895 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.438        19.069        .84559E-04   -1.4760    
   2  Prefactor     .10000E-03    2.6950        .16860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.2998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.9162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    19.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          43.669        22.318        .30328E-03   -1.4385    
   7  Prefactor     .10000E-03    61.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.7387        .16875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.045        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.801        16.809        .68887E-04   -1.4545    
  11  Prefactor     .10000E-03    24.976        .47757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    76.020        .21298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.3901        4.1000        .25514E-03   -1.5399    
  14  Prefactor     .10000E-03    6.5379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.988        9.6098        .11570E-03   -1.5015    
  16  Prefactor     1.8060        171.34        .31117E-03   -1.5439    
  17  norm          .10000E-03    1.6500        .26017E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     39.998        42.028        .63380E-04   -1.4442    
  19  Prefactor     10.079        10.086        .63110E-03   -1.5073    
  20  Prefactor     79.432        56.987        .45061E-04   -1.3923    
  21  Prefactor     .10000E-03    12.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .78296        .16777        .34822E-03   -1.0070    
  23  Prefactor     1.0707        .85467E-01    .16243E-03   -.90409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.75352e-10
Minuit parameter uncertainties:
  1  19.0741
  2  2.38944e-06
  3  1.02796e-06
  4  9.23629e-06
  5  0.000488961
  6  22.3222
  7  5.00744e-05
  8  8.41958e-06
  9  5.3367e-05
  10  16.8113
  11  0.000548097
  12  6.99651e-05
  13  4.10043
  14  0.00012195
  15  9.61101
  16  35.286
  17  7.29244e-07
  18  42.0592
  19  10.0876
  20  57.0266
  21  0.000256315
  22  0.167876
  23  0.085478
Done.

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

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  5.337e-05  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.219e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.519e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  1.071e+00  8.548e-02  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  7.830e-01  1.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 142.599 86.202
Photon Flux Upper Limit: 5.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/256629/likelihoodResults_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.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) = 11156.8820957
delta logL = -0.000475173044833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11156.8816205
delta logL = -2.5242115953e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2296       1.0000          .0000       10.000    
     3 'Normalizat'    .78293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0707       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11156.88     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      215 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    78.951        .90712E-02** at limit **
   2  Index         2.2394        7.1003        .50000       -.83803E-05
   3  Normalizat    .78296        .11560E-01    .78658E-01    .52249E-04
   4  Prefactor     1.0707        .62493E-02    .38824E-01    .54875E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.23945
  Normalizat = 0.782957
  Prefactor  = 1.07069
 **********
 **   18 **HESSE 
 **********

 FCN=   11156.88     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      248 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2040.4        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2394        5.4806        .50000       -.58489    
   3  Normalizat    .78296        .10077        .34822E-03   -1.0070    
   4  Prefactor     1.0707        .54598E-01    .16243E-03   -.90409    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.55212e-08
Minuit parameter uncertainties:
  1  1.86103e-05
  2  61.5111
  3  0.100798
  4  0.0546008
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/256629': 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) = 11156.8816205
delta logL = 4.05525497627e-08

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.861e-05  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.239e+00  6.151e+01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  1.519e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  1.071e+00  5.460e-02  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  7.830e-01  1.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 142.599 86.202

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/256629/cmap_HighResolution_501638401_501897601_4FGL_J0930.3+8612_daily_bin1012.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-03', job_status='DONE', photon_flux_upper_limit='5.59e-08', time_completed='2021-08-31 13:20:36.844640', job_id='256629', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1630441236.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='4.06e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1012' AND source_name='4FGL J0930.3+8612' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 13:20:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 256629: <4FGL_J0930.3+8612_daily_bin1012> in cluster <slac> Done

Job <4FGL_J0930.3+8612_daily_bin1012> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 13:05:36 2021
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 13:05:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 13:05:37 2021
Terminated at Tue Aug 31 13:20:37 2021
Results reported at Tue Aug 31 13:20:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0930.3+8612_daily_bin1012 142.599 86.2021 501638401 501897601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0930.3+8612 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   838.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             354.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            901 sec.

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

