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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin963
RA = 137.674, Dec = 22.7978
tmin = 488937601, tmax = 489196801
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='43634', job_status='RUN', time_executed='2021-08-31 02:29:53.461827', time_epoch_executed='1630402193.46' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='963'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43634

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43634/ft1_4FGL_J0910.6+2247_daily_bin963.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43634/ft2_4FGL_J0910.6+2247_daily_bin963.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43634/ft1_4FGL_J0910.6+2247_daily_bin963.fits outfile=/scratch/kocevski/43634/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin963.fits ra=137.674 dec=22.7978 rad=12.0 tmin=488937601.0 tmax=489196801.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 11.41
user 3.34
sys 8.03

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/43634/ft2_4FGL_J0910.6+2247_daily_bin963.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/43634/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin963.fits evtable="EVENTS" outfile="/scratch/kocevski/43634/ft1_filtered_4FGL_J0910.6+2247_daily_bin963.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 8.21
user 0.33
sys 7.83

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43634/ft1_filtered_4FGL_J0910.6+2247_daily_bin963.fits" evtable="EVENTS" scfile=/scratch/kocevski/43634/ft2_4FGL_J0910.6+2247_daily_bin963.fits sctable="SC_DATA" outfile=/scratch/kocevski/43634/ltcube_488937601_489196801_4FGL_J0910.6+2247_daily_bin963.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/43634/ft2_4FGL_J0910.6+2247_daily_bin963.fits
.....................!
real 23.53
user 14.53
sys 8.92

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43634/ft1_filtered_4FGL_J0910.6+2247_daily_bin963.fits evtable="EVENTS" scfile=/scratch/kocevski/43634/ft2_4FGL_J0910.6+2247_daily_bin963.fits sctable="SC_DATA" expcube=/scratch/kocevski/43634/ltcube_488937601_489196801_4FGL_J0910.6+2247_daily_bin963.fits outfile=/scratch/kocevski/43634/expmap_488937601_489196801_4FGL_J0910.6+2247_daily_bin963.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/43634/ltcube_488937601_489196801_4FGL_J0910.6+2247_daily_bin963.fits
.....................!
real 201.86
user 186.38
sys 14.29

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/43634/ft1_filtered_4FGL_J0910.6+2247_daily_bin963.fits scfile=/scratch/kocevski/43634/ft2_4FGL_J0910.6+2247_daily_bin963.fits outfile=/scratch/kocevski/43634/cmap_488937601_489196801_4FGL_J0910.6+2247_daily_bin963.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 9.26
user 0.37
sys 7.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43634/ft1_filtered_4FGL_J0910.6+2247_daily_bin963.fits scfile=/scratch/kocevski/43634/ft2_4FGL_J0910.6+2247_daily_bin963.fits outfile=/scratch/kocevski/43634/cmap_HighResolution_488937601_489196801_4FGL_J0910.6+2247_daily_bin963.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 10.02
user 0.39
sys 7.72

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.261       1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.4674       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.2617       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17117E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    67.372       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0320       1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .57248       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    41.658       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .97055       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0490       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=   5645.895     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2005 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.265        23.913        .24944E-05    .25642E-04
   2  norm          .10000E-03    .30905       -.48690E-07** at limit **
   3  Prefactor     .10000E-03    4.4103        .13309E-06** at limit **
   4  Prefactor     3.4682        4.8336       -.16062E-06   -.28782E-03
   5  Prefactor     .10000E-03    30.914        .37367E-04** at limit **
   6  norm          2.2619        .87450        .22085E-07    .87348E-04
   7  Prefactor     .10000E-03    4.8773       -.15446E-06** at limit **
   8  Prefactor     .10001E-03    40.494       -.29028E-04** at limit **
   9  norm          .10000E-03    2.1715       -.26087E-07** at limit **
  10  norm          67.367        35.611       -.42210E-05    .65950E-04
  11  Prefactor     2.0319        1.9793        .70764E-07    .31940E-03
  12  norm          .10000E-03    .92581        .66290E-07** at limit **
  13  Prefactor     .10000E-03    22.825       -.49410E-06** at limit **
  14  Prefactor     .56562        2.6927       -.93362E-06   -.20852E-03
  15  Prefactor     .10000E-03    10.751        .79185E-06** at limit **
  16  Prefactor     41.666        53.628        .10935E-04    .10804E-04
  17  Prefactor     .10000E-03    21.871       -.11660E-04** at limit **
  18  Prefactor     .10000E-03    2.3301       -.51371E-07** at limit **
  19  Normalizat    .97042        .17439       -.31992E-07    .46184E-03
  20  Prefactor     1.0490        .16367       -.85199E-07    .34328E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.2651
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.46825
  Prefactor  = 0.0001
  norm       = 2.26186
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.0001
  norm       = 67.367
  Prefactor  = 2.03193
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.565624
  Prefactor  = 0.0001
  Prefactor  = 41.666
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.970417
  Prefactor  = 1.049
 **********
 **   18 **HESSE 
 **********

 FCN=   5645.895     FROM HESSE     STATUS=OK           285 CALLS     2290 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.265        23.847        .65657E-04   -1.4486    
   2  norm          .10000E-03    .31115        .40683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.4406        .15405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.4682        4.8236        .18885E-03   -1.5335    
   5  Prefactor     .10000E-03    31.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2619        .87292        .41681E-04   -1.5407    
   7  Prefactor     .10000E-03    4.8925        .16204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    41.232        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.1722        .10814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          67.367        35.604        .24450E-03   -1.4065    
  11  Prefactor     2.0319        1.9942        .10170E-03   -1.5423    
  12  norm          .10000E-03    .96709        .14087E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .56562        4.7515        .22853E-02   -1.5558    
  15  Prefactor     .10000E-03    10.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     41.666        53.599        .62108E-04   -1.4416    
  17  Prefactor     .10000E-03    21.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.3419        .11200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .97042        .19994        .24044E-03   -.94028    
  20  Prefactor     1.0490        .18924        .22395E-03   -.91113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99363e-08
Minuit parameter uncertainties:
  1  23.8527
  2  2.6277e-06
  3  6.09361e-06
  4  4.82419
  5  3.33975e-05
  6  0.872923
  7  6.89507e-06
  8  0.000917448
  9  3.17937e-08
  10  35.6155
  11  1.99428
  12  5.87683e-06
  13  2.19146e-05
  14  3.27882
  15  2.36475e-06
  16  53.6607
  17  7.65608e-06
  18  4.24013e-06
  19  0.200092
  20  0.189358
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  6.737e+01  3.562e+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.049e+00  1.894e-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:  9.704e-01  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.16
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.87e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 1.13e-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) = 5645.35492797
delta logL = 0.540268623255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5645.3387498
delta logL = 0.556446800124

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    74.826       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6798       1.0000          .0000       5.0000    
     3 'Normalizat'    .98201       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0469       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.

 FCN=   5645.339     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      204 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          74.826        50.908        .11604E-02   -.16734E-02
   2  alpha         1.6797        .52763        .34092        .10657E-05
   3  Normalizat    .98199        .16913        .45941E-01    .97896E-05
   4  Prefactor     1.0469        .16358        .40093E-01    .54752E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 74.8259
  alpha      = 1.67969
  Normalizat = 0.981993
  Prefactor  = 1.04695
 **********
 **   18 **HESSE 
 **********

 FCN=   5645.339     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          74.826        42.717        .46417E-04   -1.3976    
   2  alpha         1.6797        .49090        .13544E-01   -.33432    
   3  Normalizat    .98199        .19517        .23928E-03   -.93636    
   4  Prefactor     1.0469        .18946        .22425E-03   -.91181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.86027e-09
Minuit parameter uncertainties:
  1  42.7343
  2  0.494503
  3  0.195315
  4  0.189583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43634': 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) = 5645.33874978
delta logL = 0.55644682016

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  7.483e+01  4.273e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.680e+00  4.945e-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:  1.047e+00  1.896e-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:  9.820e-01  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.29
Ra Dec: 137.674 22.798
Photon Index (Free Index): 1.68 +/- 0.49
Photon Flux (Free Index): 3.21e-08 +/- 2.36e-08
Energy Flux (Free Index): 3.01e-05 +/- 2.10e-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/43634/cmap_HighResolution_488937601_489196801_4FGL_J0910.6+2247_daily_bin963.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.87e-08', energy_flux2='3.01e-05', photon_flux_error='2.58e-08', dlogl='5.56e-01', energy_flux='2.14e-05', photon_flux2='3.21e-08', job_status='DONE', time_completed='2021-08-31 02:40:40.990751', photon_index_error2='0.49', photon_index2='1.68', ts='12.16', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='2.10e-05', EG='0.97', time_epoch_completed='1630402840.99', return_code='0', job_id='43634', GAL2='1.05', EG2='0.98', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='2.36e-08', ts2='13.29', photon_index='2.19' WHERE bin_id='963' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:40:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 43634: <4FGL_J0910.6+2247_daily_bin963> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin963> 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) <bullet0186>, 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:40:43 2021
Results reported at Tue Aug 31 02:40:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin963 137.674 22.7978 488937601 489196801 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 :                                   749.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            913 sec.

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

