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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin62
RA = 137.674, Dec = 22.7978
tmin = 255398401, tmax = 255657601
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='38781', job_status='RUN', time_executed='2021-08-31 02:14:32.865397', time_epoch_executed='1630401272.87' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='62'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38781

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38781/ft1_4FGL_J0910.6+2247_daily_bin62.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38781/ft2_4FGL_J0910.6+2247_daily_bin62.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38781/ft1_4FGL_J0910.6+2247_daily_bin62.fits outfile=/scratch/kocevski/38781/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin62.fits ra=137.674 dec=22.7978 rad=12.0 tmin=255398401.0 tmax=255657601.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.00
user 1.65
sys 1.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38781/ft2_4FGL_J0910.6+2247_daily_bin62.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/38781/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin62.fits evtable="EVENTS" outfile="/scratch/kocevski/38781/ft1_filtered_4FGL_J0910.6+2247_daily_bin62.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.87
user 0.32
sys 1.28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38781/ft1_filtered_4FGL_J0910.6+2247_daily_bin62.fits" evtable="EVENTS" scfile=/scratch/kocevski/38781/ft2_4FGL_J0910.6+2247_daily_bin62.fits sctable="SC_DATA" outfile=/scratch/kocevski/38781/ltcube_255398401_255657601_4FGL_J0910.6+2247_daily_bin62.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/38781/ft2_4FGL_J0910.6+2247_daily_bin62.fits
.....................!
real 13.66
user 12.09
sys 1.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38781/ft1_filtered_4FGL_J0910.6+2247_daily_bin62.fits evtable="EVENTS" scfile=/scratch/kocevski/38781/ft2_4FGL_J0910.6+2247_daily_bin62.fits sctable="SC_DATA" expcube=/scratch/kocevski/38781/ltcube_255398401_255657601_4FGL_J0910.6+2247_daily_bin62.fits outfile=/scratch/kocevski/38781/expmap_255398401_255657601_4FGL_J0910.6+2247_daily_bin62.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/38781/ltcube_255398401_255657601_4FGL_J0910.6+2247_daily_bin62.fits
.....................!
real 193.70
user 187.22
sys 5.96

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/38781/ft1_filtered_4FGL_J0910.6+2247_daily_bin62.fits scfile=/scratch/kocevski/38781/ft2_4FGL_J0910.6+2247_daily_bin62.fits outfile=/scratch/kocevski/38781/cmap_255398401_255657601_4FGL_J0910.6+2247_daily_bin62.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.56
user 0.38
sys 1.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38781/ft1_filtered_4FGL_J0910.6+2247_daily_bin62.fits scfile=/scratch/kocevski/38781/ft2_4FGL_J0910.6+2247_daily_bin62.fits outfile=/scratch/kocevski/38781/cmap_HighResolution_255398401_255657601_4FGL_J0910.6+2247_daily_bin62.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.59
user 0.37
sys 1.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.739       1.0000         .10000E-03   10000.    
     2 'norm      '    .39683       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8797       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .65725E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.579       1.0000         .10000E-03   10000.    
     6 'norm      '    .42285       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.248       1.0000         .10000E-03   10000.    
     9 'norm      '    .11244E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    72.127       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.2610       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.548       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.643       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.024       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .86685       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1865       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=   6793.277     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     2057 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.723        28.993       -.11766E-04   -.21597E-03
   2  norm          .39800        1.0867        .17132E-05    .10829E-03
   3  Prefactor     1.8786        6.3864       -.28510E-05   -.67780E-03
   4  Prefactor     .10000E-03    4.5557       -.32675E-06** at limit **
   5  Prefactor     38.585        35.727        .50879E-05    .12304E-04
   6  norm          .42338        .66061       -.36865E-06   -.20732E-02
   7  Prefactor     .10000E-03    3.5367        .34324E-06** at limit **
   8  Prefactor     16.245        15.311       -.10792E-05   -.12961E-04
   9  norm          .10002E-03    5.2090       -.12413E-06** at limit **
  10  norm          72.125        35.395       -.16482E-05    .62476E-05
  11  Prefactor     .10000E-03    .85697       -.58142E-07** at limit **
  12  norm          .10000E-03    .49480       -.51641E-07** at limit **
  13  Prefactor     .10000E-03    17.292        .15612E-05** at limit **
  14  Prefactor     7.2603        4.1097       -.43379E-06   -.19533E-03
  15  Prefactor     18.546        21.131       -.18590E-05    .89885E-06
  16  Prefactor     .10000E-03    21.418       -.50434E-06** at limit **
  17  Prefactor     17.621        28.508       -.25972E-04    .69081E-06
  18  Prefactor     10.022        7.2865        .69649E-06   -.38669E-04
  19  Normalizat    .86698        .17594        .60591E-05   -.21579E-03
  20  Prefactor     1.1865        .15752       -.20712E-05    .23744E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.7228
  norm       = 0.397996
  Prefactor  = 1.87857
  Prefactor  = 0.0001
  Prefactor  = 38.5847
  norm       = 0.423381
  Prefactor  = 0.0001
  Prefactor  = 16.245
  norm       = 0.000100019
  norm       = 72.1251
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.26034
  Prefactor  = 18.5461
  Prefactor  = 0.0001
  Prefactor  = 17.6207
  Prefactor  = 10.0224
  Normalizat = 0.86698
  Prefactor  = 1.18647
 **********
 **   18 **HESSE 
 **********

 FCN=   6793.277     FROM HESSE     STATUS=OK           295 CALLS     2352 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.723        28.041        .59284E-04   -1.4355    
   2  norm          .39800        1.0184        .12114E-03   -1.5582    
   3  Prefactor     1.8786        6.3433        .30365E-03   -1.5434    
   4  Prefactor     .10000E-03    11.524        .33723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.585        35.703        .64530E-04   -1.4465    
   6  norm          .42338        .63989        .78775E-04   -1.5578    
   7  Prefactor     .10000E-03    3.5405        .15133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.245        15.358        .99363E-04   -1.4902    
   9  norm          .10002E-03    52.696        .36349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          72.125        35.389        .47271E-04   -1.4007    
  11  Prefactor     .10000E-03    .85916        .74512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .49919        .56598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.2603        4.1112        .11853E-03   -1.5169    
  15  Prefactor     18.546        21.125        .92998E-04   -1.4846    
  16  Prefactor     .10000E-03    21.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.621        28.348        .95352E-04   -1.4868    
  18  Prefactor     10.022        7.2904        .12656E-03   -1.5075    
  19  Normalizat    .86698        .20294        .27035E-03   -.97630    
  20  Prefactor     1.1865        .18248        .22432E-03   -.86749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33876e-09
Minuit parameter uncertainties:
  1  28.0496
  2  1.01845
  3  6.34554
  4  1.47575e-05
  5  35.7229
  6  0.639901
  7  2.776e-06
  8  15.3621
  9  0.00200889
  10  35.3997
  11  1.5448e-06
  12  2.96546e-07
  13  4.15106e-06
  14  4.11137
  15  21.1333
  16  1.71119e-05
  17  28.3698
  18  7.29101
  19  0.203115
  20  0.182576
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  7.213e+01  3.540e+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.186e+00  1.826e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.670e-01  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.77
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 5.22e-08 +/- 2.56e-08
Energy Flux (Fixed Index): 2.29e-05 +/- 1.12e-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) = 6793.2729008
delta logL = 0.00459068259806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6793.27124909
delta logL = 0.00624238697037

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    69.867       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2463       1.0000          .0000       5.0000    
     3 'Normalizat'    .86516       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1874       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=   6793.271     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      275 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          69.878        40.926        .24012E-03    .16003E-04
   2  alpha         2.2462        .48000        .11581E-01    .15979E-03
   3  Normalizat    .86499        .18890        .27062E-03   -.27222E-04
   4  Prefactor     1.1876        .18093        .22422E-03    .41931E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 69.878
  alpha      = 2.24622
  Normalizat = 0.864991
  Prefactor  = 1.18758
 **********
 **   18 **HESSE 
 **********

 FCN=   6793.271     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          69.878        40.223        .96048E-05   -1.4034    
   2  alpha         2.2462        .47178        .23162E-02   -.10169    
   3  Normalizat    .86499        .18899        .10825E-04   -.97701    
   4  Prefactor     1.1876        .18105        .89689E-05   -.86714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66093e-11
Minuit parameter uncertainties:
  1  40.239
  2  0.474654
  3  0.189138
  4  0.181149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38781': 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) = 6793.27124867
delta logL = 0.00624281039563

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  6.988e+01  4.024e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.246e+00  4.747e-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.188e+00  1.811e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.650e-01  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.75
Ra Dec: 137.674 22.798
Photon Index (Free Index): 2.25 +/- 0.47
Photon Flux (Free Index): 5.39e-08 +/- 3.07e-08
Energy Flux (Free Index): 2.23e-05 +/- 1.21e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/38781/cmap_HighResolution_255398401_255657601_4FGL_J0910.6+2247_daily_bin62.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.22e-08', energy_flux2='2.23e-05', photon_flux_error='2.56e-08', dlogl='6.24e-03', energy_flux='2.29e-05', photon_flux2='5.39e-08', job_status='DONE', time_completed='2021-08-31 02:23:58.123642', photon_index_error2='0.47', photon_index2='2.25', ts='10.77', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='1.21e-05', EG='0.87', time_epoch_completed='1630401838.12', return_code='0', job_id='38781', GAL2='1.19', EG2='0.86', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='3.07e-08', ts2='10.75', photon_index='2.19' WHERE bin_id='62' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:23:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 38781: <4FGL_J0910.6+2247_daily_bin62> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin62 137.674 22.7978 255398401 255657601 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 :                                   580.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            749 sec.

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

