/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 114 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 = 7436
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0910.6+2247_daily_bin72
RA = 137.674, Dec = 22.7978
tmin = 257990401, tmax = 258249601
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='38797', job_status='RUN', time_executed='2021-08-31 02:13:42.042042', time_epoch_executed='1630401222.04' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='72'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38797

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38797/ft1_4FGL_J0910.6+2247_daily_bin72.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38797/ft2_4FGL_J0910.6+2247_daily_bin72.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38797/ft1_4FGL_J0910.6+2247_daily_bin72.fits outfile=/scratch/kocevski/38797/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin72.fits ra=137.674 dec=22.7978 rad=12.0 tmin=257990401.0 tmax=258249601.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 1.75
user 1.23
sys 0.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38797/ft2_4FGL_J0910.6+2247_daily_bin72.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/38797/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin72.fits evtable="EVENTS" outfile="/scratch/kocevski/38797/ft1_filtered_4FGL_J0910.6+2247_daily_bin72.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.82
user 0.32
sys 0.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38797/ft1_filtered_4FGL_J0910.6+2247_daily_bin72.fits" evtable="EVENTS" scfile=/scratch/kocevski/38797/ft2_4FGL_J0910.6+2247_daily_bin72.fits sctable="SC_DATA" outfile=/scratch/kocevski/38797/ltcube_257990401_258249601_4FGL_J0910.6+2247_daily_bin72.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/38797/ft2_4FGL_J0910.6+2247_daily_bin72.fits
.....................!
real 12.96
user 12.23
sys 0.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38797/ft1_filtered_4FGL_J0910.6+2247_daily_bin72.fits evtable="EVENTS" scfile=/scratch/kocevski/38797/ft2_4FGL_J0910.6+2247_daily_bin72.fits sctable="SC_DATA" expcube=/scratch/kocevski/38797/ltcube_257990401_258249601_4FGL_J0910.6+2247_daily_bin72.fits outfile=/scratch/kocevski/38797/expmap_257990401_258249601_4FGL_J0910.6+2247_daily_bin72.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/38797/ltcube_257990401_258249601_4FGL_J0910.6+2247_daily_bin72.fits
.....................!
real 191.29
user 185.09
sys 5.73

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/38797/ft1_filtered_4FGL_J0910.6+2247_daily_bin72.fits scfile=/scratch/kocevski/38797/ft2_4FGL_J0910.6+2247_daily_bin72.fits outfile=/scratch/kocevski/38797/cmap_257990401_258249601_4FGL_J0910.6+2247_daily_bin72.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.03
user 0.38
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38797/ft1_filtered_4FGL_J0910.6+2247_daily_bin72.fits scfile=/scratch/kocevski/38797/ft2_4FGL_J0910.6+2247_daily_bin72.fits outfile=/scratch/kocevski/38797/cmap_HighResolution_257990401_258249601_4FGL_J0910.6+2247_daily_bin72.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.01
user 0.36
sys 0.49

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8669       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9807       1.0000         .10000E-03   10000.    
     5 'Prefactor '    62.297       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0372       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2782       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .15347E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.6426       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .53954       1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.246       1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.500       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.083       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0077       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=   7788.728     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     2024 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.958       -.89484E-08** at limit **
   2  norm          .10000E-03    .26616        .99775E-09** at limit **
   3  Prefactor     1.8684        9.6572       -.17206E-06    .30889E-03
   4  Prefactor     2.9824        8.2631       -.97529E-07    .38534E-03
   5  Prefactor     62.297        46.903        .67645E-07   -.34157E-03
   6  norm          1.0372        .61748        .90627E-08    .12024E-03
   7  Prefactor     4.2760        3.9582       -.38270E-06   -.38893E-03
   8  Prefactor     .10000E-03    3.7140        .16559E-08** at limit **
   9  norm          .10000E-03    2.8697        .14859E-08** at limit **
  10  norm          .10000E-03    69.998        .57847E-07** at limit **
  11  Prefactor     .10000E-03    1.3449       -.87498E-09** at limit **
  12  norm          1.6425        1.1658        .42271E-08    .15369E-04
  13  Prefactor     .10000E-03    14.843        .15525E-07** at limit **
  14  Prefactor     .53964        2.8087       -.17721E-06   -.95696E-04
  15  Prefactor     29.247        26.845        .19488E-07   -.15851E-03
  16  Prefactor     36.500        41.456        .97843E-07   -.39983E-03
  17  Prefactor     21.083        30.704        .34622E-07   -.25459E-03
  18  Prefactor     .10000E-03    1.1785       -.14674E-08** at limit **
  19  Normalizat    1.3101        .17185        .82622E-07    .13101E-04
  20  Prefactor     1.0077        .15401        .40663E-08    .48287E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.86838
  Prefactor  = 2.98242
  Prefactor  = 62.2971
  norm       = 1.03716
  Prefactor  = 4.27603
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 1.64255
  Prefactor  = 0.0001
  Prefactor  = 0.539636
  Prefactor  = 29.2469
  Prefactor  = 36.5005
  Prefactor  = 21.0835
  Prefactor  = 0.0001
  Normalizat = 1.31007
  Prefactor  = 1.00771
 **********
 **   18 **HESSE 
 **********

 FCN=   7788.728     FROM HESSE     STATUS=OK           287 CALLS     2311 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .26968        .44386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8684        9.7603        .30489E-03   -1.5435    
   4  Prefactor     2.9824        8.2251        .23516E-03   -1.5363    
   5  Prefactor     62.297        46.875        .50839E-04   -1.4128    
   6  norm          1.0372        .61539        .50898E-04   -1.5504    
   7  Prefactor     4.2760        8.1644        .97393E-03   -1.5294    
   8  Prefactor     .10000E-03    3.7206        .16609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.8744        .14600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    71.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.3560        .99939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6425        1.1663        .77884E-04   -1.5452    
  13  Prefactor     .10000E-03    14.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .53964        3.4495        .30607E-03   -1.5561    
  15  Prefactor     29.247        26.887        .74084E-04   -1.4626    
  16  Prefactor     36.500        41.440        .66336E-04   -1.4499    
  17  Prefactor     21.083        30.735        .87232E-04   -1.4789    
  18  Prefactor     .10000E-03    1.1794        .93562E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3101        .20550        .24219E-03   -.83266    
  20  Prefactor     1.0077        .18234        .25134E-03   -.92473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38226e-09
Minuit parameter uncertainties:
  1  5.84203e-05
  2  5.82138e-08
  3  8.54267
  4  8.22824
  5  46.9025
  6  0.615389
  7  8.16651
  8  4.57058e-06
  9  6.21482e-06
  10  0.000699279
  11  7.80588e-08
  12  1.16629
  13  9.65797e-05
  14  2.72871
  15  26.8981
  16  41.4729
  17  30.7584
  18  1.8722e-06
  19  0.205628
  20  0.182456
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  6.993e-04  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.008e+00  1.825e-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.310e+00  2.056e-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: 5.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/38797/likelihoodResults_257990401_258249601_4FGL_J0910.6+2247_daily_bin72.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): 102
logL (Free Index) = 7788.72757721
delta logL = -6.68322118145e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7788.67282499
delta logL = 0.0546853900132

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15618       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0162       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=   7788.673     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      331 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15620        .57816        .80989E-03    .94052E-02
   2  alpha         5.0000        4.9865        .50000    ** at limit **
   3  Normalizat    1.2940        .20250        .24349E-03    .31283E-04
   4  Prefactor     1.0162        .18391        .25042E-03   -.38362E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.156204
  alpha      = 5
  Normalizat = 1.29397
  Prefactor  = 1.01622
 **********
 **   18 **HESSE 
 **********

 FCN=   7788.673     FROM HESSE     STATUS=OK            31 CALLS      362 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15620        .53511        .16198E-03   -1.5629    
   2  alpha         5.0000        4.9949        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2940        .20304        .97396E-05   -.83747    
   4  Prefactor     1.0162        .18423        .10017E-04   -.92191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.52486e-11
Minuit parameter uncertainties:
  1  0.535129
  2  0.000201556
  3  0.203167
  4  0.184346
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38797': 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) = 7788.67282491
delta logL = 0.0546854625591

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.562e-01  5.351e-01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  5.000e+00  2.016e-04  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.016e+00  1.843e-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.294e+00  2.032e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/38797/cmap_HighResolution_257990401_258249601_4FGL_J0910.6+2247_daily_bin72.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-05', job_status='DONE', photon_flux_upper_limit='5.05e-08', time_completed='2021-08-31 02:24:34.366182', job_id='38797', GAL2='1.02', fit_tolerance='1e-08', EG2='1.29', EG='1.31', time_epoch_completed='1630401874.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.47e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='72' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:24:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 38797: <4FGL_J0910.6+2247_daily_bin72> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin72> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:11:32 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:11: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:11:32 2021
Terminated at Tue Aug 31 02:24:35 2021
Results reported at Tue Aug 31 02:24:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin72 137.674 22.7978 257990401 258249601 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 :                                   652.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            783 sec.

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

