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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1359
RA = 137.674, Dec = 22.7978
tmin = 591580801, tmax = 591840001
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='45040', job_status='RUN', time_executed='2021-08-31 02:33:36.314981', time_epoch_executed='1630402416.32' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1359'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45040

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45040/ft1_4FGL_J0910.6+2247_daily_bin1359.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45040/ft2_4FGL_J0910.6+2247_daily_bin1359.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45040/ft1_4FGL_J0910.6+2247_daily_bin1359.fits outfile=/scratch/kocevski/45040/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1359.fits ra=137.674 dec=22.7978 rad=12.0 tmin=591580801.0 tmax=591840001.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 7.98
user 3.62
sys 3.92

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45040/ft1_filtered_4FGL_J0910.6+2247_daily_bin1359.fits" evtable="EVENTS" scfile=/scratch/kocevski/45040/ft2_4FGL_J0910.6+2247_daily_bin1359.fits sctable="SC_DATA" outfile=/scratch/kocevski/45040/ltcube_591580801_591840001_4FGL_J0910.6+2247_daily_bin1359.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/45040/ft2_4FGL_J0910.6+2247_daily_bin1359.fits
.....................!
real 16.59
user 11.88
sys 4.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45040/ft1_filtered_4FGL_J0910.6+2247_daily_bin1359.fits evtable="EVENTS" scfile=/scratch/kocevski/45040/ft2_4FGL_J0910.6+2247_daily_bin1359.fits sctable="SC_DATA" expcube=/scratch/kocevski/45040/ltcube_591580801_591840001_4FGL_J0910.6+2247_daily_bin1359.fits outfile=/scratch/kocevski/45040/expmap_591580801_591840001_4FGL_J0910.6+2247_daily_bin1359.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/45040/ltcube_591580801_591840001_4FGL_J0910.6+2247_daily_bin1359.fits
.....................!
real 197.71
user 187.58
sys 9.36

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/45040/ft1_filtered_4FGL_J0910.6+2247_daily_bin1359.fits scfile=/scratch/kocevski/45040/ft2_4FGL_J0910.6+2247_daily_bin1359.fits outfile=/scratch/kocevski/45040/cmap_591580801_591840001_4FGL_J0910.6+2247_daily_bin1359.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 4.24
user 0.38
sys 3.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45040/ft1_filtered_4FGL_J0910.6+2247_daily_bin1359.fits scfile=/scratch/kocevski/45040/ft2_4FGL_J0910.6+2247_daily_bin1359.fits outfile=/scratch/kocevski/45040/cmap_HighResolution_591580801_591840001_4FGL_J0910.6+2247_daily_bin1359.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 4.34
user 0.38
sys 3.85

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.790       1.0000         .10000E-03   10000.    
     2 'norm      '    .31581       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14784E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10608E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.1043       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4352       1.0000         .10000E-03   10000.    
     9 'norm      '    .54884       1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8600       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0440       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10582E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0075       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14801E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    136.47       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9053       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4046       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .59960       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=   7667.715     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2173 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.794        18.520        .79994E-07   -.62329E-04
   2  norm          .31595        .71107        .36343E-06    .99957E-03
   3  Prefactor     .10025E-03    6.4343        .48250E-06** at limit **
   4  Prefactor     .10000E-03    2.7463       -.55445E-06** at limit **
   5  Prefactor     .10000E-03    39.895       -.35506E-06** at limit **
   6  norm          7.1047        1.1606        .58509E-07    .12827E-03
   7  Prefactor     .10000E-03    4.2564       -.83582E-07** at limit **
   8  Prefactor     7.4446        11.918        .29865E-06   -.40447E-04
   9  norm          .51251        5.9750       -.11278E-06   -.36097E-05
  10  norm          .10000E-03    7.9649       -.82124E-07** at limit **
  11  Prefactor     2.8598        3.1238        .21672E-06    .50950E-04
  12  norm          1.0443        .93637       -.97772E-07   -.15384E-03
  13  Prefactor     .10000E-03    48.016       -.67957E-06** at limit **
  14  Prefactor     1.0012        3.2050        .14565E-05    .19829E-03
  15  Prefactor     .10000E-03    95.724       -.98079E-06** at limit **
  16  Prefactor     .10000E-03    83.868        .16863E-05** at limit **
  17  Prefactor     136.59        49.729        .45166E-06    .93011E-04
  18  Prefactor     3.9095        6.4086        .80918E-06    .86580E-04
  19  Normalizat    1.4043        .19425       -.27107E-05    .15987E-03
  20  Prefactor     .60009        .16450        .34290E-05   -.50560E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7944
  norm       = 0.315949
  Prefactor  = 0.000100252
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.10468
  Prefactor  = 0.0001
  Prefactor  = 7.44462
  norm       = 0.512506
  norm       = 0.0001
  Prefactor  = 2.85977
  norm       = 1.04432
  Prefactor  = 0.0001
  Prefactor  = 1.00119
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 136.586
  Prefactor  = 3.90953
  Normalizat = 1.40426
  Prefactor  = 0.600092
 **********
 **   18 **HESSE 
 **********

 FCN=   7667.715     FROM HESSE     STATUS=OK           311 CALLS     2484 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.794        17.979        .85807E-04   -1.4774    
   2  norm          .31595        .62696        .10470E-02   -1.5596    
   3  Prefactor     .10025E-03    7.7937        .58180E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.6799        .27567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    40.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.1047        1.1600        .36121E-04   -1.5175    
   7  Prefactor     .10000E-03    4.2688        .17642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.4446        11.908        .14708E-03   -1.5162    
   9  norm          .51251        26.732        .40999E-02   -1.5565    
  10  norm          .10000E-03    7.9681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8598        3.1109        .15573E-03   -1.5370    
  12  norm          1.0443        1.0228        .77536E-03   -1.5504    
  13  Prefactor     .10000E-03    48.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0012        3.1762        .25861E-03   -1.5508    
  15  Prefactor     .10000E-03    99.078        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    84.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     136.59        49.845        .17239E-03   -1.3365    
  18  Prefactor     3.9095        6.3800        .20416E-03   -1.5312    
  19  Normalizat    1.4043        .20616        .22694E-03   -.80506    
  20  Prefactor     .60009        .17248        .29355E-03   -1.0758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.12998e-08
Minuit parameter uncertainties:
  1  17.9838
  2  0.626971
  3  0.00280564
  4  8.27247e-05
  5  4.50311e-06
  6  1.15998
  7  4.6247e-06
  8  11.9114
  9  7.40551
  10  4.80939e-06
  11  3.11106
  12  1.02279
  13  0.000154881
  14  3.17678
  15  0.000293218
  16  0.000280226
  17  49.8604
  18  6.38114
  19  0.206284
  20  0.172631
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  4.809e-06  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:  6.001e-01  1.726e-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.404e+00  2.063e-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: 3.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45040/likelihoodResults_591580801_591840001_4FGL_J0910.6+2247_daily_bin1359.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) = 7667.71554507
delta logL = -0.000593502796619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7667.71495158
delta logL = -6.07360561844e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1904       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4043       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60008       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7667.715     FROM MIGRAD    STATUS=FAILED        83 CALLS      230 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10030E-03    1433.3        .18142E-02** at limit **
   2  alpha         2.1025        3.0799        .16623        .10746E-05
   3  Normalizat    1.4043        .83326E-01    .22695E-03   -.12343E-04
   4  Prefactor     .60009        .73818E-01    .29355E-03   -.12083E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7667.715     FROM SIMPLEX   STATUS=UNCHANGED    159 CALLS      389 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10030E-03    1433.3        .50755E-03** at limit **
   2  alpha         2.1025        3.0799        .51864E-05    .10746E-05
   3  Normalizat    1.4043        .83326E-01    .20932E-06   -.12343E-04
   4  Prefactor     .60009        .73818E-01    .23371E-06   -.12083E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7667.715     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      420 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.0861        .36285E-03** at limit **
   2  alpha         2.0056        2.9886        .33246E-01    .23937E-08
   3  Normalizat    1.4043        .19052        .45389E-04    .26500E-04
   4  Prefactor     .60009        .16874        .11742E-04    .19364E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.00557
  Normalizat = 1.40426
  Prefactor  = 0.600094
 **********
 **   18 **HESSE 
 **********

 FCN=   7667.715     FROM HESSE     STATUS=OK            23 CALLS      443 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.0699        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0056        2.9657        .66492E-02   -.19908    
   3  Normalizat    1.4043        .19056        .90779E-05   -.80506    
   4  Prefactor     .60009        .16878        .23484E-05   -1.0758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57727e-12
Minuit parameter uncertainties:
  1  1.5021e-05
  2  469.573
  3  0.190661
  4  0.168926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45040': 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) = 7667.71495149
delta logL = 7.90787453298e-08

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.502e-05  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.006e+00  4.696e+02  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:  6.001e-01  1.689e-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.404e+00  1.907e-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/45040/cmap_HighResolution_591580801_591840001_4FGL_J0910.6+2247_daily_bin1359.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-05', job_status='DONE', photon_flux_upper_limit='3.11e-08', time_completed='2021-08-31 02:45:55.700230', job_id='45040', GAL2='0.60', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1630403155.7', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.60', dlogl='7.91e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1359' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:45:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 45040: <4FGL_J0910.6+2247_daily_bin1359> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1359 137.674 22.7978 591580801 591840001 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 :                                   782.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            913 sec.

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

