/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 95 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 = 7529
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0922.6+4454_daily_bin1200
RA = 140.659, Dec = 44.9131
tmin = 550368001, tmax = 550627201
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='167925', job_status='RUN', time_executed='2021-08-31 08:48:37.324843', time_epoch_executed='1630424917.32' WHERE source_name='4FGL J0922.6+4454' and cadence='daily' and bin_id='1200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/167925

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/167925/ft1_4FGL_J0922.6+4454_daily_bin1200.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/167925/ft2_4FGL_J0922.6+4454_daily_bin1200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/167925/ft1_4FGL_J0922.6+4454_daily_bin1200.fits outfile=/scratch/kocevski/167925/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1200.fits ra=140.659 dec=44.9131 rad=12.0 tmin=550368001.0 tmax=550627201.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.90
user 3.79
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/167925/ft2_4FGL_J0922.6+4454_daily_bin1200.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/167925/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1200.fits evtable="EVENTS" outfile="/scratch/kocevski/167925/ft1_filtered_4FGL_J0922.6+4454_daily_bin1200.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.98
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/167925/ft1_filtered_4FGL_J0922.6+4454_daily_bin1200.fits" evtable="EVENTS" scfile=/scratch/kocevski/167925/ft2_4FGL_J0922.6+4454_daily_bin1200.fits sctable="SC_DATA" outfile=/scratch/kocevski/167925/ltcube_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.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/167925/ft2_4FGL_J0922.6+4454_daily_bin1200.fits
.....................!
real 13.30
user 12.26
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/167925/ft1_filtered_4FGL_J0922.6+4454_daily_bin1200.fits evtable="EVENTS" scfile=/scratch/kocevski/167925/ft2_4FGL_J0922.6+4454_daily_bin1200.fits sctable="SC_DATA" expcube=/scratch/kocevski/167925/ltcube_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.fits outfile=/scratch/kocevski/167925/expmap_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.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/167925/ltcube_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.fits
.....................!
real 193.03
user 185.96
sys 4.17

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/167925/ft1_filtered_4FGL_J0922.6+4454_daily_bin1200.fits scfile=/scratch/kocevski/167925/ft2_4FGL_J0922.6+4454_daily_bin1200.fits outfile=/scratch/kocevski/167925/cmap_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.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 1.16
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/167925/ft1_filtered_4FGL_J0922.6+4454_daily_bin1200.fits scfile=/scratch/kocevski/167925/ft2_4FGL_J0922.6+4454_daily_bin1200.fits outfile=/scratch/kocevski/167925/cmap_HighResolution_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.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.99
user 0.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/167925/ft1_filtered_4FGL_J0922.6+4454_daily_bin1200.fits', '/scratch/kocevski/167925/ft2_4FGL_J0922.6+4454_daily_bin1200.fits', expMap='/scratch/kocevski/167925/expmap_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.fits', expCube='/scratch/kocevski/167925/ltcube_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/167925/Model_4FGL_J0922.6+4454_daily_bin1200.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/167925/ft1_filtered_4FGL_J0922.6+4454_daily_bin1200.fits
Spacecraft file(s): /scratch/kocevski/167925/ft2_4FGL_J0922.6+4454_daily_bin1200.fits
Exposure map: /scratch/kocevski/167925/expmap_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.fits
Exposure cube: /scratch/kocevski/167925/ltcube_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/167925/Model_4FGL_J0922.6+4454_daily_bin1200.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 817.451205778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 812.549617684

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10244E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.431       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .30357E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.018       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3671       1.0000         .10000E-03   10000.    
     6 'norm      '    34.456       1.0000         .10000E-03   10000.    
     7 'norm      '    17.568       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8697       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10256       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0545       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1164       1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.455       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10634E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    117.94       1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10585E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .31430E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10439E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .96243E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .47752E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    18.147       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .28248E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .18953E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.986       1.0000         .10000E-03   10000.    
    27 'norm      '    1.6918       1.0000         .10000E-03   10000.    
    28 'norm      '    .76360E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    99.812       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .40253E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    .74919E-02   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .23816       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .96559       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   812.4591     FROM MIGRAD    STATUS=CONVERGED    348 CALLS      654 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3192       -.39484E-05** at limit **
   2  Prefactor     13.149        47.102       -.19248E-05   -.14436E-04
   3  Prefactor     .10000E-03    34.222       -.83568E-05** at limit **
   4  Prefactor     30.332        35.688       -.19957E-04   -.73284E-04
   5  Prefactor     .10762E-03    77.008       -.97058E-04** at limit **
   6  norm          .10033E-03    317.63        .34984E-03** at limit **
   7  norm          125.86        149.26        .73030E-04   -.13218E-03
   8  Prefactor     3.8697        1.0086         .0000         .0000    
   9  Prefactor     .10000E-03    5.3544       -.94416E-07** at limit **
  10  Prefactor     .10001E-03    323.81        .22616E-03** at limit **
  11  Prefactor     .10007E-03    482.16       -.37917E-03** at limit **
  12  Prefactor     1.3014        10.326       -.43007E-04   -.87914E-04
  13  Prefactor     101.07        250.45        .75787E-04   -.37184E-04
  14  Prefactor     .10000E-03    15.769        .21302E-04** at limit **
  15  Prefactor     95.732        119.85       -.48984E-04   -.15442E-03
  16  norm          .10000E-03    .98057        .12079E-05** at limit **
  17  Prefactor     .10000E-03    7.7796        .14962E-04** at limit **
  18  norm          .10000E-03    13.949       -.47473E-04** at limit **
  19  Prefactor     .10000E-03    5.6896       -.65506E-05** at limit **
  20  Prefactor     .10000E-03    48.657       -.33997E-05** at limit **
  21  Prefactor     .10000E-03    53.658       -.38064E-04** at limit **
  22  Prefactor     .10000E-03    68.519       -.64543E-05** at limit **
  23  norm          18.404        62.872        .11988E-03   -.26325E-03
  24  Prefactor     .10000E-03    55.637       -.20641E-04** at limit **
  25  Prefactor     .10000E-03    84.173        .19368E-04** at limit **
  26  Prefactor     15.833        80.892        .10756E-03    .16941E-03
  27  norm          1.6918        1.0522         .0000         .0000    
  28  norm          .10000E-03    29.105        .86820E-06** at limit **
  29  Prefactor     99.469        11.577        .47491E-05    .51585E-02
  30  Prefactor     .10000E-03    36.946       -.17738E-05** at limit **
  31  norm          .10000E-03    10.534        .33375E-05** at limit **
  32  Normalizat    .26174        .42962       -.89383E-04   -.79905E-04
  33  Prefactor     .93486        .51095        .79289E-05   -.13354E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 13.1495
  Prefactor  = 0.0001
  Prefactor  = 30.3321
  Prefactor  = 0.00010762
  norm       = 0.000100329
  norm       = 125.863
  Prefactor  = 3.86972
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.000100073
  Prefactor  = 1.30143
  Prefactor  = 101.075
  Prefactor  = 0.0001
  Prefactor  = 95.7323
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.4045
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8333
  norm       = 1.69183
  norm       = 0.0001
  Prefactor  = 99.4686
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.261744
  Prefactor  = 0.934859
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   812.4591     FROM HESSE     STATUS=FAILED        37 CALLS      691 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3189        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.149        44.719        .26359E-02   -1.4983    
   3  Prefactor     .10000E-03    34.355        .99078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.332        35.406        .18282E-02   -1.4606    
   5  Prefactor     .10762E-03    7017.9        .66583E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10033E-03    314.94        .17067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          125.86        149.66        .23889E-02   -1.3459    
   8  Prefactor     543.64        539.71         .0000       -1.5315    
   9  Prefactor     .10000E-03    .20571       -.94416E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    .22674        .22616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10007E-03    .12993       -.37917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3014        1.2704       -.43007E-04   -1.5480    
  13  Prefactor     101.07        1.5037        .75787E-04   -1.3694    
  14  Prefactor     .10000E-03    .20571        .21302E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     95.732        .90195       -.48984E-04   -1.3748    
  16  norm          .10000E-03    .20571        .12079E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .20571        .14962E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .24446       -.47473E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .20571       -.65506E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .20571       -.33997E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .27007       -.38064E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    .28037       -.64543E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          18.404        1.0075        .11988E-03   -1.4850    
  24  Prefactor     .10000E-03    .28662       -.20641E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    .25696        .19368E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     15.833        1.1049        .10756E-03   -1.4912    
  27  norm          1.6918        1.0522         .0000       -1.5448    
  28  norm          .10000E-03    .27378        .86820E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     99.469        .99831        .47491E-05   -1.3710    
  30  Prefactor     .10000E-03    .28251       -.17738E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    .21595        .33375E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .26174        .54756       -.89383E-04   -1.2520    
  33  Prefactor     .93486        1.2881        .79289E-05   -.94933    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.71866e-10
Minuit parameter uncertainties:
  1  1.3134e-06
  2  44.8335
  3  5.66764e-05
  4  35.4305
  5  0.380026
  6  0.0204582
  7  150.117
  8  1.0086
  9  1.93498e-08
  10  9.09918e-05
  11  0.000195274
  12  1.27046
  13  1.50366
  14  1.75859e-06
  15  0.901951
  16  3.28475e-07
  17  9.11197e-07
  18  5.25429e-06
  19  3.68259e-06
  20  2.92681e-06
  21  1.48182e-05
  22  1.12468e-05
  23  1.00745
  24  6.41308e-06
  25  1.07532e-05
  26  1.10487
  27  1.05216
  28  5.4485e-07
  29  0.998307
  30  2.21374e-06
  31  3.61764e-07
  32  0.559381
  33  1.33433
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 812.459124743

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  9.112e-07  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:  9.349e-01  1.334e+00  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:  2.617e-01  5.594e-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: 4.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.60e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/167925/likelihoodResults_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.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) = 812.4597131
delta logL = -0.000588356840012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 812.459124811
delta logL = -6.75883029544e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8515       1.0000          .0000       10.000    
     3 'Normalizat'    .26184       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93480       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   812.4591     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      234 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10230E-03    22.612        .79460E-02** at limit **
   2  Index         2.7668        8.1773        .50000        .17544E-04
   3  Normalizat    .26175        .14034E-01    .34334E-03   -.22640E-05
   4  Prefactor     .93486        .15664E-01    .20561E-03   -.10221E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102295
  Index      = 2.76675
  Normalizat = 0.261745
  Prefactor  = 0.934859
 **********
 **   18 **HESSE 
 **********

 FCN=   812.4591     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      263 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10230E-03    201.62        .81402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7668        8.5903        .50000       -.46302    
   3  Normalizat    .26175        .42885E-01    .13734E-04   -1.2520    
   4  Prefactor     .93486        .47871E-01    .41121E-04   -.94933    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.34621e-08
Minuit parameter uncertainties:
  1  0.0431716
  2  636.739
  3  0.0428907
  4  0.047873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/167925': 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) = 812.459124424
delta logL = 3.19459445564e-07

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.023e-04  4.317e-02  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.767e+00  6.367e+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:  9.349e-01  4.787e-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:  2.617e-01  4.289e-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/167925/cmap_HighResolution_550368001_550627201_4FGL_J0922.6+4454_daily_bin1200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.60e-02', job_status='DONE', photon_flux_upper_limit='4.53e-07', time_completed='2021-08-31 08:54:43.999381', job_id='167925', GAL2='0.93', fit_tolerance='1e-08', EG2='0.26', EG='0.26', time_epoch_completed='1630425284.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.93', dlogl='3.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.87' WHERE bin_id='1200' AND source_name='4FGL J0922.6+4454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:54:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 167925: <4FGL_J0922.6+4454_daily_bin1200> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin1200> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 08:45:24 2021
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:45:26 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:45:26 2021
Terminated at Tue Aug 31 08:54:44 2021
Results reported at Tue Aug 31 08:54:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+4454_daily_bin1200 140.659 44.9131 550368001 550627201 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 :                                   351.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            560 sec.

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

