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


Performing analysis on: 4FGL_J0930.3+8612_daily_bin580
RA = 142.599, Dec = 86.2021
tmin = 389664001, tmax = 389923201
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='251783', job_status='RUN', time_executed='2021-08-31 12:51:45.562267', time_epoch_executed='1630439505.56' WHERE source_name='4FGL J0930.3+8612' and cadence='daily' and bin_id='580'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/251783

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/251783/ft1_4FGL_J0930.3+8612_daily_bin580.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/251783/ft2_4FGL_J0930.3+8612_daily_bin580.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/251783/ft1_4FGL_J0930.3+8612_daily_bin580.fits outfile=/scratch/kocevski/251783/ft1_filteredMKT_4FGL_J0930.3+8612_daily_bin580.fits ra=142.599 dec=86.2021 rad=12.0 tmin=389664001.0 tmax=389923201.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.07
user 3.82
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/251783/ft1_filtered_4FGL_J0930.3+8612_daily_bin580.fits" evtable="EVENTS" scfile=/scratch/kocevski/251783/ft2_4FGL_J0930.3+8612_daily_bin580.fits sctable="SC_DATA" outfile=/scratch/kocevski/251783/ltcube_389664001_389923201_4FGL_J0930.3+8612_daily_bin580.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/251783/ft2_4FGL_J0930.3+8612_daily_bin580.fits
.....................!
real 10.27
user 9.84
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/251783/ft1_filtered_4FGL_J0930.3+8612_daily_bin580.fits evtable="EVENTS" scfile=/scratch/kocevski/251783/ft2_4FGL_J0930.3+8612_daily_bin580.fits sctable="SC_DATA" expcube=/scratch/kocevski/251783/ltcube_389664001_389923201_4FGL_J0930.3+8612_daily_bin580.fits outfile=/scratch/kocevski/251783/expmap_389664001_389923201_4FGL_J0930.3+8612_daily_bin580.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/251783/ltcube_389664001_389923201_4FGL_J0930.3+8612_daily_bin580.fits
.....................!
real 156.77
user 151.42
sys 3.24

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/251783/ft1_filtered_4FGL_J0930.3+8612_daily_bin580.fits scfile=/scratch/kocevski/251783/ft2_4FGL_J0930.3+8612_daily_bin580.fits outfile=/scratch/kocevski/251783/cmap_389664001_389923201_4FGL_J0930.3+8612_daily_bin580.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.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/251783/ft1_filtered_4FGL_J0930.3+8612_daily_bin580.fits scfile=/scratch/kocevski/251783/ft2_4FGL_J0930.3+8612_daily_bin580.fits outfile=/scratch/kocevski/251783/cmap_HighResolution_389664001_389923201_4FGL_J0930.3+8612_daily_bin580.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.48
user 0.34
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.249       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.5908       1.0000         .10000E-03   10000.    
     6 'norm      '    23.011       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1011       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16164E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5541       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.762       1.0000         .10000E-03   10000.    
    13 'norm      '    6.3828       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6035       1.0000         .10000E-03   10000.    
    20 'Prefactor '    48.631       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8326       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0281       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87157       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=   10245.93     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2570 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.090       -.95786E-06** at limit **
   2  Prefactor     10.249        7.5552        .72601E-07    .41866E-04
   3  Prefactor     .10000E-03    14.438       -.17274E-06** at limit **
   4  Prefactor     .10000E-03    3.7892       -.14247E-07** at limit **
   5  norm          7.5903        11.424        .56643E-06    .29706E-04
   6  norm          23.011        18.277        .14053E-06    .10045E-04
   7  Prefactor     .10000E-03    8.1828        .10665E-07** at limit **
   8  Prefactor     1.1018        2.4210       -.50017E-06   -.72588E-03
   9  Prefactor     .10004E-03    5.2620       -.17545E-05** at limit **
  10  Prefactor     .10000E-03    30.340        .46139E-05** at limit **
  11  Prefactor     4.5578        10.910        .19011E-05    .11616E-03
  12  Prefactor     11.734        24.203       -.32633E-05    .16443E-04
  13  norm          6.3853        4.0448       -.94389E-07    .48018E-04
  14  Prefactor     .10000E-03    7.0215        .12845E-06** at limit **
  15  Prefactor     .10000E-03    1.8441        .32921E-07** at limit **
  16  Prefactor     .10000E-03    25.868        .27914E-07** at limit **
  17  norm          .10000E-03    .67164        .21961E-07** at limit **
  18  Prefactor     .10000E-03    10.938        .13428E-07** at limit **
  19  Prefactor     3.6036        11.914        .28505E-05    .68469E-04
  20  Prefactor     48.629        47.856        .33086E-06   -.69565E-05
  21  Prefactor     1.7184        373.26        .12762E-04   -.13770E-04
  22  Normalizat    1.0281        .14567       -.94596E-06    .11723E-03
  23  Prefactor     .87160        .73721E-01    .92925E-07    .17513E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.2492
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.59027
  norm       = 23.011
  Prefactor  = 0.0001
  Prefactor  = 1.1018
  Prefactor  = 0.000100042
  Prefactor  = 0.000100005
  Prefactor  = 4.5578
  Prefactor  = 11.7343
  norm       = 6.38532
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.6036
  Prefactor  = 48.6292
  Prefactor  = 1.71839
  Normalizat = 1.0281
  Prefactor  = 0.871602
 **********
 **   18 **HESSE 
 **********

 FCN=   10245.93     FROM HESSE     STATUS=OK           370 CALLS     2940 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.249        7.5598        .12516E-03   -1.5068    
   3  Prefactor     .10000E-03    14.803        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.5903        11.421        .72778E-03   -1.5157    
   6  norm          23.011        18.279        .83501E-04   -1.4748    
   7  Prefactor     .10000E-03    8.1882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1018        2.0253        .23834E-02   -1.5498    
   9  Prefactor     .10004E-03    18.623        .39314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    31.896        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.5578        10.955        .94319E-03   -1.5281    
  12  Prefactor     11.734        24.214        .11681E-03   -1.5023    
  13  norm          6.3853        4.0340        .14628E-03   -1.5203    
  14  Prefactor     .10000E-03    7.0765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.8480        .13422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    25.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .67763        .81000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6036        11.977        .10643E-02   -1.5328    
  20  Prefactor     48.629        47.863        .57502E-04   -1.4312    
  21  Prefactor     1.7184        370.00        .30826E-03   -1.5446    
  22  Normalizat    1.0281        .16140        .29243E-03   -.92095    
  23  Prefactor     .87160        .82861E-01    .16648E-03   -.97141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57723e-09
Minuit parameter uncertainties:
  1  4.32491e-05
  2  7.56052
  3  2.16594e-05
  4  1.99713e-06
  5  11.4238
  6  18.2833
  7  4.48692e-06
  8  2.02542
  9  0.00177531
  10  0.000791375
  11  10.9594
  12  24.2342
  13  4.03417
  14  1.89831e-06
  15  3.07707e-07
  16  5.12022e-06
  17  7.00917e-08
  18  2.80776e-07
  19  11.9854
  20  47.9012
  21  50.75
  22  0.161479
  23  0.0828727
Done.

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

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.775e-03  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:  8.716e-01  8.287e-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:  1.028e+00  1.615e-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: 6.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/251783/likelihoodResults_389664001_389923201_4FGL_J0930.3+8612_daily_bin580.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) = 10245.9334356
delta logL = -0.000254014730672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10245.9331819
delta logL = -3.67519533029e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39850E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3403       1.0000          .0000       10.000    
     3 'Normalizat'    1.0283       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87150       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=   10245.47     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      304 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10960        .21496        .79768E-02   -.24417E-02
   2  Index         4.2967        .58558        .11733        .14068E-03
   3  Normalizat    .99233        .14642        .67130E-01    .36142E-03
   4  Prefactor     .87781        .73143E-01    .44641E-01   -.24037E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.109597
  Index      = 4.29673
  Normalizat = 0.992332
  Prefactor  = 0.87781
 **********
 **   18 **HESSE 
 **********

 FCN=   10245.47     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      335 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10960        6.5394        .36015E-04   -1.5774    
   2  Index         4.2967        7.1135        .62304E-02   -.14112    
   3  Normalizat    .99233        .13655        .29697E-03   -.93288    
   4  Prefactor     .87781        .71616E-01    .16589E-03   -.96921    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.86725e-09
Minuit parameter uncertainties:
  1  1.69258
  2  6.24991
  3  0.136602
  4  0.0716232
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/251783': 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) = 10245.4661106
delta logL = 0.467070954108

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  1.096e-01  1.693e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  4.297e+00  6.250e+00  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:  8.778e-01  7.162e-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:  9.923e-01  1.366e-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/251783/cmap_HighResolution_389664001_389923201_4FGL_J0930.3+8612_daily_bin580.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.92e-03', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2021-08-31 13:06:34.614881', job_id='251783', GAL2='0.88', fit_tolerance='1e-08', EG2='0.99', EG='1.03', time_epoch_completed='1630440394.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='4.67e-01', ts2='0.97', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='580' AND source_name='4FGL J0930.3+8612' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 13:06:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 251783: <4FGL_J0930.3+8612_daily_bin580> in cluster <slac> Done

Job <4FGL_J0930.3+8612_daily_bin580> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 31 12:50:52 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:51:36 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:51:36 2021
Terminated at Tue Aug 31 13:06:35 2021
Results reported at Tue Aug 31 13:06:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0930.3+8612_daily_bin580 142.599 86.2021 389664001 389923201 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 :                                   880.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             387.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            943 sec.

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

