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


Performing analysis on: 4FGL_J0922.6+4454_daily_bin1058
RA = 140.659, Dec = 44.9131
tmin = 513561601, tmax = 513820801
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='168957', job_status='RUN', time_executed='2021-08-31 08:48:59.234932', time_epoch_executed='1630424939.23' WHERE source_name='4FGL J0922.6+4454' and cadence='daily' and bin_id='1058'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/168957

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/168957/ft1_4FGL_J0922.6+4454_daily_bin1058.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/168957/ft1_4FGL_J0922.6+4454_daily_bin1058.fits outfile=/scratch/kocevski/168957/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1058.fits ra=140.659 dec=44.9131 rad=12.0 tmin=513561601.0 tmax=513820801.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 4.49
user 2.60
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.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/168957/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1058.fits evtable="EVENTS" outfile="/scratch/kocevski/168957/ft1_filtered_4FGL_J0922.6+4454_daily_bin1058.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.55
user 0.27
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/168957/ft1_filtered_4FGL_J0922.6+4454_daily_bin1058.fits" evtable="EVENTS" scfile=/scratch/kocevski/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.fits sctable="SC_DATA" outfile=/scratch/kocevski/168957/ltcube_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.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/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.fits
.....................!
real 9.72
user 8.86
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/168957/ft1_filtered_4FGL_J0922.6+4454_daily_bin1058.fits evtable="EVENTS" scfile=/scratch/kocevski/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.fits sctable="SC_DATA" expcube=/scratch/kocevski/168957/ltcube_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.fits outfile=/scratch/kocevski/168957/expmap_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.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/168957/ltcube_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.fits
.....................!
real 147.75
user 143.38
sys 3.19

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 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J0922.6+4454 @ 140.659 44.9131

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/168957/ft1_filtered_4FGL_J0922.6+4454_daily_bin1058.fits scfile=/scratch/kocevski/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.fits outfile=/scratch/kocevski/168957/cmap_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.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=140.659 yref=44.9131 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.55
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/168957/ft1_filtered_4FGL_J0922.6+4454_daily_bin1058.fits scfile=/scratch/kocevski/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.fits outfile=/scratch/kocevski/168957/cmap_HighResolution_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.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=140.659 yref=44.9131 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.60
user 0.30
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/168957/ft1_filtered_4FGL_J0922.6+4454_daily_bin1058.fits evtable="EVENTS" scfile=/scratch/kocevski/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/168957/Model_4FGL_J0922.6+4454_daily_bin1058.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/168957/ft1_filtered_4FGL_J0922.6+4454_daily_bin1058.fits.....................!
real 48.37
user 44.39
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/168957/ft1_filtered_4FGL_J0922.6+4454_daily_bin1058.fits', '/scratch/kocevski/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.fits', expMap='/scratch/kocevski/168957/expmap_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.fits', expCube='/scratch/kocevski/168957/ltcube_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/168957/Model_4FGL_J0922.6+4454_daily_bin1058.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0922.6+4454'

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.166e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/168957/ft1_filtered_4FGL_J0922.6+4454_daily_bin1058.fits
Spacecraft file(s): /scratch/kocevski/168957/ft2_4FGL_J0922.6+4454_daily_bin1058.fits
Exposure map: /scratch/kocevski/168957/expmap_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.fits
Exposure cube: /scratch/kocevski/168957/ltcube_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/168957/Model_4FGL_J0922.6+4454_daily_bin1058.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) = 6589.60825469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31700       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13579E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.629       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .61935       1.0000         .10000E-03   10000.    
     6 'norm      '    11.495       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.252       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5840       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    100.46       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.7057       1.0000         .10000E-03   10000.    
    13 'Prefactor '    34.912       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0016       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1967       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12694E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10413E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11296E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .27688E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.7931       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.5473       1.0000         .10000E-03   10000.    
    23 'norm      '    .11206E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .24634E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.1506       1.0000         .10000E-03   10000.    
    26 'Prefactor '    34.169       1.0000         .10000E-03   10000.    
    27 'norm      '    1.2100       1.0000         .10000E-03   10000.    
    28 'norm      '    13.193       1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.3576       1.0000         .10000E-03   10000.    
    30 'Prefactor '    7.0188       1.0000         .10000E-03   10000.    
    31 'norm      '    5.2779       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0713       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0781       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6589.605     FROM MIGRAD    STATUS=CONVERGED    902 CALLS     4666 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31663        .66576       -.12823E-06   -.12912E-02
   2  Prefactor     .10085E-03    7.8656        .19146E-05** at limit **
   3  Prefactor     .10000E-03    11.680        .94643E-05** at limit **
   4  Prefactor     14.629        12.110       -.61373E-06   -.13958E-03
   5  Prefactor     .61938        .85528        .35245E-06   -.25764E-02
   6  norm          11.494        6.5481       -.88501E-07    .83518E-04
   7  norm          .10000E-03    1.9621       -.50302E-07** at limit **
   8  Prefactor     16.250        12.485        .10444E-06    .56166E-04
   9  Prefactor     1.5836        2.8678       -.30215E-06   -.90383E-04
  10  Prefactor     .10000E-03    15.362       -.15731E-04** at limit **
  11  Prefactor     100.46        68.098       -.45333E-07    .80405E-04
  12  Prefactor     3.7055        5.2739       -.49700E-06   -.45653E-04
  13  Prefactor     34.932        32.099        .16769E-04    .26820E-04
  14  Prefactor     2.0022        2.5771       -.57146E-06   -.12799E-03
  15  Prefactor     .10000E-03    9.1281       -.61846E-05** at limit **
  16  norm          1.1963        .68194       -.25858E-07   -.19615E-03
  17  Prefactor     .10000E-03    1.9796        .13360E-06** at limit **
  18  norm          .10000E-03    9.4133        .29469E-05** at limit **
  19  Prefactor     .10000E-03    1.3280       -.50255E-07** at limit **
  20  Prefactor     .10001E-03    7.0010        .26415E-06** at limit **
  21  Prefactor     1.7894        3.6632       -.15155E-05   -.57539E-04
  22  Prefactor     2.5201        38.586       -.52893E-05   -.14869E-04
  23  norm          .10000E-03    20.289        .11100E-04** at limit **
  24  Prefactor     .10001E-03    60.408       -.54451E-05** at limit **
  25  Prefactor     1.1561        12.240        .12348E-05    .10563E-03
  26  Prefactor     34.154        42.105       -.15942E-04   -.21035E-04
  27  norm          1.2098        .66909       -.36169E-07    .18108E-03
  28  norm          13.190        10.534        .21786E-06    .28450E-04
  29  Prefactor     3.3525        4.8858       -.90240E-06   -.15827E-04
  30  Prefactor     7.0103        25.411       -.10309E-04    .56209E-05
  31  norm          5.2776        2.8841        .36871E-07    .41600E-04
  32  Normalizat    1.0720        .18887        .35009E-05   -.18019E-03
  33  Prefactor     1.0775        .19592       -.89003E-06    .71330E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.31663
  Prefactor  = 0.000100848
  Prefactor  = 0.0001
  Prefactor  = 14.6293
  Prefactor  = 0.619383
  norm       = 11.4945
  norm       = 0.0001
  Prefactor  = 16.2503
  Prefactor  = 1.58363
  Prefactor  = 0.0001
  Prefactor  = 100.46
  Prefactor  = 3.70551
  Prefactor  = 34.9316
  Prefactor  = 2.00218
  Prefactor  = 0.0001
  norm       = 1.19634
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 1.78938
  Prefactor  = 2.52015
  norm       = 0.000100001
  Prefactor  = 0.000100012
  Prefactor  = 1.15609
  Prefactor  = 34.1538
  norm       = 1.20978
  norm       = 13.1897
  Prefactor  = 3.35245
  Prefactor  = 7.01033
  norm       = 5.2776
  Normalizat = 1.07195
  Prefactor  = 1.07745
 **********
 **   18 **HESSE 
 **********

 FCN=   6589.605     FROM HESSE     STATUS=OK           709 CALLS     5375 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31663        .55050        .90377E-03   -1.5595    
   2  Prefactor     .10085E-03    66.860        .43423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.629        12.036        .10472E-03   -1.4943    
   5  Prefactor     .61938        6.2899        .19623E-02   -1.5551    
   6  norm          11.494        6.5381        .11816E-03   -1.5030    
   7  norm          .10000E-03    1.9664        .11103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.250        12.497        .99350E-04   -1.4902    
   9  Prefactor     1.5836        2.8152        .17081E-03   -1.5456    
  10  Prefactor     .10000E-03    15.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     100.46        67.994        .40111E-04   -1.3700    
  12  Prefactor     3.7055        5.2666        .20978E-03   -1.5323    
  13  Prefactor     34.932        32.087        .67823E-04   -1.4525    
  14  Prefactor     2.0022        2.5369        .13981E-03   -1.5425    
  15  Prefactor     .10000E-03    9.1787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1963        .57880        .40996E-04   -1.5489    
  17  Prefactor     .10000E-03    6.3335        .18372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.7108        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.1985        .17807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    20.721        .38533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.7894        3.5209        .19434E-03   -1.5440    
  22  Prefactor     2.5201        31.903        .25584E-03   -1.5390    
  23  norm          .10000E-03    20.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10001E-03    60.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.1561        10.531        .43141E-03   -1.5493    
  26  Prefactor     34.154        42.242        .68554E-04   -1.4538    
  27  norm          1.2098        .67219        .47594E-04   -1.5488    
  28  norm          13.190        10.537        .11028E-03   -1.4981    
  29  Prefactor     3.3525        4.7872        .19634E-03   -1.5342    
  30  Prefactor     7.0103        25.416        .15142E-03   -1.5178    
  31  norm          5.2776        2.8838        .98614E-04   -1.5248    
  32  Normalizat    1.0720        .22506        .25341E-03   -.90658    
  33  Prefactor     1.0775        .23472        .28248E-03   -.90190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97149e-08
Minuit parameter uncertainties:
  1  0.550504
  2  0.0150791
  3  5.56052e-06
  4  12.038
  5  3.94781
  6  6.53851
  7  2.21008e-06
  8  12.4992
  9  2.8154
  10  1.3168e-05
  11  68.0467
  12  5.26723
  13  32.103
  14  2.53704
  15  8.07381e-05
  16  0.578804
  17  6.69132e-05
  18  0.000141674
  19  1.76562e-05
  20  0.00104306
  21  3.52133
  22  17.9446
  23  0.00028271
  24  0.00170543
  25  6.97991
  26  42.2788
  27  0.67219
  28  10.5386
  29  4.78776
  30  25.455
  31  2.88386
  32  0.225257
  33  0.234947
Done.

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

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  6.691e-05  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.077e+00  2.349e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  1.072e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.659 44.913
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/168957/likelihoodResults_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.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) = 6589.60579883
delta logL = -0.000755209931413

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6589.60504354
delta logL = 8.2496626419e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8490       1.0000          .0000       10.000    
     3 'Normalizat'    1.0719       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6589.605     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      241 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .76996E-01    .59149E-01** at limit **
   2  Index         2.8301        8.4272        .50000        .24389E-04
   3  Normalizat    1.0720        .10259E-02    .57304E-01    .26002E-03
   4  Prefactor     1.0774        .11516E-02    .63864E-01    .88376E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.83011
  Normalizat = 1.07196
  Prefactor  = 1.07745
 **********
 **   18 **HESSE 
 **********

 FCN=   6589.605     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      274 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.866        .18863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8301        5.0065        .50000       -.44890    
   3  Normalizat    1.0720        .11619E-01    .25340E-03   -.90657    
   4  Prefactor     1.0774        .13040E-01    .28248E-03   -.90191    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03762e-06
Minuit parameter uncertainties:
  1  0.000709251
  2  198.136
  3  0.0116192
  4  0.0130403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/168957': 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): 102
logL (Free Index) = 6589.60504338
delta logL = 2.42926944338e-07

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  7.093e-04  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.830e+00  1.981e+02  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.077e+00  1.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  1.072e+00  1.162e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.659 44.913

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/168957/cmap_HighResolution_513561601_513820801_4FGL_J0922.6+4454_daily_bin1058.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.98e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-08-31 09:03:34.249821', job_id='168957', GAL2='1.08', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630425814.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.87' WHERE bin_id='1058' AND source_name='4FGL J0922.6+4454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 09:03:34 PDT 2021

21


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 166118: <4FGL_J0922.6+4454_daily_bin1058> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin1058> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Aug 31 08:40:41 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:40:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 08:40:42 2021
Terminated at Tue Aug 31 09:01:42 2021
Results reported at Tue Aug 31 09:01:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+4454_daily_bin1058 140.659 44.9131 513561601 513820801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0922.6+4454 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1118.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1260 sec.
    Turnaround time :                            1261 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 168957: <4FGL_J0922.6+4454_daily_bin1058> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin1058> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Aug 31 08:47:00 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:47:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 08:47:07 2021
Terminated at Tue Aug 31 09:03:35 2021
Results reported at Tue Aug 31 09:03:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+4454_daily_bin1058 140.659 44.9131 513561601 513820801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0922.6+4454 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   864.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             305.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            995 sec.

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

