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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin98
RA = 137.674, Dec = 22.7978
tmin = 264729601, tmax = 264988801
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='38839', job_status='RUN', time_executed='2021-08-31 02:15:17.826885', time_epoch_executed='1630401317.83' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='98'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38839

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38839/ft1_4FGL_J0910.6+2247_daily_bin98.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38839/ft2_4FGL_J0910.6+2247_daily_bin98.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38839/ft1_4FGL_J0910.6+2247_daily_bin98.fits outfile=/scratch/kocevski/38839/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin98.fits ra=137.674 dec=22.7978 rad=12.0 tmin=264729601.0 tmax=264988801.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 6.24
user 1.27
sys 4.78

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38839/ft1_filtered_4FGL_J0910.6+2247_daily_bin98.fits" evtable="EVENTS" scfile=/scratch/kocevski/38839/ft2_4FGL_J0910.6+2247_daily_bin98.fits sctable="SC_DATA" outfile=/scratch/kocevski/38839/ltcube_264729601_264988801_4FGL_J0910.6+2247_daily_bin98.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/38839/ft2_4FGL_J0910.6+2247_daily_bin98.fits
.....................!
real 17.84
user 12.27
sys 5.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38839/ft1_filtered_4FGL_J0910.6+2247_daily_bin98.fits evtable="EVENTS" scfile=/scratch/kocevski/38839/ft2_4FGL_J0910.6+2247_daily_bin98.fits sctable="SC_DATA" expcube=/scratch/kocevski/38839/ltcube_264729601_264988801_4FGL_J0910.6+2247_daily_bin98.fits outfile=/scratch/kocevski/38839/expmap_264729601_264988801_4FGL_J0910.6+2247_daily_bin98.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/38839/ltcube_264729601_264988801_4FGL_J0910.6+2247_daily_bin98.fits
.....................!
real 197.05
user 185.17
sys 11.48

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/38839/ft1_filtered_4FGL_J0910.6+2247_daily_bin98.fits scfile=/scratch/kocevski/38839/ft2_4FGL_J0910.6+2247_daily_bin98.fits outfile=/scratch/kocevski/38839/cmap_264729601_264988801_4FGL_J0910.6+2247_daily_bin98.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 5.12
user 0.37
sys 4.65

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38839/ft1_filtered_4FGL_J0910.6+2247_daily_bin98.fits scfile=/scratch/kocevski/38839/ft2_4FGL_J0910.6+2247_daily_bin98.fits outfile=/scratch/kocevski/38839/cmap_HighResolution_264729601_264988801_4FGL_J0910.6+2247_daily_bin98.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 6.39
user 0.39
sys 4.67

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.4555       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.632       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28609E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .46518       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.122       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.970       1.0000         .10000E-03   10000.    
     9 'norm      '    4.9785       1.0000         .10000E-03   10000.    
    10 'norm      '    57.140       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6841       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5889       1.0000         .10000E-03   10000.    
    15 'Prefactor '    28.961       1.0000         .10000E-03   10000.    
    16 'Prefactor '    56.792       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.837       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .60291E-01   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3402       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .60676       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=   7094.183     FROM MIGRAD    STATUS=CONVERGED    745 CALLS     2692 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    64.289        .36285E-03** at limit **
   2  norm          2.4559        1.2745        .63673E-04    .82115E-03
   3  Prefactor     10.631        9.6834        .12288E-03    .84657E-04
   4  Prefactor     .10000E-03    4.3793        .17076E-02** at limit **
   5  Prefactor     .10108E-03    35.100        .13910    ** at limit **
   6  norm          .46518        .40309        .46288E-03    .15331E-03
   7  Prefactor     10.122        8.6408        .12595E-03    .25275E-04
   8  Prefactor     19.970        14.388        .89628E-04    .62153E-04
   9  norm          4.9781        4.6514        .17118E-03    .71061E-05
  10  norm          57.131        38.783        .53070E-04    .11996E-04
  11  Prefactor     7.6841        3.8564        .11351E-03    .66505E-04
  12  norm          .10000E-03    1.1089        .13627E-02** at limit **
  13  Prefactor     .10000E-03    13.696        .18142E-02** at limit **
  14  Prefactor     4.5888        3.3818        .62910E-03    .23047E-03
  15  Prefactor     28.973        23.612        .74448E-04    .25655E-04
  16  Prefactor     56.768        57.192        .53231E-04    .10721E-04
  17  Prefactor     18.835        23.381        .92283E-04    .94859E-05
  18  Prefactor     .39475E-01    3.3834        .49760E-01    .55852E-03
  19  Normalizat    1.3401        .19533        .21770E-03    .19639E-03
  20  Prefactor     .60685        .16550        .27933E-03    .25914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.45588
  Prefactor  = 10.6307
  Prefactor  = 0.0001
  Prefactor  = 0.000101084
  norm       = 0.46518
  Prefactor  = 10.1224
  Prefactor  = 19.9695
  norm       = 4.97805
  norm       = 57.1306
  Prefactor  = 7.68408
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.58875
  Prefactor  = 28.9734
  Prefactor  = 56.7679
  Prefactor  = 18.8353
  Prefactor  = 0.0394754
  Normalizat = 1.3401
  Prefactor  = 0.606853
 **********
 **   18 **HESSE 
 **********

 FCN=   7094.183     FROM HESSE     STATUS=OK           291 CALLS     2983 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    64.292        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4559        1.2745        .25469E-05   -1.5395    
   3  Prefactor     10.631        9.6825        .49151E-05   -1.5056    
   4  Prefactor     .10000E-03    4.3816        .34151E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10108E-03    34.382        .14116       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .46518        .40302        .18515E-04   -1.5572    
   7  Prefactor     10.122        8.6401        .50378E-05   -1.5072    
   8  Prefactor     19.970        14.388        .35851E-05   -1.4814    
   9  norm          4.9781        4.6514        .68473E-05   -1.5262    
  10  norm          57.131        38.798        .21228E-05   -1.4195    
  11  Prefactor     7.6841        3.8564        .45403E-05   -1.5153    
  12  norm          .10000E-03    1.1110        .27254E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.697        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.5888        3.3811        .25164E-04   -1.5280    
  15  Prefactor     28.973        23.615        .29779E-05   -1.4631    
  16  Prefactor     56.768        57.192        .10646E-04   -1.4200    
  17  Prefactor     18.835        23.384        .36913E-05   -1.4840    
  18  Prefactor     .39475E-01    3.3824        .49772E-01   -1.5668    
  19  Normalizat    1.3401        .19545        .43539E-04   -.82377    
  20  Prefactor     .60685        .16562        .11173E-04   -1.0730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78042e-10
Minuit parameter uncertainties:
  1  3.32056e-05
  2  1.27448
  3  9.68396
  4  8.52015e-06
  5  0.0122172
  6  0.403022
  7  8.64111
  8  14.3908
  9  4.65171
  10  38.815
  11  3.85657
  12  1.93695e-05
  13  1.25872e-05
  14  3.38124
  15  23.6224
  16  57.2477
  17  23.3955
  18  0.729934
  19  0.195562
  20  0.165758
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  5.713e+01  3.881e+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:  6.069e-01  1.658e-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.340e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.20
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.13e-08 +/- 2.81e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 1.23e-05

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

Saving results to:
/scratch/kocevski/38839/likelihoodResults_264729601_264988801_4FGL_J0910.6+2247_daily_bin98.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) = 7094.18305498
delta logL = 0.000176961976649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7094.18252088
delta logL = 0.000711065614269

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    54.203       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2973       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3362       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60872       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7094.182     FROM MIGRAD    STATUS=FAILED       109 CALLS      294 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          53.886        935.87        .54481E-04   -.41734E-05
   2  alpha         2.3075        3.4332        .16823E-01    .18323E-03
   3  Normalizat    1.3348        .54379        .21802E-03   -.10533E-04
   4  Prefactor     .61002        .32289        .27873E-03   -.65259E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7094.182     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      379 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          53.886        935.87        .43240E-03   -.41734E-05
   2  alpha         2.3075        3.4332        .43054E-02    .18323E-03
   3  Normalizat    1.3348        .54379        .27844E-03   -.10533E-04
   4  Prefactor     .61002        .32289        .34188E-03   -.65259E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7094.182     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      413 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          53.886        200.25        .21792E-05   -.41734E-05
   2  alpha         2.3075        3.1231        .33646E-02    .68417E-05
   3  Normalizat    1.3348        .34555        .87209E-05   -.10429E-04
   4  Prefactor     .61002        .24642        .11149E-04   -.65259E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 53.8863
  alpha      = 2.30753
  Normalizat = 1.33478
  Prefactor  = 0.610017
 **********
 **   18 **HESSE 
 **********

 FCN=   7094.182     FROM HESSE     STATUS=OK            25 CALLS      438 TOTAL
                     EDM=   .15E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          53.886        141.90        .43585E-06   -1.4238    
   2  alpha         2.3075        3.6191        .67291E-03   -.77064E-01
   3  Normalizat    1.3348        .27765        .17442E-05   -.82534    
   4  Prefactor     .61002        .20993        .22299E-05   -1.0717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51914e-13
Minuit parameter uncertainties:
  1  142.799
  2  4.3117
  3  0.277958
  4  0.210197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38839': 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) = 7094.18249909
delta logL = 0.000732855321075

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  5.389e+01  1.428e+02  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.308e+00  4.312e+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:  6.100e-01  2.102e-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.335e+00  2.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.18
Ra Dec: 137.674 22.798
Photon Index (Free Index): 2.31 +/- 4.31
Photon Flux (Free Index): 4.50e-08 +/- 1.40e-07
Energy Flux (Free Index): 1.74e-05 +/- 2.84e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/38839/cmap_HighResolution_264729601_264988801_4FGL_J0910.6+2247_daily_bin98.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-05', comment='SUCCESS', photon_flux='4.13e-08', energy_flux2='1.74e-05', photon_flux_error='2.81e-08', dlogl='7.33e-04', energy_flux='1.81e-05', photon_flux2='4.50e-08', job_status='DONE', time_completed='2021-08-31 02:27:37.444401', photon_index_error2='4.31', photon_index2='2.31', ts='3.20', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', photon_flux_upper_limit='9.89e-08', energy_flux_error2='2.84e-05', EG='1.34', time_epoch_completed='1630402057.44', return_code='0', job_id='38839', GAL2='0.61', EG2='1.33', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='1.40e-07', ts2='3.18', photon_index='2.19' WHERE bin_id='98' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:27:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0136>
Subject: Job 38839: <4FGL_J0910.6+2247_daily_bin98> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin98 137.674 22.7978 264729601 264988801 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 :                                   805.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             262.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            963 sec.

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

