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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin622
RA = 137.674, Dec = 22.7978
tmin = 400550401, tmax = 400809601
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='41992', job_status='RUN', time_executed='2021-08-31 02:21:22.765854', time_epoch_executed='1630401682.77' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='622'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/41992

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/41992/ft1_4FGL_J0910.6+2247_daily_bin622.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/41992/ft2_4FGL_J0910.6+2247_daily_bin622.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/41992/ft1_4FGL_J0910.6+2247_daily_bin622.fits outfile=/scratch/kocevski/41992/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin622.fits ra=137.674 dec=22.7978 rad=12.0 tmin=400550401.0 tmax=400809601.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 4.91
user 4.14
sys 0.52

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/41992/ft1_filtered_4FGL_J0910.6+2247_daily_bin622.fits" evtable="EVENTS" scfile=/scratch/kocevski/41992/ft2_4FGL_J0910.6+2247_daily_bin622.fits sctable="SC_DATA" outfile=/scratch/kocevski/41992/ltcube_400550401_400809601_4FGL_J0910.6+2247_daily_bin622.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/41992/ft2_4FGL_J0910.6+2247_daily_bin622.fits
.....................!
real 12.00
user 11.24
sys 0.70

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/41992/ft1_filtered_4FGL_J0910.6+2247_daily_bin622.fits evtable="EVENTS" scfile=/scratch/kocevski/41992/ft2_4FGL_J0910.6+2247_daily_bin622.fits sctable="SC_DATA" expcube=/scratch/kocevski/41992/ltcube_400550401_400809601_4FGL_J0910.6+2247_daily_bin622.fits outfile=/scratch/kocevski/41992/expmap_400550401_400809601_4FGL_J0910.6+2247_daily_bin622.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/41992/ltcube_400550401_400809601_4FGL_J0910.6+2247_daily_bin622.fits
.....................!
real 191.86
user 185.83
sys 5.00

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/41992/ft1_filtered_4FGL_J0910.6+2247_daily_bin622.fits scfile=/scratch/kocevski/41992/ft2_4FGL_J0910.6+2247_daily_bin622.fits outfile=/scratch/kocevski/41992/cmap_400550401_400809601_4FGL_J0910.6+2247_daily_bin622.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.99
user 0.37
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/41992/ft1_filtered_4FGL_J0910.6+2247_daily_bin622.fits scfile=/scratch/kocevski/41992/ft2_4FGL_J0910.6+2247_daily_bin622.fits outfile=/scratch/kocevski/41992/cmap_HighResolution_400550401_400809601_4FGL_J0910.6+2247_daily_bin622.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.86
user 0.38
sys 0.45

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .82761       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .59566E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7643       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .83777       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.869       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6413       1.0000         .10000E-03   10000.    
    12 'norm      '    .78896       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1763       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0563       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.9315       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8276       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98411       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=   5942.093     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     1767 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.794       -.77385E-06** at limit **
   2  norm          .82873        1.2023       -.44092E-06   -.11968E-02
   3  Prefactor     .10014E-03    7.9102        .23541E-05** at limit **
   4  Prefactor     5.7679        8.5478        .97688E-06   -.36971E-03
   5  Prefactor     .10000E-03    34.841       -.88063E-05** at limit **
   6  norm          .83804        .83361       -.34499E-06   -.20808E-02
   7  Prefactor     .10000E-03    5.0815       -.48348E-07** at limit **
   8  Prefactor     .10000E-03    22.442        .19184E-09** at limit **
   9  norm          13.868        9.9859       -.34653E-06   -.18088E-04
  10  norm          .10000E-03    8.3881        .24928E-08** at limit **
  11  Prefactor     2.6413        2.3794       -.60970E-07    .11126E-03
  12  norm          .78904        1.2274       -.11298E-06   -.40937E-03
  13  Prefactor     4.1303        41.275       -.64163E-04   -.14877E-04
  14  Prefactor     3.0562        2.6533        .44896E-07    .10641E-03
  15  Prefactor     .10000E-03    56.394        .55521E-06** at limit **
  16  Prefactor     .10000E-03    51.338        .16128E-04** at limit **
  17  Prefactor     5.9272        44.948       -.10376E-04   -.13138E-04
  18  Prefactor     3.8254        8.0241       -.41270E-05   -.28181E-03
  19  Normalizat    1.0033        .17634        .13112E-05   -.17837E-03
  20  Prefactor     .98414        .15865        .18792E-05   -.17633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.82873
  Prefactor  = 0.000100135
  Prefactor  = 5.76795
  Prefactor  = 0.0001
  norm       = 0.838042
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.8684
  norm       = 0.0001
  Prefactor  = 2.6413
  norm       = 0.789037
  Prefactor  = 4.13027
  Prefactor  = 3.05619
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.92724
  Prefactor  = 3.82538
  Normalizat = 1.00333
  Prefactor  = 0.984139
 **********
 **   18 **HESSE 
 **********

 FCN=   5942.093     FROM HESSE     STATUS=OK           299 CALLS     2066 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .82873        1.1665        .50170E-04   -1.5526    
   3  Prefactor     .10014E-03    23.593        .39223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7679        8.4472        .16729E-03   -1.5228    
   5  Prefactor     .10000E-03    34.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .83804        .80247        .65045E-03   -1.5525    
   7  Prefactor     .10000E-03    5.0999        .16963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.868        10.001        .10755E-03   -1.4963    
  10  norm          .10000E-03    8.3913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.6413        2.3874        .10977E-03   -1.5383    
  12  norm          .78904        1.0237        .10306E-02   -1.5530    
  13  Prefactor     4.1303        41.478        .19722E-03   -1.5301    
  14  Prefactor     3.0562        2.6552        .11234E-03   -1.5358    
  15  Prefactor     .10000E-03    57.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    51.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.9272        44.993        .16488E-03   -1.5221    
  18  Prefactor     3.8254        8.0669        .20629E-03   -1.5317    
  19  Normalizat    1.0033        .20690        .23930E-03   -.92919    
  20  Prefactor     .98414        .18781        .22466E-03   -.93260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.30027e-09
Minuit parameter uncertainties:
  1  6.1662e-06
  2  1.16658
  3  0.00357431
  4  8.44895
  5  6.69308e-05
  6  0.802483
  7  4.45985e-06
  8  5.3632e-05
  9  10.0019
  10  1.70465e-05
  11  2.38751
  12  1.02368
  13  26.2008
  14  2.65527
  15  0.000165506
  16  4.26001e-07
  17  32.6948
  18  8.06919
  19  0.207067
  20  0.18793
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.705e-05  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.841e-01  1.879e-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.003e+00  2.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/41992/likelihoodResults_400550401_400809601_4FGL_J0910.6+2247_daily_bin622.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): 102
logL (Free Index) = 5942.09389546
delta logL = -0.000565295214074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5942.09333014
delta logL = 2.55786289927e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1825       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98414       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=   5942.093     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      235 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    269.86        .18142E-01** at limit **
   2  alpha         1.8207        2.7971        .16632        .18490E-06
   3  Normalizat    1.0033        .23905E-01    .23930E-03    .71831E-04
   4  Prefactor     .98414        .22363E-01    .22466E-03    .54299E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  alpha      = 1.82071
  Normalizat = 1.00334
  Prefactor  = 0.984139
 **********
 **   18 **HESSE 
 **********

 FCN=   5942.093     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    9.4445        .22773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8207        3.3777        .66526E-02   -.27518    
   3  Normalizat    1.0033        .19801        .95722E-05   -.92919    
   4  Prefactor     .98414        .18525        .89862E-05   -.93260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33138e-09
Minuit parameter uncertainties:
  1  0.000474847
  2  396.71
  3  0.198159
  4  0.185374
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/41992': 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) = 5942.09332967
delta logL = 4.97988366988e-07

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  4.748e-04  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.821e+00  3.967e+02  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.841e-01  1.854e-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.003e+00  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.674 22.798

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/41992/cmap_HighResolution_400550401_400809601_4FGL_J0910.6+2247_daily_bin622.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-05', job_status='DONE', photon_flux_upper_limit='3.26e-08', time_completed='2021-08-31 02:30:34.393080', job_id='41992', GAL2='0.98', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630402234.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.98e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='622' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:30:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 41992: <4FGL_J0910.6+2247_daily_bin622> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin622 137.674 22.7978 400550401 400809601 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 :                                   548.35 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             306.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   578 sec.
    Turnaround time :                            580 sec.

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

