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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin719
RA = 137.674, Dec = 22.7978
tmin = 425692801, tmax = 425952001
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='42118', job_status='RUN', time_executed='2021-08-31 02:21:21.127860', time_epoch_executed='1630401681.13' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/42118

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/42118/ft1_4FGL_J0910.6+2247_daily_bin719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/42118/ft2_4FGL_J0910.6+2247_daily_bin719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/42118/ft1_4FGL_J0910.6+2247_daily_bin719.fits outfile=/scratch/kocevski/42118/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin719.fits ra=137.674 dec=22.7978 rad=12.0 tmin=425692801.0 tmax=425952001.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.57
user 3.34
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/42118/ft1_filtered_4FGL_J0910.6+2247_daily_bin719.fits" evtable="EVENTS" scfile=/scratch/kocevski/42118/ft2_4FGL_J0910.6+2247_daily_bin719.fits sctable="SC_DATA" outfile=/scratch/kocevski/42118/ltcube_425692801_425952001_4FGL_J0910.6+2247_daily_bin719.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/42118/ft2_4FGL_J0910.6+2247_daily_bin719.fits
.....................!
real 11.88
user 11.33
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/42118/ft1_filtered_4FGL_J0910.6+2247_daily_bin719.fits evtable="EVENTS" scfile=/scratch/kocevski/42118/ft2_4FGL_J0910.6+2247_daily_bin719.fits sctable="SC_DATA" expcube=/scratch/kocevski/42118/ltcube_425692801_425952001_4FGL_J0910.6+2247_daily_bin719.fits outfile=/scratch/kocevski/42118/expmap_425692801_425952001_4FGL_J0910.6+2247_daily_bin719.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/42118/ltcube_425692801_425952001_4FGL_J0910.6+2247_daily_bin719.fits
.....................!
real 190.54
user 184.95
sys 5.04

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/42118/ft1_filtered_4FGL_J0910.6+2247_daily_bin719.fits scfile=/scratch/kocevski/42118/ft2_4FGL_J0910.6+2247_daily_bin719.fits outfile=/scratch/kocevski/42118/cmap_425692801_425952001_4FGL_J0910.6+2247_daily_bin719.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.66
user 0.35
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7354       1.0000         .10000E-03   10000.    
     2 'norm      '    .11235E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    152.36       1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.6556       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.9794       1.0000         .10000E-03   10000.    
     9 'norm      '    3.1704       1.0000         .10000E-03   10000.    
    10 'norm      '    77.722       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .58019       1.0000         .10000E-03   10000.    
    12 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    47.103       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11299E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    45.390       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.535       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1692       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95815       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=   6149.375     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     2133 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7790        70.489        .17848E-05   -.23466E-05
   2  norm          .10000E-03    .77896        .28240E-07** at limit **
   3  Prefactor     .10000E-03    6.7045        .23067E-07** at limit **
   4  Prefactor     .10000E-03    6.3631       -.15264E-06** at limit **
   5  Prefactor     152.33        69.219       -.25861E-05   -.32150E-03
   6  norm          .10000E-03    .30650       -.39244E-07** at limit **
   7  Prefactor     6.6557        8.8794        .21215E-05   -.31544E-03
   8  Prefactor     8.9653        18.221        .82715E-06    .83585E-04
   9  norm          3.1703        3.7051        .25692E-07    .71364E-04
  10  norm          77.720        42.760       -.31120E-06   -.23834E-04
  11  Prefactor     .58070        2.6526        .13102E-05   -.21566E-03
  12  norm          .10000E-03    .96971        .38041E-07** at limit **
  13  Prefactor     47.099        38.184       -.49486E-06   -.67903E-04
  14  Prefactor     .10000E-03    2.4458        .55957E-07** at limit **
  15  Prefactor     45.383        24.887       -.31760E-06   -.10460E-03
  16  Prefactor     .10000E-03    16.563        .61847E-07** at limit **
  17  Prefactor     .10000E-03    11.178        .12677E-07** at limit **
  18  Prefactor     11.534        6.8386        .82267E-07    .20829E-04
  19  Normalizat    1.1694        .18395       -.33773E-07   -.51344E-04
  20  Prefactor     .95809        .16600       -.35452E-06   -.21225E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.77897
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 152.334
  norm       = 0.0001
  Prefactor  = 6.65571
  Prefactor  = 8.96529
  norm       = 3.17028
  norm       = 77.7196
  Prefactor  = 0.580698
  norm       = 0.0001
  Prefactor  = 47.099
  Prefactor  = 0.0001
  Prefactor  = 45.3829
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.5342
  Normalizat = 1.16938
  Prefactor  = 0.958087
 **********
 **   18 **HESSE 
 **********

 FCN=   6149.375     FROM HESSE     STATUS=OK           291 CALLS     2424 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7790        59.549        .31858E-03   -1.5441    
   2  norm          .10000E-03    1.1255        .12159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.7877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.4372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     152.33        74.185        .16328E-03   -1.3233    
   6  norm          .10000E-03    .64481        .83993E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6557        9.0936        .77771E-03   -1.5192    
   8  Prefactor     8.9653        18.402        .13376E-03   -1.5109    
   9  norm          3.1703        3.7065        .15941E-03   -1.5352    
  10  norm          77.720        42.761        .45550E-04   -1.3942    
  11  Prefactor     .58070        2.6882        .24973E-03   -1.5556    
  12  norm          .10000E-03    1.0045        .15070E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     47.099        38.300        .29212E-03   -1.4334    
  14  Prefactor     .10000E-03    2.5483        .23923E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     45.383        25.013        .59511E-04   -1.4360    
  16  Prefactor     .10000E-03    16.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.534        6.8414        .11795E-03   -1.5029    
  19  Normalizat    1.1694        .21983        .23830E-03   -.87554    
  20  Prefactor     .95809        .19757        .24536E-03   -.94140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57485e-10
Minuit parameter uncertainties:
  1  20.6068
  2  1.55256e-05
  3  1.90818e-07
  4  1.02005e-05
  5  74.2308
  6  2.7791e-06
  7  9.09545
  8  18.4137
  9  3.70681
  10  42.7775
  11  2.49881
  12  1.64277e-06
  13  38.3201
  14  2.90119e-06
  15  25.0187
  16  8.84906e-06
  17  9.23998e-07
  18  6.84191
  19  0.220003
  20  0.197721
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  7.772e+01  4.278e+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.581e-01  1.977e-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.169e+00  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.24
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 5.62e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 2.47e-05 +/- 1.36e-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) = 6149.28530194
delta logL = 0.0893000102215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6149.2834444
delta logL = 0.0911575527771

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    66.944       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4325       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1560       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96640       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=   6149.283     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      300 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          66.983        48.271        .24527E-03   -.13233E-03
   2  alpha         2.4331        .58989        .11210E-01    .41783E-04
   3  Normalizat    1.1562        .20939        .23940E-03   -.18236E-04
   4  Prefactor     .96606        .19712        .24442E-03    .12396E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 66.9825
  alpha      = 2.43313
  Normalizat = 1.15625
  Prefactor  = 0.966061
 **********
 **   18 **HESSE 
 **********

 FCN=   6149.283     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          66.983        46.398        .98108E-05   -1.4069    
   2  alpha         2.4331        .56706        .44838E-03   -.26753E-01
   3  Normalizat    1.1562        .20934        .95759E-05   -.87966    
   4  Prefactor     .96606        .19714        .97769E-05   -.93870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14258e-10
Minuit parameter uncertainties:
  1  46.4232
  2  0.572043
  3  0.209488
  4  0.19729
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/42118': 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) = 6149.28344016
delta logL = 0.0911617966967

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  6.698e+01  4.642e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.433e+00  5.720e-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:  9.661e-01  1.973e-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.156e+00  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.40
Ra Dec: 137.674 22.798
Photon Index (Free Index): 2.43 +/- 0.57
Photon Flux (Free Index): 6.62e-08 +/- 4.15e-08
Energy Flux (Free Index): 2.26e-05 +/- 1.27e-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/42118/cmap_HighResolution_425692801_425952001_4FGL_J0910.6+2247_daily_bin719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.62e-08', energy_flux2='2.26e-05', photon_flux_error='3.09e-08', dlogl='9.12e-02', energy_flux='2.47e-05', photon_flux2='6.62e-08', job_status='DONE', time_completed='2021-08-31 02:30:28.394156', photon_index_error2='0.57', photon_index2='2.43', ts='7.24', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.27e-05', EG='1.17', time_epoch_completed='1630402228.39', return_code='0', job_id='42118', GAL2='0.97', EG2='1.16', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='4.15e-08', ts2='7.40', photon_index='2.19' WHERE bin_id='719' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:30:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 42118: <4FGL_J0910.6+2247_daily_bin719> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin719 137.674 22.7978 425692801 425952001 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 :                                   541.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   561 sec.
    Turnaround time :                            563 sec.

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

