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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin10
RA = 137.674, Dec = 22.7978
tmin = 241920001, tmax = 242179201
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='38696', job_status='RUN', time_executed='2021-08-31 02:15:06.478084', time_epoch_executed='1630401306.48' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='10'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38696

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38696/ft1_4FGL_J0910.6+2247_daily_bin10.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38696/ft2_4FGL_J0910.6+2247_daily_bin10.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38696/ft1_4FGL_J0910.6+2247_daily_bin10.fits outfile=/scratch/kocevski/38696/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin10.fits ra=137.674 dec=22.7978 rad=12.0 tmin=241920001.0 tmax=242179201.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 3.43
user 1.23
sys 2.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38696/ft1_filtered_4FGL_J0910.6+2247_daily_bin10.fits" evtable="EVENTS" scfile=/scratch/kocevski/38696/ft2_4FGL_J0910.6+2247_daily_bin10.fits sctable="SC_DATA" outfile=/scratch/kocevski/38696/ltcube_241920001_242179201_4FGL_J0910.6+2247_daily_bin10.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/38696/ft2_4FGL_J0910.6+2247_daily_bin10.fits
.....................!
real 15.29
user 12.31
sys 2.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38696/ft1_filtered_4FGL_J0910.6+2247_daily_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/38696/ft2_4FGL_J0910.6+2247_daily_bin10.fits sctable="SC_DATA" expcube=/scratch/kocevski/38696/ltcube_241920001_242179201_4FGL_J0910.6+2247_daily_bin10.fits outfile=/scratch/kocevski/38696/expmap_241920001_242179201_4FGL_J0910.6+2247_daily_bin10.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/38696/ltcube_241920001_242179201_4FGL_J0910.6+2247_daily_bin10.fits
.....................!
real 196.79
user 189.52
sys 6.84

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/38696/ft1_filtered_4FGL_J0910.6+2247_daily_bin10.fits scfile=/scratch/kocevski/38696/ft2_4FGL_J0910.6+2247_daily_bin10.fits outfile=/scratch/kocevski/38696/cmap_241920001_242179201_4FGL_J0910.6+2247_daily_bin10.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.49
user 0.38
sys 2.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38696/ft1_filtered_4FGL_J0910.6+2247_daily_bin10.fits scfile=/scratch/kocevski/38696/ft2_4FGL_J0910.6+2247_daily_bin10.fits outfile=/scratch/kocevski/38696/cmap_HighResolution_241920001_242179201_4FGL_J0910.6+2247_daily_bin10.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.50
user 0.37
sys 2.10

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .64478       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7335       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4942       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.493       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18724E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    51.938       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.1942       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .87805       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.532       1.0000         .10000E-03   10000.    
    16 'Prefactor '    107.57       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.3661       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0157       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2823       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=   8514.238     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     2027 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9410       -.37707E-07** at limit **
   2  norm          .64259        .85813       -.15920E-06   -.14881E-02
   3  Prefactor     5.7358        7.3859        .38708E-06    .97661E-04
   4  Prefactor     .10000E-03    1.4547       -.56921E-07** at limit **
   5  Prefactor     .10000E-03    10.597       -.10404E-06** at limit **
   6  norm          1.4942        .72924        .16600E-07   -.66387E-05
   7  Prefactor     13.501        12.699        .21962E-06   -.12673E-03
   8  Prefactor     .10000E-03    9.2243        .67632E-07** at limit **
   9  norm          .10000E-03    1.6134       -.27157E-07** at limit **
  10  norm          51.936        37.083        .96666E-07   -.29062E-04
  11  Prefactor     .10000E-03    1.0509       -.68277E-07** at limit **
  12  norm          2.1950        1.6824       -.76499E-07   -.77028E-04
  13  Prefactor     .10000E-03    10.772       -.97237E-08** at limit **
  14  Prefactor     .87403        3.1957        .20990E-05    .53350E-03
  15  Prefactor     17.562        30.052       -.24710E-05    .39074E-03
  16  Prefactor     107.58        76.730       -.11395E-05    .10573E-03
  17  Prefactor     .10000E-03    11.743       -.68948E-07** at limit **
  18  Prefactor     2.3631        5.9148        .65532E-05   -.12165E-03
  19  Normalizat    1.0156        .17787       -.38632E-05    .80453E-04
  20  Prefactor     1.2825        .15734        .27494E-05    .29801E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.642592
  Prefactor  = 5.73576
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.49419
  Prefactor  = 13.5015
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 51.9359
  Prefactor  = 0.0001
  norm       = 2.19496
  Prefactor  = 0.0001
  Prefactor  = 0.874029
  Prefactor  = 17.5619
  Prefactor  = 107.581
  Prefactor  = 0.0001
  Prefactor  = 2.36311
  Normalizat = 1.01563
  Prefactor  = 1.28246
 **********
 **   18 **HESSE 
 **********

 FCN=   8514.238     FROM HESSE     STATUS=OK           293 CALLS     2320 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .64259        .74307        .93587E-03   -1.5548    
   3  Prefactor     5.7358        7.3066        .16774E-03   -1.5229    
   4  Prefactor     .10000E-03    1.4580        .10868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4942        .72150        .51068E-04   -1.5463    
   7  Prefactor     13.501        12.690        .10904E-03   -1.4973    
   8  Prefactor     .10000E-03    51.152        .53327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.6140        .11446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          51.936        37.105        .55651E-04   -1.4265    
  11  Prefactor     .10000E-03    1.0599        .92375E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1950        1.6666        .10016E-03   -1.5412    
  13  Prefactor     .10000E-03    10.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .87403        3.2187        .28939E-03   -1.5521    
  15  Prefactor     17.562        30.657        .95654E-04   -1.4870    
  16  Prefactor     107.58        76.814        .38776E-04   -1.3630    
  17  Prefactor     .10000E-03    11.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.3631        5.9698        .13320E-02   -1.5401    
  19  Normalizat    1.0156        .20328        .27407E-03   -.92509    
  20  Prefactor     1.2825        .18478        .23570E-03   -.83830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53717e-09
Minuit parameter uncertainties:
  1  2.44732e-06
  2  0.743082
  3  7.30776
  4  3.84645e-06
  5  1.38055e-05
  6  0.721508
  7  12.693
  8  0.00028203
  9  2.04791e-06
  10  37.1218
  11  3.81821e-06
  12  1.6666
  13  2.7504e-05
  14  3.21932
  15  30.6845
  16  76.8849
  17  2.20245e-05
  18  5.9713
  19  0.203436
  20  0.184871
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  5.194e+01  3.712e+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.282e+00  1.849e-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.016e+00  2.034e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.31
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 2.68e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.18e-05

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

Saving results to:
/scratch/kocevski/38696/likelihoodResults_241920001_242179201_4FGL_J0910.6+2247_daily_bin10.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) = 8514.18789624
delta logL = 0.0498016762904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8514.18426819
delta logL = 0.0534297264476

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    55.204       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9994       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0217       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2796       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=   8514.184     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      267 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          55.208        39.826        .53988E-04   -.11253E-02
   2  alpha         1.9992        .58577        .17124E-01   -.31709E-03
   3  Normalizat    1.0221        .19055        .27352E-03    .28896E-03
   4  Prefactor     1.2792        .18262        .23595E-03    .51322E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 55.2082
  alpha      = 1.99923
  Normalizat = 1.02205
  Prefactor  = 1.27923
 **********
 **   18 **HESSE 
 **********

 FCN=   8514.184     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          55.208        39.651        .10798E-04   -1.4221    
   2  alpha         1.9992        .58310        .68494E-03   -.20167    
   3  Normalizat    1.0221        .19066        .10941E-04   -.92295    
   4  Prefactor     1.2792        .18276        .47190E-04   -.83927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18775e-09
Minuit parameter uncertainties:
  1  39.6699
  2  0.588755
  3  0.190783
  4  0.182853
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38696': 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) = 8514.1842663
delta logL = 0.0534316182639

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  5.521e+01  3.967e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.999e+00  5.888e-01  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.279e+00  1.829e-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.022e+00  1.908e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.42
Ra Dec: 137.674 22.798
Photon Index (Free Index): 2.00 +/- 0.59
Photon Flux (Free Index): 3.19e-08 +/- 2.90e-08
Energy Flux (Free Index): 1.80e-05 +/- 1.37e-05

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/38696/cmap_HighResolution_241920001_242179201_4FGL_J0910.6+2247_daily_bin10.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-05', comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.80e-05', photon_flux_error='2.68e-08', dlogl='5.34e-02', energy_flux='1.65e-05', photon_flux2='3.19e-08', job_status='DONE', time_completed='2021-08-31 02:26:42.967996', photon_index_error2='0.59', photon_index2='2.00', ts='3.31', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='9.46e-08', energy_flux_error2='1.37e-05', EG='1.02', time_epoch_completed='1630402002.97', return_code='0', job_id='38696', GAL2='1.28', EG2='1.02', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.90e-08', ts2='3.42', photon_index='2.19' WHERE bin_id='10' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:26:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 38696: <4FGL_J0910.6+2247_daily_bin10> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin10 137.674 22.7978 241920001 242179201 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 :                                   723.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            921 sec.

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

