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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1410
RA = 137.674, Dec = 22.7978
tmin = 604800001, tmax = 605059201
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='45124', job_status='RUN', time_executed='2021-08-31 02:32:50.198692', time_epoch_executed='1630402370.2' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45124

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45124/ft1_4FGL_J0910.6+2247_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45124/ft2_4FGL_J0910.6+2247_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45124/ft1_4FGL_J0910.6+2247_daily_bin1410.fits outfile=/scratch/kocevski/45124/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1410.fits ra=137.674 dec=22.7978 rad=12.0 tmin=604800001.0 tmax=605059201.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 5.24
user 4.80
sys 0.40

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45124/ft1_filtered_4FGL_J0910.6+2247_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/45124/ft2_4FGL_J0910.6+2247_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/45124/ltcube_604800001_605059201_4FGL_J0910.6+2247_daily_bin1410.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/45124/ft2_4FGL_J0910.6+2247_daily_bin1410.fits
.....................!
real 13.86
user 13.10
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45124/ft1_filtered_4FGL_J0910.6+2247_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/45124/ft2_4FGL_J0910.6+2247_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/45124/ltcube_604800001_605059201_4FGL_J0910.6+2247_daily_bin1410.fits outfile=/scratch/kocevski/45124/expmap_604800001_605059201_4FGL_J0910.6+2247_daily_bin1410.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/45124/ltcube_604800001_605059201_4FGL_J0910.6+2247_daily_bin1410.fits
.....................!
real 191.27
user 185.86
sys 4.84

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/45124/ft1_filtered_4FGL_J0910.6+2247_daily_bin1410.fits scfile=/scratch/kocevski/45124/ft2_4FGL_J0910.6+2247_daily_bin1410.fits outfile=/scratch/kocevski/45124/cmap_604800001_605059201_4FGL_J0910.6+2247_daily_bin1410.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.68
user 0.36
sys 0.31

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45124/ft1_filtered_4FGL_J0910.6+2247_daily_bin1410.fits scfile=/scratch/kocevski/45124/ft2_4FGL_J0910.6+2247_daily_bin1410.fits outfile=/scratch/kocevski/45124/cmap_HighResolution_604800001_605059201_4FGL_J0910.6+2247_daily_bin1410.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.75
user 0.37
sys 0.34

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .95718E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.892       1.0000         .10000E-03   10000.    
     6 'norm      '    .13765E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.408       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.0433       1.0000         .10000E-03   10000.    
    10 'norm      '    23.450       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.0038       1.0000         .10000E-03   10000.    
    13 'Prefactor '    147.20       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.756       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10509E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1008       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2649       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .83854       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4916.287     FROM MIGRAD    STATUS=CONVERGED    120 CALLS     1770 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10026E-03    30.467       -.62534E-05** at limit **
   2  norm          .10000E-03    .42040        .16417E-06** at limit **
   3  Prefactor     .10000E-03    6.3208       -.11421E-05** at limit **
   4  Prefactor     .11939E-02    1663.4       -.23856E-04** at limit **
   5  Prefactor     18.906        3.5270        .13940E-06   -.32293E-02
   6  norm          .10000E-03    1.5940        .35392E-06** at limit **
   7  Prefactor     10.414        10.202        .12116E-05    .55169E-02
   8  Prefactor     .10000E-03    4.8471        .67313E-06** at limit **
   9  norm          1.0375        12.658       -.47641E-06    .58854E-06
  10  norm          23.413        5.8169       -.27590E-06    .29137E-02
  11  Prefactor     .10000E-03    2.5731        .14330E-06** at limit **
  12  norm          1.0036        1.0336        .24990E-06    .42241E-03
  13  Prefactor     147.19        1.9239       -.26665E-07    .34675E-02
  14  Prefactor     .10000E-03    1.0421        .41476E-07** at limit **
  15  Prefactor     .10035E-03    32.310        .46420E-05** at limit **
  16  Prefactor     28.597        24.071       -.11501E-05    .14140E-01
  17  Prefactor     .10058E-03    68.581        .17847E-05** at limit **
  18  Prefactor     1.1141        25.709       -.36272E-05   -.60392E-04
  19  Normalizat    1.2648        .24082       -.68022E-07    .11481E-04
  20  Prefactor     .83884        .21135        .47120E-06    .25082E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100259
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0011939
  Prefactor  = 18.9063
  norm       = 0.0001
  Prefactor  = 10.4142
  Prefactor  = 0.0001
  norm       = 1.03754
  norm       = 23.4132
  Prefactor  = 0.0001
  norm       = 1.00362
  Prefactor  = 147.194
  Prefactor  = 0.0001
  Prefactor  = 0.000100347
  Prefactor  = 28.5971
  Prefactor  = 0.000100579
  Prefactor  = 1.11406
  Normalizat = 1.26478
  Prefactor  = 0.838841
 **********
 **   18 **HESSE 
 **********

 FCN=   4916.287     FROM HESSE     STATUS=OK           337 CALLS     2107 TOTAL
                     EDM=   .63E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10026E-03    30.156        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .41243        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.3181        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11939E-02    8.2220        .68781E-01   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.906        69.568        .23037E-02   -1.4838    
   6  norm          .10000E-03    .44839        .16794E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.414        10.290        .31050E-02   -1.5062    
   8  Prefactor     .10000E-03    4.8634        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.0375        12.502        .12215E-01   -1.5504    
  10  norm          23.413        63.816        .20680E-02   -1.4740    
  11  Prefactor     .10000E-03    2.5246        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0036        .99792        .13551E-01   -1.5508    
  13  Prefactor     147.19        98.149        .83036E-03   -1.3275    
  14  Prefactor     .10000E-03    1.0460        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10035E-03    32.355        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     28.597        88.621        .18678E-02   -1.4638    
  17  Prefactor     .10058E-03    69.084        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.1141        26.335        .11321E-01   -1.5497    
  19  Normalizat    1.2648        .20580        .52529E-01   -.84624    
  20  Prefactor     .83884        .18006        .44217E-01   -.98312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34315e-06
Minuit parameter uncertainties:
  1  0.00559363
  2  1.42964e-06
  3  5.39972e-05
  4  0.1897
  5  69.8685
  6  4.19172e-06
  7  10.2922
  8  1.85595e-05
  9  7.20478
  10  64.0033
  11  3.98041e-06
  12  0.99794
  13  98.2581
  14  1.07737e-06
  15  0.00670058
  16  89.0327
  17  0.0126589
  18  10.8379
  19  0.205937
  20  0.180186
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  2.341e+01  6.400e+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:  8.388e-01  1.802e-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.265e+00  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 137.674 22.798
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45124/likelihoodResults_604800001_605059201_4FGL_J0910.6+2247_daily_bin1410.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): 0
logL (Free Index) = 4915.81591201
delta logL = 0.471551877125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4915.79317137
delta logL = 0.494292511696

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.777       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3548       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86059       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=   4915.793     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      252 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.794        47.548        .94991E-04    .20717E-03
   2  alpha         3.3543        1.4439        .13323E-01    .49598E-04
   3  Normalizat    1.2136        .24002        .23597E-03   -.22404E-03
   4  Prefactor     .86063        .21144        .24440E-03    .38377E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.7935
  alpha      = 3.35427
  Normalizat = 1.21361
  Prefactor  = 0.860626
 **********
 **   18 **HESSE 
 **********

 FCN=   4915.793     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.794        35.270        .37997E-05   -1.4864    
   2  alpha         3.3543        1.1053        .53290E-03    .34873    
   3  Normalizat    1.2136        .23918        .47195E-04   -.86183    
   4  Prefactor     .86063        .20983        .97758E-05   -.97531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.68202e-10
Minuit parameter uncertainties:
  1  35.3112
  2  1.15073
  3  0.239398
  4  0.210024
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45124': 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) = 4915.79317122
delta logL = 0.494292666711

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.779e+01  3.531e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  3.354e+00  1.151e+00  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:  8.606e-01  2.100e-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.214e+00  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.17
Ra Dec: 137.674 22.798
Photon Index (Free Index): 3.35 +/- 1.15
Photon Flux (Free Index): 7.38e-08 +/- 7.71e-08
Energy Flux (Free Index): 1.45e-05 +/- 1.49e-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/45124/cmap_HighResolution_604800001_605059201_4FGL_J0910.6+2247_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-05', comment='SUCCESS', energy_flux2='1.45e-05', dlogl='4.94e-01', photon_flux2='7.38e-08', job_status='DONE', time_completed='2021-08-31 02:41:29.725561', photon_index_error2='1.15', photon_index2='3.35', ts='0.16', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.49e-05', EG='1.26', time_epoch_completed='1630402889.73', return_code='0', job_id='45124', GAL2='0.86', EG2='1.21', return_code2='0', photon_flux_error2='7.71e-08', ts2='1.17', photon_index='2.19' WHERE bin_id='1410' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:41:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 45124: <4FGL_J0910.6+2247_daily_bin1410> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1410 137.674 22.7978 604800001 605059201 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 :                                   516.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   637 sec.
    Turnaround time :                            639 sec.

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

