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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1398
RA = 137.674, Dec = 22.7978
tmin = 601689601, tmax = 601948801
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='45105', job_status='RUN', time_executed='2021-08-31 02:31:51.674312', time_epoch_executed='1630402311.67' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1398'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45105

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45105/ft1_4FGL_J0910.6+2247_daily_bin1398.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45105/ft2_4FGL_J0910.6+2247_daily_bin1398.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45105/ft1_4FGL_J0910.6+2247_daily_bin1398.fits outfile=/scratch/kocevski/45105/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1398.fits ra=137.674 dec=22.7978 rad=12.0 tmin=601689601.0 tmax=601948801.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 4.77
user 3.29
sys 1.46

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45105/ft1_filtered_4FGL_J0910.6+2247_daily_bin1398.fits" evtable="EVENTS" scfile=/scratch/kocevski/45105/ft2_4FGL_J0910.6+2247_daily_bin1398.fits sctable="SC_DATA" outfile=/scratch/kocevski/45105/ltcube_601689601_601948801_4FGL_J0910.6+2247_daily_bin1398.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/45105/ft2_4FGL_J0910.6+2247_daily_bin1398.fits
.....................!
real 13.42
user 11.64
sys 1.72

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45105/ft1_filtered_4FGL_J0910.6+2247_daily_bin1398.fits evtable="EVENTS" scfile=/scratch/kocevski/45105/ft2_4FGL_J0910.6+2247_daily_bin1398.fits sctable="SC_DATA" expcube=/scratch/kocevski/45105/ltcube_601689601_601948801_4FGL_J0910.6+2247_daily_bin1398.fits outfile=/scratch/kocevski/45105/expmap_601689601_601948801_4FGL_J0910.6+2247_daily_bin1398.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/45105/ltcube_601689601_601948801_4FGL_J0910.6+2247_daily_bin1398.fits
.....................!
real 193.93
user 185.50
sys 7.89

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/45105/ft1_filtered_4FGL_J0910.6+2247_daily_bin1398.fits scfile=/scratch/kocevski/45105/ft2_4FGL_J0910.6+2247_daily_bin1398.fits outfile=/scratch/kocevski/45105/cmap_601689601_601948801_4FGL_J0910.6+2247_daily_bin1398.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.68
user 0.37
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45105/ft1_filtered_4FGL_J0910.6+2247_daily_bin1398.fits scfile=/scratch/kocevski/45105/ft2_4FGL_J0910.6+2247_daily_bin1398.fits outfile=/scratch/kocevski/45105/cmap_HighResolution_601689601_601948801_4FGL_J0910.6+2247_daily_bin1398.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.70
user 0.38
sys 1.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10388E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.938       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    43.068       1.0000         .10000E-03   10000.    
     6 'norm      '    .54965       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.554       1.0000         .10000E-03   10000.    
     9 'norm      '    5.5352       1.0000         .10000E-03   10000.    
    10 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    46.166       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1568       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.103       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12446E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11784E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.848       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .88190       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1566       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=   5768.505     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     2087 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5564        .28180E-07** at limit **
   2  norm          .10000E-03    .66533        .35234E-07** at limit **
   3  Prefactor     11.932        11.912       -.24641E-06   -.82912E-04
   4  Prefactor     .10000E-03    5.6327       -.65883E-08** at limit **
   5  Prefactor     43.074        61.332        .33398E-05   -.25940E-05
   6  norm          .54967        .47682        .65323E-09   -.23238E-04
   7  Prefactor     .10000E-03    6.5315        .39837E-09** at limit **
   8  Prefactor     35.555        21.088        .24645E-05   -.60228E-05
   9  norm          5.5352        5.4796        .12465E-05    .11541E-03
  10  norm          .10000E-03    14.439        .30998E-07** at limit **
  11  Prefactor     .10000E-03    2.3079       -.48005E-07** at limit **
  12  norm          .10000E-03    .57584        .19666E-07** at limit **
  13  Prefactor     46.181        51.212        .49053E-05   -.44621E-06
  14  Prefactor     3.1568        4.6702       -.51726E-06   -.51839E-03
  15  Prefactor     14.107        29.228        .49054E-06   -.36494E-05
  16  Prefactor     .10000E-03    319.58       -.22504E-05** at limit **
  17  Prefactor     .10000E-03    185.36        .16207E-05** at limit **
  18  Prefactor     16.849        10.064       -.23384E-05   -.42664E-04
  19  Normalizat    .88186        .20321       -.20506E-06   -.26489E-04
  20  Prefactor     1.1566        .17549       -.29871E-06   -.78488E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.9323
  Prefactor  = 0.0001
  Prefactor  = 43.0739
  norm       = 0.549675
  Prefactor  = 0.0001
  Prefactor  = 35.5552
  norm       = 5.53519
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 46.1808
  Prefactor  = 3.15676
  Prefactor  = 14.1066
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 16.8492
  Normalizat = 0.881855
  Prefactor  = 1.15657
 **********
 **   18 **HESSE 
 **********

 FCN=   5768.505     FROM HESSE     STATUS=OK           297 CALLS     2384 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.5608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.8632        .11584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.932        11.620        .11594E-03   -1.5017    
   4  Prefactor     .10000E-03    5.7313        .17594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     43.074        61.232        .61087E-04   -1.4394    
   6  norm          .54967        .49706        .47174E-03   -1.5560    
   7  Prefactor     .10000E-03    6.5552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     35.555        21.160        .67210E-04   -1.4515    
   9  norm          5.5352        5.5060        .17077E-03   -1.5237    
  10  norm          .10000E-03    14.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.3344        .11263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .57859        .56263E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     46.181        51.147        .59011E-04   -1.4348    
  14  Prefactor     3.1568        4.7283        .18595E-03   -1.5353    
  15  Prefactor     14.107        29.238        .10665E-03   -1.4957    
  16  Prefactor     .10000E-03    324.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    190.69        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.849        10.068        .97578E-04   -1.4887    
  19  Normalizat    .88186        .23386        .27318E-03   -.97101    
  20  Prefactor     1.1566        .20209        .22313E-03   -.87678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05625e-10
Minuit parameter uncertainties:
  1  7.78455e-07
  2  1.91439e-06
  3  11.6227
  4  2.93805e-06
  5  61.3214
  6  0.497069
  7  3.4442e-06
  8  21.164
  9  5.50647
  10  1.07959e-05
  11  1.21559e-07
  12  3.052e-07
  13  51.1958
  14  4.7289
  15  29.2678
  16  0.00143213
  17  0.000285369
  18  10.0691
  19  0.234127
  20  0.20223
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.080e-05  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.157e+00  2.022e-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:  8.819e-01  2.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/45105/likelihoodResults_601689601_601948801_4FGL_J0910.6+2247_daily_bin1398.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) = 5768.50500969
delta logL = -0.000329406056153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5768.50468238
delta logL = -2.09282279684e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.9265       1.0000          .0000       5.0000    
     3 'Normalizat'    .88185       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1566       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=   5768.505     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      231 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    67.698        .61661E-01** at limit **
   2  alpha         3.9341        2.9802        .50000       -.30805E-05
   3  Normalizat    .88186        .28173E-01    .44669E-01    .20148E-03
   4  Prefactor     1.1566        .25473E-01    .35749E-01    .13655E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 3.93415
  Normalizat = 0.881856
  Prefactor  = 1.15657
 **********
 **   18 **HESSE 
 **********

 FCN=   5768.505     FROM HESSE     STATUS=OK            27 CALLS      258 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.9576        .21769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.9341        3.6913        .20000E-01    .61097    
   3  Normalizat    .88186        .21358        .27318E-03   -.97101    
   4  Prefactor     1.1566        .19805        .22313E-03   -.87678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27642e-10
Minuit parameter uncertainties:
  1  0.000292699
  2  2.04786
  3  0.213786
  4  0.198179
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45105': 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) = 5768.50468236
delta logL = -2.07187167689e-06

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  2.927e-04  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  3.934e+00  2.048e+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.157e+00  1.982e-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:  8.819e-01  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.674 22.798

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/45105/cmap_HighResolution_601689601_601948801_4FGL_J0910.6+2247_daily_bin1398.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-05', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2021-08-31 02:41:26.363826', job_id='45105', GAL2='1.16', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1630402886.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='-2.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1398' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:41:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 45105: <4FGL_J0910.6+2247_daily_bin1398> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1398 137.674 22.7978 601689601 601948801 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 :                                   591.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            638 sec.

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

