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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1024
RA = 137.674, Dec = 22.7978
tmin = 504748801, tmax = 505008001
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='43721', job_status='RUN', time_executed='2021-08-31 02:28:57.307193', time_epoch_executed='1630402137.31' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1024'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43721

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43721/ft1_4FGL_J0910.6+2247_daily_bin1024.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43721/ft2_4FGL_J0910.6+2247_daily_bin1024.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43721/ft1_4FGL_J0910.6+2247_daily_bin1024.fits outfile=/scratch/kocevski/43721/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1024.fits ra=137.674 dec=22.7978 rad=12.0 tmin=504748801.0 tmax=505008001.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 8.49
user 7.86
sys 0.59

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43721/ft1_filtered_4FGL_J0910.6+2247_daily_bin1024.fits" evtable="EVENTS" scfile=/scratch/kocevski/43721/ft2_4FGL_J0910.6+2247_daily_bin1024.fits sctable="SC_DATA" outfile=/scratch/kocevski/43721/ltcube_504748801_505008001_4FGL_J0910.6+2247_daily_bin1024.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/43721/ft2_4FGL_J0910.6+2247_daily_bin1024.fits
.....................!
real 13.23
user 11.08
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43721/ft1_filtered_4FGL_J0910.6+2247_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/43721/ft2_4FGL_J0910.6+2247_daily_bin1024.fits sctable="SC_DATA" expcube=/scratch/kocevski/43721/ltcube_504748801_505008001_4FGL_J0910.6+2247_daily_bin1024.fits outfile=/scratch/kocevski/43721/expmap_504748801_505008001_4FGL_J0910.6+2247_daily_bin1024.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/43721/ltcube_504748801_505008001_4FGL_J0910.6+2247_daily_bin1024.fits
.....................!
real 190.96
user 185.85
sys 4.73

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/43721/ft1_filtered_4FGL_J0910.6+2247_daily_bin1024.fits scfile=/scratch/kocevski/43721/ft2_4FGL_J0910.6+2247_daily_bin1024.fits outfile=/scratch/kocevski/43721/cmap_504748801_505008001_4FGL_J0910.6+2247_daily_bin1024.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.84
user 0.37
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43721/ft1_filtered_4FGL_J0910.6+2247_daily_bin1024.fits scfile=/scratch/kocevski/43721/ft2_4FGL_J0910.6+2247_daily_bin1024.fits outfile=/scratch/kocevski/43721/cmap_HighResolution_504748801_505008001_4FGL_J0910.6+2247_daily_bin1024.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.84
user 0.36
sys 0.44

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.793       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7095       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.9767       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17428E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    19.915       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7244       1.0000         .10000E-03   10000.    
    12 'norm      '    .22764       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18198       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.2344       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.612       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.287       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .88698       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1565       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4479.381     FROM MIGRAD    STATUS=FAILED       770 CALLS     2717 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.794        36.892        .48748E-04   -.76587E-04
   2  norm          .10000E-03    .61918        .50905E-03** at limit **
   3  Prefactor     .10000E-03    7.8312        .18142E-02** at limit **
   4  Prefactor     5.7087        8.8142        .84051E-03    .21831E-04
   5  Prefactor     .10000E-03    18.409        .18142E-02** at limit **
   6  norm          1.9767        .99939        .44658E-04    .10916E-02
   7  Prefactor     .10006E-03    19.013        .73254E-01** at limit **
   8  Prefactor     .10000E-03    38.928        .36285E-03** at limit **
   9  norm          .10000E-03    2.7729        .10884E-02** at limit **
  10  norm          19.948        48.807        .89750E-04   -.13402E-03
  11  Prefactor     9.7240        5.9722        .12304E-03   -.42181E-03
  12  norm          .22656        3.8890        .17628E-02    .36580E-02
  13  Prefactor     .93417E-03    103.42        .17854    ** at limit **
  14  Prefactor     6.2370        5.8232        .71220E-03   -.53335E-03
  15  Prefactor     .10000E-03    19.890        .18142E-02** at limit **
  16  Prefactor     32.620        98.129        .70166E-04   -.66949E-04
  17  Prefactor     .10000E-03    14.458        .18142E-02** at limit **
  18  Prefactor     22.286        12.859        .84845E-04   -.40064E-04
  19  Normalizat    .88693        .26769        .28506E-03   -.41716E-03
  20  Prefactor     1.1567        .23413        .23183E-03   -.42527E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4479.381     FROM SIMPLEX   STATUS=PROGRESS     911 CALLS     3628 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.794        36.892        .18068E-06   -1.4059    
   2  norm          .10000E-03    .61918        .19110E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.8312        .43470E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7087        8.8142        .19695E-06   -1.5230    
   5  Prefactor     .10000E-03    18.409        .60173E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.9767        .99939        .19688E-06   -1.5427    
   7  Prefactor     .10006E-03    19.013        .21054E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    38.928        .52331E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.7729        .22271E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          19.948        48.807        .19098E-06   -1.4814    
  11  Prefactor     9.7240        5.9722        .19300E-06   -1.5084    
  12  norm          .22656        3.8890        .20150E-06   -1.5613    
  13  Prefactor     .93417E-03    103.42        .70197E-06   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.2370        5.8232        .19446E-06   -1.5208    
  15  Prefactor     .10000E-03    19.890        .38708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.620        98.129        .18632E-06   -1.4565    
  17  Prefactor     .10000E-03    14.458        .40875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.286        12.859        .18835E-06   -1.4763    
  19  Normalizat    .88693        .26769        .12366E-06   -.96921    
  20  Prefactor     1.1567        .23413        .11185E-06   -.87675    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4479.381     FROM MIGRAD    STATUS=CONVERGED    300 CALLS     3928 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.794        36.892        .97496E-05    .65300E-05
   2  norm          .10000E-03    .61920        .10181E-03** at limit **
   3  Prefactor     .10000E-03    7.8330        .36285E-03** at limit **
   4  Prefactor     5.7087        8.8124        .33620E-04    .71011E-05
   5  Prefactor     .10000E-03    18.410        .36285E-03** at limit **
   6  norm          1.9767        .99926        .17863E-05    .27324E-03
   7  Prefactor     .10005E-03    17.115        .79063E-01** at limit **
   8  Prefactor     .10000E-03    38.929        .72569E-04** at limit **
   9  norm          .10000E-03    2.7730        .21768E-03** at limit **
  10  norm          19.948        48.824        .17950E-04    .27867E-04
  11  Prefactor     9.7240        5.9717        .49215E-05    .13860E-05
  12  norm          .22658        3.8673        .35257E-03    .15395E-03
  13  Prefactor     .93793E-03    118.26        .16496    ** at limit **
  14  Prefactor     6.2370        5.8070        .28488E-04    .31926E-04
  15  Prefactor     .10000E-03    19.890        .36285E-03** at limit **
  16  Prefactor     32.621        98.131        .14033E-04    .24304E-05
  17  Prefactor     .10000E-03    14.459        .36285E-03** at limit **
  18  Prefactor     22.286        12.859        .33938E-05    .12059E-04
  19  Normalizat    .88693        .26788        .57012E-04    .68118E-04
  20  Prefactor     1.1567        .23423        .46366E-04    .77138E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.7937
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.70867
  Prefactor  = 0.0001
  norm       = 1.97668
  Prefactor  = 0.000100047
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 19.9485
  Prefactor  = 9.72398
  norm       = 0.226576
  Prefactor  = 0.000937926
  Prefactor  = 6.23704
  Prefactor  = 0.0001
  Prefactor  = 32.6207
  Prefactor  = 0.0001
  Prefactor  = 22.2859
  Normalizat = 0.88693
  Prefactor  = 1.15669
 **********
 **   18 **HESSE 
 **********

 FCN=   4479.381     FROM HESSE     STATUS=OK           293 CALLS     4221 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.794        36.887        .19499E-05   -1.4059    
   2  norm          .10000E-03    .61921        .20362E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.8330        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7087        8.8166        .13448E-05   -1.5230    
   5  Prefactor     .10000E-03    18.410        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.9767        .99927        .36780E-06   -1.5427    
   7  Prefactor     .10005E-03    17.570        .77559E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    38.926        .14514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.7730        .43535E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          19.948        48.823        .35900E-05   -1.4814    
  11  Prefactor     9.7240        5.9702        .98430E-06   -1.5084    
  12  norm          .22658        3.8615        .70514E-04   -1.5613    
  13  Prefactor     .93793E-03    111.53        .17073       -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.2370        5.8036        .11395E-05   -1.5208    
  15  Prefactor     .10000E-03    19.890        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.621        98.035        .28067E-05   -1.4565    
  17  Prefactor     .10000E-03    14.459        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.286        12.861        .67876E-06   -1.4763    
  19  Normalizat    .88693        .26791        .11402E-04   -.96921    
  20  Prefactor     1.1567        .23424        .92732E-05   -.87675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36736e-11
Minuit parameter uncertainties:
  1  36.899
  2  2.04558e-08
  3  7.3824e-07
  4  8.81856
  5  3.4665e-07
  6  0.999279
  7  0.00181729
  8  2.74101e-06
  9  2.38473e-08
  10  48.9214
  11  5.97053
  12  1.87047
  13  0.612541
  14  5.80408
  15  1.81657e-06
  16  98.5246
  17  6.48179e-07
  18  12.8629
  19  0.26831
  20  0.234453
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.995e+01  4.892e+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.157e+00  2.345e-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:  8.869e-01  2.683e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/43721/likelihoodResults_504748801_505008001_4FGL_J0910.6+2247_daily_bin1024.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) = 4479.21926887
delta logL = 0.161976074318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4479.21071984
delta logL = 0.170525103863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.318       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0630       1.0000          .0000       5.0000    
     3 'Normalizat'    .86423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1651       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=   4479.211     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      274 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.322        45.989        .10234E-03    .13398E-03
   2  alpha         3.0607        1.8311        .19657E-01    .30911E-04
   3  Normalizat    .86354        .25917        .28850E-03    .38743E-03
   4  Prefactor     1.1658        .23493        .23096E-03    .61352E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3219
  alpha      = 3.06067
  Normalizat = 0.863539
  Prefactor  = 1.16578
 **********
 **   18 **HESSE 
 **********

 FCN=   4479.211     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.322        36.920        .40934E-05   -1.4925    
   2  alpha         3.0607        1.5327        .78627E-03    .22619    
   3  Normalizat    .86354        .25684        .57700E-04   -.97753    
   4  Prefactor     1.1658        .23299        .46192E-04   -.87391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56578e-10
Minuit parameter uncertainties:
  1  36.975
  2  1.65767
  3  0.257206
  4  0.233195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43721': 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) = 4479.21071186
delta logL = 0.170533087084

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.532e+01  3.697e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  3.061e+00  1.658e+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.166e+00  2.332e-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:  8.635e-01  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
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/43721/cmap_HighResolution_504748801_505008001_4FGL_J0910.6+2247_daily_bin1024.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.32e-05', job_status='DONE', photon_flux_upper_limit='9.85e-08', time_completed='2021-08-31 02:39:22.233752', job_id='43721', GAL2='1.17', fit_tolerance='1e-08', EG2='0.86', EG='0.89', time_epoch_completed='1630402762.23', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.71e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1024' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:39:22 PDT 2021


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

Job <4FGL_J0910.6+2247_daily_bin1024> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 02:25:35 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:25:37 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:25:37 2021
Terminated at Tue Aug 31 02:39:23 2021
Results reported at Tue Aug 31 02:39:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1024 137.674 22.7978 504748801 505008001 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 :                                   608.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            828 sec.

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

