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


Performing analysis on: 4FGL_J0930.3+8612_daily_bin75
RA = 142.599, Dec = 86.2021
tmin = 258768001, tmax = 259027201
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='249592', job_status='RUN', time_executed='2021-08-31 12:50:18.815668', time_epoch_executed='1630439418.82' WHERE source_name='4FGL J0930.3+8612' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/249592

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/249592/ft1_4FGL_J0930.3+8612_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/249592/ft2_4FGL_J0930.3+8612_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/249592/ft1_4FGL_J0930.3+8612_daily_bin75.fits outfile=/scratch/kocevski/249592/ft1_filteredMKT_4FGL_J0930.3+8612_daily_bin75.fits ra=142.599 dec=86.2021 rad=12.0 tmin=258768001.0 tmax=259027201.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.14
user 0.95
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/249592/ft2_4FGL_J0930.3+8612_daily_bin75.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/249592/ft1_filteredMKT_4FGL_J0930.3+8612_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/249592/ft1_filtered_4FGL_J0930.3+8612_daily_bin75.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/249592/ft1_filtered_4FGL_J0930.3+8612_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/249592/ft2_4FGL_J0930.3+8612_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/249592/ltcube_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.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/249592/ft2_4FGL_J0930.3+8612_daily_bin75.fits
.....................!
real 8.99
user 8.58
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/249592/ft1_filtered_4FGL_J0930.3+8612_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/249592/ft2_4FGL_J0930.3+8612_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/249592/ltcube_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.fits outfile=/scratch/kocevski/249592/expmap_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.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/249592/ltcube_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.fits
.....................!
real 190.93
user 185.35
sys 4.65

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/249592/ft1_filtered_4FGL_J0930.3+8612_daily_bin75.fits scfile=/scratch/kocevski/249592/ft2_4FGL_J0930.3+8612_daily_bin75.fits outfile=/scratch/kocevski/249592/cmap_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/249592/ft1_filtered_4FGL_J0930.3+8612_daily_bin75.fits scfile=/scratch/kocevski/249592/ft2_4FGL_J0930.3+8612_daily_bin75.fits outfile=/scratch/kocevski/249592/cmap_HighResolution_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.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.57
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/249592/ft1_filtered_4FGL_J0930.3+8612_daily_bin75.fits', '/scratch/kocevski/249592/ft2_4FGL_J0930.3+8612_daily_bin75.fits', expMap='/scratch/kocevski/249592/expmap_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.fits', expCube='/scratch/kocevski/249592/ltcube_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/249592/Model_4FGL_J0930.3+8612_daily_bin75.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/249592/ft1_filtered_4FGL_J0930.3+8612_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/249592/ft2_4FGL_J0930.3+8612_daily_bin75.fits
Exposure map: /scratch/kocevski/249592/expmap_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.fits
Exposure cube: /scratch/kocevski/249592/ltcube_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/249592/Model_4FGL_J0930.3+8612_daily_bin75.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) = 6420.25052052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.391       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.551       1.0000         .10000E-03   10000.    
     5 'norm      '    3.5645       1.0000         .10000E-03   10000.    
     6 'norm      '    .14792E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.541       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.585       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10439E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2443       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7802       1.0000         .10000E-03   10000.    
    17 'norm      '    2.9518       1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.416       1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.567       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99001       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0306       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=   6420.233     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2528 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.9134        .16705E-06** at limit **
   2  Prefactor     .10000E-03    5.8304        .43242E-06** at limit **
   3  Prefactor     27.382        19.540        .51061E-06   -.25511E-04
   4  Prefactor     10.549        9.6745        .35563E-06   -.82340E-05
   5  norm          3.5674        17.521        .23115E-05    .23028E-04
   6  norm          .10000E-03    16.237        .35722E-05** at limit **
   7  Prefactor     29.374        47.542       -.97171E-05   -.39215E-04
   8  Prefactor     .10000E-03    1.5542        .49496E-06** at limit **
   9  Prefactor     19.585        13.138        .57993E-07   -.65630E-04
  10  Prefactor     .10000E-03    20.391       -.66233E-06** at limit **
  11  Prefactor     .10000E-03    23.163        .16281E-05** at limit **
  12  Prefactor     .10000E-03    29.585       -.10638E-05** at limit **
  13  norm          1.2433        4.7752        .13278E-05    .14537E-03
  14  Prefactor     .10000E-03    6.9005       -.40784E-06** at limit **
  15  Prefactor     .10000E-03    5.0307       -.98984E-06** at limit **
  16  Prefactor     1.2337        1897.0       -.21276E-03    .18383E-04
  17  norm          2.9519        3.2333        .22498E-05    .83002E-03
  18  Prefactor     22.401        46.512       -.32790E-05   -.18493E-04
  19  Prefactor     27.569        21.679        .52185E-06   -.58825E-04
  20  Prefactor     .10000E-03    51.950        .10680E-05** at limit **
  21  Prefactor     .10000E-03    25.308        .47700E-06** at limit **
  22  Normalizat    .98973        .21763       -.82601E-08   -.24687E-03
  23  Prefactor     1.0308        .10687       -.17642E-05   -.33200E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.382
  Prefactor  = 10.5487
  norm       = 3.56743
  norm       = 0.000100001
  Prefactor  = 29.3743
  Prefactor  = 0.0001
  Prefactor  = 19.5855
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.24333
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.23371
  norm       = 2.95192
  Prefactor  = 22.4011
  Prefactor  = 27.5687
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.989734
  Prefactor  = 1.03083
 **********
 **   18 **HESSE 
 **********

 FCN=   6420.233     FROM HESSE     STATUS=OK           370 CALLS     2898 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.9102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.382        19.585        .76547E-04   -1.4661    
   4  Prefactor     10.549        9.6757        .12335E-03   -1.5058    
   5  norm          3.5674        17.527        .21407E-03   -1.5330    
   6  norm          .10000E-03    16.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     29.374        47.950        .73714E-04   -1.4623    
   8  Prefactor     .10000E-03    1.5563        .97606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.585        13.144        .90503E-04   -1.4823    
  10  Prefactor     .10000E-03    20.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    29.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2433        4.7605        .32323E-03   -1.5485    
  14  Prefactor     .10000E-03    6.9067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.0441        .17551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.2337        1997.5        .31367E-02   -1.5486    
  17  norm          2.9519        3.2609        .73911E-03   -1.5364    
  18  Prefactor     22.401        46.541        .84602E-04   -1.4761    
  19  Prefactor     27.569        21.720        .76302E-04   -1.4657    
  20  Prefactor     .10000E-03    52.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    25.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .98973        .24245        .34086E-03   -.93375    
  23  Prefactor     1.0308        .11940        .17341E-03   -.91709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.87114e-10
Minuit parameter uncertainties:
  1  1.36538e-05
  2  2.76892e-05
  3  19.59
  4  9.67714
  5  15.8221
  6  0.000256657
  7  48.0134
  8  1.13284e-05
  9  13.1463
  10  6.93247e-05
  11  3.76431e-05
  12  4.5653e-05
  13  4.76195
  14  1.61e-05
  15  1.79925e-05
  16  102.931
  17  3.26113
  18  46.6164
  19  21.7266
  20  6.11984e-05
  21  3.56327e-05
  22  0.242717
  23  0.119429
Done.

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

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  1.959e+01  1.315e+01  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.031e+00  1.194e-01  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:  9.897e-01  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.22
Ra Dec: 142.599 86.202
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 6.74e-08 +/- 4.52e-08
Energy Flux (Fixed Index): 2.92e-05 +/- 1.96e-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) = 6420.1885021
delta logL = 0.0444251466006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6420.18554443
delta logL = 0.0473828234426

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.892       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3871       1.0000          .0000       10.000    
     3 'Normalizat'    .97862       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0325       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6420.186     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      304 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.886        15.640        .97450E-04    .23636E-03
   2  Index         2.3866        .58309        .58332E-02    .50651E-04
   3  Normalizat    .97867        .22603        .34250E-03    .11299E-03
   4  Prefactor     1.0326        .11581        .17325E-03    .19745E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8864
  Index      = 2.38661
  Normalizat = 0.978672
  Prefactor  = 1.03259
 **********
 **   18 **HESSE 
 **********

 FCN=   6420.186     FROM HESSE     STATUS=OK            25 CALLS      329 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.886        14.586        .38980E-05   -1.4886    
   2  Index         2.3866        .54325        .23333E-03   -.54999    
   3  Normalizat    .97867        .22571        .13700E-04   -.93748    
   4  Prefactor     1.0326        .11580        .34650E-04   -.91651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00194e-11
Minuit parameter uncertainties:
  1  14.589
  2  0.544729
  3  0.225929
  4  0.115831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/249592': 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) = 6420.18554281
delta logL = 0.0473844371836

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  1.689e+01  1.459e+01  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.387e+00  5.447e-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.033e+00  1.158e-01  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:  9.787e-01  2.259e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.31
Ra Dec: 142.599 86.202
Photon Index (Free Index): 2.39 +/- 0.54
Photon Flux (Free Index): 8.05e-08 +/- 6.50e-08
Energy Flux (Free Index): 2.69e-05 +/- 1.81e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/249592/cmap_HighResolution_258768001_259027201_4FGL_J0930.3+8612_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.74e-08', energy_flux2='2.69e-05', photon_flux_error='4.52e-08', dlogl='4.74e-02', energy_flux='2.92e-05', photon_flux2='8.05e-08', job_status='DONE', time_completed='2021-08-31 13:02:17.226703', photon_index_error2='0.54', photon_index2='2.39', ts='5.22', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.81e-05', EG='0.99', time_epoch_completed='1630440137.23', return_code='0', job_id='249592', GAL2='1.03', EG2='0.98', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='6.50e-08', ts2='5.31', photon_index='2.22' WHERE bin_id='75' AND source_name='4FGL J0930.3+8612' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 13:02:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 249592: <4FGL_J0930.3+8612_daily_bin75> in cluster <slac> Done

Job <4FGL_J0930.3+8612_daily_bin75> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 12:45:50 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:45:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 12:45:52 2021
Terminated at Tue Aug 31 13:02:18 2021
Results reported at Tue Aug 31 13:02:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0930.3+8612_daily_bin75 142.599 86.2021 258768001 259027201 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 :                                   704.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             242.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            988 sec.

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

