/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 6 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 = 7471
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0910.6+2247_daily_bin176
RA = 137.674, Dec = 22.7978
tmin = 284947201, tmax = 285206401
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='38960', job_status='RUN', time_executed='2021-08-31 02:12:00.715267', time_epoch_executed='1630401120.72' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='176'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38960

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38960/ft1_4FGL_J0910.6+2247_daily_bin176.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38960/ft2_4FGL_J0910.6+2247_daily_bin176.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38960/ft1_4FGL_J0910.6+2247_daily_bin176.fits outfile=/scratch/kocevski/38960/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin176.fits ra=137.674 dec=22.7978 rad=12.0 tmin=284947201.0 tmax=285206401.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.54
user 3.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38960/ft1_filtered_4FGL_J0910.6+2247_daily_bin176.fits" evtable="EVENTS" scfile=/scratch/kocevski/38960/ft2_4FGL_J0910.6+2247_daily_bin176.fits sctable="SC_DATA" outfile=/scratch/kocevski/38960/ltcube_284947201_285206401_4FGL_J0910.6+2247_daily_bin176.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/38960/ft2_4FGL_J0910.6+2247_daily_bin176.fits
.....................!
real 11.82
user 11.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38960/ft1_filtered_4FGL_J0910.6+2247_daily_bin176.fits evtable="EVENTS" scfile=/scratch/kocevski/38960/ft2_4FGL_J0910.6+2247_daily_bin176.fits sctable="SC_DATA" expcube=/scratch/kocevski/38960/ltcube_284947201_285206401_4FGL_J0910.6+2247_daily_bin176.fits outfile=/scratch/kocevski/38960/expmap_284947201_285206401_4FGL_J0910.6+2247_daily_bin176.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/38960/ltcube_284947201_285206401_4FGL_J0910.6+2247_daily_bin176.fits
.....................!
real 189.90
user 185.16
sys 4.30

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/38960/ft1_filtered_4FGL_J0910.6+2247_daily_bin176.fits scfile=/scratch/kocevski/38960/ft2_4FGL_J0910.6+2247_daily_bin176.fits outfile=/scratch/kocevski/38960/cmap_284947201_285206401_4FGL_J0910.6+2247_daily_bin176.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38960/ft1_filtered_4FGL_J0910.6+2247_daily_bin176.fits scfile=/scratch/kocevski/38960/ft2_4FGL_J0910.6+2247_daily_bin176.fits outfile=/scratch/kocevski/38960/cmap_HighResolution_284947201_285206401_4FGL_J0910.6+2247_daily_bin176.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4002       1.0000         .10000E-03   10000.    
     2 'norm      '    2.0169       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0123       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .21214E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .70118       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0733       1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.290       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 '    .29909E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.4872       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .58305E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10654E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13783       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.848       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0692       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=   6367.748     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2147 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4047        41.401        .57289E-05   -.36910E-04
   2  norm          2.0168        1.4645       -.23249E-06   -.46365E-03
   3  Prefactor     6.0132        9.3750       -.13402E-05   -.17012E-03
   4  Prefactor     .10000E-03    6.2417        .45686E-07** at limit **
   5  Prefactor     .10003E-03    312.22        .93494E-04** at limit **
   6  norm          .70103        .60674        .57671E-07   -.13567E-03
   7  Prefactor     4.0750        11.735       -.46006E-05   -.13224E-03
   8  Prefactor     40.292        23.975        .30146E-05    .20196E-03
   9  norm          .10000E-03    4.6897       -.90629E-07** at limit **
  10  norm          .10000E-03    10.337       -.60988E-07** at limit **
  11  Prefactor     .10368E-03    2.1641       -.18629E-05** at limit **
  12  norm          2.4873        1.5597       -.26023E-07    .60156E-03
  13  Prefactor     .10000E-03    40.926        .55889E-05** at limit **
  14  Prefactor     .10504E-03    1.7625       -.87239E-06** at limit **
  15  Prefactor     .10000E-03    11.909       -.26297E-06** at limit **
  16  Prefactor     .10000E-03    167.68        .17086E-04** at limit **
  17  Prefactor     .10276E-03    30.317       -.18348E-05** at limit **
  18  Prefactor     14.848        9.4882       -.73304E-05    .74748E-05
  19  Normalizat    1.1654        .19461        .14523E-05    .14113E-03
  20  Prefactor     1.0690        .16654        .40769E-06    .19320E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.40472
  norm       = 2.01681
  Prefactor  = 6.01315
  Prefactor  = 0.0001
  Prefactor  = 0.00010003
  norm       = 0.701028
  Prefactor  = 4.07495
  Prefactor  = 40.2924
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000103678
  norm       = 2.48726
  Prefactor  = 0.0001
  Prefactor  = 0.000105044
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000102757
  Prefactor  = 14.8479
  Normalizat = 1.16538
  Prefactor  = 1.06899
 **********
 **   18 **HESSE 
 **********

 FCN=   6367.748     FROM HESSE     STATUS=OK           311 CALLS     2458 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4047        40.435        .21940E-03   -1.5339    
   2  norm          2.0168        1.4418        .72729E-04   -1.5424    
   3  Prefactor     6.0132        9.3546        .16375E-03   -1.5217    
   4  Prefactor     .10000E-03    6.3143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10003E-03    313.86        .40351E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .70103        .59731        .54008E-04   -1.5541    
   7  Prefactor     4.0750        11.676        .19977E-03   -1.5304    
   8  Prefactor     40.292        24.183        .63150E-04   -1.4438    
   9  norm          .10000E-03    4.7649        .16876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    10.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10368E-03    48.653        .22282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.4873        1.5608        .76477E-04   -1.5393    
  13  Prefactor     .10000E-03    41.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10504E-03    3.5268        .36852E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    169.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10276E-03    32.581        .12771       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.848        9.5171        .10394E-03   -1.4937    
  19  Normalizat    1.1654        .22786        .26071E-03   -.87679    
  20  Prefactor     1.0690        .19460        .24368E-03   -.90464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.03585e-08
Minuit parameter uncertainties:
  1  23.486
  2  1.44181
  3  9.35689
  4  1.97638e-05
  5  0.00621166
  6  0.597313
  7  11.6823
  8  24.1888
  9  5.68931e-06
  10  1.55783e-06
  11  0.026776
  12  1.56086
  13  2.98069e-05
  14  0.00843597
  15  5.03465e-05
  16  0.000637192
  17  0.0189639
  18  9.51807
  19  0.228057
  20  0.194724
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.558e-06  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.069e+00  1.947e-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.165e+00  2.281e-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: 3.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/38960/likelihoodResults_284947201_285206401_4FGL_J0910.6+2247_daily_bin176.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) = 6367.74841798
delta logL = -0.000459097699604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6367.74795888
delta logL = -3.18414095091e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1935       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0690       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=   6367.748     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      236 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.148        .18142E-02** at limit **
   2  alpha         2.1717        3.8471        .16620        .41043E-07
   3  Normalizat    1.1654        .21367        .26071E-03    .23025E-04
   4  Prefactor     1.0690        .19329        .24368E-03    .22160E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  alpha      = 2.1717
  Normalizat = 1.16538
  Prefactor  = 1.06899
 **********
 **   18 **HESSE 
 **********

 FCN=   6367.748     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.344        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1717        3.5820        .66479E-02   -.13170    
   3  Normalizat    1.1654        .21390        .10428E-04   -.87679    
   4  Prefactor     1.0690        .19350        .97473E-05   -.90464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.582e-10
Minuit parameter uncertainties:
  1  0.000342552
  2  994.234
  3  0.214056
  4  0.193625
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38960': 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) = 6367.74795888
delta logL = 4.84760676045e-10

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  3.426e-04  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.172e+00  9.942e+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.069e+00  1.936e-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.165e+00  2.141e-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/38960/cmap_HighResolution_284947201_285206401_4FGL_J0910.6+2247_daily_bin176.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.74e-05', job_status='DONE', photon_flux_upper_limit='3.97e-08', time_completed='2021-08-31 02:21:40.810550', job_id='38960', GAL2='1.07', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1630401700.81', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='4.85e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='176' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:21:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 38960: <4FGL_J0910.6+2247_daily_bin176> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin176 137.674 22.7978 284947201 285206401 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 :                                   576.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            597 sec.

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

