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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1415
RA = 137.674, Dec = 22.7978
tmin = 606096001, tmax = 606355201
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='45133', job_status='RUN', time_executed='2021-08-31 02:33:53.803783', time_epoch_executed='1630402433.8' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45133

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45133/ft1_4FGL_J0910.6+2247_daily_bin1415.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45133/ft2_4FGL_J0910.6+2247_daily_bin1415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45133/ft1_4FGL_J0910.6+2247_daily_bin1415.fits outfile=/scratch/kocevski/45133/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1415.fits ra=137.674 dec=22.7978 rad=12.0 tmin=606096001.0 tmax=606355201.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.91
user 3.41
sys 0.47

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45133/ft1_filtered_4FGL_J0910.6+2247_daily_bin1415.fits" evtable="EVENTS" scfile=/scratch/kocevski/45133/ft2_4FGL_J0910.6+2247_daily_bin1415.fits sctable="SC_DATA" outfile=/scratch/kocevski/45133/ltcube_606096001_606355201_4FGL_J0910.6+2247_daily_bin1415.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/45133/ft2_4FGL_J0910.6+2247_daily_bin1415.fits
.....................!
real 12.56
user 11.74
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45133/ft1_filtered_4FGL_J0910.6+2247_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/45133/ft2_4FGL_J0910.6+2247_daily_bin1415.fits sctable="SC_DATA" expcube=/scratch/kocevski/45133/ltcube_606096001_606355201_4FGL_J0910.6+2247_daily_bin1415.fits outfile=/scratch/kocevski/45133/expmap_606096001_606355201_4FGL_J0910.6+2247_daily_bin1415.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/45133/ltcube_606096001_606355201_4FGL_J0910.6+2247_daily_bin1415.fits
.....................!
real 194.45
user 187.60
sys 5.44

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/45133/ft1_filtered_4FGL_J0910.6+2247_daily_bin1415.fits scfile=/scratch/kocevski/45133/ft2_4FGL_J0910.6+2247_daily_bin1415.fits outfile=/scratch/kocevski/45133/cmap_606096001_606355201_4FGL_J0910.6+2247_daily_bin1415.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.82
user 0.35
sys 0.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45133/ft1_filtered_4FGL_J0910.6+2247_daily_bin1415.fits scfile=/scratch/kocevski/45133/ft2_4FGL_J0910.6+2247_daily_bin1415.fits outfile=/scratch/kocevski/45133/cmap_HighResolution_606096001_606355201_4FGL_J0910.6+2247_daily_bin1415.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.89
user 0.39
sys 0.40

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.893       1.0000         .10000E-03   10000.    
     2 'norm      '    .10242E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6177       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .92688       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.099       1.0000         .10000E-03   10000.    
     6 'norm      '    .75017       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3116       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.287       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    20.467       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5485       1.0000         .10000E-03   10000.    
    12 'norm      '    2.5810       1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.675       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7359       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2361       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .84290       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=   5946.359     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     2026 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.905        23.773       -.61403E-06    .17263E-04
   2  norm          .10000E-03    .82787        .76588E-06** at limit **
   3  Prefactor     5.6199        9.9687       -.85658E-07    .70285E-05
   4  Prefactor     .92780        5.8398        .31451E-05    .91230E-04
   5  Prefactor     20.099        37.444       -.90394E-07   -.30716E-04
   6  norm          .75019        .60012        .17694E-07   -.21479E-03
   7  Prefactor     7.3111        8.2580       -.66499E-07   -.11792E-03
   8  Prefactor     26.283        21.228       -.20847E-07   -.12314E-03
   9  norm          .10000E-03    2.0910       -.21950E-08** at limit **
  10  norm          20.467        24.667        .10694E-06   -.38368E-05
  11  Prefactor     2.5485        2.2791        .10714E-07    .14568E-05
  12  norm          2.5811        2.0327        .72888E-07   -.13384E-04
  13  Prefactor     35.673        39.246       -.10626E-06   -.58726E-04
  14  Prefactor     .10000E-03    2.2440       -.43052E-07** at limit **
  15  Prefactor     .10000E-03    8.6431       -.64395E-08** at limit **
  16  Prefactor     .10000E-03    49.091       -.10501E-05** at limit **
  17  Prefactor     .10000E-03    43.806        .10532E-05** at limit **
  18  Prefactor     2.7354        5.9688        .81491E-06    .10151E-03
  19  Normalizat    1.2363        .18603       -.22793E-06   -.24055E-03
  20  Prefactor     .84268        .16449       -.54998E-06   -.21320E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.9047
  norm       = 0.0001
  Prefactor  = 5.61994
  Prefactor  = 0.927805
  Prefactor  = 20.0985
  norm       = 0.750189
  Prefactor  = 7.31114
  Prefactor  = 26.2833
  norm       = 0.0001
  norm       = 20.4673
  Prefactor  = 2.54848
  norm       = 2.58107
  Prefactor  = 35.6727
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  Prefactor  = 2.73536
  Normalizat = 1.23634
  Prefactor  = 0.84268
 **********
 **   18 **HESSE 
 **********

 FCN=   5946.359     FROM HESSE     STATUS=OK           295 CALLS     2321 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.905        23.702        .73280E-04   -1.4614    
   2  norm          .10000E-03    1.1392        .12267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.6199        9.9180        .16949E-03   -1.5234    
   4  Prefactor     .92780        5.8899        .36030E-03   -1.5515    
   5  Prefactor     20.099        37.445        .89339E-04   -1.4811    
   6  norm          .75019        .58273        .51150E-04   -1.5535    
   7  Prefactor     7.3111        8.2504        .14833E-03   -1.5167    
   8  Prefactor     26.283        21.328        .78134E-04   -1.4682    
   9  norm          .10000E-03    2.0917        .10890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          20.467        24.669        .88534E-04   -1.4803    
  11  Prefactor     2.5485        2.2768        .10737E-03   -1.5389    
  12  norm          2.5811        2.0251        .94090E-04   -1.5387    
  13  Prefactor     35.673        39.274        .33548E-03   -1.4513    
  14  Prefactor     .10000E-03    2.2646        .11268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.6474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    49.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    44.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7354        5.9750        .24616E-03   -1.5377    
  19  Normalizat    1.2363        .22124        .23808E-03   -.85487    
  20  Prefactor     .84268        .19462        .25258E-03   -.98174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04316e-10
Minuit parameter uncertainties:
  1  23.7092
  2  4.20848e-05
  3  9.9209
  4  4.67577
  5  37.4887
  6  0.582739
  7  8.25172
  8  21.334
  9  4.49925e-07
  10  24.6817
  11  2.27685
  12  2.02519
  13  39.3023
  14  1.96508e-06
  15  5.10972e-07
  16  0.000702151
  17  0.000718367
  18  5.97632
  19  0.221412
  20  0.194775
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  2.047e+01  2.468e+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.427e-01  1.948e-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.236e+00  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.59
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.48e-08 +/- 1.78e-08
Energy Flux (Fixed Index): 6.50e-06 +/- 7.83e-06

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

Saving results to:
/scratch/kocevski/45133/likelihoodResults_606096001_606355201_4FGL_J0910.6+2247_daily_bin1415.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) = 5946.3345072
delta logL = 0.0244949059033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5946.3337401
delta logL = 0.0252620060755

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.357       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9466       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2392       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84128       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=   5946.334     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      256 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.346        25.697        .43336E-03    .18364E-05
   2  alpha         1.9477        1.0375        .29266E-01    .67591E-06
   3  Normalizat    1.2395        .21473        .23783E-03    .45555E-04
   4  Prefactor     .84129        .19306        .25277E-03   -.74211E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 21.3462
  alpha      = 1.94767
  Normalizat = 1.23947
  Prefactor  = 0.841286
 **********
 **   18 **HESSE 
 **********

 FCN=   5946.334     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.346        25.663        .17334E-04   -1.4784    
   2  alpha         1.9477        1.0364        .11707E-02   -.22277    
   3  Normalizat    1.2395        .21493        .95132E-05   -.85392    
   4  Prefactor     .84129        .19326        .10111E-04   -.98224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2012e-11
Minuit parameter uncertainties:
  1  25.6767
  2  1.0705
  3  0.215083
  4  0.193418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45133': 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) = 5946.33373503
delta logL = 0.0252670787777

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  2.135e+01  2.568e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.948e+00  1.070e+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:  8.413e-01  1.934e-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.239e+00  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 137.674 22.798
Photon Index (Free Index): 1.95 +/- 1.07
Photon Flux (Free Index): 1.17e-08 +/- 1.90e-08
Energy Flux (Free Index): 7.08e-06 +/- 9.15e-06

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/45133/cmap_HighResolution_606096001_606355201_4FGL_J0910.6+2247_daily_bin1415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', comment='SUCCESS', photon_flux='1.48e-08', energy_flux2='7.08e-06', photon_flux_error='1.78e-08', dlogl='2.53e-02', energy_flux='6.50e-06', photon_flux2='1.17e-08', job_status='DONE', time_completed='2021-08-31 02:43:28.670752', photon_index_error2='1.07', photon_index2='1.95', ts='1.59', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='7.01e-08', energy_flux_error2='9.15e-06', EG='1.24', time_epoch_completed='1630403008.67', return_code='0', job_id='45133', GAL2='0.84', EG2='1.24', return_code2='0', energy_flux_error='7.83e-06', photon_flux_error2='1.90e-08', ts2='1.64', photon_index='2.19' WHERE bin_id='1415' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:43:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 45133: <4FGL_J0910.6+2247_daily_bin1415> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1415 137.674 22.7978 606096001 606355201 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 :                                   567.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             220.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            758 sec.

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

