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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin960
RA = 137.674, Dec = 22.7978
tmin = 488160001, tmax = 488419201
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='43629', job_status='RUN', time_executed='2021-08-31 02:27:49.605232', time_epoch_executed='1630402069.61' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='960'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43629

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43629/ft1_4FGL_J0910.6+2247_daily_bin960.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43629/ft2_4FGL_J0910.6+2247_daily_bin960.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43629/ft1_4FGL_J0910.6+2247_daily_bin960.fits outfile=/scratch/kocevski/43629/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin960.fits ra=137.674 dec=22.7978 rad=12.0 tmin=488160001.0 tmax=488419201.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 12.26
user 5.06
sys 7.14

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/43629/ft2_4FGL_J0910.6+2247_daily_bin960.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/43629/ft2_4FGL_J0910.6+2247_daily_bin960.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/43629/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin960.fits evtable="EVENTS" outfile="/scratch/kocevski/43629/ft1_filtered_4FGL_J0910.6+2247_daily_bin960.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 7.55
user 0.34
sys 7.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43629/ft1_filtered_4FGL_J0910.6+2247_daily_bin960.fits" evtable="EVENTS" scfile=/scratch/kocevski/43629/ft2_4FGL_J0910.6+2247_daily_bin960.fits sctable="SC_DATA" outfile=/scratch/kocevski/43629/ltcube_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.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/43629/ft2_4FGL_J0910.6+2247_daily_bin960.fits
.....................!
real 20.19
user 12.01
sys 8.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43629/ft1_filtered_4FGL_J0910.6+2247_daily_bin960.fits evtable="EVENTS" scfile=/scratch/kocevski/43629/ft2_4FGL_J0910.6+2247_daily_bin960.fits sctable="SC_DATA" expcube=/scratch/kocevski/43629/ltcube_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.fits outfile=/scratch/kocevski/43629/expmap_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.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/43629/ltcube_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.fits
.....................!
real 200.29
user 185.97
sys 13.78

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J0910.6+2247 @ 137.674 22.7978

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/43629/ft1_filtered_4FGL_J0910.6+2247_daily_bin960.fits scfile=/scratch/kocevski/43629/ft2_4FGL_J0910.6+2247_daily_bin960.fits outfile=/scratch/kocevski/43629/cmap_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.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=137.674 yref=22.7978 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 7.40
user 0.39
sys 6.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43629/ft1_filtered_4FGL_J0910.6+2247_daily_bin960.fits scfile=/scratch/kocevski/43629/ft2_4FGL_J0910.6+2247_daily_bin960.fits outfile=/scratch/kocevski/43629/cmap_HighResolution_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.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=137.674 yref=22.7978 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 7.47
user 0.38
sys 6.89

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/43629/ft1_filtered_4FGL_J0910.6+2247_daily_bin960.fits evtable="EVENTS" scfile=/scratch/kocevski/43629/ft2_4FGL_J0910.6+2247_daily_bin960.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/43629/Model_4FGL_J0910.6+2247_daily_bin960.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/43629/ft1_filtered_4FGL_J0910.6+2247_daily_bin960.fits.....................!
real 60.18
user 48.70
sys 10.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/43629/ft1_filtered_4FGL_J0910.6+2247_daily_bin960.fits', '/scratch/kocevski/43629/ft2_4FGL_J0910.6+2247_daily_bin960.fits', expMap='/scratch/kocevski/43629/expmap_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.fits', expCube='/scratch/kocevski/43629/ltcube_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/43629/Model_4FGL_J0910.6+2247_daily_bin960.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0910.6+2247'

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  9.863e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/43629/ft1_filtered_4FGL_J0910.6+2247_daily_bin960.fits
Spacecraft file(s): /scratch/kocevski/43629/ft2_4FGL_J0910.6+2247_daily_bin960.fits
Exposure map: /scratch/kocevski/43629/expmap_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.fits
Exposure cube: /scratch/kocevski/43629/ltcube_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/43629/Model_4FGL_J0910.6+2247_daily_bin960.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) = 5103.8867092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.103       1.0000         .10000E-03   10000.    
     2 'norm      '    .19181E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8104       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.034       1.0000         .10000E-03   10000.    
     6 'norm      '    1.8516       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.117       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.459       1.0000         .10000E-03   10000.    
     9 'norm      '    7.0963       1.0000         .10000E-03   10000.    
    10 'norm      '    24.391       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9588       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.597       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1368       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1469       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0270       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93314       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5103.880     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     2044 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.098        20.569       -.22565E-05   -.64824E-04
   2  norm          .10000E-03    .79843        .99260E-07** at limit **
   3  Prefactor     2.8085        3.1422        .36934E-06   -.62990E-03
   4  Prefactor     .10000E-03    3.9290       -.48889E-07** at limit **
   5  Prefactor     26.029        52.369       -.79209E-05   -.53709E-05
   6  norm          1.8515        .84805       -.43093E-07   -.21457E-04
   7  Prefactor     11.117        10.825       -.87710E-07   -.78783E-06
   8  Prefactor     19.459        19.733       -.79123E-06    .81528E-06
   9  norm          7.0967        7.6326       -.80012E-07    .20823E-07
  10  norm          24.393        24.028        .16044E-05    .90340E-05
  11  Prefactor     1.9589        2.4288       -.55313E-07   -.15971E-04
  12  norm          .10000E-03    .77972       -.30707E-07** at limit **
  13  Prefactor     37.598        34.825        .13889E-05    .68475E-05
  14  Prefactor     5.1368        3.7806       -.65420E-07    .18199E-05
  15  Prefactor     .10000E-03    6.4007        .60372E-07** at limit **
  16  Prefactor     .10000E-03    33.704       -.33633E-07** at limit **
  17  Prefactor     .10000E-03    22.172        .17320E-06** at limit **
  18  Prefactor     4.1465        6.7617       -.21783E-05   -.51260E-04
  19  Normalizat    1.0271        .19025        .13638E-05   -.55995E-04
  20  Prefactor     .93305        .16994        .31387E-07    .16365E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0977
  norm       = 0.0001
  Prefactor  = 2.8085
  Prefactor  = 0.0001
  Prefactor  = 26.0286
  norm       = 1.85155
  Prefactor  = 11.1167
  Prefactor  = 19.4587
  norm       = 7.09666
  norm       = 24.3929
  Prefactor  = 1.95885
  norm       = 0.0001
  Prefactor  = 37.5981
  Prefactor  = 5.13679
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.14653
  Normalizat = 1.0271
  Prefactor  = 0.933051
 **********
 **   18 **HESSE 
 **********

 FCN=   5103.880     FROM HESSE     STATUS=OK           299 CALLS     2343 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.098        19.994        .85197E-04   -1.4767    
   2  norm          .10000E-03    3.2163        .11637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8085        10.323        .12132E-02   -1.5373    
   4  Prefactor     .10000E-03    3.9577        .13826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.029        52.202        .78513E-04   -1.4687    
   6  norm          1.8515        .84925        .42298E-04   -1.5436    
   7  Prefactor     11.117        10.822        .12016E-03   -1.5041    
   8  Prefactor     19.459        19.842        .90796E-04   -1.4825    
   9  norm          7.0967        7.6339        .15059E-03   -1.5175    
  10  norm          24.393        24.034        .81109E-04   -1.4720    
  11  Prefactor     1.9589        2.4184        .12056E-03   -1.5428    
  12  norm          .10000E-03    .79355        .61557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.598        34.835        .65365E-04   -1.4481    
  14  Prefactor     5.1368        3.7871        .11336E-03   -1.5255    
  15  Prefactor     .10000E-03    6.4046        .17653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    33.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.1465        6.7677        .19793E-03   -1.5301    
  19  Normalizat    1.0271        .22453        .23695E-03   -.92128    
  20  Prefactor     .93305        .19755        .23358E-03   -.94996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52134e-09
Minuit parameter uncertainties:
  1  19.9999
  2  6.7091e-05
  3  10.3295
  4  2.04921e-06
  5  52.2942
  6  0.84926
  7  10.824
  8  19.8489
  9  7.63492
  10  24.0434
  11  2.41856
  12  7.28946e-07
  13  34.8533
  14  3.78723
  15  1.08488e-06
  16  5.0808e-06
  17  1.38945e-05
  18  6.76896
  19  0.224738
  20  0.197705
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  2.439e+01  2.404e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.331e-01  1.977e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.027e+00  2.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.76e-08 +/- 1.74e-08
Energy Flux (Fixed Index): 7.74e-06 +/- 7.63e-06

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) = 5102.21424371
delta logL = 1.6653885548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5101.73901739
delta logL = 2.14061487875

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5580       1.0000         .10000E-03   10000.    
     2 'alpha     '    .35203       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0371       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93175       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+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=   5101.739     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      251 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5618        9.7624        .16486E-03   -.43237E-04
   2  alpha         .35195        .69297        .27587E-01    .32053E-05
   3  Normalizat    1.0373        .20599        .23593E-03   -.18214E-04
   4  Prefactor     .93168        .19548        .23374E-03   -.11819E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.56177
  alpha      = 0.351952
  Normalizat = 1.03726
  Prefactor  = 0.931679
 **********
 **   18 **HESSE 
 **********

 FCN=   5101.739     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5618        10.320        .65945E-05   -1.5236    
   2  alpha         .35195        .72739        .11035E-02   -1.0337    
   3  Normalizat    1.0373        .20621        .94373E-05   -.91792    
   4  Prefactor     .93168        .19569        .93497E-05   -.95043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04485e-12
Minuit parameter uncertainties:
  1  10.3235
  2  0.773728
  3  0.20637
  4  0.195833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43629': 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) = 5101.73901683
delta logL = 2.14061543858

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  5.562e+00  1.032e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  3.520e-01  7.737e-01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.317e-01  1.958e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.037e+00  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.48
Ra Dec: 137.674 22.798
Photon Index (Free Index): 0.35 +/- 0.77
Photon Flux (Free Index): 3.87e-09 +/- 3.95e-09
Energy Flux (Free Index): 5.22e-05 +/- 7.63e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/43629/cmap_HighResolution_488160001_488419201_4FGL_J0910.6+2247_daily_bin960.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-08', energy_flux2='5.22e-05', photon_flux_error='1.74e-08', dlogl='2.14e+00', energy_flux='7.74e-06', photon_flux2='3.87e-09', job_status='DONE', time_completed='2021-08-31 02:38:02.762996', photon_index_error2='0.77', photon_index2='0.35', ts='5.20', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='7.63e-05', EG='1.03', time_epoch_completed='1630402682.76', return_code='0', job_id='43629', GAL2='0.93', EG2='1.04', return_code2='0', energy_flux_error='7.63e-06', photon_flux_error2='3.95e-09', ts2='9.48', photon_index='2.19' WHERE bin_id='960' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:38:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 43629: <4FGL_J0910.6+2247_daily_bin960> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin960> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 02:25:30 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:25:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 02:25:32 2021
Terminated at Tue Aug 31 02:38:04 2021
Results reported at Tue Aug 31 02:38:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin960 137.674 22.7978 488160001 488419201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0910.6+2247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   710.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            754 sec.

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

