/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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


Waiting 6 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7424
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0930.3+8612_daily_bin172
RA = 142.599, Dec = 86.2021
tmin = 283910401, tmax = 284169601
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='249817', job_status='RUN', time_executed='2021-08-31 12:46:43.446601', time_epoch_executed='1630439203.45' WHERE source_name='4FGL J0930.3+8612' and cadence='daily' and bin_id='172'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/249817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/249817/ft1_4FGL_J0930.3+8612_daily_bin172.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/249817/ft2_4FGL_J0930.3+8612_daily_bin172.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/249817/ft1_4FGL_J0930.3+8612_daily_bin172.fits outfile=/scratch/kocevski/249817/ft1_filteredMKT_4FGL_J0930.3+8612_daily_bin172.fits ra=142.599 dec=86.2021 rad=12.0 tmin=283910401.0 tmax=284169601.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.56
user 3.33
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/249817/ft1_filtered_4FGL_J0930.3+8612_daily_bin172.fits" evtable="EVENTS" scfile=/scratch/kocevski/249817/ft2_4FGL_J0930.3+8612_daily_bin172.fits sctable="SC_DATA" outfile=/scratch/kocevski/249817/ltcube_283910401_284169601_4FGL_J0930.3+8612_daily_bin172.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/249817/ft2_4FGL_J0930.3+8612_daily_bin172.fits
.....................!
real 11.92
user 11.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/249817/ft1_filtered_4FGL_J0930.3+8612_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/249817/ft2_4FGL_J0930.3+8612_daily_bin172.fits sctable="SC_DATA" expcube=/scratch/kocevski/249817/ltcube_283910401_284169601_4FGL_J0930.3+8612_daily_bin172.fits outfile=/scratch/kocevski/249817/expmap_283910401_284169601_4FGL_J0930.3+8612_daily_bin172.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/249817/ltcube_283910401_284169601_4FGL_J0930.3+8612_daily_bin172.fits
.....................!
real 189.87
user 184.68
sys 4.63

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/249817/ft1_filtered_4FGL_J0930.3+8612_daily_bin172.fits scfile=/scratch/kocevski/249817/ft2_4FGL_J0930.3+8612_daily_bin172.fits outfile=/scratch/kocevski/249817/cmap_283910401_284169601_4FGL_J0930.3+8612_daily_bin172.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/249817/ft1_filtered_4FGL_J0930.3+8612_daily_bin172.fits scfile=/scratch/kocevski/249817/ft2_4FGL_J0930.3+8612_daily_bin172.fits outfile=/scratch/kocevski/249817/cmap_HighResolution_283910401_284169601_4FGL_J0930.3+8612_daily_bin172.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.6909       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .95991       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.2258       1.0000         .10000E-03   10000.    
     5 'norm      '    19.817       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.801       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.478       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4705       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.6322       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.878       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.5034       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    72.524       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .84606       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94521       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=   10591.97     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2520 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.041       -.10832E-06** at limit **
   2  Prefactor     7.6894        6.8175        .28402E-07   -.30210E-03
   3  Prefactor     .95830        5.6461       -.23395E-06   -.37570E-04
   4  Prefactor     8.2257        7.5536       -.53907E-07   -.28313E-03
   5  norm          19.817        14.480       -.19295E-07   -.51663E-05
   6  norm          .10000E-03    11.902       -.68270E-06** at limit **
   7  Prefactor     20.801        28.681       -.91890E-06    .56146E-05
   8  Prefactor     .10000E-03    1.1838        .16345E-07** at limit **
   9  Prefactor     14.478        7.8259       -.62314E-07    .13483E-04
  10  Prefactor     .10000E-03    6.3988        .15624E-06** at limit **
  11  Prefactor     2.4707        3.3661        .24803E-06   -.70549E-03
  12  Prefactor     .10000E-03    8.2528        .35719E-05** at limit **
  13  norm          .10000E-03    1.5674       -.19047E-07** at limit **
  14  Prefactor     .10000E-03    3.3159       -.50991E-07** at limit **
  15  Prefactor     .10000E-03    7.7847       -.29645E-05** at limit **
  16  Prefactor     .10000E-03    29.652       -.58133E-05** at limit **
  17  norm          2.6324        2.1754        .28999E-07    .19449E-03
  18  Prefactor     21.874        46.532       -.68668E-05    .20207E-05
  19  Prefactor     4.5038        11.900       -.21374E-07    .13045E-04
  20  Prefactor     .10000E-03    27.253        .59007E-05** at limit **
  21  Prefactor     72.522        51.782       -.16517E-05   -.45401E-06
  22  Normalizat    .84609        .14110        .73613E-06    .54967E-04
  23  Prefactor     .94519        .74988E-01    .19346E-07    .15962E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.68935
  Prefactor  = 0.958302
  Prefactor  = 8.22572
  norm       = 19.8172
  norm       = 0.0001
  Prefactor  = 20.8005
  Prefactor  = 0.0001
  Prefactor  = 14.4777
  Prefactor  = 0.0001
  Prefactor  = 2.4707
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.63243
  Prefactor  = 21.8741
  Prefactor  = 4.5038
  Prefactor  = 0.0001
  Prefactor  = 72.5217
  Normalizat = 0.84609
  Prefactor  = 0.945188
 **********
 **   18 **HESSE 
 **********

 FCN=   10591.97     FROM HESSE     STATUS=OK           370 CALLS     2890 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.6894        6.9638        .72299E-03   -1.5153    
   3  Prefactor     .95830        16.922        .46300E-02   -1.5512    
   4  Prefactor     8.2257        7.7300        .69892E-03   -1.5134    
   5  norm          19.817        14.484        .44986E-03   -1.4817    
   6  norm          .10000E-03    11.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.801        28.896        .87820E-04   -1.4795    
   8  Prefactor     .10000E-03    1.1874        .10932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.478        7.8304        .10527E-03   -1.4947    
  10  Prefactor     .10000E-03    6.4216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4707        8.1649        .13007E-02   -1.5394    
  12  Prefactor     .10000E-03    8.2618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.5905        .12572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.3381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.9672        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    29.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.6324        2.1692        .13339E-03   -1.5383    
  18  Prefactor     21.874        46.644        .85633E-04   -1.4772    
  19  Prefactor     4.5038        11.893        .18972E-03   -1.5283    
  20  Prefactor     .10000E-03    27.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     72.522        51.924        .47142E-04   -1.4003    
  22  Normalizat    .84609        .15914        .31678E-03   -.98381    
  23  Prefactor     .94519        .84708E-01    .16320E-03   -.94580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39924e-08
Minuit parameter uncertainties:
  1  6.406e-06
  2  6.96454
  3  8.05605
  4  7.73095
  5  14.4861
  6  1.05485e-06
  7  28.915
  8  2.44541e-07
  9  7.83097
  10  4.15733e-06
  11  8.16857
  12  6.67472e-06
  13  1.13178e-06
  14  8.25862e-07
  15  1.91958e-05
  16  1.47272e-05
  17  2.16926
  18  46.7216
  19  11.8989
  20  2.01459e-05
  21  51.9561
  22  0.15923
  23  0.0847203
Done.

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

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  1.448e+01  7.831e+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

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  9.452e-01  8.472e-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:  8.461e-01  1.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.09
Ra Dec: 142.599 86.202
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 4.98e-08 +/- 2.69e-08
Energy Flux (Fixed Index): 2.16e-05 +/- 1.17e-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) = 10591.2538198
delta logL = 0.713723977397

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10591.2533056
delta logL = 0.714238194199

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.300       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8011       1.0000          .0000       10.000    
     3 'Normalizat'    .85788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94212       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=   10591.25     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      300 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.261        12.607        .84822E-04    .22561E-02
   2  Index         1.7997        .32894        .66180E-02    .82840E-03
   3  Normalizat    .85791        .14918        .31486E-03   -.17866E-03
   4  Prefactor     .94220        .81542E-01    .16342E-03   -.81987E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.2614
  Index      = 1.79967
  Normalizat = 0.857907
  Prefactor  = 0.942197
 **********
 **   18 **HESSE 
 **********

 FCN=   10591.25     FROM HESSE     STATUS=OK            23 CALLS      323 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.261        12.504        .16964E-04   -1.4764    
   2  Index         1.7997        .32625        .26472E-03   -.69458    
   3  Normalizat    .85791        .14923        .12594E-04   -.97955    
   4  Prefactor     .94220        .81579E-01    .32684E-04   -.94682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.01118e-09
Minuit parameter uncertainties:
  1  12.5056
  2  0.32664
  3  0.149298
  4  0.0815899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/249817': 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) = 10591.2532856
delta logL = 0.714258213759

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  2.226e+01  1.251e+01  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  1.800e+00  3.266e-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:  9.422e-01  8.159e-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:  8.579e-01  1.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.52
Ra Dec: 142.599 86.202
Photon Index (Free Index): 1.80 +/- 0.33
Photon Flux (Free Index): 3.71e-08 +/- 2.42e-08
Energy Flux (Free Index): 4.45e-05 +/- 3.68e-05

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/249817/cmap_HighResolution_283910401_284169601_4FGL_J0930.3+8612_daily_bin172.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.98e-08', energy_flux2='4.45e-05', photon_flux_error='2.69e-08', dlogl='7.14e-01', energy_flux='2.16e-05', photon_flux2='3.71e-08', job_status='DONE', time_completed='2021-08-31 13:02:50.596089', photon_index_error2='0.33', photon_index2='1.80', ts='8.09', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='3.68e-05', EG='0.85', time_epoch_completed='1630440170.6', return_code='0', job_id='249817', GAL2='0.94', EG2='0.86', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='2.42e-08', ts2='9.52', photon_index='2.22' WHERE bin_id='172' AND source_name='4FGL J0930.3+8612' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 13:02:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 249817: <4FGL_J0930.3+8612_daily_bin172> in cluster <slac> Done

Job <4FGL_J0930.3+8612_daily_bin172> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 12:46:23 2021
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:46:24 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:46:24 2021
Terminated at Tue Aug 31 13:02:51 2021
Results reported at Tue Aug 31 13:02:51 2021

Your job looked like:

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

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

