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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin21
RA = 137.674, Dec = 22.7978
tmin = 244771201, tmax = 245030401
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='38713', job_status='RUN', time_executed='2021-08-31 02:15:18.542034', time_epoch_executed='1630401318.54' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='21'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38713

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38713/ft1_4FGL_J0910.6+2247_daily_bin21.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38713/ft2_4FGL_J0910.6+2247_daily_bin21.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38713/ft1_4FGL_J0910.6+2247_daily_bin21.fits outfile=/scratch/kocevski/38713/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin21.fits ra=137.674 dec=22.7978 rad=12.0 tmin=244771201.0 tmax=245030401.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.70
user 1.25
sys 0.39

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38713/ft1_filtered_4FGL_J0910.6+2247_daily_bin21.fits" evtable="EVENTS" scfile=/scratch/kocevski/38713/ft2_4FGL_J0910.6+2247_daily_bin21.fits sctable="SC_DATA" outfile=/scratch/kocevski/38713/ltcube_244771201_245030401_4FGL_J0910.6+2247_daily_bin21.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/38713/ft2_4FGL_J0910.6+2247_daily_bin21.fits
.....................!
real 12.65
user 12.04
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38713/ft1_filtered_4FGL_J0910.6+2247_daily_bin21.fits evtable="EVENTS" scfile=/scratch/kocevski/38713/ft2_4FGL_J0910.6+2247_daily_bin21.fits sctable="SC_DATA" expcube=/scratch/kocevski/38713/ltcube_244771201_245030401_4FGL_J0910.6+2247_daily_bin21.fits outfile=/scratch/kocevski/38713/expmap_244771201_245030401_4FGL_J0910.6+2247_daily_bin21.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/38713/ltcube_244771201_245030401_4FGL_J0910.6+2247_daily_bin21.fits
.....................!
real 191.95
user 186.22
sys 5.30

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/38713/ft1_filtered_4FGL_J0910.6+2247_daily_bin21.fits scfile=/scratch/kocevski/38713/ft2_4FGL_J0910.6+2247_daily_bin21.fits outfile=/scratch/kocevski/38713/cmap_244771201_245030401_4FGL_J0910.6+2247_daily_bin21.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 0.75
user 0.37
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38713/ft1_filtered_4FGL_J0910.6+2247_daily_bin21.fits scfile=/scratch/kocevski/38713/ft2_4FGL_J0910.6+2247_daily_bin21.fits outfile=/scratch/kocevski/38713/cmap_HighResolution_244771201_245030401_4FGL_J0910.6+2247_daily_bin21.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 0.78
user 0.37
sys 0.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4515       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.3755       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .52864E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.275       1.0000         .10000E-03   10000.    
     9 'norm      '    1.7002       1.0000         .10000E-03   10000.    
    10 'norm      '    47.171       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10747       1.0000         .10000E-03   10000.    
    12 'norm      '    1.5150       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9917       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2812       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.073       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11019E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    36.413       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84253       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2322       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=   6020.135     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     2161 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4465       -.43412E-07** at limit **
   2  norm          1.4522        1.1684        .35441E-06   -.30360E-03
   3  Prefactor     .10000E-03    3.3920        .15559E-06** at limit **
   4  Prefactor     .10000E-03    2.4227        .13641E-06** at limit **
   5  Prefactor     .10000E-03    47.364       -.86806E-05** at limit **
   6  norm          4.3773        1.1113        .10343E-06    .27785E-02
   7  Prefactor     .10058E-03    9.6305       -.41791E-05** at limit **
   8  Prefactor     27.281        21.419       -.13259E-05   -.56932E-04
   9  norm          1.7004        5.0767        .16823E-05   -.61587E-03
  10  norm          47.199        42.895        .19372E-04    .71723E-04
  11  Prefactor     .14443        1.9622        .50428E-06   -.38501E-03
  12  norm          1.5150        1.5492        .11129E-06   -.47258E-03
  13  Prefactor     5.0796        79.045        .20058E-03    .22330E-04
  14  Prefactor     4.2815        3.6022       -.17230E-06   -.47499E-03
  15  Prefactor     16.075        24.510        .22448E-05   -.55084E-04
  16  Prefactor     .10000E-03    87.508        .41771E-04** at limit **
  17  Prefactor     36.416        40.405        .51291E-05   -.53761E-04
  18  Prefactor     .10000E-03    3.6188        .59450E-07** at limit **
  19  Normalizat    .84248        .18927       -.26934E-05   -.13675E-03
  20  Prefactor     1.2321        .17336       -.55604E-05    .25037E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.4522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.37728
  Prefactor  = 0.000100581
  Prefactor  = 27.2815
  norm       = 1.70042
  norm       = 47.1991
  Prefactor  = 0.144431
  norm       = 1.51498
  Prefactor  = 5.07958
  Prefactor  = 4.28149
  Prefactor  = 16.0754
  Prefactor  = 0.0001
  Prefactor  = 36.4158
  Prefactor  = 0.0001
  Normalizat = 0.842485
  Prefactor  = 1.2321
 **********
 **   18 **HESSE 
 **********

 FCN=   6020.135     FROM HESSE     STATUS=OK           295 CALLS     2456 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.4664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4522        1.1567        .71811E-04   -1.5467    
   3  Prefactor     .10000E-03    3.4035        .13951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.4380        .11793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    47.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.3773        1.0867        .38399E-04   -1.5289    
   7  Prefactor     .10058E-03    141.01        .44725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.281        21.540        .76709E-04   -1.4663    
   9  norm          1.7004        5.0346        .29366E-03   -1.5447    
  10  norm          47.199        42.541        .58381E-04   -1.4333    
  11  Prefactor     .14443        16.477        .21006E-02   -1.5632    
  12  norm          1.5150        1.5253        .94497E-04   -1.5462    
  13  Prefactor     5.0796        78.269        .17999E-03   -1.5257    
  14  Prefactor     4.2815        3.5982        .12820E-03   -1.5294    
  15  Prefactor     16.075        24.550        .99900E-04   -1.4906    
  16  Prefactor     .10000E-03    87.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     36.416        40.524        .66415E-04   -1.4500    
  18  Prefactor     .10000E-03    3.6602        .14410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .84248        .22626        .28047E-03   -.98512    
  20  Prefactor     1.2321        .20756        .22732E-03   -.85349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94186e-09
Minuit parameter uncertainties:
  1  2.57307e-05
  2  1.15671
  3  1.86963e-05
  4  1.60547e-05
  5  0.000290555
  6  1.08668
  7  0.0181429
  8  21.546
  9  5.0359
  10  42.5682
  11  3.08511
  12  1.52532
  13  39.9406
  14  3.59842
  15  24.5657
  16  2.00608e-05
  17  40.5548
  18  1.09674e-05
  19  0.226517
  20  0.207701
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  4.720e+01  4.257e+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.232e+00  2.077e-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.425e-01  2.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.81
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.41e-08 +/- 3.08e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.35e-05

TS (Fixed Index): 1.81
Ra Dec: 137.674 22.798
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/38713/likelihoodResults_244771201_245030401_4FGL_J0910.6+2247_daily_bin21.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) = 6019.24278871
delta logL = 0.892152490134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6019.23482639
delta logL = 0.900114807566

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0526       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1164       1.0000          .0000       5.0000    
     3 'Normalizat'    .75397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2900       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=   6019.235     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      282 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0602        74.437        .40800E-02    .38341E-03
   2  alpha         4.1162        4.5257        .29653        .61442E-04
   3  Normalizat    .75409        .72019E-01    .66503E-01    .53730E-03
   4  Prefactor     1.2898        .67357E-01    .50392E-01   -.50900E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.06018
  alpha      = 4.11616
  Normalizat = 0.754088
  Prefactor  = 1.28984
 **********
 **   18 **HESSE 
 **********

 FCN=   6019.235     FROM HESSE     STATUS=OK            29 CALLS      311 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0602        14.909        .11054E-03   -1.5216    
   2  alpha         4.1162        1.2606        .13061E-02    .70294    
   3  Normalizat    .75409        .21759        .14712E-02   -1.0180    
   4  Prefactor     1.2898        .20671        .22277E-03   -.83610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.12217e-12
Minuit parameter uncertainties:
  1  14.9179
  2  1.37722
  3  0.217842
  4  0.206844
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38713': 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) = 6019.23482521
delta logL = 0.900115994557

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  6.060e+00  1.492e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  4.116e+00  1.377e+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.290e+00  2.068e-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:  7.541e-01  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.76
Ra Dec: 137.674 22.798
Photon Index (Free Index): 4.12 +/- 1.38
Photon Flux (Free Index): 9.70e-08 +/- 6.14e-08
Energy Flux (Free Index): 1.55e-05 +/- 9.76e-06

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/38713/cmap_HighResolution_244771201_245030401_4FGL_J0910.6+2247_daily_bin21.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-05', comment='SUCCESS', photon_flux='3.41e-08', energy_flux2='1.55e-05', photon_flux_error='3.08e-08', dlogl='9.00e-01', energy_flux='1.50e-05', photon_flux2='9.70e-08', job_status='DONE', time_completed='2021-08-31 02:24:56.043613', photon_index_error2='1.38', photon_index2='4.12', ts='1.81', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='9.76e-06', EG='0.84', time_epoch_completed='1630401896.04', return_code='0', job_id='38713', GAL2='1.29', EG2='0.75', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='6.14e-08', ts2='3.76', photon_index='2.19' WHERE bin_id='21' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:24:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 38713: <4FGL_J0910.6+2247_daily_bin21> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin21 137.674 22.7978 244771201 245030401 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 :                                   578.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             226.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

