/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 = 7686
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0922.6+4454_daily_bin347
RA = 140.659, Dec = 44.9131
tmin = 329270401, tmax = 329529601
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='161572', job_status='RUN', time_executed='2021-08-31 08:26:51.612386', time_epoch_executed='1630423611.61' WHERE source_name='4FGL J0922.6+4454' and cadence='daily' and bin_id='347'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/161572

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/161572/ft1_4FGL_J0922.6+4454_daily_bin347.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/161572/ft2_4FGL_J0922.6+4454_daily_bin347.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/161572/ft1_4FGL_J0922.6+4454_daily_bin347.fits outfile=/scratch/kocevski/161572/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin347.fits ra=140.659 dec=44.9131 rad=12.0 tmin=329270401.0 tmax=329529601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.12
user 2.71
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/161572/ft2_4FGL_J0922.6+4454_daily_bin347.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/161572/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin347.fits evtable="EVENTS" outfile="/scratch/kocevski/161572/ft1_filtered_4FGL_J0922.6+4454_daily_bin347.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.71
user 0.28
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/161572/ft1_filtered_4FGL_J0922.6+4454_daily_bin347.fits" evtable="EVENTS" scfile=/scratch/kocevski/161572/ft2_4FGL_J0922.6+4454_daily_bin347.fits sctable="SC_DATA" outfile=/scratch/kocevski/161572/ltcube_329270401_329529601_4FGL_J0922.6+4454_daily_bin347.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/161572/ft2_4FGL_J0922.6+4454_daily_bin347.fits
.....................!
real 9.55
user 9.03
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/161572/ft1_filtered_4FGL_J0922.6+4454_daily_bin347.fits evtable="EVENTS" scfile=/scratch/kocevski/161572/ft2_4FGL_J0922.6+4454_daily_bin347.fits sctable="SC_DATA" expcube=/scratch/kocevski/161572/ltcube_329270401_329529601_4FGL_J0922.6+4454_daily_bin347.fits outfile=/scratch/kocevski/161572/expmap_329270401_329529601_4FGL_J0922.6+4454_daily_bin347.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/161572/ltcube_329270401_329529601_4FGL_J0922.6+4454_daily_bin347.fits
.....................!
real 148.75
user 143.60
sys 3.13

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/161572/ft1_filtered_4FGL_J0922.6+4454_daily_bin347.fits scfile=/scratch/kocevski/161572/ft2_4FGL_J0922.6+4454_daily_bin347.fits outfile=/scratch/kocevski/161572/cmap_329270401_329529601_4FGL_J0922.6+4454_daily_bin347.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.37
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/161572/ft1_filtered_4FGL_J0922.6+4454_daily_bin347.fits scfile=/scratch/kocevski/161572/ft2_4FGL_J0922.6+4454_daily_bin347.fits outfile=/scratch/kocevski/161572/cmap_HighResolution_329270401_329529601_4FGL_J0922.6+4454_daily_bin347.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.59
user 0.31
sys 0.14

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

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6986.77973653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2490       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5088       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.8622       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .96643E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    18.302       1.0000         .10000E-03   10000.    
     7 'norm      '    25.488       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4584       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.3243       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.239       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .43166       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .27694       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0576       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .58809       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.5945       1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.155       1.0000         .10000E-03   10000.    
    23 'norm      '    20.127       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.570       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    2.0940       1.0000         .10000E-03   10000.    
    28 'norm      '    24.440       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    3.5483       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .95610       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .90904       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=   6986.723     FROM MIGRAD    STATUS=CONVERGED    885 CALLS     3931 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2490        .65012       -.21814E-08    .53560E-05
   2  Prefactor     1.5074        3.5579        .32562E-06   -.13452E-02
   3  Prefactor     8.8608        13.631       -.71718E-09   -.78407E-04
   4  Prefactor     .10000E-03    2.6546        .35559E-11** at limit **
   5  Prefactor     .10000E-03    4.5872       -.55886E-07** at limit **
   6  norm          18.302        7.6001        .60047E-08   -.78462E-04
   7  norm          25.493        7.9500        .21395E-08    .93350E-04
   8  Prefactor     .10000E-03    6.1782       -.10316E-07** at limit **
   9  Prefactor     3.4581        2.3276        .99471E-08    .39098E-04
  10  Prefactor     .10000E-03    7.1526        .55852E-07** at limit **
  11  Prefactor     .10000E-03    22.205       -.23929E-06** at limit **
  12  Prefactor     8.3236        4.4692       -.18018E-07   -.14560E-03
  13  Prefactor     14.249        21.772        .12652E-06    .58725E-04
  14  Prefactor     .43271        2.3856       -.61189E-07   -.10974E-03
  15  Prefactor     .10000E-03    11.643        .12936E-06** at limit **
  16  norm          .27702        .64012        .52083E-06    .34528E-04
  17  Prefactor     1.0577        3.5420       -.14378E-05   -.26542E-03
  18  norm          .10000E-03    2.7302        .52942E-08** at limit **
  19  Prefactor     .58887        1.6436        .49013E-07   -.25181E-03
  20  Prefactor     .10000E-03    9.4106       -.69589E-07** at limit **
  21  Prefactor     1.5941        2.8356       -.52058E-09   -.65128E-04
  22  Prefactor     10.146        14.735        .60646E-08   -.55377E-04
  23  norm          20.128        15.826        .54178E-07   -.18603E-03
  24  Prefactor     .10000E-03    31.869        .53101E-06** at limit **
  25  Prefactor     11.571        7.0601        .11389E-08   -.27080E-03
  26  Prefactor     .10000E-03    46.488       -.31110E-06** at limit **
  27  norm          2.0940        .77317       -.15852E-08   -.31475E-05
  28  norm          24.437        13.490        .16566E-07   -.39740E-05
  29  Prefactor     .10000E-03    2.2371        .13189E-08** at limit **
  30  Prefactor     .10000E-03    7.5376       -.40899E-07** at limit **
  31  norm          3.5484        2.3332       -.87628E-09   -.41464E-05
  32  Normalizat    .95608        .16193        .31359E-06    .34405E-04
  33  Prefactor     .90914        .17316       -.33740E-06    .48164E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.24898
  Prefactor  = 1.5074
  Prefactor  = 8.86081
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 18.302
  norm       = 25.4929
  Prefactor  = 0.0001
  Prefactor  = 3.45812
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.32357
  Prefactor  = 14.2486
  Prefactor  = 0.432711
  Prefactor  = 0.0001
  norm       = 0.277018
  Prefactor  = 1.05769
  norm       = 0.0001
  Prefactor  = 0.58887
  Prefactor  = 0.0001
  Prefactor  = 1.59407
  Prefactor  = 10.1457
  norm       = 20.1282
  Prefactor  = 0.000100001
  Prefactor  = 11.5712
  Prefactor  = 0.000100001
  norm       = 2.09395
  norm       = 24.4374
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.54837
  Normalizat = 0.956083
  Prefactor  = 0.909141
 **********
 **   18 **HESSE 
 **********

 FCN=   6986.723     FROM HESSE     STATUS=OK           705 CALLS     4636 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2490        .65244        .47059E-04   -1.5484    
   2  Prefactor     1.5074        13.024        .17415E-02   -1.5462    
   3  Prefactor     8.8608        13.615        .67321E-03   -1.5113    
   4  Prefactor     .10000E-03    2.6615        .13298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.836        .34405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          18.302        7.6005        .46810E-03   -1.4852    
   7  norm          25.493        7.9050        .79347E-04   -1.4698    
   8  Prefactor     .10000E-03    6.2107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4581        2.3192        .98911E-04   -1.5336    
  10  Prefactor     .10000E-03    7.1658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.3236        4.4730        .12574E-03   -1.5131    
  13  Prefactor     14.249        21.705        .10615E-03   -1.4953    
  14  Prefactor     .43271        4.0482        .21705E-02   -1.5576    
  15  Prefactor     .10000E-03    11.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .27702        .64581        .63141E-04   -1.5603    
  17  Prefactor     1.0577        3.5941        .17294E-03   -1.5502    
  18  norm          .10000E-03    2.7441        .13479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .58887        1.4555        .15367E-02   -1.5554    
  20  Prefactor     .10000E-03    9.5600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.5941        2.7906        .17529E-03   -1.5455    
  22  Prefactor     10.146        14.708        .62870E-03   -1.5071    
  23  norm          20.128        15.764        .89279E-04   -1.4810    
  24  Prefactor     .10000E-03    32.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     11.571        7.0475        .58888E-03   -1.5028    
  26  Prefactor     .10000E-03    47.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.0940        .77258        .42975E-04   -1.5419    
  28  norm          24.437        13.510        .81028E-04   -1.4719    
  29  Prefactor     .10000E-03    2.2486        .12197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    7.5436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          3.5484        2.3337        .10039E-03   -1.5331    
  32  Normalizat    .95608        .18287        .23962E-03   -.94517    
  33  Prefactor     .90914        .19644        .27729E-03   -.95822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47255e-08
Minuit parameter uncertainties:
  1  0.652439
  2  8.86399
  3  13.6197
  4  4.14637e-07
  5  0.000522963
  6  7.60091
  7  7.90532
  8  3.09265e-06
  9  2.31924
  10  3.065e-05
  11  0.000225851
  12  4.47322
  13  21.717
  14  2.64697
  15  3.09509e-05
  16  0.645824
  17  3.59481
  18  2.1294e-06
  19  1.45555
  20  2.71536e-05
  21  2.79083
  22  14.7129
  23  15.7674
  24  0.000400377
  25  7.04803
  26  0.000388531
  27  0.772587
  28  13.512
  29  8.29402e-08
  30  2.17725e-05
  31  2.3338
  32  0.182992
  33  0.196594
Done.

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

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.058e+00  3.595e+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

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.091e-01  1.966e-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:  9.561e-01  1.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 140.659 44.913
Photon Flux Upper Limit: 9.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/161572/likelihoodResults_329270401_329529601_4FGL_J0922.6+4454_daily_bin347.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6986.69159071
delta logL = 0.0313928759915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6986.64147838
delta logL = 0.0815051983263

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3687       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3977       1.0000          .0000       10.000    
     3 'Normalizat'    .95764       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90376       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=   6986.641     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      214 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3687        130.12        .66558E-02    .49944E-03
   2  Index         2.3978        6.1286        .23912        .59686E-04
   3  Normalizat    .95764        .39554E-01    .45634E-01   -.30009E-04
   4  Prefactor     .90376        .47060E-01    .45053E-01    .38586E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.3687
  Index      = 2.39778
  Normalizat = 0.957635
  Prefactor  = 0.903765
 **********
 **   18 **HESSE 
 **********

 FCN=   6986.641     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3687        4.7133        .20279E-03   -1.5400    
   2  Index         2.3978        .98021        .11192E-01   -.54737    
   3  Normalizat    .95764        .16923        .23940E-03   -.94464    
   4  Prefactor     .90376        .19086        .27791E-03   -.96010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98948e-10
Minuit parameter uncertainties:
  1  4.71403
  2  0.989036
  3  0.169326
  4  0.190997
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/161572': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6986.64147838
delta logL = 0.0815052001099

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  2.369e+00  4.714e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.398e+00  9.890e-01  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.038e-01  1.910e-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:  9.576e-01  1.693e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
Ra Dec: 140.659 44.913

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/161572/cmap_HighResolution_329270401_329529601_4FGL_J0922.6+4454_daily_bin347.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.89e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2021-08-31 08:41:24.528949', job_id='161572', GAL2='0.90', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1630424484.53', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='8.15e-02', ts2='0.40', photon_index_error='0.00', photon_index='2.87' WHERE bin_id='347' AND source_name='4FGL J0922.6+4454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:41:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 161572: <4FGL_J0922.6+4454_daily_bin347> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin347> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 08:25:38 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:25:39 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:25:39 2021
Terminated at Tue Aug 31 08:41:25 2021
Results reported at Tue Aug 31 08:41:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+4454_daily_bin347 140.659 44.9131 329270401 329529601 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 :                                   852.18 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             323.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            947 sec.

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

