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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1559
RA = 137.674, Dec = 22.7978
tmin = 643420801, tmax = 643680001
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='45332', job_status='RUN', time_executed='2021-08-31 02:31:42.434980', time_epoch_executed='1630402302.44' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1559'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45332

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45332/ft1_4FGL_J0910.6+2247_daily_bin1559.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45332/ft2_4FGL_J0910.6+2247_daily_bin1559.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45332/ft1_4FGL_J0910.6+2247_daily_bin1559.fits outfile=/scratch/kocevski/45332/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1559.fits ra=137.674 dec=22.7978 rad=12.0 tmin=643420801.0 tmax=643680001.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.45
user 3.20
sys 1.02

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/45332/ft2_4FGL_J0910.6+2247_daily_bin1559.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/45332/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1559.fits evtable="EVENTS" outfile="/scratch/kocevski/45332/ft1_filtered_4FGL_J0910.6+2247_daily_bin1559.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.38
user 0.34
sys 0.97

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45332/ft1_filtered_4FGL_J0910.6+2247_daily_bin1559.fits" evtable="EVENTS" scfile=/scratch/kocevski/45332/ft2_4FGL_J0910.6+2247_daily_bin1559.fits sctable="SC_DATA" outfile=/scratch/kocevski/45332/ltcube_643420801_643680001_4FGL_J0910.6+2247_daily_bin1559.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/45332/ft2_4FGL_J0910.6+2247_daily_bin1559.fits
.....................!
real 12.86
user 11.56
sys 1.21

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45332/ft1_filtered_4FGL_J0910.6+2247_daily_bin1559.fits evtable="EVENTS" scfile=/scratch/kocevski/45332/ft2_4FGL_J0910.6+2247_daily_bin1559.fits sctable="SC_DATA" expcube=/scratch/kocevski/45332/ltcube_643420801_643680001_4FGL_J0910.6+2247_daily_bin1559.fits outfile=/scratch/kocevski/45332/expmap_643420801_643680001_4FGL_J0910.6+2247_daily_bin1559.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/45332/ltcube_643420801_643680001_4FGL_J0910.6+2247_daily_bin1559.fits
.....................!
real 190.76
user 185.04
sys 5.05

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/45332/ft1_filtered_4FGL_J0910.6+2247_daily_bin1559.fits scfile=/scratch/kocevski/45332/ft2_4FGL_J0910.6+2247_daily_bin1559.fits outfile=/scratch/kocevski/45332/cmap_643420801_643680001_4FGL_J0910.6+2247_daily_bin1559.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 2.51
user 0.38
sys 0.93

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45332/ft1_filtered_4FGL_J0910.6+2247_daily_bin1559.fits scfile=/scratch/kocevski/45332/ft2_4FGL_J0910.6+2247_daily_bin1559.fits outfile=/scratch/kocevski/45332/cmap_HighResolution_643420801_643680001_4FGL_J0910.6+2247_daily_bin1559.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 2.25
user 0.39
sys 1.25

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6344       1.0000         .10000E-03   10000.    
     2 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.0758       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23635E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .58252       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1642       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4824       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.4736       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .26536E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.8598       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1468       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0356       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=   5738.657     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     1787 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6337        12.398       -.74244E-07   -.61783E-04
   2  norm          .10000E-03    .33499       -.13198E-07** at limit **
   3  Prefactor     3.0818        10.023        .20520E-06   -.90799E-04
   4  Prefactor     .10004E-03    6.2926       -.12590E-05** at limit **
   5  Prefactor     .10000E-03    56.892       -.15755E-05** at limit **
   6  norm          .58098        .88112       -.12484E-06   -.75162E-04
   7  Prefactor     2.1640        21.950        .53820E-06   -.10935E-03
   8  Prefactor     1.4780        17.899       -.21360E-06   -.18809E-03
   9  norm          .10000E-03    3.9800        .33493E-07** at limit **
  10  norm          8.4710        18.203       -.45817E-06    .52607E-06
  11  Prefactor     .10000E-03    .82234        .89421E-08** at limit **
  12  norm          .10000E-03    .73282       -.22072E-07** at limit **
  13  Prefactor     .10000E-03    11.869       -.44635E-06** at limit **
  14  Prefactor     .10012E-03    1.4976        .46116E-06** at limit **
  15  Prefactor     .10000E-03    6.6276       -.31321E-07** at limit **
  16  Prefactor     .10000E-03    32.161        .32140E-05** at limit **
  17  Prefactor     2.8502        122.43       -.31152E-04    .13698E-05
  18  Prefactor     .10000E-03    7.9540        .81289E-08** at limit **
  19  Normalizat    1.1470        .17898        .93997E-06    .88524E-04
  20  Prefactor     1.0355        .16574        .16738E-06    .16522E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.63374
  norm       = 0.0001
  Prefactor  = 3.08184
  Prefactor  = 0.000100041
  Prefactor  = 0.0001
  norm       = 0.580975
  Prefactor  = 2.16405
  Prefactor  = 1.47798
  norm       = 0.0001
  norm       = 8.47105
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.85017
  Prefactor  = 0.0001
  Normalizat = 1.147
  Prefactor  = 1.03555
 **********
 **   18 **HESSE 
 **********

 FCN=   5738.657     FROM HESSE     STATUS=OK           293 CALLS     2080 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6337        12.472        .93478E-03   -1.5277    
   2  norm          .10000E-03    .33887        .42726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0818        11.013        .11564E-02   -1.5357    
   4  Prefactor     .10004E-03    29.406        .35614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    57.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .58098        .79633        .75268E-03   -1.5556    
   7  Prefactor     2.1640        26.553        .13999E-02   -1.5414    
   8  Prefactor     1.4780        37.980        .17622E-02   -1.5465    
   9  norm          .10000E-03    4.0193        .14759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.4710        18.205        .13771E-03   -1.5126    
  11  Prefactor     .10000E-03    .82429        .67085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .74464        .63288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10012E-03    17.768        .17604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.6342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    32.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.8502        124.87        .24040E-03   -1.5370    
  18  Prefactor     .10000E-03    8.2883        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1470        .21667        .23227E-03   -.88257    
  20  Prefactor     1.0355        .19647        .23091E-03   -.91554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08946e-08
Minuit parameter uncertainties:
  1  12.4793
  2  6.26905e-07
  3  11.0206
  4  0.00218872
  5  2.2149e-05
  6  0.796347
  7  15.1687
  8  14.9946
  9  1.83187e-06
  10  18.2168
  11  6.24694e-07
  12  2.00111e-06
  13  2.29307e-06
  14  0.00292122
  15  3.17135e-06
  16  1.64062e-05
  17  37.8142
  18  1.05776e-05
  19  0.216836
  20  0.196609
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  8.471e+00  1.822e+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.036e+00  1.966e-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.147e+00  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/45332/likelihoodResults_643420801_643680001_4FGL_J0910.6+2247_daily_bin1559.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) = 5738.6332642
delta logL = 0.0240572402063

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5738.63100773
delta logL = 0.026313711408

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.7151       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8423       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1489       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0344       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=   5738.631     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      229 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.7140        17.395       -.33055E-05    .56878E-03
   2  alpha         1.8416        1.1685        .27164E-04    .71569E-04
   3  Normalizat    1.1489        .17284       -.21311E-06   -.14281E-03
   4  Prefactor     1.0343        .16508        .17598E-06   -.10956E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.71402
  alpha      = 1.84157
  Normalizat = 1.14893
  Prefactor  = 1.03433
 **********
 **   18 **HESSE 
 **********

 FCN=   5738.631     FROM HESSE     STATUS=OK            29 CALLS      258 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.7140        19.765        .12857E-03   -1.5085    
   2  alpha         1.8416        1.3782        .40179E-01   -.26651    
   3  Normalizat    1.1489        .20415        .23210E-03   -.88196    
   4  Prefactor     1.0343        .19511        .23101E-03   -.91594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8956e-09
Minuit parameter uncertainties:
  1  19.7781
  2  1.46702
  3  0.20429
  4  0.195248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45332': 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) = 5738.63100752
delta logL = 0.0263139207827

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  9.714e+00  1.978e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.842e+00  1.467e+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.034e+00  1.952e-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.149e+00  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
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/45332/cmap_HighResolution_643420801_643680001_4FGL_J0910.6+2247_daily_bin1559.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-05', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2021-08-31 02:41:04.000187', job_id='45332', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1630402864.0', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.63e-02', ts2='0.37', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1559' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:41:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 45332: <4FGL_J0910.6+2247_daily_bin1559> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1559 137.674 22.7978 643420801 643680001 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 :                                   564.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            591 sec.

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

