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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1011
RA = 137.674, Dec = 22.7978
tmin = 501379201, tmax = 501638401
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='43703', job_status='RUN', time_executed='2021-08-31 02:29:20.979302', time_epoch_executed='1630402160.98' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1011'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43703

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43703/ft1_4FGL_J0910.6+2247_daily_bin1011.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43703/ft2_4FGL_J0910.6+2247_daily_bin1011.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43703/ft1_4FGL_J0910.6+2247_daily_bin1011.fits outfile=/scratch/kocevski/43703/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1011.fits ra=137.674 dec=22.7978 rad=12.0 tmin=501379201.0 tmax=501638401.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 3.77
user 3.31
sys 0.43

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43703/ft1_filtered_4FGL_J0910.6+2247_daily_bin1011.fits" evtable="EVENTS" scfile=/scratch/kocevski/43703/ft2_4FGL_J0910.6+2247_daily_bin1011.fits sctable="SC_DATA" outfile=/scratch/kocevski/43703/ltcube_501379201_501638401_4FGL_J0910.6+2247_daily_bin1011.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/43703/ft2_4FGL_J0910.6+2247_daily_bin1011.fits
.....................!
real 13.60
user 12.98
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43703/ft1_filtered_4FGL_J0910.6+2247_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/43703/ft2_4FGL_J0910.6+2247_daily_bin1011.fits sctable="SC_DATA" expcube=/scratch/kocevski/43703/ltcube_501379201_501638401_4FGL_J0910.6+2247_daily_bin1011.fits outfile=/scratch/kocevski/43703/expmap_501379201_501638401_4FGL_J0910.6+2247_daily_bin1011.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/43703/ltcube_501379201_501638401_4FGL_J0910.6+2247_daily_bin1011.fits
.....................!
real 192.46
user 186.86
sys 5.18

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/43703/ft1_filtered_4FGL_J0910.6+2247_daily_bin1011.fits scfile=/scratch/kocevski/43703/ft2_4FGL_J0910.6+2247_daily_bin1011.fits outfile=/scratch/kocevski/43703/cmap_501379201_501638401_4FGL_J0910.6+2247_daily_bin1011.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 0.77
user 0.36
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43703/ft1_filtered_4FGL_J0910.6+2247_daily_bin1011.fits scfile=/scratch/kocevski/43703/ft2_4FGL_J0910.6+2247_daily_bin1011.fits outfile=/scratch/kocevski/43703/cmap_HighResolution_501379201_501638401_4FGL_J0910.6+2247_daily_bin1011.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 0.73
user 0.37
sys 0.34

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.028       1.0000         .10000E-03   10000.    
     2 'norm      '    .10750E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7683       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.0887       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.253       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.0451       1.0000         .10000E-03   10000.    
    10 'norm      '    30.501       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2412       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0820       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.178       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.892       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.6681       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1577       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90419       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=   6394.883     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     2029 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.064        19.666       -.40514E-05   -.19789E-03
   2  norm          .10000E-03    .84613        .27259E-05** at limit **
   3  Prefactor     1.7728        7.0020        .10186E-04   -.55100E-03
   4  Prefactor     .10000E-03    2.2957       -.30736E-07** at limit **
   5  Prefactor     .10001E-03    37.714        .17005E-05** at limit **
   6  norm          1.0887        .70455       -.48066E-07   -.12743E-02
   7  Prefactor     23.254        14.777        .33770E-06   -.72696E-04
   8  Prefactor     .10000E-03    17.417       -.31348E-06** at limit **
   9  norm          3.0452        4.8551       -.32414E-06   -.68531E-03
  10  norm          30.499        31.980        .28026E-07   -.17146E-03
  11  Prefactor     2.2412        2.1429        .92756E-07   -.23411E-05
  12  norm          1.0818        .94479        .49757E-07   -.85800E-04
  13  Prefactor     .10000E-03    17.543       -.19546E-06** at limit **
  14  Prefactor     .10000E-03    1.5306       -.10970E-06** at limit **
  15  Prefactor     .10000E-03    9.9654       -.16713E-07** at limit **
  16  Prefactor     10.178        45.267        .11128E-05   -.13859E-04
  17  Prefactor     19.898        42.298        .38413E-05    .15645E-03
  18  Prefactor     5.6684        5.6481        .31185E-06   -.10915E-03
  19  Normalizat    1.1576        .16727       -.30544E-05   -.15015E-02
  20  Prefactor     .90420        .15024       -.61343E-07   -.13931E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0644
  norm       = 0.0001
  Prefactor  = 1.77278
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  norm       = 1.08873
  Prefactor  = 23.2537
  Prefactor  = 0.0001
  norm       = 3.04516
  norm       = 30.4988
  Prefactor  = 2.24119
  norm       = 1.08179
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1776
  Prefactor  = 19.898
  Prefactor  = 5.66837
  Normalizat = 1.15763
  Prefactor  = 0.904205
 **********
 **   18 **HESSE 
 **********

 FCN=   6394.883     FROM HESSE     STATUS=OK           293 CALLS     2322 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.064        20.433        .12654E-03   -1.5073    
   2  norm          .10000E-03    1.5509        .12273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7728        7.6820        .15748E-02   -1.5442    
   4  Prefactor     .10000E-03    2.3031        .11831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    37.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0887        .70394        .50523E-04   -1.5499    
   7  Prefactor     23.254        14.756        .83067E-04   -1.4743    
   8  Prefactor     .10000E-03    17.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.0452        4.8570        .21703E-03   -1.5359    
  10  norm          30.499        31.996        .72548E-04   -1.4603    
  11  Prefactor     2.2412        2.1576        .11138E-03   -1.5409    
  12  norm          1.0818        1.0446        .70700E-03   -1.5500    
  13  Prefactor     .10000E-03    17.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5516        .96529E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.178        45.259        .12560E-03   -1.5070    
  17  Prefactor     19.898        42.787        .89804E-04   -1.4816    
  18  Prefactor     5.6684        5.6537        .16872E-03   -1.5232    
  19  Normalizat    1.1576        .19684        .23183E-03   -.87923    
  20  Prefactor     .90420        .17624        .23841E-03   -.95994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73023e-09
Minuit parameter uncertainties:
  1  20.4471
  2  2.44779e-05
  3  7.38204
  4  2.053e-06
  5  0.00110039
  6  0.703948
  7  14.7583
  8  5.35761e-05
  9  4.85761
  10  32.0138
  11  2.15768
  12  1.04457
  13  6.19539e-05
  14  4.39909e-06
  15  1.19975e-05
  16  42.9787
  17  42.8529
  18  5.65419
  19  0.19697
  20  0.176356
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  3.050e+01  3.201e+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:  9.042e-01  1.764e-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.158e+00  1.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.45
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.21e-08 +/- 2.31e-08
Energy Flux (Fixed Index): 9.68e-06 +/- 1.02e-05

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

Saving results to:
/scratch/kocevski/43703/likelihoodResults_501379201_501638401_4FGL_J0910.6+2247_daily_bin1011.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) = 6394.84063727
delta logL = 0.0418893439974

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6394.83931494
delta logL = 0.0432116740039

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    31.955       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9413       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1617       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90284       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=   6394.839     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      257 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.956        33.428        .70883E-04   -.76758E-03
   2  alpha         1.9412        .83204        .23067E-01   -.15210E-03
   3  Normalizat    1.1618        .18803        .23149E-03    .10245E-03
   4  Prefactor     .90275        .17435        .23859E-03    .11612E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 31.9558
  alpha      = 1.94121
  Normalizat = 1.16177
  Prefactor  = 0.902748
 **********
 **   18 **HESSE 
 **********

 FCN=   6394.839     FROM HESSE     STATUS=OK            23 CALLS      280 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.956        33.452        .14177E-04   -1.4577    
   2  alpha         1.9412        .83263        .92270E-03   -.22542    
   3  Normalizat    1.1618        .18817        .92595E-05   -.87793    
   4  Prefactor     .90275        .17451        .95436E-05   -.96045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16717e-09
Minuit parameter uncertainties:
  1  33.4719
  2  0.84975
  3  0.188276
  4  0.174623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43703': 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) = 6394.8393148
delta logL = 0.0432118111394

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  3.196e+01  3.347e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.941e+00  8.497e-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:  9.027e-01  1.746e-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.162e+00  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.54
Ra Dec: 137.674 22.798
Photon Index (Free Index): 1.94 +/- 0.85
Photon Flux (Free Index): 1.74e-08 +/- 2.41e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.17e-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/43703/cmap_HighResolution_501379201_501638401_4FGL_J0910.6+2247_daily_bin1011.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-05', comment='SUCCESS', photon_flux='2.21e-08', energy_flux2='1.06e-05', photon_flux_error='2.31e-08', dlogl='4.32e-02', energy_flux='9.68e-06', photon_flux2='1.74e-08', job_status='DONE', time_completed='2021-08-31 02:39:16.098045', photon_index_error2='0.85', photon_index2='1.94', ts='1.45', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='7.81e-08', energy_flux_error2='1.17e-05', EG='1.16', time_epoch_completed='1630402756.1', return_code='0', job_id='43703', GAL2='0.90', EG2='1.16', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='2.41e-08', ts2='1.54', photon_index='2.19' WHERE bin_id='1011' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:39:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 43703: <4FGL_J0910.6+2247_daily_bin1011> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin1011> 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) <bullet0214>, 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:39:16 2021
Results reported at Tue Aug 31 02:39:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1011 137.674 22.7978 501379201 501638401 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 :                                   593.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            822 sec.

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

