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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin950
RA = 137.674, Dec = 22.7978
tmin = 485568001, tmax = 485827201
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='43615', job_status='RUN', time_executed='2021-08-31 02:26:18.238540', time_epoch_executed='1630401978.24' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='950'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43615

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43615/ft1_4FGL_J0910.6+2247_daily_bin950.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43615/ft2_4FGL_J0910.6+2247_daily_bin950.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43615/ft1_4FGL_J0910.6+2247_daily_bin950.fits outfile=/scratch/kocevski/43615/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin950.fits ra=137.674 dec=22.7978 rad=12.0 tmin=485568001.0 tmax=485827201.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.08
user 3.68
sys 0.81

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/43615/ft2_4FGL_J0910.6+2247_daily_bin950.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/43615/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin950.fits evtable="EVENTS" outfile="/scratch/kocevski/43615/ft1_filtered_4FGL_J0910.6+2247_daily_bin950.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.48
user 0.33
sys 0.73

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43615/ft1_filtered_4FGL_J0910.6+2247_daily_bin950.fits" evtable="EVENTS" scfile=/scratch/kocevski/43615/ft2_4FGL_J0910.6+2247_daily_bin950.fits sctable="SC_DATA" outfile=/scratch/kocevski/43615/ltcube_485568001_485827201_4FGL_J0910.6+2247_daily_bin950.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/43615/ft2_4FGL_J0910.6+2247_daily_bin950.fits
.....................!
real 13.02
user 11.53
sys 0.96

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43615/ft1_filtered_4FGL_J0910.6+2247_daily_bin950.fits evtable="EVENTS" scfile=/scratch/kocevski/43615/ft2_4FGL_J0910.6+2247_daily_bin950.fits sctable="SC_DATA" expcube=/scratch/kocevski/43615/ltcube_485568001_485827201_4FGL_J0910.6+2247_daily_bin950.fits outfile=/scratch/kocevski/43615/expmap_485568001_485827201_4FGL_J0910.6+2247_daily_bin950.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/43615/ltcube_485568001_485827201_4FGL_J0910.6+2247_daily_bin950.fits
.....................!
real 193.08
user 185.40
sys 5.69

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/43615/ft1_filtered_4FGL_J0910.6+2247_daily_bin950.fits scfile=/scratch/kocevski/43615/ft2_4FGL_J0910.6+2247_daily_bin950.fits outfile=/scratch/kocevski/43615/cmap_485568001_485827201_4FGL_J0910.6+2247_daily_bin950.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=137.674 yref=22.7978 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.08
user 0.38
sys 0.69

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43615/ft1_filtered_4FGL_J0910.6+2247_daily_bin950.fits scfile=/scratch/kocevski/43615/ft2_4FGL_J0910.6+2247_daily_bin950.fits outfile=/scratch/kocevski/43615/cmap_HighResolution_485568001_485827201_4FGL_J0910.6+2247_daily_bin950.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=137.674 yref=22.7978 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.12
user 0.37
sys 0.72

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1074       1.0000         .10000E-03   10000.    
     2 'norm      '    .10184E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.0768       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .46621       1.0000         .10000E-03   10000.    
     5 'Prefactor '    241.58       1.0000         .10000E-03   10000.    
     6 'norm      '    1.5876       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2948       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13377E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4182       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2861       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.148       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    38.365       1.0000         .10000E-03   10000.    
    16 'Prefactor '    86.359       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .89119E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .79521       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1118       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=   5575.576     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2049 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1050        9.7964        .16663E-06   -.11717E-04
   2  norm          .10000E-03    .61147        .88846E-08** at limit **
   3  Prefactor     9.0735        8.1189        .19949E-06    .15275E-04
   4  Prefactor     .46170        4.5740       -.28407E-06    .23724E-03
   5  Prefactor     241.56        79.410       -.14030E-05   -.21190E-03
   6  norm          1.5876        .90161       -.16720E-06   -.26792E-04
   7  Prefactor     5.2961        12.171        .52765E-05   -.11908E-03
   8  Prefactor     .10000E-03    32.489       -.26948E-06** at limit **
   9  norm          .10000E-03    2.5840       -.10199E-08** at limit **
  10  norm          .10000E-03    12.542        .22969E-06** at limit **
  11  Prefactor     4.4187        3.3526        .80806E-07   -.11664E-04
  12  norm          1.2861        1.1888        .15336E-07    .14505E-04
  13  Prefactor     27.157        44.659        .19800E-05    .98969E-04
  14  Prefactor     .10000E-03    1.0425        .32833E-07** at limit **
  15  Prefactor     38.367        30.157       -.16464E-06    .13271E-03
  16  Prefactor     86.390        66.328        .39721E-05    .31299E-03
  17  Prefactor     .10000E-03    28.771        .49059E-06** at limit **
  18  Prefactor     .10001E-03    6.7201       -.15615E-05** at limit **
  19  Normalizat    .79471        .18651       -.10936E-05    .17685E-03
  20  Prefactor     1.1122        .16882       -.13029E-06    .13851E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.10498
  norm       = 0.0001
  Prefactor  = 9.07348
  Prefactor  = 0.461705
  Prefactor  = 241.565
  norm       = 1.58757
  Prefactor  = 5.29611
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.4187
  norm       = 1.28613
  Prefactor  = 27.1569
  Prefactor  = 0.0001
  Prefactor  = 38.3666
  Prefactor  = 86.39
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Normalizat = 0.794707
  Prefactor  = 1.11216
 **********
 **   18 **HESSE 
 **********

 FCN=   5575.576     FROM HESSE     STATUS=OK           293 CALLS     2342 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1050        9.7342        .17790E-03   -1.5256    
   2  norm          .10000E-03    1.0953        .11136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.0735        8.0286        .13303E-03   -1.5105    
   4  Prefactor     .46170        25.719        .29830E-02   -1.5572    
   5  Prefactor     241.56        80.604        .13026E-03   -1.2587    
   6  norm          1.5876        .90017        .48560E-04   -1.5456    
   7  Prefactor     5.2961        12.599        .87334E-03   -1.5248    
   8  Prefactor     .10000E-03    33.487        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.5871        .11723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    12.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.4187        3.3494        .11533E-03   -1.5288    
  12  norm          1.2861        1.1894        .76181E-04   -1.5481    
  13  Prefactor     27.157        44.949        .76888E-04   -1.4665    
  14  Prefactor     .10000E-03    1.0499        .74424E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     38.367        30.016        .64709E-04   -1.4468    
  16  Prefactor     86.390        69.726        .21616E-03   -1.3846    
  17  Prefactor     .10000E-03    28.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    16.716        .35610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .79471        .21044        .26948E-03   -1.0027    
  20  Prefactor     1.1122        .19278        .21900E-03   -.89079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55335e-09
Minuit parameter uncertainties:
  1  9.73726
  2  6.4416e-06
  3  8.02959
  4  6.89426
  5  80.6408
  6  0.900175
  7  12.6055
  8  3.52112e-06
  9  1.11088e-06
  10  2.18105e-05
  11  3.3495
  12  1.18946
  13  45.0055
  14  9.3439e-07
  15  30.028
  16  69.7921
  17  6.83506e-05
  18  0.000980778
  19  0.210652
  20  0.192904
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  2.181e-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.112e+00  1.929e-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:  7.947e-01  2.107e-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.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/43615/likelihoodResults_485568001_485827201_4FGL_J0910.6+2247_daily_bin950.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): 102
logL (Free Index) = 5575.57603741
delta logL = -0.000379127664019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5575.57565826
delta logL = 2.19888534048e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1804       1.0000          .0000       5.0000    
     3 'Normalizat'    .79471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1122       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=   5575.576     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      227 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    421.07        .18142E-01** at limit **
   2  alpha         1.7814        4.0634        .16634       -.27544E-07
   3  Normalizat    .79471        .25253E-01    .26948E-03    .80220E-03
   4  Prefactor     1.1122        .24019E-01    .21900E-03    .99441E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  alpha      = 1.78135
  Normalizat = 0.794707
  Prefactor  = 1.11216
 **********
 **   18 **HESSE 
 **********

 FCN=   5575.576     FROM HESSE     STATUS=OK            23 CALLS      250 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    14.163        .27351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7814        4.1021        .66535E-02   -.29157    
   3  Normalizat    .79471        .20197        .53897E-04   -1.0027    
   4  Prefactor     1.1122        .19215        .43800E-04   -.89079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37856e-09
Minuit parameter uncertainties:
  1  0.000561888
  2  432.102
  3  0.202159
  4  0.192271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43615': 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) = 5575.57565785
delta logL = 4.35498805018e-07

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  5.619e-04  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.781e+00  4.321e+02  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.112e+00  1.923e-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:  7.947e-01  2.022e-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/43615/cmap_HighResolution_485568001_485827201_4FGL_J0910.6+2247_daily_bin950.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.93e-05', job_status='DONE', photon_flux_upper_limit='4.39e-08', time_completed='2021-08-31 02:35:42.714263', job_id='43615', GAL2='1.11', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1630402542.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.35e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='950' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:35:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 43615: <4FGL_J0910.6+2247_daily_bin950> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin950 137.674 22.7978 485568001 485827201 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 :                                   564.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             328.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            614 sec.

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

