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


Performing analysis on: 4FGL_J0922.6+4454_daily_bin1201
RA = 140.659, Dec = 44.9131
tmin = 550627201, tmax = 550886401
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='167927', job_status='RUN', time_executed='2021-08-31 08:49:50.420511', time_epoch_executed='1630424990.42' WHERE source_name='4FGL J0922.6+4454' and cadence='daily' and bin_id='1201'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/167927

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/167927/ft1_4FGL_J0922.6+4454_daily_bin1201.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/167927/ft2_4FGL_J0922.6+4454_daily_bin1201.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/167927/ft1_4FGL_J0922.6+4454_daily_bin1201.fits outfile=/scratch/kocevski/167927/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1201.fits ra=140.659 dec=44.9131 rad=12.0 tmin=550627201.0 tmax=550886401.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 5.47
user 3.75
sys 1.36

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/167927/ft2_4FGL_J0922.6+4454_daily_bin1201.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/167927/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1201.fits evtable="EVENTS" outfile="/scratch/kocevski/167927/ft1_filtered_4FGL_J0922.6+4454_daily_bin1201.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 2.29
user 0.36
sys 1.31

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/167927/ft1_filtered_4FGL_J0922.6+4454_daily_bin1201.fits" evtable="EVENTS" scfile=/scratch/kocevski/167927/ft2_4FGL_J0922.6+4454_daily_bin1201.fits sctable="SC_DATA" outfile=/scratch/kocevski/167927/ltcube_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.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/167927/ft2_4FGL_J0922.6+4454_daily_bin1201.fits
.....................!
real 14.24
user 12.50
sys 1.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/167927/ft1_filtered_4FGL_J0922.6+4454_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/167927/ft2_4FGL_J0922.6+4454_daily_bin1201.fits sctable="SC_DATA" expcube=/scratch/kocevski/167927/ltcube_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.fits outfile=/scratch/kocevski/167927/expmap_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.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/167927/ltcube_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.fits
.....................!
real 194.52
user 185.00
sys 6.90

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/167927/ft1_filtered_4FGL_J0922.6+4454_daily_bin1201.fits scfile=/scratch/kocevski/167927/ft2_4FGL_J0922.6+4454_daily_bin1201.fits outfile=/scratch/kocevski/167927/cmap_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.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.73
user 0.39
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/167927/ft1_filtered_4FGL_J0922.6+4454_daily_bin1201.fits scfile=/scratch/kocevski/167927/ft2_4FGL_J0922.6+4454_daily_bin1201.fits outfile=/scratch/kocevski/167927/cmap_HighResolution_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.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 1.76
user 0.39
sys 1.28

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/167927/ft1_filtered_4FGL_J0922.6+4454_daily_bin1201.fits', '/scratch/kocevski/167927/ft2_4FGL_J0922.6+4454_daily_bin1201.fits', expMap='/scratch/kocevski/167927/expmap_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.fits', expCube='/scratch/kocevski/167927/ltcube_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/167927/Model_4FGL_J0922.6+4454_daily_bin1201.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/167927/ft1_filtered_4FGL_J0922.6+4454_daily_bin1201.fits
Spacecraft file(s): /scratch/kocevski/167927/ft2_4FGL_J0922.6+4454_daily_bin1201.fits
Exposure map: /scratch/kocevski/167927/expmap_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.fits
Exposure cube: /scratch/kocevski/167927/ltcube_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/167927/Model_4FGL_J0922.6+4454_daily_bin1201.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) = 964.977431989

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4922       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .42629E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.353       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .26804E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10782E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    55.611       1.0000         .10000E-03   10000.    
     7 'norm      '    .14454E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8697       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .67344E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34844       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    66.974       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .93572E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20975E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .83216E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .15337E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    6.7675       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .18602E-02   1.0000         .10000E-03   10000.    
    25 'Prefactor '    111.21       1.0000         .10000E-03   10000.    
    26 'Prefactor '    65.032       1.0000         .10000E-03   10000.    
    27 'norm      '    1.6918       1.0000         .10000E-03   10000.    
    28 'norm      '    67.987       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .73779E-02   1.0000         .10000E-03   10000.    
    31 'norm      '    .92273E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.3512       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .81183E-07   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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   960.4869     FROM MIGRAD    STATUS=CONVERGED    232 CALLS      564 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4181        2.5827        .54092E-02    .43759E-01
   2  Prefactor     .10001E-03    42.408        .97071E-02** at limit **
   3  Prefactor     27.029        75.787        .21180E-02    .33039E-02
   4  Prefactor     .10029E-03    37.472        .91563E-02** at limit **
   5  Prefactor     .10162E-03    156.09        .90769E-02** at limit **
   6  norm          54.930        49.240        .13448E-02    .44241E-02
   7  norm          .10012E-03    46.876        .90712E-02** at limit **
   8  Prefactor     3.8697        1.0086         .0000         .0000    
   9  Prefactor     .10000E-03    .20571       -.27474E-05** at limit **
  10  Prefactor     .21910E-03    .22000        .57649E-04** at limit **
  11  Prefactor     .12098E-03    .28278        .41637E-05** at limit **
  12  Prefactor     .10000E-03    .20571       -.19973E-05** at limit **
  13  Prefactor     66.379        .99560       -.33541E-05   -.29425E-02
  14  Prefactor     .10000E-03    .20571        .65440E-07** at limit **
  15  Prefactor     .10000E-03    .27054       -.10003E-05** at limit **
  16  norm          .10000E-03    .20571        .57570E-06** at limit **
  17  Prefactor     .10000E-03    .20571        .33574E-06** at limit **
  18  norm          .10000E-03    .20571        .46159E-06** at limit **
  19  Prefactor     .10000E-03    .20571       -.23438E-06** at limit **
  20  Prefactor     .10003E-03    .20827        .17833E-06** at limit **
  21  Prefactor     .10268E-03    .27244        .77792E-05** at limit **
  22  Prefactor     .10005E-03    .26146        .16572E-04** at limit **
  23  norm          4.6457        .83090        .19280E-05    .24477E-02
  24  Prefactor     .10002E-03    .25737        .19583E-05** at limit **
  25  Prefactor     111.47        1.0011        .27510E-05   -.67713E-02
  26  Prefactor     65.215        1.0014        .13055E-04   -.18444E-01
  27  norm          1.6918        1.0522         .0000         .0000    
  28  norm          68.457        1.0035        .18382E-05    .13559E-02
  29  Prefactor     .10038E-03    .20571        .19179E-05** at limit **
  30  Prefactor     .10000E-03    .21654        .94298E-06** at limit **
  31  norm          .10000E-03    .27077       -.42129E-06** at limit **
  32  Normalizat    1.3518        1.0698       -.32809E-05    .10336E-04
  33  Prefactor      .0000        .25504        .18430E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 3.41809
  Prefactor  = 0.000100013
  Prefactor  = 27.0287
  Prefactor  = 0.000100291
  Prefactor  = 0.000101619
  norm       = 54.9304
  norm       = 0.000100119
  Prefactor  = 3.86972
  Prefactor  = 0.0001
  Prefactor  = 0.000219098
  Prefactor  = 0.000120983
  Prefactor  = 0.0001
  Prefactor  = 66.379
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010003
  Prefactor  = 0.000102684
  Prefactor  = 0.000100046
  norm       = 4.64571
  Prefactor  = 0.000100017
  Prefactor  = 111.469
  Prefactor  = 65.2153
  norm       = 1.69183
  norm       = 68.4573
  Prefactor  = 0.000100385
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.35178
  Prefactor  = 0
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   960.4869     FROM HESSE     STATUS=FAILED        23 CALLS      587 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4181        2.5827        .54092E-02   -1.5338    
   2  Prefactor     .10001E-03    42.408        .97071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.029        75.787        .21180E-02   -1.4668    
   4  Prefactor     .10029E-03    37.472        .91563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10162E-03    156.09        .90769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          54.930        49.240        .13448E-02   -1.4224    
   7  norm          .10012E-03    46.876        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     543.64        539.71         .0000       -1.5315    
   9  Prefactor     .10000E-03    .20571       -.27474E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21910E-03    .22000        .57649E-04   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12098E-03    .28278        .41637E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .20571       -.19973E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     66.379        .99560       -.33541E-05   -1.4077    
  14  Prefactor     .10000E-03    .20571        .65440E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .27054       -.10003E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .20571        .57570E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .20571        .33574E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .20571        .46159E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .20571       -.23438E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10003E-03    .20827        .17833E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10268E-03    .27244        .77792E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10005E-03    .26146        .16572E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.6457        .83090        .19280E-05   -1.5277    
  24  Prefactor     .10002E-03    .25737        .19583E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     111.47        1.0011        .27510E-05   -1.3592    
  26  Prefactor     65.215        1.0014        .13055E-04   -1.4091    
  27  norm          1.6918        1.0522         .0000       -1.5448    
  28  norm          68.457        1.0035        .18382E-05   -1.4051    
  29  Prefactor     .10038E-03    .20571        .19179E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    .21654        .94298E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    .27077       -.42129E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.3518        1.0698       -.32809E-05   -.82034    
  33  Prefactor      .0000        .25504        .18430E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.08192e-09
Minuit parameter uncertainties:
  1  2.58279
  2  0.00151141
  3  76.0587
  4  0.00661274
  5  0.03188
  6  49.2761
  7  0.00472732
  8  1.0086
  9  3.20567e-06
  10  0.0102375
  11  0.00487182
  12  1.67697e-06
  13  0.995602
  14  1.56257e-07
  15  1.18876e-06
  16  6.77576e-07
  17  5.95303e-07
  18  1.11027e-06
  19  1.38728e-07
  20  0.000158445
  21  0.0017103
  22  0.000218451
  23  0.830905
  24  0.000132821
  25  1.00114
  26  1.00143
  27  1.05216
  28  1.00345
  29  0.000562512
  30  1.37636e-05
  31  3.10776e-07
  32  1.08821
  33  1.22352e-08
Done.

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

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  5.953e-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:  0.000e+00  1.224e-08  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.352e+00  1.088e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/167927/likelihoodResults_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.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) = 960.487489498
delta logL = -0.000637491032876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 960.486851994
delta logL = 1.3239287e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8545       1.0000          .0000       10.000    
     3 'Normalizat'    1.3518       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43770E-09   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=   960.4869     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      253 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10208E-03    21.891        .82730E-02** at limit **
   2  Index         2.7671        6.4716        .50000        .16022E-04
   3  Normalizat    1.3518        .14959E-01    .17719E-03   -.42668E-05
   4  Prefactor     .48295E-13    .20197E-02    .90208E-02** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102084
  Index      = 2.76713
  Normalizat = 1.35178
  Prefactor  = 4.82947e-14
 **********
 **   18 **HESSE 
 **********

 FCN=   960.4869     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10208E-03    207.88        .84630E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7671        5.2950        .50000       -.46293    
   3  Normalizat    1.3518        .47210E-01    .70875E-05   -.82034    
   4  Prefactor     .48295E-13    .20141E-01    .18042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.57927e-08
Minuit parameter uncertainties:
  1  0.0417784
  2  731.454
  3  0.047212
  4  6.25631e-08
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/167927': 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) = 960.486851721
delta logL = 2.8563010801e-07

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.021e-04  4.178e-02  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.767e+00  7.315e+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:  4.829e-14  6.256e-08  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.352e+00  4.721e-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/167927/cmap_HighResolution_550627201_550886401_4FGL_J0922.6+4454_daily_bin1201.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-02', job_status='DONE', photon_flux_upper_limit='3.85e-07', time_completed='2021-08-31 08:56:16.103587', job_id='167927', GAL2='0.00', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1630425376.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='2.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.87' WHERE bin_id='1201' AND source_name='4FGL J0922.6+4454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:56:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 167927: <4FGL_J0922.6+4454_daily_bin1201> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin1201> 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) <bullet0187>, 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:56:17 2021
Results reported at Tue Aug 31 08:56:17 2021

Your job looked like:

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

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

