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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1418
RA = 137.674, Dec = 22.7978
tmin = 606873601, tmax = 607132801
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='45137', job_status='RUN', time_executed='2021-08-31 02:32:47.574655', time_epoch_executed='1630402367.57' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1418'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45137

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45137/ft1_4FGL_J0910.6+2247_daily_bin1418.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45137/ft2_4FGL_J0910.6+2247_daily_bin1418.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45137/ft1_4FGL_J0910.6+2247_daily_bin1418.fits outfile=/scratch/kocevski/45137/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1418.fits ra=137.674 dec=22.7978 rad=12.0 tmin=606873601.0 tmax=607132801.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 11.38
user 5.06
sys 6.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45137/ft1_filtered_4FGL_J0910.6+2247_daily_bin1418.fits" evtable="EVENTS" scfile=/scratch/kocevski/45137/ft2_4FGL_J0910.6+2247_daily_bin1418.fits sctable="SC_DATA" outfile=/scratch/kocevski/45137/ltcube_606873601_607132801_4FGL_J0910.6+2247_daily_bin1418.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/45137/ft2_4FGL_J0910.6+2247_daily_bin1418.fits
.....................!
real 18.81
user 11.44
sys 7.15

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45137/ft1_filtered_4FGL_J0910.6+2247_daily_bin1418.fits evtable="EVENTS" scfile=/scratch/kocevski/45137/ft2_4FGL_J0910.6+2247_daily_bin1418.fits sctable="SC_DATA" expcube=/scratch/kocevski/45137/ltcube_606873601_607132801_4FGL_J0910.6+2247_daily_bin1418.fits outfile=/scratch/kocevski/45137/expmap_606873601_607132801_4FGL_J0910.6+2247_daily_bin1418.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/45137/ltcube_606873601_607132801_4FGL_J0910.6+2247_daily_bin1418.fits
.....................!
real 200.24
user 187.35
sys 11.51

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/45137/ft1_filtered_4FGL_J0910.6+2247_daily_bin1418.fits scfile=/scratch/kocevski/45137/ft2_4FGL_J0910.6+2247_daily_bin1418.fits outfile=/scratch/kocevski/45137/cmap_606873601_607132801_4FGL_J0910.6+2247_daily_bin1418.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 6.66
user 0.38
sys 6.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45137/ft1_filtered_4FGL_J0910.6+2247_daily_bin1418.fits scfile=/scratch/kocevski/45137/ft2_4FGL_J0910.6+2247_daily_bin1418.fits outfile=/scratch/kocevski/45137/cmap_HighResolution_606873601_607132801_4FGL_J0910.6+2247_daily_bin1418.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 7.68
user 0.39
sys 7.26

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.065       1.0000         .10000E-03   10000.    
     2 'norm      '    .65448       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.0962       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4010       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.7732       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.752       1.0000         .10000E-03   10000.    
     9 'norm      '    11.778       1.0000         .10000E-03   10000.    
    10 'norm      '    60.261       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.7789       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7254       1.0000         .10000E-03   10000.    
    13 'Prefactor '    68.562       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.6721       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.525       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1681       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .66803       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4230       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=   6001.268     FROM MIGRAD    STATUS=CONVERGED    401 CALLS     2643 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.062        21.982       -.24311E-05    .27375E-04
   2  norm          .65136        1.3313       -.56897E-06   -.15122E-02
   3  Prefactor     .10000E-03    2.5782       -.57866E-07** at limit **
   4  Prefactor     .10000E-03    3.3717       -.20074E-06** at limit **
   5  Prefactor     9.1066        41.110        .14300E-04    .32011E-05
   6  norm          2.4009        .92800       -.24519E-06    .37740E-04
   7  Prefactor     7.7704        9.2741       -.76350E-06    .63889E-05
   8  Prefactor     26.703        21.206        .37415E-05    .51499E-04
   9  norm          11.783        8.8216        .19993E-05    .37496E-04
  10  norm          60.268        52.046        .74114E-05    .34131E-04
  11  Prefactor     6.7771        4.3210       -.56211E-07   -.12063E-03
  12  norm          1.7253        1.5016       -.31201E-06    .27848E-04
  13  Prefactor     68.570        58.561        .76727E-05    .22567E-04
  14  Prefactor     .10000E-03    1.7701       -.17934E-06** at limit **
  15  Prefactor     4.6595        18.028        .12256E-04   -.21960E-04
  16  Prefactor     21.391        52.382       -.22307E-03    .50868E-04
  17  Prefactor     .10001E-03    102.32        .17234E-04** at limit **
  18  Prefactor     2.1658        4.2708        .19673E-05   -.28679E-03
  19  Normalizat    .66885        .18891       -.34518E-05    .30304E-03
  20  Prefactor     1.4223        .17968        .84870E-05   -.56863E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0618
  norm       = 0.651363
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.10663
  norm       = 2.40095
  Prefactor  = 7.77035
  Prefactor  = 26.7026
  norm       = 11.7834
  norm       = 60.268
  Prefactor  = 6.77705
  norm       = 1.72527
  Prefactor  = 68.5701
  Prefactor  = 0.0001
  Prefactor  = 4.65953
  Prefactor  = 21.3915
  Prefactor  = 0.000100014
  Prefactor  = 2.16584
  Normalizat = 0.668853
  Prefactor  = 1.42233
 **********
 **   18 **HESSE 
 **********

 FCN=   6001.268     FROM HESSE     STATUS=OK           295 CALLS     2938 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.062        21.218        .12630E-03   -1.5073    
   2  norm          .65136        1.2552        .10417E-03   -1.5547    
   3  Prefactor     .10000E-03    2.5829        .12146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.3987        .13890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.1066        41.093        .13289E-03   -1.5104    
   6  norm          2.4009        .92694        .44098E-04   -1.5398    
   7  Prefactor     7.7704        9.2694        .14383E-03   -1.5150    
   8  Prefactor     26.703        21.283        .77454E-04   -1.4674    
   9  norm          11.783        8.8275        .11673E-03   -1.5021    
  10  norm          60.268        52.037        .51686E-04   -1.4154    
  11  Prefactor     6.7771        4.3204        .12357E-03   -1.5187    
  12  norm          1.7253        1.5115        .85777E-04   -1.5445    
  13  Prefactor     68.570        58.561        .48476E-04   -1.4050    
  14  Prefactor     .10000E-03    1.7903        .10057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.6595        18.010        .18618E-03   -1.5276    
  16  Prefactor     21.391        52.469        .86333E-04   -1.4783    
  17  Prefactor     .10001E-03    104.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.1658        4.2455        .21721E-03   -1.5414    
  19  Normalizat    .66885        .21836        .30908E-03   -1.0514    
  20  Prefactor     1.4223        .20977        .21832E-03   -.79739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35719e-09
Minuit parameter uncertainties:
  1  21.2336
  2  1.25529
  3  6.81819e-06
  4  2.56515e-05
  5  38.7337
  6  0.926941
  7  9.27111
  8  21.2892
  9  8.82851
  10  52.0765
  11  4.32058
  12  1.51156
  13  58.6104
  14  2.68872e-05
  15  18.0311
  16  52.5823
  17  0.00237786
  18  4.24612
  19  0.218642
  20  0.209895
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  6.027e+01  5.208e+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:  1.422e+00  2.099e-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:  6.689e-01  2.186e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.36e-08 +/- 3.77e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.65e-05

TS (Fixed Index): 1.89
Ra Dec: 137.674 22.798
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45137/likelihoodResults_606873601_607132801_4FGL_J0910.6+2247_daily_bin1418.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) = 5999.81008477
delta logL = 1.45800351389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5999.8010102
delta logL = 1.46707809345

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.824       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3865       1.0000          .0000       5.0000    
     3 'Normalizat'    .58797       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4643       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=   5999.801     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      269 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.824        256.13        .19338E-02    .31394E-03
   2  alpha         3.3866        4.0736        .22483        .67091E-04
   3  Normalizat    .58740        .83605E-01    .73955E-01    .57557E-04
   4  Prefactor     1.4648        .74671E-01    .48690E-01    .32157E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 26.8236
  alpha      = 3.38663
  Normalizat = 0.587396
  Prefactor  = 1.46477
 **********
 **   18 **HESSE 
 **********

 FCN=   5999.801     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.824        45.949        .77350E-04   -1.4672    
   2  alpha         3.3866        1.0071        .92590E-02    .36254    
   3  Normalizat    .58740        .21591        .32741E-03   -1.0852    
   4  Prefactor     1.4648        .21164        .21523E-03   -.78531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82476e-10
Minuit parameter uncertainties:
  1  46.0097
  2  1.04114
  3  0.216217
  4  0.21177
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45137': 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) = 5999.80100645
delta logL = 1.46708183387

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  2.682e+01  4.601e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  3.387e+00  1.041e+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:  1.465e+00  2.118e-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:  5.874e-01  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.94
Ra Dec: 137.674 22.798
Photon Index (Free Index): 3.39 +/- 1.04
Photon Flux (Free Index): 1.17e-07 +/- 6.54e-08
Energy Flux (Free Index): 2.28e-05 +/- 1.33e-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/45137/cmap_HighResolution_606873601_607132801_4FGL_J0910.6+2247_daily_bin1418.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-05', comment='SUCCESS', photon_flux='4.36e-08', energy_flux2='2.28e-05', photon_flux_error='3.77e-08', dlogl='1.47e+00', energy_flux='1.91e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2021-08-31 02:44:46.053398', photon_index_error2='1.04', photon_index2='3.39', ts='1.89', fit_tolerance='1e-08', GAL='1.42', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='1.33e-05', EG='0.67', time_epoch_completed='1630403086.05', return_code='0', job_id='45137', GAL2='1.46', EG2='0.59', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='6.54e-08', ts2='4.94', photon_index='2.19' WHERE bin_id='1418' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:44:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 45137: <4FGL_J0910.6+2247_daily_bin1418> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin1418> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:30:52 2021
Job was executed on host(s) <bullet0263>, 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:44:47 2021
Results reported at Tue Aug 31 02:44:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1418 137.674 22.7978 606873601 607132801 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 :                                   801.07 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             257.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            835 sec.

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

