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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1087
RA = 137.674, Dec = 22.7978
tmin = 521078401, tmax = 521337601
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='43816', job_status='RUN', time_executed='2021-08-31 02:30:54.892515', time_epoch_executed='1630402254.89' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1087'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43816

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43816/ft1_4FGL_J0910.6+2247_daily_bin1087.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43816/ft2_4FGL_J0910.6+2247_daily_bin1087.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43816/ft1_4FGL_J0910.6+2247_daily_bin1087.fits outfile=/scratch/kocevski/43816/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1087.fits ra=137.674 dec=22.7978 rad=12.0 tmin=521078401.0 tmax=521337601.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 8.88
user 4.35
sys 4.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43816/ft1_filtered_4FGL_J0910.6+2247_daily_bin1087.fits" evtable="EVENTS" scfile=/scratch/kocevski/43816/ft2_4FGL_J0910.6+2247_daily_bin1087.fits sctable="SC_DATA" outfile=/scratch/kocevski/43816/ltcube_521078401_521337601_4FGL_J0910.6+2247_daily_bin1087.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/43816/ft2_4FGL_J0910.6+2247_daily_bin1087.fits
.....................!
real 16.78
user 11.64
sys 5.05

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43816/ft1_filtered_4FGL_J0910.6+2247_daily_bin1087.fits evtable="EVENTS" scfile=/scratch/kocevski/43816/ft2_4FGL_J0910.6+2247_daily_bin1087.fits sctable="SC_DATA" expcube=/scratch/kocevski/43816/ltcube_521078401_521337601_4FGL_J0910.6+2247_daily_bin1087.fits outfile=/scratch/kocevski/43816/expmap_521078401_521337601_4FGL_J0910.6+2247_daily_bin1087.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/43816/ltcube_521078401_521337601_4FGL_J0910.6+2247_daily_bin1087.fits
.....................!
real 199.05
user 188.80
sys 9.43

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/43816/ft1_filtered_4FGL_J0910.6+2247_daily_bin1087.fits scfile=/scratch/kocevski/43816/ft2_4FGL_J0910.6+2247_daily_bin1087.fits outfile=/scratch/kocevski/43816/cmap_521078401_521337601_4FGL_J0910.6+2247_daily_bin1087.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.97
user 0.38
sys 4.25

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43816/ft1_filtered_4FGL_J0910.6+2247_daily_bin1087.fits scfile=/scratch/kocevski/43816/ft2_4FGL_J0910.6+2247_daily_bin1087.fits outfile=/scratch/kocevski/43816/cmap_HighResolution_521078401_521337601_4FGL_J0910.6+2247_daily_bin1087.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.06
user 0.39
sys 4.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.681       1.0000         .10000E-03   10000.    
     2 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.9181       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .41715       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .90753       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.962       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.251       1.0000         .10000E-03   10000.    
     9 'norm      '    .10117E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    18.562       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.6799       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .27135E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.7495       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.389       1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.699       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10690E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.3426       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .97985       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89423       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=   5337.992     FROM MIGRAD    STATUS=CONVERGED    770 CALLS     2382 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.706        17.786        .98063E-04   -.37106E-03
   2  norm          .10000E-03    .99263        .10953E-02** at limit **
   3  Prefactor     4.9239        8.1826        .18136E-03   -.34702E-03
   4  Prefactor     .41682        8.3342        .27630E-02    .51961E-03
   5  Prefactor     .10000E-03    21.706        .18142E-02** at limit **
   6  norm          .90753        .64761        .47307E-04    .16750E-03
   7  Prefactor     16.954        14.290        .97249E-04   -.30161E-04
   8  Prefactor     13.256        13.651        .11004E-03   -.11975E-03
   9  norm          .10000E-03    13.421        .36285E-03** at limit **
  10  norm          18.581        26.901        .92963E-04    .14658E-03
  11  Prefactor     .10000E-03    1.8790        .97036E-03** at limit **
  12  norm          1.6799        1.2792        .70097E-04   -.87255E-04
  13  Prefactor     .10013E-03    65.267        .16076    ** at limit **
  14  Prefactor     5.7486        3.9412        .11272E-03   -.35795E-03
  15  Prefactor     14.393        15.122        .10559E-03   -.59541E-04
  16  Prefactor     31.763        55.136        .71167E-04    .80512E-04
  17  Prefactor     .10000E-03    34.271        .18142E-02** at limit **
  18  Prefactor     2.3405        6.1643        .13393E-02   -.15773E-03
  19  Normalizat    .97997        .20310        .22921E-03   -.64964E-03
  20  Prefactor     .89422        .18392        .22694E-03   -.70069E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7058
  norm       = 0.0001
  Prefactor  = 4.92387
  Prefactor  = 0.416823
  Prefactor  = 0.0001
  norm       = 0.90753
  Prefactor  = 16.9538
  Prefactor  = 13.256
  norm       = 0.0001
  norm       = 18.5812
  Prefactor  = 0.0001
  norm       = 1.67989
  Prefactor  = 0.000100129
  Prefactor  = 5.74857
  Prefactor  = 14.3929
  Prefactor  = 31.7628
  Prefactor  = 0.0001
  Prefactor  = 2.34055
  Normalizat = 0.979971
  Prefactor  = 0.894216
 **********
 **   18 **HESSE 
 **********

 FCN=   5337.992     FROM HESSE     STATUS=OK           285 CALLS     2667 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.706        17.782        .19613E-04   -1.4890    
   2  norm          .10000E-03    .99410        .21907E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.9239        8.1808        .72545E-05   -1.5264    
   4  Prefactor     .41682        8.3372        .11052E-03   -1.5579    
   5  Prefactor     .10000E-03    21.707        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .90753        .64756        .18923E-05   -1.5517    
   7  Prefactor     16.954        14.290        .38900E-05   -1.4884    
   8  Prefactor     13.256        13.649        .44015E-05   -1.4980    
   9  norm          .10000E-03    13.422        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.581        26.901        .18593E-04   -1.4846    
  11  Prefactor     .10000E-03    1.8794        .19407E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6799        1.2792        .28039E-05   -1.5449    
  13  Prefactor     .10013E-03    69.960        .15362       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.7486        3.9409        .45088E-05   -1.5228    
  15  Prefactor     14.393        15.122        .21118E-04   -1.4949    
  16  Prefactor     31.763        55.129        .14233E-04   -1.4580    
  17  Prefactor     .10000E-03    34.278        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.3405        6.1586        .53573E-04   -1.5402    
  19  Normalizat    .97997        .20308        .45841E-04   -.93704    
  20  Prefactor     .89422        .18408        .45389E-04   -.96344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85134e-09
Minuit parameter uncertainties:
  1  17.788
  2  2.14076e-05
  3  8.18261
  4  3.72849
  5  4.98671e-06
  6  0.647563
  7  14.2928
  8  13.6522
  9  5.57248e-05
  10  26.9181
  11  4.15774e-06
  12  1.2792
  13  0.00601467
  14  3.94105
  15  15.1255
  16  55.2177
  17  9.48715e-05
  18  6.16026
  19  0.203243
  20  0.184206
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.942e-01  1.842e-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:  9.800e-01  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/43816/likelihoodResults_521078401_521337601_4FGL_J0910.6+2247_daily_bin1087.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) = 5337.34010866
delta logL = 0.6515119092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5337.32413167
delta logL = 0.667488893032

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.174       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0250       1.0000          .0000       5.0000    
     3 'Normalizat'    .98620       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89307       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=   5337.324     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      239 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.168        22.195        .10639E-03   -.25187E-03
   2  alpha         1.0251        .88262        .23191E-01    .20401E-04
   3  Normalizat    .98623        .19001        .22856E-03    .10446E-03
   4  Prefactor     .89305        .18154        .22696E-03    .69376E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.1685
  alpha      = 1.02508
  Normalizat = 0.98623
  Prefactor  = 0.893055
 **********
 **   18 **HESSE 
 **********

 FCN=   5337.324     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.168        23.319        .21278E-04   -1.4955    
   2  alpha         1.0251        .92417        .92764E-03   -.63102    
   3  Normalizat    .98623        .19019        .91422E-05   -.93493    
   4  Prefactor     .89305        .18172        .90785E-05   -.96384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34472e-10
Minuit parameter uncertainties:
  1  23.334
  2  0.959947
  3  0.190322
  4  0.181846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43816': 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) = 5337.32413159
delta logL = 0.667488975227

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.931e-01  1.818e-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:  9.862e-01  1.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.21
Ra Dec: 137.674 22.798
Photon Index (Free Index): 1.03 +/- 0.96
Photon Flux (Free Index): 5.00e-09 +/- 7.38e-09
Energy Flux (Free Index): 1.80e-05 +/- 2.97e-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/43816/cmap_HighResolution_521078401_521337601_4FGL_J0910.6+2247_daily_bin1087.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-05', comment='SUCCESS', energy_flux2='1.80e-05', dlogl='6.67e-01', photon_flux2='5.00e-09', job_status='DONE', time_completed='2021-08-31 02:41:41.809153', photon_index_error2='0.96', photon_index2='1.03', ts='0.87', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='7.15e-08', energy_flux_error2='2.97e-05', EG='0.98', time_epoch_completed='1630402901.81', return_code='0', job_id='43816', GAL2='0.89', EG2='0.99', return_code2='0', photon_flux_error2='7.38e-09', ts2='2.21', photon_index='2.19' WHERE bin_id='1087' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:41:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 43816: <4FGL_J0910.6+2247_daily_bin1087> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1087 137.674 22.7978 521078401 521337601 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            960 sec.

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

