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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin109
RA = 137.674, Dec = 22.7978
tmin = 267580801, tmax = 267840001
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='38856', job_status='RUN', time_executed='2021-08-31 02:13:23.705721', time_epoch_executed='1630401203.71' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38856

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38856/ft1_4FGL_J0910.6+2247_daily_bin109.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38856/ft2_4FGL_J0910.6+2247_daily_bin109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38856/ft1_4FGL_J0910.6+2247_daily_bin109.fits outfile=/scratch/kocevski/38856/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin109.fits ra=137.674 dec=22.7978 rad=12.0 tmin=267580801.0 tmax=267840001.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 7.29
user 1.19
sys 5.99

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38856/ft1_filtered_4FGL_J0910.6+2247_daily_bin109.fits" evtable="EVENTS" scfile=/scratch/kocevski/38856/ft2_4FGL_J0910.6+2247_daily_bin109.fits sctable="SC_DATA" outfile=/scratch/kocevski/38856/ltcube_267580801_267840001_4FGL_J0910.6+2247_daily_bin109.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/38856/ft2_4FGL_J0910.6+2247_daily_bin109.fits
.....................!
real 18.40
user 11.49
sys 6.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38856/ft1_filtered_4FGL_J0910.6+2247_daily_bin109.fits evtable="EVENTS" scfile=/scratch/kocevski/38856/ft2_4FGL_J0910.6+2247_daily_bin109.fits sctable="SC_DATA" expcube=/scratch/kocevski/38856/ltcube_267580801_267840001_4FGL_J0910.6+2247_daily_bin109.fits outfile=/scratch/kocevski/38856/expmap_267580801_267840001_4FGL_J0910.6+2247_daily_bin109.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/38856/ltcube_267580801_267840001_4FGL_J0910.6+2247_daily_bin109.fits
.....................!
real 199.78
user 186.87
sys 12.40

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/38856/ft1_filtered_4FGL_J0910.6+2247_daily_bin109.fits scfile=/scratch/kocevski/38856/ft2_4FGL_J0910.6+2247_daily_bin109.fits outfile=/scratch/kocevski/38856/cmap_267580801_267840001_4FGL_J0910.6+2247_daily_bin109.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 6.44
user 0.37
sys 5.98

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38856/ft1_filtered_4FGL_J0910.6+2247_daily_bin109.fits scfile=/scratch/kocevski/38856/ft2_4FGL_J0910.6+2247_daily_bin109.fits outfile=/scratch/kocevski/38856/cmap_HighResolution_267580801_267840001_4FGL_J0910.6+2247_daily_bin109.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.53
user 0.38
sys 5.96

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10317E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.9393       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9374       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.6260       1.0000         .10000E-03   10000.    
     5 'Prefactor '    45.202       1.0000         .10000E-03   10000.    
     6 'norm      '    .11746       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .25508E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .30998       1.0000         .10000E-03   10000.    
    10 'norm      '    .88480E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.838       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3285       1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.122       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .33897E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .36201E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.8824       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2023       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1410       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=   6398.275     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1620 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3190        .29575E-05** at limit **
   2  norm          1.9392        1.2069       -.37219E-07   -.41943E-04
   3  Prefactor     2.9044        7.8131       -.17580E-05   -.52611E-04
   4  Prefactor     5.8685        10.021        .25663E-05    .10083E-03
   5  Prefactor     42.049        67.062       -.16244E-04    .77623E-04
   6  norm          .11681        .69503       -.32122E-05   -.22817E-03
   7  Prefactor     .10001E-03    21.495        .57990E-04** at limit **
   8  Prefactor     .10000E-03    4.9923        .13014E-05** at limit **
   9  norm          .30072        9.1200       -.37439E-04    .22189E-03
  10  norm          .10000E-03    15.619        .65799E-05** at limit **
  11  Prefactor     .10000E-03    1.3219       -.10920E-05** at limit **
  12  norm          .10000E-03    2.2706        .32682E-05** at limit **
  13  Prefactor     29.349        29.191       -.57096E-05    .27163E-04
  14  Prefactor     1.3244        3.0514       -.21350E-05   -.44066E-04
  15  Prefactor     26.141        23.149       -.16748E-05    .22930E-04
  16  Prefactor     .10000E-03    64.492        .13744E-04** at limit **
  17  Prefactor     .10000E-03    28.046        .23202E-06** at limit **
  18  Prefactor     9.8634        6.2233        .39705E-06    .41053E-04
  19  Normalizat    1.2027        .22788        .19004E-05   -.31198E-04
  20  Prefactor     1.1412        .20611       -.11367E-05   -.26016E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.93916
  Prefactor  = 2.90441
  Prefactor  = 5.86846
  Prefactor  = 42.0491
  norm       = 0.116813
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 0.300718
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.3486
  Prefactor  = 1.3244
  Prefactor  = 26.1414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.86338
  Normalizat = 1.20269
  Prefactor  = 1.14119
 **********
 **   18 **HESSE 
 **********

 FCN=   6398.275     FROM HESSE     STATUS=OK           351 CALLS     1971 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3078        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9392        1.2182        .74535E-02   -1.5429    
   3  Prefactor     2.9044        7.8814        .59248E-02   -1.5367    
   4  Prefactor     5.8685        10.262        .42341E-02   -1.5223    
   5  Prefactor     42.049        67.419        .14908E-02   -1.4410    
   6  norm          .11681        .45002        .19163E-01   -1.5640    
   7  Prefactor     .10001E-03    28.026        .10728E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.9773        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .30072        5.8196        .71953E-01   -1.5598    
  10  norm          .10000E-03    15.620        .91498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.3132        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.1805        .31482E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     29.349        29.232        .18038E-02   -1.4624    
  14  Prefactor     1.3244        3.1069        .95292E-02   -1.5478    
  15  Prefactor     26.141        23.106        .19981E-02   -1.4685    
  16  Prefactor     .10000E-03    64.211        .91912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    27.931        .98077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.8634        6.2260        .31867E-02   -1.5080    
  19  Normalizat    1.2027        .18912        .57028E-01   -.86520    
  20  Prefactor     1.1412        .17161        .54970E-01   -.88161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57092e-07
Minuit parameter uncertainties:
  1  1.61684e-05
  2  1.21826
  3  7.88423
  4  10.265
  5  67.542
  6  0.450035
  7  0.000787345
  8  3.04733e-06
  9  2.64565
  10  4.04649e-05
  11  6.574e-07
  12  6.32605e-06
  13  29.2463
  14  3.10724
  15  23.1142
  16  0.00026887
  17  0.000108431
  18  6.22641
  19  0.189226
  20  0.171694
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  4.046e-05  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.141e+00  1.717e-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.203e+00  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/38856/likelihoodResults_267580801_267840001_4FGL_J0910.6+2247_daily_bin109.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) = 6398.2754848
delta logL = -0.000304449877149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6398.27518039
delta logL = -3.62560967915e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1918       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1412       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.

 FCN=   6398.275     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      200 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.538        .90712E-02** at limit **
   2  alpha         2.1956        3.4742        .41554       -.12125E-05
   3  Normalizat    1.2027        .17975        .57028E-01    .39490E-05
   4  Prefactor     1.1412        .17006        .54970E-01    .47484E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.19563
  Normalizat = 1.20269
  Prefactor  = 1.14119
 **********
 **   18 **HESSE 
 **********

 FCN=   6398.275     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1956        3.4741        .50000       -.12205    
   3  Normalizat    1.2027        .21605        .25219E-03   -.86520    
   4  Prefactor     1.1412        .20444        .24306E-03   -.88161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52362e-12
Minuit parameter uncertainties:
  1  5.42193e-06
  2  2.48144
  3  0.216214
  4  0.204579
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38856': 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) = 6398.27518035
delta logL = 9.68611857388e-10

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  5.422e-06  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.196e+00  2.481e+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:  1.141e+00  2.046e-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.203e+00  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/38856/cmap_HighResolution_267580801_267840001_4FGL_J0910.6+2247_daily_bin109.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-05', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2021-08-31 02:24:06.895021', job_id='38856', GAL2='1.14', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630401846.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='9.69e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='109' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:24:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 38856: <4FGL_J0910.6+2247_daily_bin109> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin109 137.674 22.7978 267580801 267840001 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 :                                   733.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            752 sec.

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

