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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin49
RA = 137.674, Dec = 22.7978
tmin = 252028801, tmax = 252288001
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='38759', job_status='RUN', time_executed='2021-08-31 02:15:49.920994', time_epoch_executed='1630401349.92' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='49'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38759

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38759/ft1_4FGL_J0910.6+2247_daily_bin49.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38759/ft2_4FGL_J0910.6+2247_daily_bin49.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38759/ft1_4FGL_J0910.6+2247_daily_bin49.fits outfile=/scratch/kocevski/38759/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin49.fits ra=137.674 dec=22.7978 rad=12.0 tmin=252028801.0 tmax=252288001.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 2.50
user 1.23
sys 1.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38759/ft2_4FGL_J0910.6+2247_daily_bin49.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/38759/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin49.fits evtable="EVENTS" outfile="/scratch/kocevski/38759/ft1_filtered_4FGL_J0910.6+2247_daily_bin49.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.61
user 0.34
sys 1.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38759/ft1_filtered_4FGL_J0910.6+2247_daily_bin49.fits" evtable="EVENTS" scfile=/scratch/kocevski/38759/ft2_4FGL_J0910.6+2247_daily_bin49.fits sctable="SC_DATA" outfile=/scratch/kocevski/38759/ltcube_252028801_252288001_4FGL_J0910.6+2247_daily_bin49.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/38759/ft2_4FGL_J0910.6+2247_daily_bin49.fits
.....................!
real 14.07
user 12.47
sys 1.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38759/ft1_filtered_4FGL_J0910.6+2247_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/38759/ft2_4FGL_J0910.6+2247_daily_bin49.fits sctable="SC_DATA" expcube=/scratch/kocevski/38759/ltcube_252028801_252288001_4FGL_J0910.6+2247_daily_bin49.fits outfile=/scratch/kocevski/38759/expmap_252028801_252288001_4FGL_J0910.6+2247_daily_bin49.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/38759/ltcube_252028801_252288001_4FGL_J0910.6+2247_daily_bin49.fits
.....................!
real 192.29
user 185.97
sys 5.92

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/38759/ft1_filtered_4FGL_J0910.6+2247_daily_bin49.fits scfile=/scratch/kocevski/38759/ft2_4FGL_J0910.6+2247_daily_bin49.fits outfile=/scratch/kocevski/38759/cmap_252028801_252288001_4FGL_J0910.6+2247_daily_bin49.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 1.69
user 0.37
sys 1.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38759/ft1_filtered_4FGL_J0910.6+2247_daily_bin49.fits scfile=/scratch/kocevski/38759/ft2_4FGL_J0910.6+2247_daily_bin49.fits outfile=/scratch/kocevski/38759/cmap_HighResolution_252028801_252288001_4FGL_J0910.6+2247_daily_bin49.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 1.62
user 0.38
sys 1.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.086       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3556       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.4437       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .45490       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7653       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .59860E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    14.838       1.0000         .10000E-03   10000.    
    10 'norm      '    145.03       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.6166       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3885       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2918       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8747       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.450       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .70475       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2790       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=   9093.665     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     1842 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.083        16.974       -.34314E-06    .20761E-05
   2  norm          2.3556        1.3147        .14610E-07   -.12414E-04
   3  Prefactor     4.4402        7.7743        .19684E-06   -.45982E-06
   4  Prefactor     .10000E-03    2.0212       -.61694E-07** at limit **
   5  Prefactor     .10000E-03    34.312        .14794E-07** at limit **
   6  norm          .45471        .45866        .72450E-08    .32412E-03
   7  Prefactor     2.7637        5.3463        .27908E-05   -.66679E-05
   8  Prefactor     .10012E-03    10.170       -.28158E-06** at limit **
   9  norm          14.835        7.9906       -.63820E-07    .52670E-05
  10  norm          145.04        41.821       -.17605E-05    .11010E-04
  11  Prefactor     .10000E-03    1.5430       -.85127E-07** at limit **
  12  norm          1.6169        1.3064        .75326E-08    .35667E-04
  13  Prefactor     1.2341        337.70        .50070E-05    .10307E-04
  14  Prefactor     8.2950        3.8599        .49500E-07    .71859E-04
  15  Prefactor     6.8649        18.499       -.17654E-05    .44056E-05
  16  Prefactor     .10000E-03    22.937       -.54621E-07** at limit **
  17  Prefactor     38.436        27.696        .94668E-07    .42268E-05
  18  Prefactor     .10000E-03    2.5913        .39282E-07** at limit **
  19  Normalizat    .70493        .14871        .20833E-06    .22780E-04
  20  Prefactor     1.2791        .13653       -.14358E-06    .19405E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0827
  norm       = 2.35558
  Prefactor  = 4.44018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.454706
  Prefactor  = 2.76372
  Prefactor  = 0.000100115
  norm       = 14.8353
  norm       = 145.044
  Prefactor  = 0.0001
  norm       = 1.6169
  Prefactor  = 1.23413
  Prefactor  = 8.29503
  Prefactor  = 6.86487
  Prefactor  = 0.0001
  Prefactor  = 38.4365
  Prefactor  = 0.0001
  Normalizat = 0.704931
  Prefactor  = 1.27908
 **********
 **   18 **HESSE 
 **********

 FCN=   9093.665     FROM HESSE     STATUS=OK           311 CALLS     2153 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.083        16.965        .10672E-03   -1.4957    
   2  norm          2.3556        1.3023        .70415E-04   -1.5401    
   3  Prefactor     4.4402        7.7112        .19103E-03   -1.5287    
   4  Prefactor     .10000E-03    2.0331        .13237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    34.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .45471        .42773        .61840E-03   -1.5573    
   7  Prefactor     2.7637        5.3485        .12238E-02   -1.5375    
   8  Prefactor     .10012E-03    13.348        .78897E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.835        7.9934        .10398E-03   -1.4937    
  10  norm          145.04        41.822        .16729E-03   -1.3293    
  11  Prefactor     .10000E-03    5.3047        .22990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6169        1.2958        .94267E-04   -1.5454    
  13  Prefactor     1.2341        344.60        .36892E-03   -1.5486    
  14  Prefactor     8.2950        3.8603        .11865E-03   -1.5132    
  15  Prefactor     6.8649        18.473        .15302E-03   -1.5184    
  16  Prefactor     .10000E-03    23.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     38.436        27.711        .64638E-04   -1.4467    
  18  Prefactor     .10000E-03    2.6202        .14987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .70493        .17402        .29312E-03   -1.0370    
  20  Prefactor     1.2791        .16097        .21596E-03   -.83931    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72287e-10
Minuit parameter uncertainties:
  1  16.9705
  2  1.3023
  3  7.7129
  4  3.55562e-06
  5  3.93487e-05
  6  0.427736
  7  5.34939
  8  0.00248209
  9  7.994
  10  41.8308
  11  2.19087e-05
  12  1.29584
  13  41.4859
  14  3.86044
  15  18.4881
  16  4.48022e-06
  17  27.7199
  18  3.24562e-06
  19  0.174151
  20  0.161036
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.450e+02  4.183e+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.279e+00  1.610e-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.049e-01  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 40.82
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.05e-07 +/- 3.02e-08
Energy Flux (Fixed Index): 4.60e-05 +/- 1.33e-05

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) = 9090.92041393
delta logL = 2.74414255451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9090.86512529
delta logL = 2.79943120167

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    161.44       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5482       1.0000          .0000       5.0000    
     3 'Normalizat'    .74597       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2615       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=   9090.865     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          161.44        49.024        .79346E-03    .27566E-02
   2  alpha         1.5483        .24719        .23127       -.29658E-04
   3  Normalizat    .74597        .13962        .64582E-01    .66718E-04
   4  Prefactor     1.2615        .13513        .49171E-01   -.41431E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 161.445
  alpha      = 1.54826
  Normalizat = 0.745969
  Prefactor  = 1.26146
 **********
 **   18 **HESSE 
 **********

 FCN=   9090.865     FROM HESSE     STATUS=OK            29 CALLS      244 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          161.44        50.490        .15869E-03   -1.3160    
   2  alpha         1.5483        .26371        .98235E-02   -.39055    
   3  Normalizat    .74597        .16430        .28571E-03   -1.0211    
   4  Prefactor     1.2615        .15971        .21737E-03   -.84460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22004e-08
Minuit parameter uncertainties:
  1  50.5036
  2  0.264281
  3  0.164407
  4  0.159776
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38759': 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) = 9090.86512528
delta logL = 2.79943120248

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.614e+02  5.050e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.548e+00  2.643e-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.261e+00  1.598e-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.460e-01  1.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 46.57
Ra Dec: 137.674 22.798
Photon Index (Free Index): 1.55 +/- 0.26
Photon Flux (Free Index): 6.32e-08 +/- 2.44e-08
Energy Flux (Free Index): 7.58e-05 +/- 3.07e-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/38759/cmap_HighResolution_252028801_252288001_4FGL_J0910.6+2247_daily_bin49.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.05e-07', energy_flux2='7.58e-05', photon_flux_error='3.02e-08', dlogl='2.80e+00', energy_flux='4.60e-05', photon_flux2='6.32e-08', job_status='DONE', time_completed='2021-08-31 02:26:06.308156', photon_index_error2='0.26', photon_index2='1.55', ts='40.82', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', energy_flux_error2='3.07e-05', EG='0.70', time_epoch_completed='1630401966.31', return_code='0', job_id='38759', GAL2='1.26', EG2='0.75', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='2.44e-08', ts2='46.57', photon_index='2.19' WHERE bin_id='49' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:26:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 38759: <4FGL_J0910.6+2247_daily_bin49> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin49 137.674 22.7978 252028801 252288001 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 :                                   628.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            879 sec.

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

