/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 57 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 = 7438
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1305
RA = 137.674, Dec = 22.7978
tmin = 577584001, tmax = 577843201
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='44953', job_status='RUN', time_executed='2021-08-31 02:32:08.063787', time_epoch_executed='1630402328.06' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1305'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/44953

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/44953/ft1_4FGL_J0910.6+2247_daily_bin1305.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/44953/ft2_4FGL_J0910.6+2247_daily_bin1305.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/44953/ft1_4FGL_J0910.6+2247_daily_bin1305.fits outfile=/scratch/kocevski/44953/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1305.fits ra=137.674 dec=22.7978 rad=12.0 tmin=577584001.0 tmax=577843201.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.97
user 2.56
sys 1.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/44953/ft2_4FGL_J0910.6+2247_daily_bin1305.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/44953/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1305.fits evtable="EVENTS" outfile="/scratch/kocevski/44953/ft1_filtered_4FGL_J0910.6+2247_daily_bin1305.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.70
user 0.32
sys 1.29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/44953/ft1_filtered_4FGL_J0910.6+2247_daily_bin1305.fits" evtable="EVENTS" scfile=/scratch/kocevski/44953/ft2_4FGL_J0910.6+2247_daily_bin1305.fits sctable="SC_DATA" outfile=/scratch/kocevski/44953/ltcube_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.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/44953/ft2_4FGL_J0910.6+2247_daily_bin1305.fits
.....................!
real 14.08
user 12.54
sys 1.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/44953/ft1_filtered_4FGL_J0910.6+2247_daily_bin1305.fits evtable="EVENTS" scfile=/scratch/kocevski/44953/ft2_4FGL_J0910.6+2247_daily_bin1305.fits sctable="SC_DATA" expcube=/scratch/kocevski/44953/ltcube_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.fits outfile=/scratch/kocevski/44953/expmap_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.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/44953/ltcube_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.fits
.....................!
real 192.77
user 186.06
sys 6.06

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/44953/ft1_filtered_4FGL_J0910.6+2247_daily_bin1305.fits scfile=/scratch/kocevski/44953/ft2_4FGL_J0910.6+2247_daily_bin1305.fits outfile=/scratch/kocevski/44953/cmap_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.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 1.67
user 0.38
sys 1.25

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/44953/ft1_filtered_4FGL_J0910.6+2247_daily_bin1305.fits scfile=/scratch/kocevski/44953/ft2_4FGL_J0910.6+2247_daily_bin1305.fits outfile=/scratch/kocevski/44953/cmap_HighResolution_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.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 1.68
user 0.39
sys 1.27

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/44953/ft1_filtered_4FGL_J0910.6+2247_daily_bin1305.fits', '/scratch/kocevski/44953/ft2_4FGL_J0910.6+2247_daily_bin1305.fits', expMap='/scratch/kocevski/44953/expmap_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.fits', expCube='/scratch/kocevski/44953/ltcube_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/44953/Model_4FGL_J0910.6+2247_daily_bin1305.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/44953/ft1_filtered_4FGL_J0910.6+2247_daily_bin1305.fits
Spacecraft file(s): /scratch/kocevski/44953/ft2_4FGL_J0910.6+2247_daily_bin1305.fits
Exposure map: /scratch/kocevski/44953/expmap_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.fits
Exposure cube: /scratch/kocevski/44953/ltcube_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/44953/Model_4FGL_J0910.6+2247_daily_bin1305.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) = 8235.56699828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.251       1.0000         .10000E-03   10000.    
     2 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.6099       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14928E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.3827       1.0000         .10000E-03   10000.    
     6 'norm      '    .39428       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3934       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.1128       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0373       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7101       1.0000         .10000E-03   10000.    
    13 'Prefactor '    42.713       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3934       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0252       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1340       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=   8235.419     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     1808 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.262        15.333        .24477E-05    .31247E-04
   2  norm          .10000E-03    .29915       -.96440E-07** at limit **
   3  Prefactor     7.6123        5.8782        .98582E-07   -.29916E-04
   4  Prefactor     .10000E-03    2.7513       -.83468E-06** at limit **
   5  Prefactor     8.4124        33.355        .68421E-04    .10785E-04
   6  norm          .39442        .70053       -.38114E-06   -.24932E-02
   7  Prefactor     .10000E-03    18.098       -.20352E-05** at limit **
   8  Prefactor     8.3996        13.430        .93553E-06   -.77764E-04
   9  norm          .10000E-03    3.2372       -.47921E-07** at limit **
  10  norm          4.1158        22.991        .54117E-05   -.24168E-04
  11  Prefactor     1.0366        2.5188       -.70301E-06   -.14010E-02
  12  norm          1.7098        1.2584        .37802E-07   -.18174E-03
  13  Prefactor     42.702        37.407       -.12072E-04   -.22217E-05
  14  Prefactor     .10000E-03    1.7652        .66448E-06** at limit **
  15  Prefactor     1.3827        88.111       -.25938E-04   -.65205E-04
  16  Prefactor     .10000E-03    31.802        .47518E-05** at limit **
  17  Prefactor     .10000E-03    10.717        .75023E-06** at limit **
  18  Prefactor     .10000E-03    4.9861        .20043E-06** at limit **
  19  Normalizat    1.0253        .16337        .58016E-06    .13527E-03
  20  Prefactor     1.1341        .14565       -.13894E-05    .29850E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2618
  norm       = 0.0001
  Prefactor  = 7.61228
  Prefactor  = 0.000100001
  Prefactor  = 8.41239
  norm       = 0.394416
  Prefactor  = 0.0001
  Prefactor  = 8.39957
  norm       = 0.0001
  norm       = 4.11576
  Prefactor  = 1.0366
  norm       = 1.70979
  Prefactor  = 42.702
  Prefactor  = 0.000100001
  Prefactor  = 1.38273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02526
  Prefactor  = 1.13406
 **********
 **   18 **HESSE 
 **********

 FCN=   8235.419     FROM HESSE     STATUS=OK           297 CALLS     2105 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.262        15.117        .96431E-04   -1.4877    
   2  norm          .10000E-03    .44337        .94849E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.6123        5.8565        .14537E-03   -1.5156    
   4  Prefactor     .10000E-03    7.9105        .29107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4124        33.006        .13846E-03   -1.5128    
   6  norm          .39442        .68734        .93009E-04   -1.5582    
   7  Prefactor     .10000E-03    18.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.3996        13.437        .13837E-03   -1.5128    
   9  norm          .10000E-03    3.2621        .15945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.1158        22.914        .19878E-03   -1.5302    
  11  Prefactor     1.0366        2.4820        .21684E-03   -1.5504    
  12  norm          1.7098        1.2536        .84302E-04   -1.5446    
  13  Prefactor     42.702        37.423        .61340E-04   -1.4400    
  14  Prefactor     .10000E-03    3.4122        .22911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.3827        90.264        .36798E-03   -1.5473    
  16  Prefactor     .10000E-03    31.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0253        .18476        .25075E-03   -.92189    
  20  Prefactor     1.1341        .16758        .22711E-03   -.88385    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9615e-09
Minuit parameter uncertainties:
  1  15.1202
  2  7.52046e-06
  3  5.8569
  4  0.000137137
  5  33.0776
  6  0.687356
  7  0.000119493
  8  13.442
  9  8.76508e-07
  10  19.4338
  11  2.48229
  12  1.25366
  13  37.4433
  14  0.000120109
  15  22.3782
  16  4.95356e-05
  17  6.37081e-06
  18  5.31195e-05
  19  0.184873
  20  0.167654
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  4.116e+00  1.943e+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:  1.134e+00  1.677e-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.025e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 137.674 22.798
Photon Flux Upper Limit: 4.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/44953/likelihoodResults_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.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) = 8235.35295019
delta logL = 0.0664743174602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8235.35192657
delta logL = 0.0674979325868

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5702       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1193       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0168       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1368       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8235.352     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      279 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5869        28.344        .94149E-03    .10891E-03
   2  alpha         3.1182        3.9810        .45140E-01    .76492E-05
   3  Normalizat    1.0169        .18000        .25166E-03   -.18070E-05
   4  Prefactor     1.1364        .16795        .22687E-03   -.17038E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.58691
  alpha      = 3.11822
  Normalizat = 1.01686
  Prefactor  = 1.13639
 **********
 **   18 **HESSE 
 **********

 FCN=   8235.352     FROM HESSE     STATUS=OK            27 CALLS      306 TOTAL
                     EDM=   .77E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5869        15.198        .18830E-03   -1.5280    
   2  alpha         3.1182        2.0044        .18056E-02    .24988    
   3  Normalizat    1.0169        .17767        .10066E-04   -.92468    
   4  Prefactor     1.1364        .16649        .90749E-05   -.88312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6852e-14
Minuit parameter uncertainties:
  1  15.2108
  2  2.3608
  3  0.177771
  4  0.166564
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/44953': 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) = 8235.35191814
delta logL = 0.0675063622966

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  4.587e+00  1.521e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  3.118e+00  2.361e+00  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:  1.136e+00  1.666e-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.017e+00  1.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 137.674 22.798

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/44953/cmap_HighResolution_577584001_577843201_4FGL_J0910.6+2247_daily_bin1305.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.12e-05', job_status='DONE', photon_flux_upper_limit='4.82e-08', time_completed='2021-08-31 02:43:13.986365', job_id='44953', GAL2='1.14', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1630402993.99', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='6.75e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1305' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:43:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 44953: <4FGL_J0910.6+2247_daily_bin1305> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin1305> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:30:37 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:30:39 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:30:39 2021
Terminated at Tue Aug 31 02:43:16 2021
Results reported at Tue Aug 31 02:43:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1305 137.674 22.7978 577584001 577843201 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 :                                   674.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            759 sec.

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

