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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1182
RA = 137.674, Dec = 22.7978
tmin = 545702401, tmax = 545961601
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='43952', job_status='RUN', time_executed='2021-08-31 02:28:25.732481', time_epoch_executed='1630402105.73' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1182'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43952

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43952/ft1_4FGL_J0910.6+2247_daily_bin1182.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43952/ft2_4FGL_J0910.6+2247_daily_bin1182.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43952/ft1_4FGL_J0910.6+2247_daily_bin1182.fits outfile=/scratch/kocevski/43952/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1182.fits ra=137.674 dec=22.7978 rad=12.0 tmin=545702401.0 tmax=545961601.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.99
user 3.76
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43952/ft1_filtered_4FGL_J0910.6+2247_daily_bin1182.fits" evtable="EVENTS" scfile=/scratch/kocevski/43952/ft2_4FGL_J0910.6+2247_daily_bin1182.fits sctable="SC_DATA" outfile=/scratch/kocevski/43952/ltcube_545702401_545961601_4FGL_J0910.6+2247_daily_bin1182.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/43952/ft2_4FGL_J0910.6+2247_daily_bin1182.fits
.....................!
real 11.75
user 11.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43952/ft1_filtered_4FGL_J0910.6+2247_daily_bin1182.fits evtable="EVENTS" scfile=/scratch/kocevski/43952/ft2_4FGL_J0910.6+2247_daily_bin1182.fits sctable="SC_DATA" expcube=/scratch/kocevski/43952/ltcube_545702401_545961601_4FGL_J0910.6+2247_daily_bin1182.fits outfile=/scratch/kocevski/43952/expmap_545702401_545961601_4FGL_J0910.6+2247_daily_bin1182.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/43952/ltcube_545702401_545961601_4FGL_J0910.6+2247_daily_bin1182.fits
.....................!
real 192.71
user 187.45
sys 4.89

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/43952/ft1_filtered_4FGL_J0910.6+2247_daily_bin1182.fits scfile=/scratch/kocevski/43952/ft2_4FGL_J0910.6+2247_daily_bin1182.fits outfile=/scratch/kocevski/43952/cmap_545702401_545961601_4FGL_J0910.6+2247_daily_bin1182.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43952/ft1_filtered_4FGL_J0910.6+2247_daily_bin1182.fits scfile=/scratch/kocevski/43952/ft2_4FGL_J0910.6+2247_daily_bin1182.fits outfile=/scratch/kocevski/43952/cmap_HighResolution_545702401_545961601_4FGL_J0910.6+2247_daily_bin1182.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10201E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.028       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10987E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.465       1.0000         .10000E-03   10000.    
     6 'norm      '    .50819E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.1056       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .12350E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    38.272       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.9833       1.0000         .10000E-03   10000.    
    12 'norm      '    2.8268       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10077E-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 '    8.6647       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .82418       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1743       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=   5728.877     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     2054 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7851       -.57622E-05** at limit **
   2  norm          .10000E-03    .53917       -.26384E-06** at limit **
   3  Prefactor     15.024        12.563       -.14095E-05   -.28289E-03
   4  Prefactor     .10000E-03    8.4611        .20832E-05** at limit **
   5  Prefactor     22.456        27.823       -.13177E-04   -.25353E-04
   6  norm          .10005E-03    .45685        .83540E-06** at limit **
   7  Prefactor     9.0891        19.350       -.54835E-05   -.50691E-03
   8  Prefactor     .10000E-03    8.2950        .49950E-05** at limit **
   9  norm          .10000E-03    2.6707       -.32382E-06** at limit **
  10  norm          38.220        44.762       -.69461E-04   -.52891E-04
  11  Prefactor     9.9834        6.2445        .32484E-06    .13871E-02
  12  norm          2.8262        2.9155       -.38278E-06   -.18859E-03
  13  Prefactor     .10000E-03    15.680       -.14948E-05** at limit **
  14  Prefactor     .10000E-03    7.0772       -.30763E-05** at limit **
  15  Prefactor     .10000E-03    9.1049        .51996E-06** at limit **
  16  Prefactor     .10000E-03    23.984        .53892E-05** at limit **
  17  Prefactor     8.6646        31.407       -.44689E-05   -.77375E-05
  18  Prefactor     .10000E-03    2.4836        .59082E-07** at limit **
  19  Normalizat    .82395        .18596        .69500E-05   -.35334E-03
  20  Prefactor     1.1745        .16450        .28896E-05   -.31260E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.024
  Prefactor  = 0.0001
  Prefactor  = 22.4559
  norm       = 0.000100054
  Prefactor  = 9.08909
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 38.2201
  Prefactor  = 9.98344
  norm       = 2.82619
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.66455
  Prefactor  = 0.0001
  Normalizat = 0.82395
  Prefactor  = 1.17451
 **********
 **   18 **HESSE 
 **********

 FCN=   5728.877     FROM HESSE     STATUS=OK           293 CALLS     2347 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .74510        .10719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.024        12.439        .10332E-03   -1.4933    
   4  Prefactor     .10000E-03    8.8016        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.456        27.828        .84509E-04   -1.4760    
   6  norm          .10005E-03    8.2766        .87857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.0891        17.691        .13282E-03   -1.5105    
   8  Prefactor     .10000E-03    8.3059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.7504        .24111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          38.220        44.285        .64787E-04   -1.4471    
  11  Prefactor     9.9834        6.2501        .63410E-03   -1.5076    
  12  norm          2.8262        2.9030        .12630E-03   -1.5372    
  13  Prefactor     .10000E-03    15.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.2880        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.1095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.6646        31.465        .13618E-03   -1.5119    
  18  Prefactor     .10000E-03    2.4926        .11648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .82395        .21132        .27149E-03   -.99186    
  20  Prefactor     1.1745        .18725        .21264E-03   -.87119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.54719e-09
Minuit parameter uncertainties:
  1  1.08031e-05
  2  8.68151e-06
  3  12.4407
  4  0.000115618
  5  27.8438
  6  0.00134246
  7  17.7013
  8  3.56532e-05
  9  9.01752e-05
  10  44.3234
  11  6.25053
  12  2.90314
  13  0.000108806
  14  2.24218e-05
  15  1.4416e-05
  16  5.03614e-05
  17  31.5249
  18  1.35041e-05
  19  0.211529
  20  0.18736
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  3.822e+01  4.432e+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.175e+00  1.874e-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.240e-01  2.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.76e-08 +/- 3.20e-08
Energy Flux (Fixed Index): 1.21e-05 +/- 1.41e-05

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

Saving results to:
/scratch/kocevski/43952/likelihoodResults_545702401_545961601_4FGL_J0910.6+2247_daily_bin1182.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) = 5727.44819626
delta logL = 1.42927633776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5727.43553796
delta logL = 1.4419346377

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.722       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8313       1.0000          .0000       5.0000    
     3 'Normalizat'    .71906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2290       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=   5727.436     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      263 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.656        137.68        .28076E-02    .10793E-03
   2  alpha         3.8343        4.3513        .26752        .55544E-04
   3  Normalizat    .71881        .80662E-01    .65265E-01    .21196E-04
   4  Prefactor     1.2292        .64870E-01    .33978E-01   -.10616E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6562
  alpha      = 3.83426
  Normalizat = 0.718814
  Prefactor  = 1.22917
 **********
 **   18 **HESSE 
 **********

 FCN=   5727.436     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.656        40.864        .11230E-03   -1.4996    
   2  alpha         3.8343        1.7158        .11236E-01    .56298    
   3  Normalizat    .71881        .22691        .28876E-03   -1.0315    
   4  Prefactor     1.2292        .20042        .20818E-03   -.85438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06279e-11
Minuit parameter uncertainties:
  1  40.9541
  2  2.00184
  3  0.227204
  4  0.200549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43952': 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) = 5727.43553231
delta logL = 1.44194029132

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.266e+01  4.095e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  3.834e+00  2.002e+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.229e+00  2.005e-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.188e-01  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.20
Ra Dec: 137.674 22.798
Photon Index (Free Index): 3.83 +/- 2.00
Photon Flux (Free Index): 1.21e-07 +/- 8.76e-08
Energy Flux (Free Index): 2.06e-05 +/- 1.24e-05

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/43952/cmap_HighResolution_545702401_545961601_4FGL_J0910.6+2247_daily_bin1182.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-05', comment='SUCCESS', photon_flux='2.76e-08', energy_flux2='2.06e-05', photon_flux_error='3.20e-08', dlogl='1.44e+00', energy_flux='1.21e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-08-31 02:37:37.351973', photon_index_error2='2.00', photon_index2='3.83', ts='1.11', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='9.93e-08', energy_flux_error2='1.24e-05', EG='0.82', time_epoch_completed='1630402657.35', return_code='0', job_id='43952', GAL2='1.23', EG2='0.72', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='8.76e-08', ts2='4.20', photon_index='2.19' WHERE bin_id='1182' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:37:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 43952: <4FGL_J0910.6+2247_daily_bin1182> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin1182> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 02:25:51 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:25:52 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:25:52 2021
Terminated at Tue Aug 31 02:37:38 2021
Results reported at Tue Aug 31 02:37:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1182 137.674 22.7978 545702401 545961601 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 :                                   544.11 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   705 sec.
    Turnaround time :                            707 sec.

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

