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


Performing analysis on: 4FGL_J0930.3+8612_daily_bin73
RA = 142.599, Dec = 86.2021
tmin = 258249601, tmax = 258508801
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='249588', job_status='RUN', time_executed='2021-08-31 12:49:03.485863', time_epoch_executed='1630439343.49' WHERE source_name='4FGL J0930.3+8612' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/249588

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/249588/ft1_4FGL_J0930.3+8612_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/249588/ft2_4FGL_J0930.3+8612_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/249588/ft1_4FGL_J0930.3+8612_daily_bin73.fits outfile=/scratch/kocevski/249588/ft1_filteredMKT_4FGL_J0930.3+8612_daily_bin73.fits ra=142.599 dec=86.2021 rad=12.0 tmin=258249601.0 tmax=258508801.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.79
user 1.01
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/249588/ft2_4FGL_J0930.3+8612_daily_bin73.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/249588/ft1_filteredMKT_4FGL_J0930.3+8612_daily_bin73.fits evtable="EVENTS" outfile="/scratch/kocevski/249588/ft1_filtered_4FGL_J0930.3+8612_daily_bin73.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.20
user 0.31
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/249588/ft1_filtered_4FGL_J0930.3+8612_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/249588/ft2_4FGL_J0930.3+8612_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/249588/ltcube_258249601_258508801_4FGL_J0930.3+8612_daily_bin73.fits outfile=/scratch/kocevski/249588/expmap_258249601_258508801_4FGL_J0930.3+8612_daily_bin73.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/249588/ltcube_258249601_258508801_4FGL_J0930.3+8612_daily_bin73.fits
.....................!
real 195.21
user 185.95
sys 4.55

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/249588/ft1_filtered_4FGL_J0930.3+8612_daily_bin73.fits scfile=/scratch/kocevski/249588/ft2_4FGL_J0930.3+8612_daily_bin73.fits outfile=/scratch/kocevski/249588/cmap_258249601_258508801_4FGL_J0930.3+8612_daily_bin73.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/249588/ft1_filtered_4FGL_J0930.3+8612_daily_bin73.fits scfile=/scratch/kocevski/249588/ft2_4FGL_J0930.3+8612_daily_bin73.fits outfile=/scratch/kocevski/249588/cmap_HighResolution_258249601_258508801_4FGL_J0930.3+8612_daily_bin73.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.62
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.815       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5270       1.0000         .10000E-03   10000.    
     5 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4582       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.321       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.540       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.600       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.0374       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7563       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7456       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .24835E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.774       1.0000         .10000E-03   10000.    
    20 'Prefactor '    166.16       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1605       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .80543       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0556       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=   6612.552     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2182 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.488       -.53637E-06** at limit **
   2  Prefactor     .10000E-03    3.8670        .29612E-07** at limit **
   3  Prefactor     16.809        21.432       -.37438E-06   -.39846E-04
   4  Prefactor     6.5284        12.342        .38315E-05   -.35505E-03
   5  norm          .10001E-03    27.678       -.47349E-05** at limit **
   6  norm          .10000E-03    9.5296        .17002E-06** at limit **
   7  Prefactor     .10000E-03    8.7302       -.77832E-07** at limit **
   8  Prefactor     5.4582        4.4560        .11923E-07    .15800E-04
   9  Prefactor     20.321        14.006        .79507E-07   -.12437E-04
  10  Prefactor     14.553        17.045        .20329E-06   -.12958E-03
  11  Prefactor     10.600        14.565        .22012E-07    .39434E-05
  12  Prefactor     .10001E-03    39.404        .55331E-05** at limit **
  13  norm          5.0384        13.789        .69488E-06    .17657E-04
  14  Prefactor     3.7510        57.493       -.24521E-05   -.76628E-04
  15  Prefactor     7.7415        13.457        .32807E-05   -.28886E-03
  16  Prefactor     .10000E-03    19.981        .13986E-05** at limit **
  17  norm          .10008E-03    1.9409        .40387E-07** at limit **
  18  Prefactor     .10000E-03    79.054       -.33880E-05** at limit **
  19  Prefactor     17.773        17.845        .74857E-08   -.13312E-04
  20  Prefactor     166.14        99.755       -.22734E-05   -.16904E-03
  21  Prefactor     3.1589        188.35        .71044E-06   -.70716E-05
  22  Normalizat    .80545        .21376       -.46692E-06   -.20231E-04
  23  Prefactor     1.0556        .10963       -.39562E-06    .20664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.8093
  Prefactor  = 6.52841
  norm       = 0.000100009
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.45823
  Prefactor  = 20.3212
  Prefactor  = 14.5531
  Prefactor  = 10.5996
  Prefactor  = 0.000100014
  norm       = 5.03841
  Prefactor  = 3.75096
  Prefactor  = 7.7415
  Prefactor  = 0.000100001
  norm       = 0.000100083
  Prefactor  = 0.000100005
  Prefactor  = 17.7729
  Prefactor  = 166.14
  Prefactor  = 3.15892
  Normalizat = 0.805448
  Prefactor  = 1.05557
 **********
 **   18 **HESSE 
 **********

 FCN=   6612.552     FROM HESSE     STATUS=OK           376 CALLS     2558 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.8785        .15615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.809        21.538        .97671E-04   -1.4888    
   4  Prefactor     6.5284        12.620        .78542E-03   -1.5197    
   5  norm          .10001E-03    29.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.5394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.7318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.4582        4.4585        .15103E-03   -1.5241    
   9  Prefactor     20.321        14.013        .88851E-04   -1.4806    
  10  Prefactor     14.553        17.074        .10504E-03   -1.4945    
  11  Prefactor     10.600        14.503        .12306E-03   -1.5057    
  12  Prefactor     .10001E-03    41.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.0384        11.736        .17916E-03   -1.5259    
  14  Prefactor     3.7510        41.154        .20831E-03   -1.5321    
  15  Prefactor     7.7415        13.415        .72042E-03   -1.5151    
  16  Prefactor     .10000E-03    20.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10008E-03    22.491        .21382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    79.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.773        17.833        .95002E-04   -1.4865    
  20  Prefactor     166.14        101.41        .15646E-03   -1.3123    
  21  Prefactor     3.1589        189.35        .22799E-03   -1.5352    
  22  Normalizat    .80545        .23751        .36657E-03   -.99867    
  23  Prefactor     1.0556        .12309        .16853E-03   -.90899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92434e-09
Minuit parameter uncertainties:
  1  8.47291e-05
  2  2.09938e-06
  3  21.5479
  4  12.6256
  5  0.00101682
  6  2.07681e-05
  7  1.071e-05
  8  4.45874
  9  14.0152
  10  17.0796
  11  14.5077
  12  0.00152684
  13  11.7415
  14  24.8704
  15  13.4203
  16  0.000261537
  17  0.00272952
  18  0.00126196
  19  17.8387
  20  101.516
  21  49.0762
  22  0.237813
  23  0.123119
Done.

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

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  2.032e+01  1.402e+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.056e+00  1.231e-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:  8.054e-01  2.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.16
Ra Dec: 142.599 86.202
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 6.99e-08 +/- 4.82e-08
Energy Flux (Fixed Index): 3.03e-05 +/- 2.09e-05

TS (Fixed Index): 3.16
Ra Dec: 142.599 86.202
Photon Flux Upper Limit: 1.69e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.29e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/249588/likelihoodResults_258249601_258508801_4FGL_J0930.3+8612_daily_bin73.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): 0
logL (Free Index) = 6612.52041057
delta logL = 0.0319288694409

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6612.51595182
delta logL = 0.0363876135625

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.945       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0723       1.0000          .0000       10.000    
     3 'Normalizat'    .81426       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0528       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=   6612.516     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      285 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.953        21.008        .81859E-04    .75829E-04
   2  Index         2.0723        .54525        .68129E-02    .39184E-03
   3  Normalizat    .81418        .22495        .36479E-03   -.56035E-04
   4  Prefactor     1.0529        .11722        .16871E-03    .49867E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.9528
  Index      = 2.07228
  Normalizat = 0.814182
  Prefactor  = 1.05286
 **********
 **   18 **HESSE 
 **********

 FCN=   6612.516     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.953        20.240        .32744E-05   -1.4729    
   2  Index         2.0723        .52511        .13626E-02   -.62555    
   3  Normalizat    .81418        .22481        .14592E-04   -.99545    
   4  Prefactor     1.0529        .11721        .67483E-05   -.90988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37348e-11
Minuit parameter uncertainties:
  1  20.2462
  2  0.526588
  3  0.225068
  4  0.117236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/249588': 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) = 6612.51595165
delta logL = 0.0363877799045

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  2.395e+01  2.025e+01  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.072e+00  5.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:  1.053e+00  1.172e-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:  8.142e-01  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.23
Ra Dec: 142.599 86.202
Photon Index (Free Index): 2.07 +/- 0.53
Photon Flux (Free Index): 6.28e-08 +/- 5.17e-08
Energy Flux (Free Index): 3.66e-05 +/- 3.66e-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/249588/cmap_HighResolution_258249601_258508801_4FGL_J0930.3+8612_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', comment='SUCCESS', photon_flux='6.99e-08', energy_flux2='3.66e-05', photon_flux_error='4.82e-08', dlogl='3.64e-02', energy_flux='3.03e-05', photon_flux2='6.28e-08', job_status='DONE', time_completed='2021-08-31 13:01:50.586562', photon_index_error2='0.53', photon_index2='2.07', ts='3.16', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.69e-07', energy_flux_error2='3.66e-05', EG='0.81', time_epoch_completed='1630440110.59', return_code='0', job_id='249588', GAL2='1.05', EG2='0.81', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='5.17e-08', ts2='3.23', photon_index='2.22' WHERE bin_id='73' AND source_name='4FGL J0930.3+8612' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 13:01:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 249588: <4FGL_J0930.3+8612_daily_bin73> in cluster <slac> Done

Job <4FGL_J0930.3+8612_daily_bin73> 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) <bullet0304>, 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:01:51 2021
Results reported at Tue Aug 31 13:01:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0930.3+8612_daily_bin73 142.599 86.2021 258249601 258508801 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 :                                   754.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            961 sec.

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

