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


Performing analysis on: 4FGL_J0930.3+8612_daily_bin1005
RA = 142.599, Dec = 86.2021
tmin = 499824001, tmax = 500083201
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='256620', job_status='RUN', time_executed='2021-08-31 13:09:21.797219', time_epoch_executed='1630440561.8' WHERE source_name='4FGL J0930.3+8612' and cadence='daily' and bin_id='1005'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/256620

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/256620/ft1_4FGL_J0930.3+8612_daily_bin1005.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/256620/ft2_4FGL_J0930.3+8612_daily_bin1005.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/256620/ft1_4FGL_J0930.3+8612_daily_bin1005.fits outfile=/scratch/kocevski/256620/ft1_filteredMKT_4FGL_J0930.3+8612_daily_bin1005.fits ra=142.599 dec=86.2021 rad=12.0 tmin=499824001.0 tmax=500083201.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.98
user 3.75
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/256620/ft1_filtered_4FGL_J0930.3+8612_daily_bin1005.fits" evtable="EVENTS" scfile=/scratch/kocevski/256620/ft2_4FGL_J0930.3+8612_daily_bin1005.fits sctable="SC_DATA" outfile=/scratch/kocevski/256620/ltcube_499824001_500083201_4FGL_J0930.3+8612_daily_bin1005.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/256620/ft2_4FGL_J0930.3+8612_daily_bin1005.fits
.....................!
real 9.19
user 8.90
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/256620/ft1_filtered_4FGL_J0930.3+8612_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/256620/ft2_4FGL_J0930.3+8612_daily_bin1005.fits sctable="SC_DATA" expcube=/scratch/kocevski/256620/ltcube_499824001_500083201_4FGL_J0930.3+8612_daily_bin1005.fits outfile=/scratch/kocevski/256620/expmap_499824001_500083201_4FGL_J0930.3+8612_daily_bin1005.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/256620/ltcube_499824001_500083201_4FGL_J0930.3+8612_daily_bin1005.fits
.....................!
real 145.39
user 141.59
sys 3.51

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/256620/ft1_filtered_4FGL_J0930.3+8612_daily_bin1005.fits scfile=/scratch/kocevski/256620/ft2_4FGL_J0930.3+8612_daily_bin1005.fits outfile=/scratch/kocevski/256620/cmap_499824001_500083201_4FGL_J0930.3+8612_daily_bin1005.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.46
user 0.31
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/256620/ft1_filtered_4FGL_J0930.3+8612_daily_bin1005.fits scfile=/scratch/kocevski/256620/ft2_4FGL_J0930.3+8612_daily_bin1005.fits outfile=/scratch/kocevski/256620/cmap_HighResolution_499824001_500083201_4FGL_J0930.3+8612_daily_bin1005.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.46
user 0.31
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.499       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.2503       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    20.566       1.0000         .10000E-03   10000.    
     6 'norm      '    35.676       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.331       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.293       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10586E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .24315E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.6859       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10339E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .75320E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    .22552E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.9846       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    67.395       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.0453       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .75529       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0018       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=   7456.418     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2551 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.906        .12001E-05** at limit **
   2  Prefactor     10.502        8.0850       -.73116E-06   -.14369E-02
   3  Prefactor     9.2521        13.605        .69847E-05   -.75784E-04
   4  Prefactor     .10000E-03    1.9066       -.17543E-07** at limit **
   5  norm          20.580        18.927       -.33953E-05   -.14384E-04
   6  norm          35.644        23.790        .13532E-04    .35957E-04
   7  Prefactor     .10000E-03    18.024       -.12551E-04** at limit **
   8  Prefactor     10.333        5.2709        .13477E-07    .98771E-05
   9  Prefactor     12.296        8.5833        .64684E-06   -.10875E-03
  10  Prefactor     .10000E-03    18.945        .12939E-04** at limit **
  11  Prefactor     .10000E-03    4.2397        .12684E-06** at limit **
  12  Prefactor     .10000E-03    63.427       -.94135E-06** at limit **
  13  norm          6.6876        4.2544        .32920E-06   -.59610E-03
  14  Prefactor     .10000E-03    9.0780        .25223E-05** at limit **
  15  Prefactor     .10000E-03    6.7650        .82878E-07** at limit **
  16  Prefactor     .10001E-03    286.60       -.18621E-04** at limit **
  17  norm          .49352E-01    1.4063        .30141E-06   -.45927E-03
  18  Prefactor     4.9739        61.984        .44153E-05   -.16800E-04
  19  Prefactor     .10000E-03    9.3695       -.30987E-05** at limit **
  20  Prefactor     67.419        82.449        .21342E-04   -.17276E-04
  21  Prefactor     5.1011        223.22        .14590E-03    .79410E-06
  22  Normalizat    .75498        .16775       -.59005E-05   -.26281E-03
  23  Prefactor     1.0018        .90761E-01   -.17373E-05   -.18644E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.5024
  Prefactor  = 9.25214
  Prefactor  = 0.0001
  norm       = 20.5804
  norm       = 35.6444
  Prefactor  = 0.0001
  Prefactor  = 10.3326
  Prefactor  = 12.2961
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.6876
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  norm       = 0.0493519
  Prefactor  = 4.97394
  Prefactor  = 0.0001
  Prefactor  = 67.4187
  Prefactor  = 5.10111
  Normalizat = 0.754978
  Prefactor  = 1.0018
 **********
 **   18 **HESSE 
 **********

 FCN=   7456.418     FROM HESSE     STATUS=OK           370 CALLS     2921 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.502        8.1216        .61826E-03   -1.5060    
   3  Prefactor     9.2521        13.642        .13177E-03   -1.5100    
   4  Prefactor     .10000E-03    1.9094        .11644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          20.580        18.930        .88320E-04   -1.4800    
   6  norm          35.644        23.801        .33548E-03   -1.4513    
   7  Prefactor     .10000E-03    18.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.333        5.2734        .12466E-03   -1.5065    
   9  Prefactor     12.296        8.5847        .11425E-03   -1.5007    
  10  Prefactor     .10000E-03    19.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.2470        .17362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    64.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.6876        4.2436        .13476E-03   -1.5191    
  14  Prefactor     .10000E-03    9.1834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.8480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    294.24        .37159E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .49352E-01    23.384        .19779E-02   -1.5664    
  18  Prefactor     4.9739        61.953        .18013E-03   -1.5262    
  19  Prefactor     .10000E-03    9.4275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     67.419        82.649        .48891E-04   -1.4064    
  21  Prefactor     5.1011        221.08        .17902E-03   -1.5256    
  22  Normalizat    .75498        .18585        .33491E-03   -1.0176    
  23  Prefactor     1.0018        .10150        .16109E-03   -.92670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90758e-09
Minuit parameter uncertainties:
  1  1.55201e-06
  2  8.12243
  3  13.6464
  4  3.21948e-06
  5  18.9352
  6  23.807
  7  2.99617e-05
  8  5.27363
  9  8.58554
  10  0.000115202
  11  1.03625e-05
  12  0.00028877
  13  4.24376
  14  2.69853e-05
  15  3.52693e-05
  16  0.00300394
  17  2.14721
  18  35.1533
  19  7.85282e-06
  20  82.7902
  21  67.4303
  22  0.186008
  23  0.101519
Done.

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

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  1.230e+01  8.586e+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:  1.002e+00  1.015e-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:  7.550e-01  1.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.98
Ra Dec: 142.599 86.202
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 4.23e-08 +/- 2.95e-08
Energy Flux (Fixed Index): 1.83e-05 +/- 1.28e-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) = 7454.04060377
delta logL = 2.3775712558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7454.03973758
delta logL = 2.37843744385

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.703       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2026       1.0000          .0000       10.000    
     3 'Normalizat'    .77147       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0031       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=   7454.040     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      209 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.703        9.5623        .28097E-02    .35803E-02
   2  Index         1.2026        .33202        .20348       -.16890E-04
   3  Normalizat    .77156        .15985        .74894E-01    .26895E-04
   4  Prefactor     1.0031        .88035E-01    .44635E-01   -.74973E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7029
  Index      = 1.20263
  Normalizat = 0.77156
  Prefactor  = 1.00311
 **********
 **   18 **HESSE 
 **********

 FCN=   7454.040     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.703        13.183        .11239E-03   -1.4995    
   2  Index         1.2026        .48562        .84667E-02   -.86250    
   3  Normalizat    .77156        .17685        .33150E-03   -1.0113    
   4  Prefactor     1.0031        .97739E-01    .16098E-03   -.92626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87867e-08
Minuit parameter uncertainties:
  1  13.1857
  2  0.487446
  3  0.176983
  4  0.097756
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/256620': 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) = 7454.03973737
delta logL = 2.37843765908

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  1.270e+01  1.319e+01  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  1.203e+00  4.874e-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.003e+00  9.776e-02  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  7.716e-01  1.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.74
Ra Dec: 142.599 86.202
Photon Index (Free Index): 1.20 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.31e-08
Energy Flux (Free Index): 1.03e-04 +/- 1.06e-04

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/256620/cmap_HighResolution_499824001_500083201_4FGL_J0930.3+8612_daily_bin1005.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.23e-08', energy_flux2='1.03e-04', photon_flux_error='2.95e-08', dlogl='2.38e+00', energy_flux='1.83e-05', photon_flux2='1.25e-08', job_status='DONE', time_completed='2021-08-31 13:19:36.877819', photon_index_error2='0.49', photon_index2='1.20', ts='6.98', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.06e-04', EG='0.75', time_epoch_completed='1630441176.88', return_code='0', job_id='256620', GAL2='1.00', EG2='0.77', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='1.31e-08', ts2='11.74', photon_index='2.22' WHERE bin_id='1005' AND source_name='4FGL J0930.3+8612' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 13:19:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 256620: <4FGL_J0930.3+8612_daily_bin1005> in cluster <slac> Done

Job <4FGL_J0930.3+8612_daily_bin1005> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 13:05:35 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 13:05: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 13:05:36 2021
Terminated at Tue Aug 31 13:19:37 2021
Results reported at Tue Aug 31 13:19:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0930.3+8612_daily_bin1005 142.599 86.2021 499824001 500083201 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 :                                   610.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             315.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            842 sec.

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

