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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1511
RA = 137.674, Dec = 22.7978
tmin = 630979201, tmax = 631238401
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='45255', job_status='RUN', time_executed='2021-08-31 02:33:59.275373', time_epoch_executed='1630402439.28' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1511'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45255

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45255/ft1_4FGL_J0910.6+2247_daily_bin1511.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45255/ft2_4FGL_J0910.6+2247_daily_bin1511.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45255/ft1_4FGL_J0910.6+2247_daily_bin1511.fits outfile=/scratch/kocevski/45255/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1511.fits ra=137.674 dec=22.7978 rad=12.0 tmin=630979201.0 tmax=631238401.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.37
user 2.64
sys 0.62

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45255/ft1_filtered_4FGL_J0910.6+2247_daily_bin1511.fits" evtable="EVENTS" scfile=/scratch/kocevski/45255/ft2_4FGL_J0910.6+2247_daily_bin1511.fits sctable="SC_DATA" outfile=/scratch/kocevski/45255/ltcube_630979201_631238401_4FGL_J0910.6+2247_daily_bin1511.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/45255/ft2_4FGL_J0910.6+2247_daily_bin1511.fits
.....................!
real 14.29
user 12.17
sys 0.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45255/ft1_filtered_4FGL_J0910.6+2247_daily_bin1511.fits evtable="EVENTS" scfile=/scratch/kocevski/45255/ft2_4FGL_J0910.6+2247_daily_bin1511.fits sctable="SC_DATA" expcube=/scratch/kocevski/45255/ltcube_630979201_631238401_4FGL_J0910.6+2247_daily_bin1511.fits outfile=/scratch/kocevski/45255/expmap_630979201_631238401_4FGL_J0910.6+2247_daily_bin1511.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/45255/ltcube_630979201_631238401_4FGL_J0910.6+2247_daily_bin1511.fits
.....................!
real 198.32
user 185.04
sys 6.43

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/45255/ft1_filtered_4FGL_J0910.6+2247_daily_bin1511.fits scfile=/scratch/kocevski/45255/ft2_4FGL_J0910.6+2247_daily_bin1511.fits outfile=/scratch/kocevski/45255/cmap_630979201_631238401_4FGL_J0910.6+2247_daily_bin1511.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.93
user 0.37
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45255/ft1_filtered_4FGL_J0910.6+2247_daily_bin1511.fits scfile=/scratch/kocevski/45255/ft2_4FGL_J0910.6+2247_daily_bin1511.fits outfile=/scratch/kocevski/45255/cmap_HighResolution_630979201_631238401_4FGL_J0910.6+2247_daily_bin1511.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.22
user 0.38
sys 0.57

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12117E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .14194E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .98242E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    1.8140       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.074       1.0000         .10000E-03   10000.    
     9 'norm      '    .10438E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10110E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8379       1.0000         .10000E-03   10000.    
    12 'norm      '    .10390E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    60.429       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10534E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    46.208       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10769E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    40.940       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1962       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1632       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=   2810.539     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2090 TOTAL
                     EDM=   .53E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    120.33        .35865E-06** at limit **
   2  norm          .10013E-03    2.7408        .28053E-06** at limit **
   3  Prefactor     .10000E-03    12.449       -.17372E-06** at limit **
   4  Prefactor     .10000E-03    7.5364       -.15766E-06** at limit **
   5  Prefactor     .10000E-03    7014.9        .23961E-04** at limit **
   6  norm          1.8132        1.7062       -.49730E-07   -.16160E-03
   7  Prefactor     .10000E-03    16.437       -.35453E-06** at limit **
   8  Prefactor     33.050        44.854        .13385E-05    .23598E-04
   9  norm          .10000E-03    9.3716       -.13235E-06** at limit **
  10  norm          .10000E-03    19.297       -.76467E-07** at limit **
  11  Prefactor     2.8347        6.3624       -.25309E-06    .64096E-04
  12  norm          .10000E-03    2.2988       -.53668E-07** at limit **
  13  Prefactor     60.383        69.690       -.16002E-07    .30933E-05
  14  Prefactor     .10000E-03    2.3294       -.13573E-06** at limit **
  15  Prefactor     46.136        40.419       -.51522E-06   -.94709E-04
  16  Prefactor     .10000E-03    43.300       -.25753E-06** at limit **
  17  Prefactor     40.860        57.165        .41346E-06   -.16446E-04
  18  Prefactor     .10000E-03    4.7072       -.35505E-06** at limit **
  19  Normalizat    1.1976        .37183       -.70393E-05   -.29994E-04
  20  Prefactor     1.1622        .32180        .68128E-05   -.37733E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100128
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.81324
  Prefactor  = 0.0001
  Prefactor  = 33.0498
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.83465
  norm       = 0.0001
  Prefactor  = 60.3827
  Prefactor  = 0.0001
  Prefactor  = 46.1364
  Prefactor  = 0.0001
  Prefactor  = 40.8604
  Prefactor  = 0.0001
  Normalizat = 1.19758
  Prefactor  = 1.16216
 **********
 **   18 **HESSE 
 **********

 FCN=   2810.539     FROM HESSE     STATUS=OK           291 CALLS     2381 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    120.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10013E-03    80.388        .16717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.5430        .14218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7057.6        .38011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.8132        1.6984        .64255E-04   -1.5439    
   7  Prefactor     .10000E-03    16.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.050        44.892        .69676E-04   -1.4558    
   9  norm          .10000E-03    9.3966        .15856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    19.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8347        6.4681        .97776E-03   -1.5371    
  12  norm          .10000E-03    2.3676        .15688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     60.383        69.694        .51614E-04   -1.4152    
  14  Prefactor     .10000E-03    2.3382        .79008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     46.136        40.934        .29492E-03   -1.4348    
  16  Prefactor     .10000E-03    43.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     40.860        57.219        .62648E-04   -1.4429    
  18  Prefactor     .10000E-03    4.7423        .11238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1976        .37193        .26913E-03   -.86678    
  20  Prefactor     1.1622        .32209        .25405E-03   -.87504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49428e-09
Minuit parameter uncertainties:
  1  4.38672e-05
  2  0.00641825
  3  1.9783e-05
  4  1.46795e-05
  5  0.00552554
  6  1.69847
  7  3.97171e-05
  8  44.938
  9  1.87188e-05
  10  1.12674e-05
  11  6.4697
  12  6.16038e-06
  13  69.7884
  14  2.6286e-06
  15  40.9588
  16  3.64823e-05
  17  57.2957
  18  1.24179e-05
  19  0.372751
  20  0.322633
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.127e-05  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.162e+00  3.226e-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.198e+00  3.728e-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: 7.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45255/likelihoodResults_630979201_631238401_4FGL_J0910.6+2247_daily_bin1511.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) = 2810.53875719
delta logL = -0.000239794470417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2810.53852166
delta logL = -4.26632959716e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2712       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1976       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1622       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=   2810.539     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      280 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    824.20        .14299E-01** at limit **
   2  alpha         1.7466        4.1168        .17580        .21017E-08
   3  Normalizat    1.1976        .49130E-01    .26914E-03    .84161E-03
   4  Prefactor     1.1622        .45979E-01    .25405E-03    .89496E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.74665
  Normalizat = 1.19758
  Prefactor  = 1.16217
 **********
 **   18 **HESSE 
 **********

 FCN=   2810.539     FROM HESSE     STATUS=OK            23 CALLS      303 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    21.695        .24046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7466        3.2643        .70319E-02   -.30610    
   3  Normalizat    1.1976        .33949        .53828E-04   -.86678    
   4  Prefactor     1.1622        .31777        .50809E-04   -.87504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05088e-09
Minuit parameter uncertainties:
  1  2.89593e-05
  2  606.623
  3  0.340116
  4  0.318296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45255': 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) = 2810.53851712
delta logL = 2.70159489446e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.162e+00  3.183e-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.198e+00  3.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.674 22.798

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/45255/cmap_HighResolution_630979201_631238401_4FGL_J0910.6+2247_daily_bin1511.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', job_status='DONE', photon_flux_upper_limit='7.84e-08', time_completed='2021-08-31 02:41:37.640850', job_id='45255', GAL2='1.16', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630402897.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='2.70e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1511' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:41:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 45255: <4FGL_J0910.6+2247_daily_bin1511> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1511 137.674 22.7978 630979201 631238401 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 :                                   442.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            631 sec.

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

