aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 4 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 = 17141
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0910.6+2247_weekly_bin337
RA = 137.674, Dec = 22.7978
tmin = 442800001, tmax = 443404801
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='648060', job_status='RUN', time_executed='2021-07-15 02:52:40.429672', time_epoch_executed='1626342760.43' WHERE source_name='4FGL J0910.6+2247' and cadence='weekly' and bin_id='337'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/648060

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/648060/ft1_4FGL_J0910.6+2247_weekly_bin337.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/648060/ft2_4FGL_J0910.6+2247_weekly_bin337.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/648060/ft1_4FGL_J0910.6+2247_weekly_bin337.fits outfile=/scratch/kocevski/648060/ft1_filteredMKT_4FGL_J0910.6+2247_weekly_bin337.fits ra=137.674 dec=22.7978 rad=12.0 tmin=442800001.0 tmax=443404801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 7.95
user 7.56
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/648060/ft2_4FGL_J0910.6+2247_weekly_bin337.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/648060/ft1_filteredMKT_4FGL_J0910.6+2247_weekly_bin337.fits evtable="EVENTS" outfile="/scratch/kocevski/648060/ft1_filtered_4FGL_J0910.6+2247_weekly_bin337.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.57
user 0.38
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/648060/ft1_filtered_4FGL_J0910.6+2247_weekly_bin337.fits" evtable="EVENTS" scfile=/scratch/kocevski/648060/ft2_4FGL_J0910.6+2247_weekly_bin337.fits sctable="SC_DATA" outfile=/scratch/kocevski/648060/ltcube_442800001_443404801_4FGL_J0910.6+2247_weekly_bin337.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/648060/ft2_4FGL_J0910.6+2247_weekly_bin337.fits
.....................!
real 30.98
user 30.33
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/648060/ft1_filtered_4FGL_J0910.6+2247_weekly_bin337.fits evtable="EVENTS" scfile=/scratch/kocevski/648060/ft2_4FGL_J0910.6+2247_weekly_bin337.fits sctable="SC_DATA" expcube=/scratch/kocevski/648060/ltcube_442800001_443404801_4FGL_J0910.6+2247_weekly_bin337.fits outfile=/scratch/kocevski/648060/expmap_442800001_443404801_4FGL_J0910.6+2247_weekly_bin337.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/648060/ltcube_442800001_443404801_4FGL_J0910.6+2247_weekly_bin337.fits
.....................!
real 195.22
user 187.94
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/648060/ft1_filtered_4FGL_J0910.6+2247_weekly_bin337.fits scfile=/scratch/kocevski/648060/ft2_4FGL_J0910.6+2247_weekly_bin337.fits outfile=/scratch/kocevski/648060/cmap_442800001_443404801_4FGL_J0910.6+2247_weekly_bin337.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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/648060/ft1_filtered_4FGL_J0910.6+2247_weekly_bin337.fits scfile=/scratch/kocevski/648060/ft2_4FGL_J0910.6+2247_weekly_bin337.fits outfile=/scratch/kocevski/648060/cmap_HighResolution_442800001_443404801_4FGL_J0910.6+2247_weekly_bin337.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.59
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .37803       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5089       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6063       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.516       1.0000         .10000E-03   10000.    
     6 'norm      '    .60016       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5898       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9188       1.0000         .10000E-03   10000.    
     9 'norm      '    7.8662       1.0000         .10000E-03   10000.    
    10 'norm      '    50.279       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7844       1.0000         .10000E-03   10000.    
    12 'norm      '    .13612E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16121E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17232E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14871E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6000       1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.819       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1503       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .95101       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98877       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=   11833.68     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2099 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2797        .36410E-07** at limit **
   2  norm          .37842        .40651        .36101E-06    .12327E-02
   3  Prefactor     3.5053        4.2563       -.19133E-06   -.35118E-04
   4  Prefactor     3.6075        3.4205        .17452E-06   -.11737E-03
   5  Prefactor     19.564        18.186        .32607E-07    .77654E-05
   6  norm          .60053        .35256        .12138E-07   -.70405E-04
   7  Prefactor     7.5938        7.1708       -.72528E-08    .23416E-04
   8  Prefactor     2.9199        9.7561        .55278E-06   -.63205E-04
   9  norm          7.8647        4.9470        .23797E-07    .10107E-05
  10  norm          50.434        28.228       -.29814E-07    .48002E-04
  11  Prefactor     3.7818        2.0715        .99597E-08    .29745E-04
  12  norm          .10000E-03    .43905        .37474E-07** at limit **
  13  Prefactor     .10000E-03    10.000        .13191E-06** at limit **
  14  Prefactor     .10000E-03    .79127        .43358E-07** at limit **
  15  Prefactor     .10000E-03    10.389        .24838E-06** at limit **
  16  Prefactor     5.6824        50.897       -.18074E-06   -.63814E-05
  17  Prefactor     39.820        25.005       -.76821E-07    .47850E-04
  18  Prefactor     2.1533        4.0440        .64752E-06   -.16398E-03
  19  Normalizat    .95094        .11973        .18438E-06   -.10833E-03
  20  Prefactor     .98873        .11296       -.80243E-06    .32806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.378424
  Prefactor  = 3.50531
  Prefactor  = 3.60755
  Prefactor  = 19.564
  norm       = 0.600526
  Prefactor  = 7.59379
  Prefactor  = 2.91991
  norm       = 7.86465
  norm       = 50.4336
  Prefactor  = 3.78182
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.68236
  Prefactor  = 39.8203
  Prefactor  = 2.15328
  Normalizat = 0.950938
  Prefactor  = 0.988729
 **********
 **   18 **HESSE 
 **********

 FCN=   11833.68     FROM HESSE     STATUS=OK           307 CALLS     2406 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .37842        .40814        .82961E-03   -1.5585    
   3  Prefactor     3.5053        4.2509        .21583E-03   -1.5333    
   4  Prefactor     3.6075        3.4137        .94497E-03   -1.5328    
   5  Prefactor     19.564        18.188        .90663E-04   -1.4823    
   6  norm          .60053        .34302        .47233E-04   -1.5553    
   7  Prefactor     7.5938        7.1395        .14557E-03   -1.5157    
   8  Prefactor     2.9199        9.7215        .23779E-03   -1.5366    
   9  norm          7.8647        4.9493        .14297E-03   -1.5147    
  10  norm          50.434        28.226        .56557E-04   -1.4286    
  11  Prefactor     3.7818        2.0716        .56274E-03   -1.5319    
  12  norm          .10000E-03    2.2718        .13976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.1374        .18417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.478        .20478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.6824        50.658        .16976E-03   -1.5231    
  17  Prefactor     39.820        25.001        .63521E-04   -1.4445    
  18  Prefactor     2.1533        4.0625        .14050E-02   -1.5414    
  19  Normalizat    .95094        .13522        .23403E-03   -.94693    
  20  Prefactor     .98873        .12631        .22161E-03   -.93106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6372e-10
Minuit parameter uncertainties:
  1  7.83594e-06
  2  0.408147
  3  4.25127
  4  3.41385
  5  18.1931
  6  0.343017
  7  7.1403
  8  9.72674
  9  4.94954
  10  28.2332
  11  2.07163
  12  2.03137e-06
  13  1.05661e-05
  14  2.83275e-05
  15  1.83037e-05
  16  33.9707
  17  25.0077
  18  4.06299
  19  0.135266
  20  0.12635
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  5.043e+01  2.823e+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:  9.887e-01  1.263e-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:  9.509e-01  1.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.62
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.65e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 8.96e-06

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) = 11833.0273545
delta logL = 0.652743276531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11833.0098489
delta logL = 0.670248843242

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.255       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0336       1.0000          .0000       5.0000    
     3 'Normalizat'    .91139       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0131       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=   11833.01     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      294 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.245        48.810        .78181E-04   -.29913E-02
   2  alpha         3.0336        1.2739        .11412E-01   -.65671E-03
   3  Normalizat    .91093        .14325        .23836E-03   -.16869E-02
   4  Prefactor     1.0136        .13466        .21913E-03   -.30670E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 26.2451
  alpha      = 3.03359
  Normalizat = 0.910927
  Prefactor  = 1.01362
 **********
 **   18 **HESSE 
 **********

 FCN=   11833.01     FROM HESSE     STATUS=OK            23 CALLS      317 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.245        30.625        .15636E-04   -1.4683    
   2  alpha         3.0336        .82265        .45647E-03    .21509    
   3  Normalizat    .91093        .13586        .47672E-04   -.96077    
   4  Prefactor     1.0136        .12901        .43826E-04   -.92277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48971e-08
Minuit parameter uncertainties:
  1  30.6436
  2  0.839061
  3  0.135914
  4  0.129052
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/648060': 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) = 11833.00984
delta logL = 0.670257780748

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  2.625e+01  3.064e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  3.034e+00  8.391e-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.014e+00  1.291e-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:  9.109e-01  1.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.98
Ra Dec: 137.674 22.798
Photon Index (Free Index): 3.03 +/- 0.84
Photon Flux (Free Index): 6.39e-08 +/- 3.47e-08
Energy Flux (Free Index): 1.44e-05 +/- 7.00e-06

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/648060/cmap_HighResolution_442800001_443404801_4FGL_J0910.6+2247_weekly_bin337.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.65e-08', energy_flux2='1.44e-05', photon_flux_error='2.04e-08', dlogl='6.70e-01', energy_flux='1.60e-05', photon_flux2='6.39e-08', job_status='DONE', time_completed='2021-07-15 03:06:32.383375', photon_index_error2='0.84', photon_index2='3.03', ts='5.62', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='7.00e-06', EG='0.95', time_epoch_completed='1626343592.38', return_code='0', job_id='648060', GAL2='1.01', EG2='0.91', return_code2='0', energy_flux_error='8.96e-06', photon_flux_error2='3.47e-08', ts2='6.98', photon_index='2.19' WHERE bin_id='337' AND source_name='4FGL J0910.6+2247' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 03:06:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0137>
Subject: Job 648060: <4FGL_J0910.6+2247_weekly_bin337> in cluster <slac> Done

Job <4FGL_J0910.6+2247_weekly_bin337> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Jul 15 02:50:28 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 02:52:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 15 02:52:26 2021
Terminated at Thu Jul 15 03:06:33 2021
Results reported at Thu Jul 15 03:06:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_weekly_bin337 137.674 22.7978 442800001 443404801 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 :                                   806.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             321.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            965 sec.

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

