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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1371
RA = 137.674, Dec = 22.7978
tmin = 594691201, tmax = 594950401
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='45060', job_status='RUN', time_executed='2021-08-31 02:31:04.518776', time_epoch_executed='1630402264.52' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1371'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45060

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45060/ft1_4FGL_J0910.6+2247_daily_bin1371.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45060/ft2_4FGL_J0910.6+2247_daily_bin1371.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45060/ft1_4FGL_J0910.6+2247_daily_bin1371.fits outfile=/scratch/kocevski/45060/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1371.fits ra=137.674 dec=22.7978 rad=12.0 tmin=594691201.0 tmax=594950401.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.20
user 2.73
sys 0.45

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45060/ft1_filtered_4FGL_J0910.6+2247_daily_bin1371.fits evtable="EVENTS" scfile=/scratch/kocevski/45060/ft2_4FGL_J0910.6+2247_daily_bin1371.fits sctable="SC_DATA" expcube=/scratch/kocevski/45060/ltcube_594691201_594950401_4FGL_J0910.6+2247_daily_bin1371.fits outfile=/scratch/kocevski/45060/expmap_594691201_594950401_4FGL_J0910.6+2247_daily_bin1371.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/45060/ltcube_594691201_594950401_4FGL_J0910.6+2247_daily_bin1371.fits
.....................!
real 190.23
user 184.98
sys 4.87

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/45060/ft1_filtered_4FGL_J0910.6+2247_daily_bin1371.fits scfile=/scratch/kocevski/45060/ft2_4FGL_J0910.6+2247_daily_bin1371.fits outfile=/scratch/kocevski/45060/cmap_594691201_594950401_4FGL_J0910.6+2247_daily_bin1371.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.88
user 0.36
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45060/ft1_filtered_4FGL_J0910.6+2247_daily_bin1371.fits scfile=/scratch/kocevski/45060/ft2_4FGL_J0910.6+2247_daily_bin1371.fits outfile=/scratch/kocevski/45060/cmap_HighResolution_594691201_594950401_4FGL_J0910.6+2247_daily_bin1371.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.83
user 0.38
sys 0.41

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.294       1.0000         .10000E-03   10000.    
     2 'norm      '    .70427E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0975       1.0000         .10000E-03   10000.    
     6 'norm      '    .43919E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.431       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   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 '    2.8520       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0719       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21438       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.062       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.647       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1889       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .82926       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=   8428.281     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     2092 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.284        17.666        .12781E-04    .89900E-03
   2  norm          .24917E-02    .37088       -.14198E-05** at limit **
   3  Prefactor     .10000E-03    8.8885        .43870E-05** at limit **
   4  Prefactor     .10000E-03    4.1489        .70449E-07** at limit **
   5  Prefactor     6.0987        46.852        .10398E-05   -.50481E-05
   6  norm          .44057E-01    .30369       -.38425E-06   -.11791E-02
   7  Prefactor     11.432        9.3481        .41037E-06    .18719E-03
   8  Prefactor     .10000E-03    2.2151       -.15585E-06** at limit **
   9  norm          .10000E-03    1.7106        .16485E-07** at limit **
  10  norm          .10000E-03    10.258        .41407E-05** at limit **
  11  Prefactor     2.8521        2.2494       -.92387E-08   -.24335E-04
  12  norm          1.0718        .76515        .36743E-07    .44156E-03
  13  Prefactor     .10000E-03    8.6988       -.50809E-05** at limit **
  14  Prefactor     .22037        1.0645       -.33170E-06   -.40259E-03
  15  Prefactor     .10000E-03    19.646        .19432E-04** at limit **
  16  Prefactor     .10000E-03    16.406       -.18166E-04** at limit **
  17  Prefactor     25.058        29.556       -.56823E-05    .35350E-05
  18  Prefactor     10.648        6.2298        .27613E-06   -.27054E-03
  19  Normalizat    1.1888        .14199       -.23921E-07    .72892E-03
  20  Prefactor     .82937        .12689       -.58297E-06    .69550E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.284
  norm       = 0.0024917
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.09873
  norm       = 0.0440569
  Prefactor  = 11.4321
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.85211
  norm       = 1.0718
  Prefactor  = 0.0001
  Prefactor  = 0.220365
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.0581
  Prefactor  = 10.6482
  Normalizat = 1.18882
  Prefactor  = 0.829372
 **********
 **   18 **HESSE 
 **********

 FCN=   8428.281     FROM HESSE     STATUS=OK           301 CALLS     2393 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.284        18.649        .99222E-04   -1.4901    
   2  norm          .24917E-02    1.2884        .18000E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.1790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.2854        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.0987        46.939        .16259E-03   -1.5214    
   6  norm          .44057E-01    .77622        .94450E-03   -1.5666    
   7  Prefactor     11.432        9.2757        .11849E-03   -1.5032    
   8  Prefactor     .10000E-03    2.2174        .13343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.7124        .11726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    10.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8521        2.2535        .11873E-03   -1.5370    
  12  norm          1.0718        .78209        .65983E-04   -1.5501    
  13  Prefactor     .10000E-03    8.6877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22037        4.2177        .17912E-02   -1.5614    
  15  Prefactor     .10000E-03    19.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.058        29.624        .80018E-04   -1.4706    
  18  Prefactor     10.648        6.2513        .12279E-03   -1.5055    
  19  Normalizat    1.1888        .16131        .21610E-03   -.86949    
  20  Prefactor     .82937        .14483        .23828E-03   -.98655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48526e-09
Minuit parameter uncertainties:
  1  18.6559
  2  0.111025
  3  5.41788e-05
  4  3.34339e-06
  5  33.8754
  6  0.369439
  7  9.27685
  8  6.45636e-07
  9  4.89976e-07
  10  1.29158e-06
  11  2.25356
  12  0.782093
  13  2.42771e-06
  14  1.92785
  15  4.35188e-05
  16  1.20449e-05
  17  29.6412
  18  6.25172
  19  0.161377
  20  0.1449
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.292e-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:  8.294e-01  1.449e-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.189e+00  1.614e-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.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45060/likelihoodResults_594691201_594950401_4FGL_J0910.6+2247_daily_bin1371.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) = 8428.28148344
delta logL = -0.000463878510345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8428.28101951
delta logL = 5.0606104196e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1774       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1888       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82937       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=   8428.281     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      230 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    294.92        .18142E-01** at limit **
   2  alpha         1.8108        3.3552        .16637        .77216E-07
   3  Normalizat    1.1888        .18034E-01    .21610E-03    .12209E-03
   4  Prefactor     .82937        .17010E-01    .23828E-03   -.74430E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  alpha      = 1.81079
  Normalizat = 1.18882
  Prefactor  = 0.82937
 **********
 **   18 **HESSE 
 **********

 FCN=   8428.281     FROM HESSE     STATUS=OK            23 CALLS      253 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    12.143        .30600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8108        3.2617        .66549E-02   -.27930    
   3  Normalizat    1.1888        .15206        .43220E-04   -.86949    
   4  Prefactor     .82937        .14341        .95312E-05   -.98655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20041e-10
Minuit parameter uncertainties:
  1  0.000551745
  2  351.55
  3  0.152118
  4  0.143472
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45060': 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) = 8428.28101895
delta logL = 6.12028088653e-07

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  5.517e-04  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.811e+00  3.515e+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:  8.294e-01  1.435e-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.189e+00  1.521e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/45060/cmap_HighResolution_594691201_594950401_4FGL_J0910.6+2247_daily_bin1371.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-05', job_status='DONE', photon_flux_upper_limit='3.01e-08', time_completed='2021-08-31 02:42:17.831089', job_id='45060', GAL2='0.83', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630402937.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='6.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1371' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:42:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 45060: <4FGL_J0910.6+2247_daily_bin1371> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1371 137.674 22.7978 594691201 594950401 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 :                                   671.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            692 sec.

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

