/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 131 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 = 7473
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0910.6+2247_daily_bin39
RA = 137.674, Dec = 22.7978
tmin = 249436801, tmax = 249696001
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='38743', job_status='RUN', time_executed='2021-08-31 02:13:52.220618', time_epoch_executed='1630401232.22' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='39'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38743

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38743/ft1_4FGL_J0910.6+2247_daily_bin39.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38743/ft2_4FGL_J0910.6+2247_daily_bin39.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38743/ft1_4FGL_J0910.6+2247_daily_bin39.fits outfile=/scratch/kocevski/38743/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin39.fits ra=137.674 dec=22.7978 rad=12.0 tmin=249436801.0 tmax=249696001.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 1.47
user 1.24
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38743/ft1_filtered_4FGL_J0910.6+2247_daily_bin39.fits" evtable="EVENTS" scfile=/scratch/kocevski/38743/ft2_4FGL_J0910.6+2247_daily_bin39.fits sctable="SC_DATA" outfile=/scratch/kocevski/38743/ltcube_249436801_249696001_4FGL_J0910.6+2247_daily_bin39.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/38743/ft2_4FGL_J0910.6+2247_daily_bin39.fits
.....................!
real 12.96
user 12.46
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38743/ft1_filtered_4FGL_J0910.6+2247_daily_bin39.fits evtable="EVENTS" scfile=/scratch/kocevski/38743/ft2_4FGL_J0910.6+2247_daily_bin39.fits sctable="SC_DATA" expcube=/scratch/kocevski/38743/ltcube_249436801_249696001_4FGL_J0910.6+2247_daily_bin39.fits outfile=/scratch/kocevski/38743/expmap_249436801_249696001_4FGL_J0910.6+2247_daily_bin39.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/38743/ltcube_249436801_249696001_4FGL_J0910.6+2247_daily_bin39.fits
.....................!
real 189.85
user 185.30
sys 3.92

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

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

This is gtbin version HEAD
real 1.47
user 0.36
sys 0.16

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

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

This is gtbin version HEAD
real 1.90
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4693       1.0000         .10000E-03   10000.    
     2 'norm      '    .58617       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.521       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.2970       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15834E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.0814       1.0000         .10000E-03   10000.    
    10 'norm      '    60.420       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .75059       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.722       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.3364       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.043       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15985E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0812       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .75887       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=   5160.670     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2065 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4694        15.702        .11587E-06   -.28011E-04
   2  norm          .58627        .99035       -.43064E-07   -.10278E-02
   3  Prefactor     10.522        10.669        .29346E-06   -.10219E-03
   4  Prefactor     .10000E-03    4.2538        .17096E-07** at limit **
   5  Prefactor     .10000E-03    18.991        .35715E-05** at limit **
   6  norm          1.2976        .91260        .72363E-07   -.73424E-03
   7  Prefactor     .10000E-03    21.563        .13770E-05** at limit **
   8  Prefactor     .10000E-03    11.110        .18639E-05** at limit **
   9  norm          2.0813        4.6351       -.86514E-06   -.38731E-03
  10  norm          60.409        41.673       -.12676E-04   -.44011E-04
  11  Prefactor     .10000E-03    1.2225       -.46975E-08** at limit **
  12  norm          .75057        1.4364       -.14972E-06   -.10887E-02
  13  Prefactor     15.758        47.704        .77407E-04    .49317E-05
  14  Prefactor     5.3363        4.2407        .37716E-08   -.35580E-03
  15  Prefactor     21.034        19.928       -.70477E-05   -.20406E-04
  16  Prefactor     .10000E-03    15.909       -.44870E-05** at limit **
  17  Prefactor     .10000E-03    11.511       -.26075E-06** at limit **
  18  Prefactor     .10000E-03    3.6301        .20977E-06** at limit **
  19  Normalizat    1.0812        .17589       -.87322E-06   -.80918E-04
  20  Prefactor     .75891        .15785       -.10327E-05   -.85454E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.46941
  norm       = 0.586274
  Prefactor  = 10.5218
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.2976
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.08132
  norm       = 60.4091
  Prefactor  = 0.0001
  norm       = 0.750566
  Prefactor  = 15.7578
  Prefactor  = 5.33634
  Prefactor  = 21.0341
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.08117
  Prefactor  = 0.758912
 **********
 **   18 **HESSE 
 **********

 FCN=   5160.670     FROM HESSE     STATUS=OK           299 CALLS     2364 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4694        15.510        .13023E-03   -1.5092    
   2  norm          .58627        .86596        .83899E-03   -1.5555    
   3  Prefactor     10.522        10.540        .12353E-03   -1.5059    
   4  Prefactor     .10000E-03    4.3019        .14463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.2976        .89293        .53599E-04   -1.5480    
   7  Prefactor     .10000E-03    22.332        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.0813        4.6094        .22489E-03   -1.5419    
  10  norm          60.409        41.687        .51618E-04   -1.4152    
  11  Prefactor     .10000E-03    1.2278        .77563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .75057        1.2198        .11443E-02   -1.5535    
  13  Prefactor     15.758        47.577        .10101E-03   -1.4914    
  14  Prefactor     5.3363        4.2401        .12276E-03   -1.5246    
  15  Prefactor     21.034        19.926        .87315E-04   -1.4790    
  16  Prefactor     .10000E-03    15.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.8591        .26572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0812        .20288        .21795E-03   -.90359    
  20  Prefactor     .75891        .18182        .23694E-03   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15879e-10
Minuit parameter uncertainties:
  1  15.5163
  2  0.865982
  3  10.5417
  4  8.7693e-06
  5  1.14185e-05
  6  0.892935
  7  0.000106007
  8  6.21554e-06
  9  4.61016
  10  41.7073
  11  1.78001e-06
  12  1.21985
  13  47.692
  14  4.24037
  15  19.9327
  16  1.90029e-07
  17  4.19127e-06
  18  0.000197179
  19  0.203028
  20  0.181964
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  6.041e+01  4.171e+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:  7.589e-01  1.820e-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.081e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.07
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.37e-08 +/- 3.02e-08
Energy Flux (Fixed Index): 1.92e-05 +/- 1.32e-05

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) = 5160.582688
delta logL = 0.0870822840061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5160.58169392
delta logL = 0.0880763546566

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    60.262       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8678       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75587       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.

 FCN=   5160.582     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      220 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          60.077        1538.9        .12921E-02    .37437E-04
   2  alpha         1.8641        3.4885        .42952        .14913E-04
   3  Normalizat    1.0925        .24324        .38304E-01   -.17851E-04
   4  Prefactor     .75616        .12937        .43140E-01    .13181E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 60.0768
  alpha      = 1.86407
  Normalizat = 1.09254
  Prefactor  = 0.756163
 **********
 **   18 **HESSE 
 **********

 FCN=   5160.582     FROM HESSE     STATUS=OK            31 CALLS      251 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          60.077        47.412        .51685E-04   -1.4156    
   2  alpha         1.8641        .80723        .16968E-01   -.25720    
   3  Normalizat    1.0925        .19289        .21704E-03   -.89992    
   4  Prefactor     .75616        .17907        .23746E-03   -1.0136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96903e-11
Minuit parameter uncertainties:
  1  47.442
  2  0.82303
  3  0.193011
  4  0.179203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38743': 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) = 5160.58167962
delta logL = 0.0880906559905

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  6.008e+01  4.744e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.864e+00  8.230e-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:  7.562e-01  1.792e-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.093e+00  1.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 137.674 22.798
Photon Index (Free Index): 1.86 +/- 0.82
Photon Flux (Free Index): 3.02e-08 +/- 3.85e-08
Energy Flux (Free Index): 2.08e-05 +/- 1.66e-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/38743/cmap_HighResolution_249436801_249696001_4FGL_J0910.6+2247_daily_bin39.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.37e-08', energy_flux2='2.08e-05', photon_flux_error='3.02e-08', dlogl='8.81e-02', energy_flux='1.92e-05', photon_flux2='3.02e-08', job_status='DONE', time_completed='2021-08-31 02:22:06.113706', photon_index_error2='0.82', photon_index2='1.86', ts='6.07', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='1.08', time_epoch_completed='1630401726.11', return_code='0', job_id='38743', GAL2='0.76', EG2='1.09', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='3.85e-08', ts2='6.25', photon_index='2.19' WHERE bin_id='39' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:22:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 38743: <4FGL_J0910.6+2247_daily_bin39> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin39 137.674 22.7978 249436801 249696001 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 :                                   486.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            639 sec.

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

