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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin32
RA = 137.674, Dec = 22.7978
tmin = 247622401, tmax = 247881601
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='38731', job_status='RUN', time_executed='2021-08-31 02:14:59.717943', time_epoch_executed='1630401299.72' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='32'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38731

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38731/ft1_4FGL_J0910.6+2247_daily_bin32.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38731/ft2_4FGL_J0910.6+2247_daily_bin32.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38731/ft1_4FGL_J0910.6+2247_daily_bin32.fits outfile=/scratch/kocevski/38731/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin32.fits ra=137.674 dec=22.7978 rad=12.0 tmin=247622401.0 tmax=247881601.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 5.74
user 1.24
sys 4.42

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38731/ft2_4FGL_J0910.6+2247_daily_bin32.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/38731/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin32.fits evtable="EVENTS" outfile="/scratch/kocevski/38731/ft1_filtered_4FGL_J0910.6+2247_daily_bin32.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 4.77
user 0.35
sys 4.40

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38731/ft1_filtered_4FGL_J0910.6+2247_daily_bin32.fits" evtable="EVENTS" scfile=/scratch/kocevski/38731/ft2_4FGL_J0910.6+2247_daily_bin32.fits sctable="SC_DATA" outfile=/scratch/kocevski/38731/ltcube_247622401_247881601_4FGL_J0910.6+2247_daily_bin32.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/38731/ft2_4FGL_J0910.6+2247_daily_bin32.fits
.....................!
real 18.77
user 13.63
sys 5.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38731/ft1_filtered_4FGL_J0910.6+2247_daily_bin32.fits evtable="EVENTS" scfile=/scratch/kocevski/38731/ft2_4FGL_J0910.6+2247_daily_bin32.fits sctable="SC_DATA" expcube=/scratch/kocevski/38731/ltcube_247622401_247881601_4FGL_J0910.6+2247_daily_bin32.fits outfile=/scratch/kocevski/38731/expmap_247622401_247881601_4FGL_J0910.6+2247_daily_bin32.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/38731/ltcube_247622401_247881601_4FGL_J0910.6+2247_daily_bin32.fits
.....................!
real 199.88
user 186.63
sys 10.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/38731/ft1_filtered_4FGL_J0910.6+2247_daily_bin32.fits scfile=/scratch/kocevski/38731/ft2_4FGL_J0910.6+2247_daily_bin32.fits outfile=/scratch/kocevski/38731/cmap_247622401_247881601_4FGL_J0910.6+2247_daily_bin32.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 4.79
user 0.38
sys 4.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38731/ft1_filtered_4FGL_J0910.6+2247_daily_bin32.fits scfile=/scratch/kocevski/38731/ft2_4FGL_J0910.6+2247_daily_bin32.fits outfile=/scratch/kocevski/38731/cmap_HighResolution_247622401_247881601_4FGL_J0910.6+2247_daily_bin32.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 4.83
user 0.38
sys 4.30

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.848       1.0000         .10000E-03   10000.    
     2 'norm      '    1.6470       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5662       1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.861       1.0000         .10000E-03   10000.    
     6 'norm      '    .85666       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.0891       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8382       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    40.374       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13595E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .35199       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5234       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .64391E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    49.264       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2565       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0977       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87854       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=   8839.651     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2061 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.851        16.061       -.13417E-05    .50477E-05
   2  norm          1.6473        .92661        .40099E-07   -.28395E-03
   3  Prefactor     .10000E-03    2.9800        .66317E-09** at limit **
   4  Prefactor     5.5672        4.4448        .63963E-06   -.29047E-03
   5  Prefactor     48.867        37.991        .48773E-05   -.12667E-03
   6  norm          .85681        .55263       -.35148E-08   -.56401E-03
   7  Prefactor     8.0911        11.773       -.12690E-05   -.51050E-04
   8  Prefactor     6.8417        15.068       -.30991E-05    .17615E-04
   9  norm          .10000E-03    1.5401       -.58611E-08** at limit **
  10  norm          40.379        31.422        .33450E-05   -.78069E-04
  11  Prefactor     .10000E-03    1.7094        .21082E-07** at limit **
  12  norm          .35241        .81809       -.31193E-06   -.24721E-02
  13  Prefactor     .10000E-03    15.330       -.58668E-08** at limit **
  14  Prefactor     4.5235        3.0349        .37631E-07   -.21850E-03
  15  Prefactor     .10000E-03    21.734       -.38138E-07** at limit **
  16  Prefactor     .10000E-03    117.32        .11146E-05** at limit **
  17  Prefactor     49.258        32.057       -.35913E-05    .12029E-03
  18  Prefactor     9.2548        5.7432       -.42041E-07   -.10085E-03
  19  Normalizat    1.0976        .15127        .51679E-06   -.11520E-05
  20  Prefactor     .87847        .13416       -.20837E-06    .39935E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8508
  norm       = 1.64725
  Prefactor  = 0.0001
  Prefactor  = 5.56716
  Prefactor  = 48.8671
  norm       = 0.856805
  Prefactor  = 8.09105
  Prefactor  = 6.8417
  norm       = 0.0001
  norm       = 40.3793
  Prefactor  = 0.0001
  norm       = 0.352407
  Prefactor  = 0.0001
  Prefactor  = 4.52351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.2579
  Prefactor  = 9.25484
  Normalizat = 1.09761
  Prefactor  = 0.878473
 **********
 **   18 **HESSE 
 **********

 FCN=   8839.651     FROM HESSE     STATUS=OK           297 CALLS     2358 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.851        16.020        .12164E-03   -1.5049    
   2  norm          1.6473        .91753        .61709E-04   -1.5451    
   3  Prefactor     .10000E-03    3.0005        .15843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5672        4.4190        .17015E-03   -1.5236    
   5  Prefactor     48.867        37.423        .57368E-04   -1.4309    
   6  norm          .85681        .54126        .51494E-04   -1.5523    
   7  Prefactor     8.0911        11.715        .14097E-03   -1.5139    
   8  Prefactor     6.8417        14.987        .15343E-03   -1.5185    
   9  norm          .10000E-03    1.5415        .11395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          40.379        31.215        .63085E-04   -1.4436    
  11  Prefactor     .10000E-03    3.8549        .23846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .35241        .69335        .13105E-02   -1.5589    
  13  Prefactor     .10000E-03    15.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.5235        3.0143        .12673E-03   -1.5283    
  15  Prefactor     .10000E-03    21.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    119.82        .21026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     49.258        31.863        .57133E-04   -1.4303    
  18  Prefactor     9.2548        5.7475        .13173E-03   -1.5099    
  19  Normalizat    1.0976        .17444        .23845E-03   -.89829    
  20  Prefactor     .87847        .15462        .24279E-03   -.96897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86167e-10
Minuit parameter uncertainties:
  1  16.0268
  2  0.91754
  3  2.84856e-06
  4  4.41929
  5  37.4405
  6  0.541263
  7  11.7182
  8  14.995
  9  3.87217e-07
  10  31.2274
  11  2.5661e-06
  12  0.693364
  13  5.74289e-06
  14  3.01438
  15  4.23005e-06
  16  1.83375e-05
  17  31.8737
  18  5.74784
  19  0.174533
  20  0.154698
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  4.038e+01  3.123e+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.785e-01  1.547e-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.098e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.19
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.92e-08 +/- 2.26e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 9.91e-06

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

Saving results to:
/scratch/kocevski/38731/likelihoodResults_247622401_247881601_4FGL_J0910.6+2247_daily_bin32.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) = 8839.52570282
delta logL = 0.125422767698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8838.76060207
delta logL = 0.89052351188

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2229       1.0000         .10000E-03   10000.    
     2 'alpha     '    .31703       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88695       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=   8838.761     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      275 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2250        4.1428        .56413E-02   -.32822E-03
   2  alpha         .31728        .59106        .50000        .27060E-04
   3  Normalizat    1.1097        .14410        .37619E-01    .27861E-04
   4  Prefactor     .88694        .13357        .44838E-01    .34496E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.22501
  alpha      = 0.317283
  Normalizat = 1.10968
  Prefactor  = 0.886945
 **********
 **   18 **HESSE 
 **********

 FCN=   8838.761     FROM HESSE     STATUS=OK            33 CALLS      308 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2250        6.9915        .16934E-03   -1.5349    
   2  alpha         .31728        .76777        .37154E-01   -1.0615    
   3  Normalizat    1.1097        .16634        .23738E-03   -.89441    
   4  Prefactor     .88694        .15415        .24198E-03   -.96599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.86224e-12
Minuit parameter uncertainties:
  1  6.9933
  2  0.830574
  3  0.166417
  4  0.154225
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38731': 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) = 8838.76060203
delta logL = 0.890523551094

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.869e-01  1.542e-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.110e+00  1.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.96
Ra Dec: 137.674 22.798
Photon Index (Free Index): 0.32 +/- 0.83
Photon Flux (Free Index): 2.39e-09 +/- 2.62e-09
Energy Flux (Free Index): 3.40e-05 +/- 4.74e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/38731/cmap_HighResolution_247622401_247881601_4FGL_J0910.6+2247_daily_bin32.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-05', comment='SUCCESS', photon_flux='2.92e-08', energy_flux2='3.40e-05', photon_flux_error='2.26e-08', dlogl='8.91e-01', energy_flux='1.28e-05', photon_flux2='2.39e-09', job_status='DONE', time_completed='2021-08-31 02:27:33.702748', photon_index_error2='0.83', photon_index2='0.32', ts='3.19', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='7.87e-08', energy_flux_error2='4.74e-05', EG='1.10', time_epoch_completed='1630402053.7', return_code='0', job_id='38731', GAL2='0.89', EG2='1.11', return_code2='0', energy_flux_error='9.91e-06', photon_flux_error2='2.62e-09', ts2='4.96', photon_index='2.19' WHERE bin_id='32' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:27:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 38731: <4FGL_J0910.6+2247_daily_bin32> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin32 137.674 22.7978 247622401 247881601 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 :                                   810.34 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             276.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            969 sec.

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

