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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1008
RA = 137.674, Dec = 22.7978
tmin = 500601601, tmax = 500860801
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='43699', job_status='RUN', time_executed='2021-08-31 02:29:31.424974', time_epoch_executed='1630402171.43' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1008'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43699

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43699/ft1_4FGL_J0910.6+2247_daily_bin1008.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43699/ft2_4FGL_J0910.6+2247_daily_bin1008.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43699/ft1_4FGL_J0910.6+2247_daily_bin1008.fits outfile=/scratch/kocevski/43699/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1008.fits ra=137.674 dec=22.7978 rad=12.0 tmin=500601601.0 tmax=500860801.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 9.43
user 4.83
sys 4.57

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43699/ft1_filtered_4FGL_J0910.6+2247_daily_bin1008.fits" evtable="EVENTS" scfile=/scratch/kocevski/43699/ft2_4FGL_J0910.6+2247_daily_bin1008.fits sctable="SC_DATA" outfile=/scratch/kocevski/43699/ltcube_500601601_500860801_4FGL_J0910.6+2247_daily_bin1008.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/43699/ft2_4FGL_J0910.6+2247_daily_bin1008.fits
.....................!
real 19.16
user 13.93
sys 5.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43699/ft1_filtered_4FGL_J0910.6+2247_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/43699/ft2_4FGL_J0910.6+2247_daily_bin1008.fits sctable="SC_DATA" expcube=/scratch/kocevski/43699/ltcube_500601601_500860801_4FGL_J0910.6+2247_daily_bin1008.fits outfile=/scratch/kocevski/43699/expmap_500601601_500860801_4FGL_J0910.6+2247_daily_bin1008.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/43699/ltcube_500601601_500860801_4FGL_J0910.6+2247_daily_bin1008.fits
.....................!
real 196.61
user 185.30
sys 10.42

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/43699/ft1_filtered_4FGL_J0910.6+2247_daily_bin1008.fits scfile=/scratch/kocevski/43699/ft2_4FGL_J0910.6+2247_daily_bin1008.fits outfile=/scratch/kocevski/43699/cmap_500601601_500860801_4FGL_J0910.6+2247_daily_bin1008.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 4.74
user 0.38
sys 4.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43699/ft1_filtered_4FGL_J0910.6+2247_daily_bin1008.fits scfile=/scratch/kocevski/43699/ft2_4FGL_J0910.6+2247_daily_bin1008.fits outfile=/scratch/kocevski/43699/cmap_HighResolution_500601601_500860801_4FGL_J0910.6+2247_daily_bin1008.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 5.09
user 0.38
sys 4.35

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .92060E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.753       1.0000         .10000E-03   10000.    
     6 'norm      '    2.9564       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .34587E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .66097E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    7.9501       1.0000         .10000E-03   10000.    
    10 'norm      '    41.451       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.9816       1.0000         .10000E-03   10000.    
    12 'norm      '    .52060       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21675E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.398       1.0000         .10000E-03   10000.    
    16 'Prefactor '    101.19       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9305       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4098       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .78555       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=   6042.974     FROM MIGRAD    STATUS=CONVERGED    435 CALLS     2096 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.033       -.28365E-06** at limit **
   2  norm          .10000E-03    .58972       -.32926E-06** at limit **
   3  Prefactor     .10000E-03    17.596       -.19597E-06** at limit **
   4  Prefactor     .10000E-03    3.8594        .41591E-07** at limit **
   5  Prefactor     22.687        38.506        .18753E-05    .98765E-04
   6  norm          2.9562        .94991       -.35945E-07    .19066E-02
   7  Prefactor     .10072E-03    42.850       -.18464E-04** at limit **
   8  Prefactor     .10012E-03    68.604        .24614E-04** at limit **
   9  norm          7.9503        8.8221       -.19912E-06    .42477E-04
  10  norm          41.437        38.329        .22109E-06    .13525E-03
  11  Prefactor     6.9814        4.5729        .10517E-06    .30137E-03
  12  norm          .52088        1.2986       -.14626E-05   -.11634E-02
  13  Prefactor     .10000E-03    34.864        .76534E-06** at limit **
  14  Prefactor     .10000E-03    2.8193       -.26175E-05** at limit **
  15  Prefactor     27.412        32.329       -.14090E-07    .39481E-05
  16  Prefactor     101.22        106.06       -.78173E-06    .31058E-04
  17  Prefactor     .10000E-03    40.013       -.11809E-05** at limit **
  18  Prefactor     1.9293        6.7882       -.12211E-05    .57538E-03
  19  Normalizat    1.4097        .19749       -.54039E-07    .32491E-03
  20  Prefactor     .78558        .16768        .14860E-05    .60091E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 22.6872
  norm       = 2.95618
  Prefactor  = 0.000100723
  Prefactor  = 0.000100115
  norm       = 7.95028
  norm       = 41.4367
  Prefactor  = 6.98145
  norm       = 0.520877
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 27.4118
  Prefactor  = 101.222
  Prefactor  = 0.0001
  Prefactor  = 1.9293
  Normalizat = 1.40969
  Prefactor  = 0.785577
 **********
 **   18 **HESSE 
 **********

 FCN=   6042.974     FROM HESSE     STATUS=OK           299 CALLS     2395 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    13.197        .11317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.091        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8765        .14904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.687        38.649        .83973E-04   -1.4755    
   6  norm          2.9562        .93042        .40280E-04   -1.5364    
   7  Prefactor     .10072E-03    121.17        .45080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10012E-03    92.514        .56733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.9503        8.8244        .14220E-03   -1.5144    
  10  norm          41.437        38.151        .62263E-04   -1.4420    
  11  Prefactor     6.9814        4.5748        .13009E-03   -1.5179    
  12  norm          .52088        1.2809        .14587E-02   -1.5564    
  13  Prefactor     .10000E-03    34.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.387        .20885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.412        32.287        .76537E-04   -1.4660    
  16  Prefactor     101.22        105.84        .19984E-03   -1.3692    
  17  Prefactor     .10000E-03    40.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9293        6.7114        .29894E-03   -1.5430    
  19  Normalizat    1.4097        .22615        .23743E-03   -.80349    
  20  Prefactor     .78558        .19548        .27077E-03   -1.0026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.76305e-09
Minuit parameter uncertainties:
  1  2.65049e-05
  2  0.000105819
  3  0.000206387
  4  5.7688e-05
  5  38.6914
  6  0.930421
  7  0.0187616
  8  0.00653515
  9  8.82587
  10  38.173
  11  4.57501
  12  1.28099
  13  8.71726e-05
  14  0.000438642
  15  32.3073
  16  106.037
  17  5.53187e-05
  18  6.71398
  19  0.226311
  20  0.195652
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  4.144e+01  3.817e+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:  7.856e-01  1.957e-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.410e+00  2.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.92
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.00e-08 +/- 2.76e-08
Energy Flux (Fixed Index): 1.32e-05 +/- 1.21e-05

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

Saving results to:
/scratch/kocevski/43699/likelihoodResults_500601601_500860801_4FGL_J0910.6+2247_daily_bin1008.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) = 6042.97352934
delta logL = 0.000165767702129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6042.97349086
delta logL = 0.000204254234632

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    41.093       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2182       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78568       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=   6042.973     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      256 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          41.046        43.810        .62532E-04   -.17192E-03
   2  alpha         2.2159        1.0860        .22454E-01    .51427E-05
   3  Normalizat    1.4091        .22004        .23747E-03    .11529E-03
   4  Prefactor     .78586        .19398        .27073E-03   -.28463E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 41.0456
  alpha      = 2.21593
  Normalizat = 1.40912
  Prefactor  = 0.785857
 **********
 **   18 **HESSE 
 **********

 FCN=   6042.973     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          41.046        42.473        .12506E-04   -1.4426    
   2  alpha         2.2159        1.0540        .89814E-03   -.11387    
   3  Normalizat    1.4091        .21984        .47495E-04   -.80365    
   4  Prefactor     .78586        .19396        .10829E-04   -1.0025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.07243e-10
Minuit parameter uncertainties:
  1  42.5044
  2  1.08847
  3  0.21999
  4  0.194131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43699': 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) = 6042.97348532
delta logL = 0.000209790810004

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  4.105e+01  4.250e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.216e+00  1.088e+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:  7.859e-01  1.941e-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.409e+00  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.92
Ra Dec: 137.674 22.798
Photon Index (Free Index): 2.22 +/- 1.09
Photon Flux (Free Index): 3.05e-08 +/- 3.87e-08
Energy Flux (Free Index): 1.30e-05 +/- 1.30e-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/43699/cmap_HighResolution_500601601_500860801_4FGL_J0910.6+2247_daily_bin1008.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-05', comment='SUCCESS', photon_flux='3.00e-08', energy_flux2='1.30e-05', photon_flux_error='2.76e-08', dlogl='2.10e-04', energy_flux='1.32e-05', photon_flux2='3.05e-08', job_status='DONE', time_completed='2021-08-31 02:40:25.231116', photon_index_error2='1.09', photon_index2='2.22', ts='1.92', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='9.51e-08', energy_flux_error2='1.30e-05', EG='1.41', time_epoch_completed='1630402825.23', return_code='0', job_id='43699', GAL2='0.79', EG2='1.41', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='3.87e-08', ts2='1.92', photon_index='2.19' WHERE bin_id='1008' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:40:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 43699: <4FGL_J0910.6+2247_daily_bin1008> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin1008> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 02:25:34 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:25:35 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:25:35 2021
Terminated at Tue Aug 31 02:40:26 2021
Results reported at Tue Aug 31 02:40:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1008 137.674 22.7978 500601601 500860801 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 :                                   710.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            892 sec.

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

